rdfprotegeprotege4

How to create RDF containers like list, Bag or sequence using Protege


I need to create RDF container list, Bag or sequence using Protégé.

I also would like to know how we can define a RDF statement and blank nodes in our OWL ontology.


Solution

  • Protégé is an OWL ontology editor. OWL can be serialized using RDF, but aside from that, they're completely different. OWL has no concept of blank node.

    You generally can't use RDF container vocabulary in OWL ontologies because the RDF serialization of the OWL ontology may use RDF containers, so it's possible for ambiguities to arise. But if you want to try, you'd just need to declare the appropriate properties and classes in the ontology (rdf:List, rdf:first, rdf:rest rdf:nil, rdf:Bag, rdf:member, rdf:_1, rdf:_2, ...) and create the structure you want.