I’ve created some .owl ontologies that I would like to access from ErgoAI, so as to leverage Ergo’s rule engine (as opposed to SWRL). These ontologies are stored on my MacBooK Pro (running MacOSX Sierra 10.14.5), although they sport a related IRI. To date I’ve succeeded in loading one of them into ErgoAI 2.0 via the command:
System[rdf_load('/Users/[my name]/Desktop/[ontology name].owl',[my module name])]@\owl.
The load itself succeeds, and the axioms all make it into ErgoAI, as is shown when I issue the following query —
?S[?P->?O]@[my module name].
— which dumps all of the ontology’s axioms into the Query Window’s Answer pane (albeit displaying the aforementioned IRI).
Unfortunately, that’s as far as I’ve been able to get. Attempts to replace the ?S, ?P, or ?O in the above query with a direct reference to one of the entitiy names from the ontology itself yield either a syntax error or, best case, “No answers found” — this, despite the fact that per the above generic query, the answers are clearly there.
Please let me know what I’m doing wrong, and how to fix.
Thanks,
Bill DeSmedt
what exactly are you substituting for ?S, ?P, ?O? And what is it supposed to match in the input?
Please let me know what I’m doing wrong, and how to fix.
Thanks,
Bill DeSmedt
--
You received this message because you are subscribed to the Google Groups "ErgoAI, Flora-2, and XSB Users Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ErgoAI-Flora2-XSB...@coherentknowledge.com.
To view this discussion on the web visit https://groups.google.com/a/coherentknowledge.com/d/msgid/ErgoAI-Flora2-XSB-forum/8896c9cc-ef5c-485d-bd9a-7b17c8c9e3a5%40coherentknowledge.com.
ok, cool. So, it was just that the constant in the query did not match what was in the OWL file.
--
You received this message because you are subscribed to the Google Groups "ErgoAI, Flora-2, and XSB Users Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ErgoAI-Flora2-XSB...@coherentknowledge.com.
To view this discussion on the web visit https://groups.google.com/a/coherentknowledge.com/d/msgid/ErgoAI-Flora2-XSB-forum/2543648f-e778-44ba-bcfd-8a8facc400e5%40coherentknowledge.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ErgoAI-Flora2-XSB-forum+unsubscribe@coherentknowledge.com.
Yes, exactly.But while we’re on the subject, there are a few more things I wasn’t quite clear on:
• will the imported axioms be queriable, etc., just as if they were natively declared in ErgoAI?
• will explanations (Why? Why not?) work for them as well?
• How do I specify IRIs so as to avoid their full realization for reference and display purposes? Is this done by specifying them in the third argument (?IriPrefixes) to the rdf_load command?
• If so, how are they specified? (The packages manual is a little formulaic on this point, with its “prefix1 = URL”, etc.) What would the actual text for that third arg look like?
In any case, I'm really excited to be exploring ErgoAI's potential. I had thought I was going to be stuck with Horn clauses forever as regards applying rules to our ontologies!
To unsubscribe from this group and stop receiving emails from it, send an email to ErgoAI-Flora2-XSB...@coherentknowledge.com.
To view this discussion on the web visit https://groups.google.com/a/coherentknowledge.com/d/msgid/ErgoAI-Flora2-XSB-forum/2543648f-e778-44ba-bcfd-8a8facc400e5%40coherentknowledge.com.
--
You received this message because you are subscribed to the Google Groups "ErgoAI, Flora-2, and XSB Users Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ErgoAI-Flora2-XSB...@coherentknowledge.com.
To view this discussion on the web visit https://groups.google.com/a/coherentknowledge.com/d/msgid/ErgoAI-Flora2-XSB-forum/9cd5509a-85ca-4153-b3f0-8f3cf1025167%40coherentknowledge.com.