Skip to content

Commit

Permalink
refreshing
Browse files Browse the repository at this point in the history
  • Loading branch information
josd committed Nov 18, 2023
1 parent b62a66b commit e1c6d9d
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 9 deletions.
25 changes: 19 additions & 6 deletions looking-through-rdf-glasses/temp/lott.ttl
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix rule: <http://eyereasoner.github.io/rule#>.
@prefix : <urn:example:>.

[] a rule:QueryRule;
rule:premise ();
rule:conclusion (
(:test :is (
(:A a :B)
(:C a :D)
)
)
).
(:Socrates a :Human)
(:Human rdfs:subClassOf :Mortal)
(_:rule1 a rule:ForwardRule)
(_:rule1 rule:premise (
(_:A rdfs:subClassOf _:B)
(_:S a _:A)
))
(_:rule1 rule:conclusion (
(_:S a _:B)
))
(_:query1 a rule:QueryRule)
(_:query1 rule:premise (
(_:S a :Mortal)
))
(_:query1 rule:conclusion (
(_:S a :Mortal)
))
).
21 changes: 18 additions & 3 deletions looking-through-rdf-glasses/temp/out/lott.ttl.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
@prefix : <urn:example:>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix rule: <http://eyereasoner.github.io/rule#>.

:test :is (
(:A a :B)
(:C a :D)
:Socrates a :Human.
:Human rdfs:subClassOf :Mortal.
_:sk_0 a rule:ForwardRule.
_:sk_0 rule:premise (
(_:sk_1 rdfs:subClassOf _:sk_2)
(_:sk_3 a _:sk_1)
).
_:sk_0 rule:conclusion (
(_:sk_3 a _:sk_2)
).
_:sk_4 a rule:QueryRule.
_:sk_4 rule:premise (
(_:sk_3 a :Mortal)
).
_:sk_4 rule:conclusion (
(_:sk_3 a :Mortal)
).
3 changes: 3 additions & 0 deletions looking-through-rdf-glasses/temp/out/lott.ttl.out.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@prefix : <urn:example:>.

:Socrates a :Mortal.
1 change: 1 addition & 0 deletions looking-through-rdf-glasses/temp/test
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
eye --quiet --nope union.ttl --output out/union.ttl.out
eye --quiet --nope append.ttl --output out/append.ttl.out
eye --quiet --nope lott.ttl --output out/lott.ttl.out
eye --quiet --nope out/lott.ttl.out --output out/lott.ttl.out.out

0 comments on commit e1c6d9d

Please sign in to comment.