Matches in Nanopublications for { <https://w3id.org/np/RArE_yAWhw3P7Ih6Oeg2n3YJjdpGeMKyMBfZBNBquotgw#get-autocomplete-suggestions> ?p ?o ?g. }
Showing items 1 to 6 of
6
with 100 items per page.
- get-autocomplete-suggestions type grlc-query assertion.
- get-autocomplete-suggestions label "Get autocomplete suggestions" assertion.
- get-autocomplete-suggestions 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 search: <http://www.openrdf.org/contrib/lucenesail#> select distinct ?suggestion { { select ?suggestion where { graph npa:graph { ?np rdfs:label ?label . ?np npa:hasValidSignatureForPublicKey ?pubkey . ?np dct:created ?date . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . } } filter(!contains(?_query, " ")) filter(strEnds(?_query, "*")) ?np search:matches [ search:query ?_query ; search:property rdfs:label ; search:score ?score ; search:snippet ?snippet ] . bind(replace(?snippet, ".*<B>(.*)</B>.*", "$1") as ?suggestion) } limit 100 } } group by ?suggestion" assertion.
- get-autocomplete-suggestions endpoint text assertion.
- get-autocomplete-suggestions description "This query returns autocomplete suggestions for full-text queries. The 'query' parameter needs to be a single token ending in '*', e.g. 'ab*'." assertion.
- get-autocomplete-suggestions license LICENSE-2.0 assertion.