Issue with Query containing "Test*" when database contains reference to blank nodes

0 views
Skip to first unread message

Julie

unread,
Jul 24, 2015, 12:53:17 PM7/24/15
to Stardog
I added 4 data elements to my database labeled Test1, Test2, Tom1, Tom2 and with Descriptions "Need to have Test1 and Tom1 in the description".  

If I do a query on the label for 'Test*' => no results are returned
If I do a query on the label for 'Tom*" => the 2 expected results are returned
If I do a query on the description for 'Test*' => no results are returned
If I do a query on the description for 'Tom*' => the 4 expected results are returned

When I exported to an RDF, removed the reference to a blank node, and reloaded the schema.  The query for 'Test*' returned the expected results.  The following is an example of the OWL definition that led to the blank node reference.  The blank node reference definition looked correct as well.  I believe only the query operation has issues with the blank node reference, as our implementation of other actions seem to work as expected.

BLANK NODE EXAMPLE:

<domain xmlns="http://www.w3.org/2000/01/rdf-schema#" rdf:nodeID="bnode_d0a56609_d2f3_4695_ac5d_75668ecd2ca8_2003"/>


EXAMPLE OWL DEFINITION:
     <owl:ObjectProperty rdf:about="http://purl.org/myProject/MyNamespace#someData">
        <rdf:type rdf:resource="&owl;IrreflexiveProperty"/>
        <rdfs:label xml:lang="en">does something</rdfs:label>
        <Core:handling>FOUO</Core:handling>
        <Core:classification>U</Core:classification>
        <dc:description xml:lang="en">provides some functionality.</dc:description>
        <rdfs:range rdf:resource="&Namespace;Data1"/>
        <rdfs:domain>
            <owl:Class>
                <owl:unionOf rdf:parseType="Collection">
                    <rdf:Description rdf:about="&DifferentNamespace;Data2"/>
                    <rdf:Description rdf:about="&AnotherNamespace;Data1"/>
                    <rdf:Description rdf:about="&AnotherNamespace;Data2"/>
                    <rdf:Description rdf:about="&AnotherNamespace;Data3"/>
                    <rdf:Description rdf:about="&AnotherNamespace;Data4"/>
                    <rdf:Description rdf:about="&PAnotherNamespace;Data5"/>
                </owl:unionOf>
            </owl:Class>
        </rdfs:domain>
    </owl:ObjectProperty>
 
Julie

Michael Grove

unread,
Jul 24, 2015, 1:21:16 PM7/24/15
to stardog
Julie,

It's not clear from your report what's going on.  We're going to need the queries you're running, the database configuration, and probably the data to reproduce to look into this further.  

Cheers,

Mike 
 
 
Julie

--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en

Julie Schott

unread,
Jul 24, 2015, 2:05:16 PM7/24/15
to sta...@clarkparsia.com
It will be a couple of days for me to provide this for you.  But I will ☺ ASAP.

To unsubscribe from this group and stop receiving emails from it, send an email to stardog+u...@clarkparsia.com.

Reply all
Reply to author
Forward
0 new messages