-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
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
Fixing the definition of instance of a graph to consider triple terms #71
Comments
What is the definition of "in" here? |
N in G if N appears in the parse tree of G. |
And what is the "parse tree"? |
Ok, so your issue is not about the change introduced by the new formulation, but about part of the formulation which was present before already; fair enough. We could either mention the grammar (e.g., it appears as a RDF term in the graph) or explicitly write the inductive definition of "appears in", which is used elsewhere in the semantics document. Maybe this latter approach would be better. |
Definition of "in" (sometimes written as "appears in"), with A, B triples or terms and G graph:
|
Using the above definition, we should replace the text "if the triple structure appears in S" (used to define entailment patterns) with "if the triple or the triple term is in S". |
I would be OK with keeping the "in" but I think an issue is that this notion got more complicated because we now have nested terms which were not present in RDF 1.1. I am not happy with the definition though, mainly because you use "in" to define "in".
Maybe: Given a graph G, we define the set T(G) of terms of G recursively as follows: We say that A is in G if A\in T(G) Of course we need to make it more "RDF spec style". |
Given a graph G, we define the set T(G) of terms of G recursively as follows: |
Added to PR #74. |
The definition of instance of a graph should be fixed to include triple terms as follows:
Suppose that M is a functional mapping from a set of blank nodes to some set of RDF terms. Any graph obtained from a graph G by replacing some or all of the blank nodes N in G by M(N) is an instance of G.
The text was updated successfully, but these errors were encountered: