@prefix this: . @prefix sub: . @prefix np: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . @prefix foaf: . sub:Head { this: np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo; a np:Nanopublication . } sub:assertion { sub:get-top-overrated dct:description "This query returns the top things being claimed to be overrated."; dct:license ; a ; rdfs:label "Get top overrated things"; ; """prefix np: prefix npa: prefix npx: prefix xsd: prefix dct: prefix rdfs: prefix foaf: prefix nt: prefix opo: select distinct (count(distinct ?person) as ?count) ?thing (min(?thingLabel) as ?thingLabel) where { graph npa:graph { ?np npa:hasValidSignatureForPublicKey ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . } ?np npx:hasNanopubType opo:thinksIsOverrated . ?np dct:created ?date . ?np dct:creator ?person . ?np np:hasAssertion ?a . ?np np:hasPublicationInfo ?i. } graph ?a { ?person opo:thinksIsOverrated ?thing . } optional { graph ?i { ?thing nt:hasLabelFromApi ?thingLabel1 . } } optional { graph { ?thing rdfs:label ?thingLabel2 . } } bind(coalesce(?thingLabel2, ?thingLabel1) as ?thingLabel) } group by ?thing order by desc(?count)""" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB"; npx:hasSignature "AfcFlVHgb3ASdGs/uSrSGwxTnkyUZ6I+lQ/CIpDwSknPxhoZsB6PTwpSdOLNm5t69vUd+6P7yiLwOhQo2p7+bs1TI1gHXhoMsi0E4GQV2UYzvKS0AEHyZaX8Pm9FEVOTNd33vIJkgyqYPmmEgAsHUi4MLwr4m3CzfzWHGcH5md0="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . this: dct:created "2025-02-26T14:35:16.517Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:introduces sub:get-top-overrated; npx:supersedes ; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . }