Unknown body atom type: EQUALITY_PROPERTY_ASSERTION

0 views
Skip to first unread message

harshal patni

unread,
Nov 14, 2014, 7:58:18 AM11/14/14
to sta...@clarkparsia.com
Hi Everyone,
        I am trying to execute this rule below. The rule is added to my graph and I am trying to execute using the following command - 

./stardog query "mmi;reasoning=SL" "select ?x ?y where {?x <http://www.motivemi.com/ontologies/2014/09/mmi.owl#matches> ?y}"

I am getting the Unknown body atom type: EQUALITY_PROPERTY_ASSERTION. 

Can someone guide me on whats wrong here?

Rule ----------------------------------------

@prefix rule: <tag:stardog:api:rule:> .

[] a rule:SPARQLRule ;
rule:content """
IF {
    ?e rdf:type mmi:Evidence . 
    ?e mmi:hasAnnotation ?ae . 
    ?ae rdf:type mmi:Annotation . 
    ?ae mmi:annotatedBy ?u1 . 
    ?u1 rdf:type mmi:UMLSConcept . 
    ?o rdf:type mmi:OrderSet . 
    ?o mmi:hasAnnotation ?ao . 
    ?ao mmi:annotatedBy ?u2 . 
    ?u2 rdf:type mmi:UMLSConcept 
    FILTER (?u1 = ?u2)
}
THEN 
{
  ?e mmi:matches ?o .
} """.

Mike Grove

unread,
Nov 17, 2014, 8:16:21 AM11/17/14
to stardog
Can you provide the data that causes that message when combined with the aforementioned query?

Thanks.

Mike

--
-- --
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