This project has moved and is read-only. For the latest updates, please go here.


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="" />
<rdfs:subClassOf rdf:resource="" />
<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=""/>

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

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


mdesalvo wrote Dec 29, 2015 at 7: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 7:37 PM