Skip to content
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

Use property paths instead of unions where possible #42

Open
fnielsen opened this issue Feb 24, 2017 · 0 comments
Open

Use property paths instead of unions where possible #42

fnielsen opened this issue Feb 24, 2017 · 0 comments
Labels
P361-part-of Wikidata property

Comments

@fnielsen
Copy link
Collaborator

Investigate whether property paths instead of unions works better and change them and use them.

For instance, topic identification:

{ ?work wdt:P921/wdt:P31*/wdt:P279* wd:Q52 . }
union { ?work wdt:P921/wdt:P361+ wd:Q52 . }
union { ?work wdt:P921/wdt:P1269+ wd:Q52 . }

Property path:

?work wdt:P921/( wdt:P31*/wdt:P279* | wdt:P361+ | wdt:P1269+ ) wd:Q52 .
@Daniel-Mietchen Daniel-Mietchen added the P361-part-of Wikidata property label Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P361-part-of Wikidata property
Projects
None yet
Development

No branches or pull requests

2 participants