Menu

#62 RDFXMLOntologyFormat should use entities in rdf:about

open
nobody
None
5
2012-09-16
2011-12-15
Allen
No

Seems like PrefixOWLOntologyFormat does not work for RDFXMLOntologyFormat. The saved owl file will not use prefixes even if it prefixes were specified.

Discussion

  • Allen

    Allen - 2011-12-15
     
  • Allen

    Allen - 2011-12-16

    Sorry I did not make point clear. What I meant was I need to generate output file using "RDF/XML-ABBREV" format (the short format).

    What I expect for the output:
    <owl:ObjectProperty rdf:about="#hasBase">
    <rdf:type rdf:resource="&owl;InverseFunctionalProperty"/>
    <rdf:type rdf:resource="&owl;FunctionalProperty"/>
    <rdfs:subPropertyOf rdf:resource="#hasIngredient"/>
    <rdfs:range rdf:resource="#PizzaBase"/>
    <rdfs:domain rdf:resource="#Pizza"/>
    <owl:inverseOf rdf:resource="#isBaseOf"/>
    </owl:ObjectProperty>

    What I got for now:
    <owl:ObjectProperty rdf:about="http://www.co-ode.org/ontologies/pizza/pizza.owl#hasBase">
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#InverseFunctionalProperty"/>
    <rdfs:domain rdf:resource="http://www.co-ode.org/ontologies/pizza/pizza.owl#Pizza"/>
    <rdfs:range rdf:resource="http://www.co-ode.org/ontologies/pizza/pizza.owl#PizzaBase"/>
    <rdfs:subPropertyOf rdf:resource="http://www.co-ode.org/ontologies/pizza/pizza.owl#hasIngredient"/>
    <owl:inverseOf rdf:resource="http://www.co-ode.org/ontologies/pizza/pizza.owl#isBaseOf"/>
    </owl:ObjectProperty>

    I may misunderstood the API and need to use some other functions to get "RDF/XML-ABBREV" format?

     
  • Ignazio Palmisano

    Ah I see, it's not just the namespace prefixes but the entities. I'll look into it.

     
  • Ignazio Palmisano

    • summary: RDFXMLOntologyFormat can not use prefix --> RDFXMLOntologyFormat should use entities in rdf:about
     
  • Ignazio Palmisano

    I cannot see an easy fix for this, but it is not a functional issue. Moving to feature requests.

     
  • Nobody/Anonymous

    I am continuously searching online for articles that can help me. Thank you!
    [url=http://selasensie834.tumblr.com/]wow gold[/url]
    <a href="http://selasensie834.tumblr.com/" title="wow gold">wow gold</a>

     
  • Nobody/Anonymous

    Great article, just what I wanted to find.
    [url=http://wowgoldeu.clammo.com/]market of inexpensive cheap wow gold[/url]
    <a href="http://wowgoldeu.clammo.com/" title="market of inexpensive cheap wow gold">market of inexpensive cheap wow gold</a>

     

Log in to post a comment.