[Pellet-users] SPARQL results
Jan-Oliver Wuelfing
Jan-Oliver.Wuelfing at scai.fraunhofer.de
Tue Jan 15 12:08:52 UTC 2008
Hello everyone,
I enquire the following OWL-file with this SPARQL-query:
REFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?Subject ?Predicate ?Object
WHERE
{ ?Subject ?Predicate ?Object .
FILTER regex(?Object, "1ms")
}
and get this result:
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| Subject | Predicate
| Object |
=============================================================================================================================================================================
| <http://www.owl-ontologies.com/MSO.owl#DDSS> |
<http://www.owl-ontologies.com/MSO.owl#expectsLatencyLessThan> |
"1ms"^^<http://www.w3.org/2001/XMLSchema#string> |
| <http://www.owl-ontologies.com/MSO.owl#LatencyType_4> |
<http://www.owl-ontologies.com/MSO.owl#expectsLatencyLessThan> |
"1ms"^^<http://www.w3.org/2001/XMLSchema#string> |
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
from this OWL-file:
<rdf:RDF
xmlns="http://www.owl-ontologies.com/MSO.owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:protege="http://protege.stanford.edu/plugins/owl/protege#"
xmlns:assert="http://www.owl-ontologies.com/assert.owl#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:p1="http://www.owl-ontologies.com/Ontology1199437116.owl#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xml:base="http://www.owl-ontologies.com/MSO.owl">
...
<owl:Class rdf:ID="Application">
<rdfs:subClassOf rdf:resource="#ApplicationResource"/>
<owl:equivalentClass>
<owl:Class>
<owl:oneOf rdf:parseType="Collection">
<Application rdf:ID="KoDaVis"/>
<Application rdf:ID="WISDOM"/>
<Application rdf:ID="DDSS">
<expectsLatencyLessThan
rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>1ms</expectsLatencyLessThan>
</Application>
<Application rdf:ID="TOPS"/>
<Application rdf:ID="INCA"/>
</owl:oneOf>
</owl:Class>
</owl:equivalentClass>
</owl:Class>
I wonder why I get no result if I enquire for 'DDSS' as the subject like
this:
REFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?Subject ?Predicate ?Object
WHERE
{ ?Subject ?Predicate ?Object .
FILTER regex(?Subject, "DDSS")
}
Maybe, anyone has an idea?!
Many thanks in advance
Best wishes for the new year
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Jan-Oliver.Wuelfing.vcf
Type: text/x-vcard
Size: 369 bytes
Desc: not available
Url : http://lists.owldl.com/pipermail/pellet-users/attachments/20080115/1bdafe7f/attachment.vcf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3778 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.owldl.com/pipermail/pellet-users/attachments/20080115/1bdafe7f/attachment.bin
More information about the Pellet-users
mailing list