Nanopublication

< Home

ID

https://w3id.org/np/RAJpvo6X85ysAHrcBd9UDEHClWa5XHOA-o48jMX19-GxM

Formats

.trig | .trig.txt | .jelly | .jelly.txt | .jsonld | .jsonld.txt | .nq | .nq.txt | .xml | .xml.txt

Content

@prefix this: <https://w3id.org/np/RAJpvo6X85ysAHrcBd9UDEHClWa5XHOA-o48jMX19-GxM> .
@prefix sub: <https://w3id.org/np/RAJpvo6X85ysAHrcBd9UDEHClWa5XHOA-o48jMX19-GxM/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix npx: <http://purl.org/nanopub/x/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix orcid: <https://orcid.org/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .

sub:Head {
  this: a np:Nanopublication;
    np:hasAssertion sub:assertion;
    np:hasProvenance sub:provenance;
    np:hasPublicationInfo sub:pubinfo .
}

sub:assertion {
  sub:get-evidence-for-claim a <https://w3id.org/kpxl/grlc/grlc-query>;
    dct:description "For a given claim, lists the statements that support or contradict it.";
    dct:license <http://www.apache.org/licenses/LICENSE-2.0>;
    rdfs:label "Get evidence for a claim";
    <https://w3id.org/kpxl/grlc/endpoint> <https://w3id.org/np/l/nanopub-query-1.1/repo/full>;
    <https://w3id.org/kpxl/grlc/sparql> """prefix np: <http://www.nanopub.org/nschema#>
prefix npa: <http://purl.org/nanopub/admin/>
prefix npx: <http://purl.org/nanopub/x/>
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix prov: <http://www.w3.org/ns/prov#>
prefix cito: <http://purl.org/spar/cito/>
prefix oa: <http://www.w3.org/ns/oa#>
prefix schema: <https://schema.org/>

select distinct ?evidence_iri ?evidence_iri_label ?stance ?user_iri where {
  graph npa:graph {
    ?np np:hasAssertion ?a ; np:hasProvenance ?p ;
        npa:hasValidSignatureForPublicKeyHash ?pubkey .
    filter not exists { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }
  }
  graph ?a {
    ?evidence_iri a schema:Statement .
    { ?evidence_iri ?rel ?_claim_iri .
      filter(?rel in (cito:supports, cito:disputes)) }
    union
    { ?evidence_iri ?rel ?spec .
      filter(?rel in (cito:supports, cito:disputes))
      ?spec oa:hasSource ?_claim_iri . }
    optional { ?evidence_iri rdf:value ?text }
  }
  optional { graph ?p { ?a prov:wasAttributedTo ?user_iri } }
  bind(if(?rel = cito:supports, \"✓ supports\", \"✗ contradicts\") as ?stance)
  bind(?text as ?evidence_iri_label)
}
order by ?stance ?evidence_iri_label""" .
}

sub:provenance {
  sub:assertion prov:wasAttributedTo orcid:0000-0001-8492-0354 .
}

sub:pubinfo {
  orcid:0000-0001-8492-0354 foaf:name "Ashley Caselli" .
  
  this: dct:created "2026-09-01T11:04:19Z"^^xsd:dateTime;
    dct:creator orcid:0000-0001-8492-0354;
    dct:license <https://creativecommons.org/licenses/by/4.0/>;
    npx:introduces sub:get-evidence-for-claim;
    rdfs:label "Get evidence for a claim" .
  
  sub:sig npx:hasAlgorithm "RSA";
    npx:hasPublicKey "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+i9DV8ynzO944pYkYsDwtlqJHuk+b7FQt6Bb4TIQSDX3jGUURn6WpaNwESHmgMLWSydaH5XlabMzuqpPL4iyB+IAzvwIxdJBLhe39EQMu2j+FZ/5d/xu/gO3nZw2KoEvJ7cJisabuI05OylIRSJ+OG5CmzFxnjojUEJeCFi1njY1InhXrb0yHud9b1ifzweoN6YYOBecKs1gTOaT2bf+t4Wgzg3M0PmRVZ4F0OALsnh4T5+x7kFtiPcDKNpORi585JjKCZ4kczIF6oUKcwgC0kmIY97jtLqSLcXRkxHx5CDI6qz4XlRFs1ZbCUdSlzjdPZAkaBcNem1gIhWzkHkEnQIDAQAB";
    npx:hasSignature "Rq+iDsIT5oyjvsANoyRzlsJB3BIX1Kp95xDOEJOrcYvWP6490IvTauZBAsMV7SgXj54KJmK/FAZIvjnk5mqj2KCiuGFXe65u5S66/LMpJ6ZfOJrKX3mFJUBJSGoF0Oh4ncrqGL4dzBDzAxZHKPT5VKo2B3Xq+SLe/YRpHcJdkSvN3uFDkwXGCJNtoi6LXzn1tY/1I+KsMMNmuklAvcaK8agOEFjW1q+qL/42Q3j15HZVkG8XkHHFKX1PPS68Hab5sCgVT3H/j06fRwG+brbeHiDgoYFuqceXDOskCi8Roi2eUzKLezOI2A3vknBgE7UdEb/k3ATI9WfZMx000vbXhA==";
    npx:hasSignatureTarget this:;
    npx:signedBy orcid:0000-0001-8492-0354 .
}