Skip to content

Allow querying for species #29

@egonw

Description

@egonw

Narrower than #15 is to allow certain kinds of "restriction (per line https://github.com/blinry/wikidata-cardgame/blob/master/cardgame.js#L401) and it would be nice to have a card game for, say, honey bees or sharks. The restriction would look like as on the second line:

SELECT ?item ?itemLabel ?image WHERE {
  ?item (^wdt:P171)+ wd:Q30034 .
  ?item wdt:P18 ?image .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions