From: Mehdi A. <mhd...@gm...> - 2014-06-27 08:39:27
|
Hi Dear, I see this RDF/xml with dotnetrdf : <rdf:Description rdf:about="http://myvehicledata.com/AudiA8"> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> </rdf:Description> <rdf:Description rdf:about="http://myvehicledata.com/FerrariEnzo"> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> <ex:vehicleType rdf:resource="http://example.org/vehicles/SportsCar"/> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> </rdf:Description> <rdf:Description rdf:about="http://myvehicledata.com/FordFiesta"> <ex:vehicleType rdf:resource="http://example.org/vehicles/Car"/> <ex:vehicleType rdf:resource="http://example.org/vehicles/Vehicle"/> </rdf:Description> </rdf:RDF> But I need to make a skos/rdf like this: <skos:Collection rdf:about="http://myvehicledata.com/AudiA8"> <skos:broader rdf:resource="http://example.org/vehicles/Car"/> <skos:broader rdf:resource="http://example.org/vehicles/Vehicle"/> </skos:Collection> .... I try to use SkosReasoner like this: StaticSkosReasoner reasoner = new StaticSkosReasoner(); reasoner.Initialise(schema); reasoner.Apply(data); But it does'nt wotk. Is it possible to help me how can generate this skos/rdf? Thank you for your help. -- Best regards, *Mehdi Abbasi* |