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

Union not supported #22

Open
Nudin opened this issue Jan 3, 2016 · 0 comments
Open

Union not supported #22

Nudin opened this issue Jan 3, 2016 · 0 comments
Labels

Comments

@Nudin
Copy link

Nudin commented Jan 3, 2016

The following SPARQL-Code works with the Webinteface of WDQS but not with wdq ("invalid SPARQL query") – the union seems to be the reason. Is this a bug or is Union not just supported?

SELECT ?floss ?flossLabel ?licenseLabel WHERE {
  {
   ?floss p:P31 ?val.
   ?val v:P31/wdt:P279* wd:Q506883.
  } Union {
   ?floss p:P31 ?val.
   ?val v:P31/wdt:P279* wd:Q341.
  } Union {
   ?floss p:P31 ?val.
   ?val v:P31/wdt:P279* wd:Q1130645.
  }

  ?floss wdt:P275 ?license

   SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
   }
 }
@nichtich nichtich added the bug label Feb 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants