query-44f3e1903c57706ee2f07046bf0d6551

rq turtle/ttl

Venues in ORKG

Use at

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX orkgr: <http://orkg.org/orkg/resource/>
PREFIX orkgc: <http://orkg.org/orkg/class/>
PREFIX orkgp: <http://orkg.org/orkg/predicate/>

SELECT 
  ?papers
  ?venue ?venueLabel
  ?example_paper ?example_paperLabel
WHERE {
  {
    SELECT 
      (COUNT(?paper) AS ?papers)
      ?venue
      (SAMPLE(?paper) AS ?example_paper)
    WHERE {
      ?paper orkgp:HAS_VENUE ?venue .
    }
    GROUP BY ?venue
  }
  ?venue rdfs:label ?venueLabel .
  ?example_paper rdfs:label ?example_paperLabel .
}
ORDER BY DESC(?papers)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?example_paper"):::projected v6("?example_paperLabel"):::projected v2("?paper") v4("?papers"):::projected v3("?venue"):::projected v5("?venueLabel"):::projected v2 --http://orkg.org/orkg/predicate/HAS_VENUE--> v3 bind2[/"count(?paper)"/] v2 --o bind2 bind2 --as--o v4 bind3[/"sample(?paper)"/] v2 --o bind3 bind3 --as--o v4 v3 --"rdfs:label"--> v5 v4 --"rdfs:label"--> v6