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

Add support for filtering results #43

Open
hay opened this issue Jun 17, 2017 · 2 comments
Open

Add support for filtering results #43

hay opened this issue Jun 17, 2017 · 2 comments

Comments

@hay
Copy link
Owner

hay commented Jun 17, 2017

#defaultView:ImageGrid

SELECT ?item ?itemLabel ?itemDescription ?image ?collection WHERE {
    ?item wdt:P31 wd:Q3305213 ;
          wdt:P170 wd:Q5598 ;
          wdt:P195/wdt:P361* ?collection .

    FILTER ( ?collection = wd:Q190804 || ?collection = wd:Q19675 )
  
    OPTIONAL { ?item wdt:P18 ?image }

    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]" }
}
@hay
Copy link
Owner Author

hay commented Jun 21, 2017

Maybe using the 'that is' part of the rule.

@hay hay changed the title VizQuery: add support for filtering results Add support for filtering results Aug 23, 2019
@hay hay added the vizquery label Aug 23, 2019
@hay
Copy link
Owner Author

hay commented Aug 23, 2019

Maybe add support for MINUS as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant