Issue with RDF/XML output.


Dear Mr. de Salvo
Sorry if I am not understanding how to use your software correctly.

I am getting the following output:

<rdf:Description rdf:about="http://sntn_ont/v1/model/classes/electricPanel">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class" />
<rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
<rdfs:comment>This is the ontology for electric panels</rdfs:comment>

when I would have expected an owl:Class output, similar to what is shown below:

<owl:Class rdf:ID="electricPanel">
<rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>

Is this a characteristic of RDFSharp or of RDF/XML?

Thank you.
Closed Dec 29, 2015 at 6:37 PM by mdesalvo
Question strictly related to rdf/xml serialization specs.


mdesalvo wrote Dec 29, 2015 at 6:33 PM

Dear @pgcassidy2004,
it is not your fault. Both the forms are the same, with the second one using a syntactical shortcut tipical of rdf/xml format. RDFSharp simply follows the "canonical" rdf/xml way of describing everything with an "rdf:about" sentence.

Thanks for the report.

Best regards,
Marco De Salvo

wrote Dec 29, 2015 at 6:37 PM