Giter Site home page Giter Site logo

dayures / parrot Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 1.74 MB

Parrot is A RIF and RDF Ontologies documentation Tool. It provides users (both business users and developers) with useful reference documentation about rulesets and ontologies expressed in standard languages, such as OWL and RIF.

License: Eclipse Public License 1.0

Java 63.62% HTML 20.30% CSS 2.67% XSLT 0.82% Python 0.11% JavaScript 12.48%
rif rdf owl

parrot's People

Contributors

berrueta avatar dayures avatar wikier avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mthh

parrot's Issues

Unable to use Parrot for local ontologies

Originally reported by: Lavdim Halilaj (Bitbucket: lavdimi, GitHub: Unknown)


Hi,

I'm trying to generate documentation of local ontologies using parrot, but I'm receiving this error: ERROR: Unable to open mimetype application/octet-stream.

The command is:
java -jar parrot-jar-with-dependencies.jar -i CAx_M24_ontology.owl -i http://ontorule-project.eu/resources/m24dem/CAx_M24_rules_parrot.rifps -o documentation-generated.html -s http://idi.fundacionctic.org/semantica/parrot/style.css -b http://ontorule-project.eu/parrot/


Support for foaf:page

Originally reported by: larsgsvensson (Bitbucket: larsgsvensson, GitHub: larsgsvensson)


Currently, parrot supports foaf:homepage to link to a page with more information about a dataset or a service. Since foaf:homepage is inverse functional, this makes it impossible to link to two different descriptions (e. g. when you want to link to descriptions in two different languages and cannot rely on language content negotiation). For this it is possible to use foaf:page instead, which parrot currently does not support. I propose to include support for foaf:page.


not parsing a URI with BOM (file with BOM)

Originally reported by: Carlos Tejo (Bitbucket: carlos_tejo, GitHub: Unknown)


Documenting the URI [1], an Jena exception is raised ("Content is not allowed in prolog."), because it is not possible to parse the RDF/XML document.
The reason is that the file 1 has a Byte Order Mark (BOM) [2] and the InputStreamReader does not deal with this situation (it is not removed by the reader). This issue has been reported as an bug [3], but it has not been solved.

A proposal is to use in URLInput.openReader() a customize class as "workaround" [4].

[1] http://ontologies.semanticarts.com/gist/gist6.1.owl
[2] http://en.wikipedia.org/wiki/Byte_order_mark
[3] http://bugs.sun.com/view_bug.do?bug_id=4508058 (UTF-8 encoding does not recognize initial BOM)
[4] http://koti.mbnet.fi/akini/java/unicodereader/


&showform=true se concatena hasta el infinito

Originally reported by: Carlos Tejo (Bitbucket: carlos_tejo, GitHub: Unknown)


Los informes de Parrot incluyen un link para volver al formulario. Estos links se construyen añadiendo &showform=true a la URL. Lo que pasa es que no se controla si ya existía ese parámetro, por lo que empiezan a concatenarse parámetros (ejemplo: &showform=true&showform=true&showform=true&showform=true&showform=true).

Esto es un problema para los crawlers/arañas, que se quedan atrapados en un bucle infinito de enlaces.


Add the possibility to iterate over all language versions of the definitions

Originally reported by: larsgsvensson (Bitbucket: larsgsvensson, GitHub: larsgsvensson)


Parrot offers the possibility to iterate over the labels in all languages. For truly multilingual ontologies it would be handy to have this feature for the definitions, too. My suggestion is to add the definitions/descriptions to LexicalInformation.

#!java

LexicalInformation.getDescriptions()
LexicalInformation.findDescriptionsByLocale( Locale locale ) 

Labels generated from id with dashes generates space&dash

Originally reported by: Carlos Tejo (Bitbucket: carlos_tejo, GitHub: Unknown)


When importing RIF XML file (attached) the ruleset does not provide a label with xml:lang attribute, threfore the label is autogenerated from the id. In this case the id is http://ontorule-project.eu/resources/steel#defect-identification-ruleset and the autogenerated label shown on the parrot generated documentation page is: defect -identification -ruleset
Note: This might not be a bug and just a default case decision.


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.