Skip to content

Instantly share code, notes, and snippets.

@danbri
Created October 29, 2019 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danbri/97bc5f35be7672a8cd335cd11e74005e to your computer and use it in GitHub Desktop.
Save danbri/97bc5f35be7672a8cd335cd11e74005e to your computer and use it in GitHub Desktop.
SELECT (?s as ?href) ?image (?label as ?name) ?label
where {
?s wdt:P31*/wdt:P171* <http://www.wikidata.org/entity/Q692384> ;
<http://www.wikidata.org/prop/direct/P18> ?image ;
rdfs:label ?label .
filter (lang(?label) = "en")
}
group by ?s ?label ?image
LIMIT 20
@kidehen
Copy link

kidehen commented Oct 29, 2019

Some HTML5-based PivotViewer Reports:

  1. Sampling of 100 insects -- using SPARQL SELECT

  2. Alternative approach -- using DESCRIBE (currently something is amiss regarding image rendering that we need go fix, anyway this is a cool URI so when fixed it will simply resolve, but with the fix in place).

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