@prefix skolem: <https://eyereasoner.github.io/.well-known/genid/8b98b360-9a70-4845-b52c-c675af60ad01#>.
@prefix r: <http://www.w3.org/2000/10/swap/reason#>.
@prefix log: <http://www.w3.org/2000/10/swap/log#>.
@prefix : <http://example.org/#>.
@prefix n3: <http://www.w3.org/2004/06/rei#>.
@prefix var: <http://www.w3.org/2000/10/swap/var#>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.

skolem:proof a r:Proof, r:Conjunction;
    r:component skolem:lemma1;
    r:gives [ log:graph (
        [ log:triple (:beetle :is :beautiful)]
    )].

skolem:lemma1 a r:Inference;
    r:gives [ log:graph (
        [ log:triple (:beetle :is :beautiful)]
    )];
    r:evidence (
        skolem:lemma2
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "http://example.org/#beetle"]];
    r:rule [ a r:Fact; r:gives [ log:graph ([ log:triple ([ log:graph (
        [ log:triple (var:x_0 :is :beautiful)]
    )] log:implies [ log:graph (
        [ log:triple (var:x_0 :is :beautiful)]
    )])])]].

skolem:lemma2 a r:Inference;
    r:gives [ log:graph (
        [ log:triple (:beetle :is :beautiful)]
    )];
    r:evidence (
        skolem:lemma3
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "http://example.org/#beetle"]];
    r:rule [ a r:Fact; r:gives [ log:graph ([ log:triple ([ log:graph (
        [ log:triple (var:x_0 rdf:type :Car)]
    )] log:implies [ log:graph (
        [ log:triple (var:x_0 :is :beautiful)]
    )])])]].

skolem:lemma3 a r:Extraction;
    r:gives [ log:graph (
        [ log:triple (:beetle rdf:type :Car)]
    )];
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/arcus/beetle/beetle.ttl>].

