@prefix this: . @prefix sub: . @prefix np: . @prefix grlc: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . @prefix foaf: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:get-statement-details a grlc:grlc-query; dct:description "Given a statement (AIDA sentence), this query returns its details as property-value rows: its type, the topic(s) it is about, the source(s) it was derived from (with titles where available), and the resources that cover it via gen:coversClaim. Recognized properties get human-readable labels and are shown first."; dct:license ; rdfs:label "Get statement details"; grlc:endpoint ; grlc:sparql """prefix rdf: prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix gen: prefix prov: prefix hycl: select ?property ?property_label ?value (min(?vlabel) as ?value_label) where { { graph npa:graph { ?np np:hasAssertion ?a ; npa:hasValidSignatureForPublicKey ?pk . } filter not exists { graph npa:graph { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pk . } } graph ?a { ?_statement_iri ?property ?value . } bind(\"out\" as ?dir) optional { graph npa:graph { ?lnp np:hasAssertion ?la ; npa:hasValidSignatureForPublicKey ?lpk . } filter not exists { graph npa:graph { ?linv npx:invalidates ?lnp ; npa:hasValidSignatureForPublicKey ?lpk . } } graph ?la { ?value rdfs:label|dct:title ?vlabelRaw . } } } union { graph npa:graph { ?np np:hasAssertion ?a ; npa:hasValidSignatureForPublicKey ?pk . } filter not exists { graph npa:graph { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pk . } } graph ?a { ?value gen:coversClaim ?_statement_iri . } bind(gen:coversClaim as ?property) bind(\"in\" as ?dir) optional { graph npa:graph { ?lnp np:hasAssertion ?la ; npa:hasValidSignatureForPublicKey ?lpk . } filter not exists { graph npa:graph { ?linv npx:invalidates ?lnp ; npa:hasValidSignatureForPublicKey ?lpk . } } graph ?la { ?value rdfs:label ?vlabelRaw . } } } bind(coalesce(?vlabelRaw, if(?value = hycl:AIDA-Sentence, \"AIDA sentence\", ?xu)) as ?vlabel) bind( if(?dir = \"in\", \"Covered by\", if(?property = rdf:type, \"Type\", if(?property = || ?property = , \"Topic\", if(?property = prov:wasDerivedFrom, \"Derived from\", str(?property))))) as ?property_label) bind( if(?dir = \"in\", 50, if(?property = rdf:type, 0, if(?property = || ?property = , 10, if(?property = prov:wasDerivedFrom, 20, 40)))) as ?sort) } group by ?property ?property_label ?value ?sort order by ?sort str(?value)""" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" . this: dct:created "2026-07-06T14:36:37Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-statement-details; rdfs:label "Get statement details"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "HQoMqcCp3x262LMq9Wmg92q7jDjYAIrQ8xZliXyAAsDCkKAtD8cvp+7367qxAgMks+4NHuq/Q1lQgwRA09YwuCF4KeV9Adc82i2oAC7tIt13AAckwN5EtTmzRnPkGEAuYOaig1Q5Z5V5ydSFwIzC9azSs2Htvyk5S5m9s4A6zjY="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }