Using ML 8.0-4 on Win7 I tried to register an own inference rule for a 
transitive property locatedIn, but the file was not found by MarkLogic during 
Console SPARQL queries:


a)      Firstly, I tried to store the rules file in MarkLogic's Config folder 
and attached it like a standard rule - not found.

b)      Then I tried to give a file path, but of course that is not supported.

c)       The Semantics Guide only states "location is either a URI in the 
Schemas database ... or a file name in <MarkLogic Install Directory>/Config", 
but how exactly to import the rule into the Schemas database (e.g., what 
-input_file_type?)

d)      Finally I simply used locatedIn a owl:TransitiveProperty and attached 
that standard rule. That worked. But how to import rules files?

Another question: how to best delete one complete graph using SPARQL Update? I 
used
WITH </graphname> DELETE {?x ?y ?z} WHERE {?x ?y ?z}
It works, but a nearly empty xml file remains.

Best regards,
Norbert
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to