7
veri:SPARQL Sorgu: Sonuç olarak yalnızca bir literal veya dize nasıl elde edilir?
<untitled-ontology-5:OperationName rdf:datatype="http://www.w3.org/2001/XMLSchema#string">
Adhesive Curing
</untitled-ontology-5:OperationName>
SPARQL Sorgu:
PREFIX rdf:<http://wwww.semanticweb.org/ontologies/2012/7/9/untitled-ontology-5#>
SELECT ?object
WHERE { ?subject rdf:OperationName ?object .
}
Sonuç:
Adhesive Curing^^http://www.w3.org/2001/XMLSchema#string
Benim Soru:
SPARQL Sorgusu sonucu istediğim sonuç değil. Doğru sonuç, URI-parçası olmadan sadece Literal/String içermelidir.
Uygun Sonucu: Ben şu sonucu oluşturmak istiyorum
Adhesive Curing
Sen literal sözcük etiketi almak için
STR()
işlevini kullanmanız gerekir