sub:assertion {
sub:find-fair-specifications dct:description "This query performs a full-text search on FAIR Specifications." ;
dct:license <
http://www.apache.org/licenses/LICENSE-2.0> ;
a <
https://w3id.org/kpxl/grlc/grlc-query> ;
rdfs:label "Search on FAIR Specifications" ;
<
https://w3id.org/kpxl/grlc/endpoint> <
https://w3id.org/np/l/nanopub-query-1.1/repo/text> ;
<
https://w3id.org/kpxl/grlc/sparql> """prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix np: <http://www.nanopub.org/nschema#>
prefix npa: <http://purl.org/nanopub/admin/>
prefix npx: <http://purl.org/nanopub/x/>
prefix dct: <http://purl.org/dc/terms/>
prefix fip: <https://w3id.org/fair/fip/terms/>
prefix search: <http://www.openrdf.org/contrib/lucenesail#>
select distinct ?thing ?label ?description ?np ?pubkey ?date where {
graph npa:graph {
values ?type { fip:FAIR-Specification fip:Metadata-schema fip:Semantic-model fip:Structured-vocabulary fip:Provenance-model }
?np npx:hasNanopubType ?type .
?np npa:hasValidSignatureForPublicKey ?pubkey .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . }
?np dct:created ?date .
?np npx:introduces|npx:describes ?thing .
?np rdfs:label ?label .
optional { ?np dct:description ?description . }
?np np:hasAssertion ?a .
}
?np search:matches [
search:query ?_query ;
search:property rdfs:label ;
search:score ?score ;
search:snippet ?snippet ] .
}
limit 10""" .
}