Seems like PrefixOWLOntologyFormat does not work for RDFXMLOntologyFormat. The saved owl file will not use prefixes even if it prefixes were specified.
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>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, can you clarify the expected behavior?
By printing out the prefixes as in the code sample, I get:
Test.main() http://www.w3.org/2001/XMLSchema#
Test.main() http://www.w3.org/2002/07/owl#
Test.main() http://www.co-ode.org/ontologies/pizza/pizza.owl#
Test.main() http://www.w3.org/2006/12/owl11-xml#
Test.main() http://www.co-ode.org/ontologies/pizza/pizza.owl#
Test.main() http://www.w3.org/1999/02/22-rdf-syntax-ns#
Test.main() http://www.w3.org/2000/01/rdf-schema#
Test.main() http://www.w3.org/2006/12/owl11#
Test.main() rdfxml: http://www.w3.org/2001/XMLSchema#
Test.main() rdfxml: http://www.w3.org/2002/07/owl#
Test.main() rdfxml: http://www.w3.org/2006/12/owl11-xml#
Test.main() rdfxml: http://www.co-ode.org/ontologies/pizza/pizza.owl#
Test.main() rdfxml: http://www.w3.org/1999/02/22-rdf-syntax-ns#
Test.main() rdfxml: http://www.co-ode.org/ontologies/pizza/pizza.owl#
Test.main() rdfxml: http://www.w3.org/2000/01/rdf-schema#
Test.main() rdfxml: http://www.w3.org/2006/12/owl11#
<?xml version="1.0"?>
<rdf:RDF xmlns="http://www.co-ode.org/ontologies/pizza/pizza.owl#"
xml:base="http://www.co-ode.org/ontologies/pizza/pizza.owl"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:pizza="http://www.co-ode.org/ontologies/pizza/pizza.owl#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
So the prefixes look like they are there, hence I suspect I might missing the point.
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?
Ah I see, it's not just the namespace prefixes but the entities. I'll look into it.
I cannot see an easy fix for this, but it is not a functional issue. Moving to feature requests.
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>
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>