Ich habe diese Ontologie-Modell:SPARQL Wie die Daten ohne Datenschema drucken
SensorOntology:MedicalCabinet-01 rdf:type owl:NamedIndividual ,
SensorOntology:MedicalCabinetSensor ;
SensorOntology:hasId "57"^^xsd:int ;
SensorOntology:hasValue "0"^^xsd:int .
ich diese Abfrage schrieb
SELECT ?sensor ?value
WHERE { ?sensor:hasId "51"^^xsd:int.
?sensor :hasValue ?value}
Das Ergebnis ist das
sensor | value
-------------------------------------------------------------------------
MedicalCabinet-01 | "0"^^<http://www.w3.org/2001/XMLSchema#int>
es ist jede Möglichkeit, dies zu drucken:
sensor | value
-------------------------------------------------------------------------
MedicalCabinet-01 | 0
Ich will nicht der Datentyp IRI des RDF ^^<http://www.w3.org/2001/XMLSchema#int>