-
Notifications
You must be signed in to change notification settings - Fork 13
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
Proposal: Formula
term
#37
Comments
For the empty graph it would be sufficient to parse it as true |
I'm not entirely sure on this. Note that a parser should deal only with converting syntax to a set of triples and generally not be aware of any semantics that reasoners apply. So I am not sure if If the spec were explicit in saying that I'd be interested to see what @josd thinks of this. |
I think this owl:sameAs is on yet another level (already an inference). The true of the empty graph is on model level. But, you are right that this is already interpreting the data in some way. Interestingly, it depends on the implementation. |
In eye we treat |
Since N3 is not (on its way to become) a W3C rec yet, I'm not sure if it's the right time to add this to the core datamodel yet of RDF/JS. |
If treating Btw. These kind of topics should be discussed in the repository of the Data Model specification. If there is more to discuss, please move the discussion there. In case the solution with |
I'm deferring this decision to the N3 group. If we see a syntax test case where the test case is Otherwise I will move the discussion to the Data Model specification repo. |
I would like to propose the introduction of a new RDF/JS term called a
Formula
to represent Notation3 Formulas / Graph Terms.Currently, when Notation3 syntax is parsed, Graph Terms in Notation3 are represented using blank nodes. That is,
:a :b { :c :d :e } .
will be parsed as the two quads
:a :b _:b0 :c :d :e _:b0
The fact that
_:b0
represents a graph term and not a blank node in:a :b _:b0
cannot be deduced from the triple alone. Instead it has to be implicit from the presence of the quad:c :d :e _:b0
in a dataset; where_:b0
is used as a graph term.Furthermore, empty graphs are legal in N3. That is, the statement
:a :b {} .
is legal in N3. This gets parsed to the RDF/JS quad:a :b _:b0
which is the same as parsing:a :b []
despite:a :b {}
and:a :b []
having an entirely different semantic meaning. This means that without having a notion of Notation3 Formulas / Graph Terms, or at least the empty graph, we are enable to represent all N3 concepts within RDF/JS.The text was updated successfully, but these errors were encountered: