-
In SPARQL I often do this if I want to match something to multiple classes:
Is there an equivalent for that in Notation3 so I don't have to do 3 rules? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It can be done in 1 line :-) The example in https://www.w3.org/TR/sparql11-query/#inline-data-examples can be written in N3 as
giving
|
Beta Was this translation helpful? Give feedback.
-
You can also emulate csv and SELECT like in https://github.com/eyereasoner/eye/tree/master/reasoning/csv but this is using an experimental |
Beta Was this translation helpful? Give feedback.
It can be done in 1 line :-)
The example in https://www.w3.org/TR/sparql11-query/#inline-data-examples can be written in N3 as