-
Background: Wikidata has many historical countries and admin regions. They have a Given an input graph G I want to create an output graph J where entities that satisfy the following are removed.
But, actually, the above does not work because the USA (Q30) is an instance of historical country, but the P31 statement has an end date. So, I really want to remove:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is a not-exists query which (for now) can be handled with an optional match pattern like so (the --where: is a global where which is evaluated outside the scope of any of the match clauses which is why we can check for NULL there):
|
Beta Was this translation helpful? Give feedback.
This is a not-exists query which (for now) can be handled with an optional match pattern like so (the --where: is a global where which is evaluated outside the scope of any of the match clauses which is why we can check for NULL there):