Stardog 2.0.3 data expression reasoning

6 views
Skip to first unread message

bgad...@intec.ugent.be

unread,
Dec 4, 2013, 10:12:35 AM12/4/13
to sta...@clarkparsia.com
Hi,

I've created a simple ontology that uses data expressions:

1)<owl:hasValue rdf:datatype="&xsd;string">INFECTION.BACTERIAL.RESPIRATORY.VENTASS</owl:hasValue>
<owl:withRestrictions rdf:parseType="Collection>
    <rdf:Description>
         <xsd:pattern>INFECTION\.BACTERIAL\.RESPIRATORY.*</xsd:pattern>
    </rdf:Description>
</owl:withRestriction>

Is stardog capable of handling those kinds of expressions? How do I activate them and what reasoning level should I use?

The ontology was loaded into the default graph. The data was added to a named graph.

I've tried to enable ICV and I've tried several reasoning levels but I never get results.

I might also be that my literals don't has a type. When I use stardog query execute to obtain some value they never state something like "value"^^xsd:string but instead only "value". My values are added using org.openrdf.model.Statement objects. Those are created using the ValueFactory.createLiteral methods.

With kind regards
Bram Gadeyne

Evren Sirin

unread,
Dec 4, 2013, 4:36:40 PM12/4/13
to Stardog
Stardog does not support user-defined datatype reasoning as noted in
[1]. You can write user-defined rules [2] that use FILTER expressions
(with regex in this example). For regular expressions, it would even
be better to turn on search support in the database [3] and use the
textMatch magic property in your rule.

Best,
Evren

[1] http://docs.stardog.com/owl2/#sd-Known-Issues
[2] http://docs.stardog.com/owl2/#sd-User-defined-Rule-Reasoning
[3] http://docs.stardog.com/using/#sd-Searching
> --
> -- --
> 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
Reply all
Reply to author
Forward
0 new messages