query-aa84ff851e7bbd883c5bc3d1d170cbe0
title: QuickStatements for method tagging via P4510 SELECT DISTINCT ?item ?title (REPLACE(STR(?item), ".*Q", "Q") AS ?qid) ("P4510" AS ?property) ("Q4115189" AS ?ReplaceWithYourTargetID) ("S887" AS ?heuristic) ("Q69652283" AS ?deduced)
WHERE { hint:Query hint:optimizer "None".
{ SERVICE wikibase:mwapi { bd:serviceParam wikibase:api "Search"; wikibase:endpoint "www.wikidata.org"; mwapi:srsearch "\"using\" environmental dna haswbstatement:P31=Q13442814 -haswbstatement:P4510=Q4115189". ?page_title wikibase:apiOutput mwapi:title. } } UNION { SERVICE wikibase:mwapi { bd:serviceParam wikibase:api "Search"; wikibase:endpoint "www.wikidata.org"; mwapi:srsearch "\"utilizing\" environmental dna haswbstatement:P31=Q13442814 -haswbstatement:P4510=Q4115189". ?page_title wikibase:apiOutput mwapi:title. } } BIND(IRI(CONCAT(STR(wd:), ?page_title)) AS ?item)
?item wdt:P1476 ?title_. ?item wdt:P1433 ?venue. ?venue wdt:P1476 ?venue_title. BIND(CONCAT(?title_ , " | " , ?venue_title) AS ?title) FILTER REGEX(LCASE(?title), "\b(using|utilizing|with|through|via|by|(us((ag)?)e|application(s?)) of\b)(.)environmental(.)dna").
}
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title: QuickStatements for method tagging via P4510
SELECT
DISTINCT
?item ?title
(REPLACE(STR(?item), ".*Q", "Q") AS ?qid)
("P4510" AS ?property)
("Q4115189" AS ?ReplaceWithYourTargetID)
("S887" AS ?heuristic)
("Q69652283" AS ?deduced)
WHERE {
hint:Query hint:optimizer "None".
{ SERVICE wikibase:mwapi {
bd:serviceParam wikibase:api "Search";
wikibase:endpoint "www.wikidata.org";
mwapi:srsearch ""using" environmental dna haswbstatement:P31=Q13442814 -haswbstatement:P4510=Q4115189".
?page_title wikibase:apiOutput mwapi:title.
}
}
UNION
{ SERVICE wikibase:mwapi {
bd:serviceParam wikibase:api "Search";
wikibase:endpoint "www.wikidata.org";
mwapi:srsearch ""utilizing" environmental dna haswbstatement:P31=Q13442814 -haswbstatement:P4510=Q4115189".
?page_title wikibase:apiOutput mwapi:title.
}
}
BIND(IRI(CONCAT(STR(wd:), ?page_title)) AS ?item)
?item wdt:P1476 ?title_.
?item wdt:P1433 ?venue.
?venue wdt:P1476 ?venue_title.
BIND(CONCAT(?title_ , " | " , ?venue_title) AS ?title)
FILTER REGEX(LCASE(?title), "\\b(using|utilizing|with|through|via|by|(us((ag)?)e|application(s?)) of\\b)(.)environmental(.)dna").
}