References for: get-autocomplete-suggestions
Full identifier: https://w3id.org/np/RArE_yAWhw3P7Ih6Oeg2n3YJjdpGeMKyMBfZBNBquotgw#get-autocomplete-suggestions
Nanopublication | Part | Subject | Predicate | Object | Published By | Published On |
---|---|---|---|---|---|---|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-autocomplete-suggestions
|
Tobias Kuhn
|
2024-09-27T10:23:45.614Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-autocomplete-suggestions
|
Tobias Kuhn
|
2024-09-27T10:23:45.614Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-autocomplete-suggestions
|
Get autocomplete suggestions
|
Tobias Kuhn
|
2024-09-27T10:23:45.614Z
|
||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-autocomplete-suggestions
|
This query returns autocomplete suggestions for full-text queries. The 'query' parameter needs to be a single token ending in '*', e.g. 'ab*'.
|
Tobias Kuhn
|
2024-09-27T10:23:45.614Z
|
||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-autocomplete-suggestions
|
Tobias Kuhn
|
2024-09-27T10:23:45.614Z
|
|||
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-autocomplete-suggestions
|
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
|
Tobias Kuhn
|
2024-09-27T10:23:45.614Z
|
||
links a nanopublication to its pubinfo
http://www.nanopub.org/nschema#hasPublicationInfo
pubinfo
|
get-autocomplete-suggestions
|
Tobias Kuhn
|
2024-09-27T10:23:45.614Z
|