We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem: In order to get to OWL RL reasoning I need to bootstrap a datomic schema that will support the necessary datalog queries.
Proposed solution: Implement the following inferences over the bootstrapping environment:
The text was updated successfully, but these errors were encountered:
(defn scm-cls [with-db] (transduce (map (fn [[?c]] [[:db/add ?c :rdfs/subClassOf ?c] [:db/add ?c :owl/equivalentClass ?c] [:db/add ?c :rdfs/subClassOf :owl/Thing] [:db/add :owl/Nothing :rdfs/subClassOf ?c]])) (completing (fn [with-db tx-data] (try (:db-after (d/with with-db {:tx-data tx-data})) (catch Throwable ex (throw (ex-info (.getMesage ex) {:tx-data tx-data} ex)))))) with-db (d/qseq '[:find ?c :where [?c :rdf/type :owl/Class]] with-db)))
Sorry, something went wrong.
aamedina
No branches or pull requests
Problem:
In order to get to OWL RL reasoning I need to bootstrap a datomic schema that will support the necessary datalog queries.
Proposed solution:
Implement the following inferences over the bootstrapping environment:
T(?c, owl:equivalentClass, ?c)
T(?c, rdfs:subClassOf, owl:Thing)
T(owl:Nothing, rdfs:subClassOf, ?c)
T(?c2, rdfs:subClassOf, ?c3)
T(?c2, rdfs:subClassOf, ?c1)
T(?c2, rdfs:subClassOf, ?c1)
T(?p, owl:equivalentProperty, ?p)
T(?p, owl:equivalentProperty, ?p)
T(?p2, rdfs:subPropertyOf, ?p3)
T(?p2, rdfs:subPropertyOf, ?p1)
T(?p2, rdfs:subPropertyOf, ?p1)
T(?c1, rdfs:subClassOf, ?c2)
T(?p1, rdfs:subPropertyOf, ?p2)
T(?c1, rdfs:subClassOf, ?c2)
T(?p1, rdfs:subPropertyOf, ?p2)
T(?c1, owl:onProperty, ?p1)
T(?c2, owl:hasValue, ?i)
T(?c2, owl:onProperty, ?p2)
T(?p1, rdfs:subPropertyOf, ?p2)
T(?c1, owl:onProperty, ?p)
T(?c2, owl:someValuesFrom, ?y2)
T(?c2, owl:onProperty, ?p)
T(?y1, rdfs:subClassOf, ?y2)
T(?c1, owl:onProperty, ?p1)
T(?c2, owl:someValuesFrom, ?y)
T(?c2, owl:onProperty, ?p2)
T(?p1, rdfs:subPropertyOf, ?p2)
T(?c1, owl:onProperty, ?p)
T(?c2, owl:allValuesFrom, ?y2)
T(?c2, owl:onProperty, ?p)
T(?y1, rdfs:subClassOf, ?y2)
T(?c1, owl:onProperty, ?p1)
T(?c2, owl:allValuesFrom, ?y)
T(?c2, owl:onProperty, ?p2)
T(?p1, rdfs:subPropertyOf, ?p2)
LIST[?x, ?c1, ..., ?cn]
T(?c, rdfs:subClassOf, ?c2)
...
T(?c, rdfs:subClassOf, ?cn)
LIST[?x, ?c1, ..., ?cn]
T(?c2, rdfs:subClassOf, ?c)
...
T(?cn, rdfs:subClassOf, ?c)
The text was updated successfully, but these errors were encountered: