[Pellet-users] Making implicit relationships explicit
Evren Sirin
evren at clarkparsia.com
Fri Jul 25 03:02:18 UTC 2008
On 7/23/08 9:11 PM, Bob DuCharme wrote:
> If foo is a symmetric property, and I declare that A foo B in my RDF/OWL
> file, Pellet knows that B foo A. For software that doesn't know this
> (e.g. Swoop), I'd like to create a version of the RDF/OWL file that adds
> B foo A. I've looked through the various pellet command line switches
> and didn't see anything, although a SPARQL query for all triples came
> close--I just didn't know how to get that in RDF/OWL format.
>
> Any suggestions?
>
Unfortunately there is no option that will do what you want. The closest
that will output an RDF/XML file is using the options "-c RDF -cout
<file> -r" that will put the classification and realization results into
the file. The file will contain subClassOf, equivalentClass and type
inferences but not the property assertions you want. It would be quite
easy to do that in the code though (e.g. create a Jena model using
Pellet and then simply call model.write).
FWIW, in the next version it will be possible to run CONSTRUCT queries
from the command line so it will be possible to get the SPARQL results
in RDF/XML format.
Cheers,
Evren
> thanks,
>
> Bob
> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________
>
> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/
>
More information about the Pellet-users
mailing list