Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] SPARQL results

Jan-Oliver Wuelfing Jan-Oliver.Wuelfing at scai.fraunhofer.de
Tue Jan 15 05:26:05 PST 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://mailman.stanford.edu/pipermail/protege-owl/attachments/20080115/25afd8e3/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://mailman.stanford.edu/pipermail/protege-owl/attachments/20080115/25afd8e3/attachment.p7s>


More information about the protege-owl mailing list