reteplayground
Aggregate

From a DOI to the Meta resources that carry it

ResourceRoleRoles
0633052author3
0633052publisher1
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 2 rows · 6.0 ms · no server, no download — the query runs in your browser.

The query

PREFIX oc: <https://w3id.org/rete/opencitations#> PREFIX pro: <http://purl.org/spar/pro/> PREFIX oco: <https://w3id.org/oc/ontology/> SELECT ?work ?roleKind (COUNT(?role) AS ?roles) WHERE { ?work oc:doiLink <https://doi.org/10.17640/kswst.2016.24.6.137> ; pro:isDocumentContextFor ?role . ?role pro:withRole ?roleKind . } GROUP BY ?work ?roleKind

rete playground · documentation · github.com/caviri/rete