@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 : <http://example.org/try#>.
@prefix n3: <http://www.w3.org/2004/06/rei#>.
@prefix var: <http://www.w3.org/2000/10/swap/var#>.

skolem:proof a r:Proof, r:Conjunction;
    r:component skolem:lemma1;
    r:component skolem:lemma2;
    r:gives {
        {
            ?U_0 :p ?U_1.
        } => {
            ?U_0 :q ?U_1.
        }.
        {
            ?U_2 :q ?U_3.
        } => {
            ?U_2 :r ?U_3.
        }.
    }.

skolem:lemma1 a r:Inference;
    r:gives {
        {
            ?U_0 :p ?U_1.
        } => {
            ?U_0 :q ?U_1.
        }.
    };
    r:evidence (
        [ a r:Fact; r:gives true]
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_0"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_1"]];
    r:rule skolem:lemma3.

skolem:lemma2 a r:Inference;
    r:gives {
        {
            ?U_2 :q ?U_3.
        } => {
            ?U_2 :r ?U_3.
        }.
    };
    r:evidence (
        [ a r:Fact; r:gives true]
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_2"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_3"]];
    r:rule skolem:lemma4.

skolem:lemma3 a r:Extraction;
    r:gives {
        @forSome var:x_0, var:x_1. true => {
            {
                var:x_0 :p var:x_1.
            } => {
                var:x_0 :q var:x_1.
            }.
        }.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/rgb/greenquery003.n3>].

skolem:lemma4 a r:Extraction;
    r:gives {
        @forSome var:x_0, var:x_1. true => {
            {
                var:x_0 :q var:x_1.
            } => {
                var:x_0 :r var:x_1.
            }.
        }.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/rgb/greenquery003.n3>].

