You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we perform Basic Graph Pattern (BGP) queries we can often deduce that instantiations must be of a specific type. E.g., in the following BGP there is no need to instantiate X to a literal:
rdf(a, b, X),
\+ rdf_is_literal(X),
rdf(X, d, e).
It would be great if we could assert such type restrictions as constraints:
{rdf_is_subject(X)},
rdf(a, b, X),
rdf(X, d, e).
The interaction between RDF constraints would allow senseless queries to fail early, for instance the following would immediately fail (because one constraint assumes X is a literal while another constraint states that X cannot be a literal):
When we perform Basic Graph Pattern (BGP) queries we can often deduce that instantiations must be of a specific type. E.g., in the following BGP there is no need to instantiate
X
to a literal:It would be great if we could assert such type restrictions as constraints:
The interaction between RDF constraints would allow senseless queries to fail early, for instance the following would immediately fail (because one constraint assumes
X
is a literal while another constraint states thatX
cannot be a literal):The text was updated successfully, but these errors were encountered: