query-ee9cdacc49edb21c46576bdfaf843eed
P31 from page title beginning
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?n ?item ?pref ?inst
WHERE
{
VALUES ( ?pref ?inst ) {
( "Predefinição:" wd:Q11266439 )
( "Portal:" wd:Q4663903 )
( "Ajuda:" wd:Q56005592 )
( "Book:" wd:Q6540697 )
( "Módulo:" wd:Q15184295 )
( "Categoria:" wd:Q4167836 )
( "Wikipédia:" wd:Q14204246 )
( "Lista d" wd:Q13406463 )
}
?item wikibase:statements 0 .
[] schema:about ?item ; schema:isPartOf <https://pt.wikipedia.org/> ; schema:name ?n .
FILTER( strstarts(?n , ?pref) )
}
LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?inst"):::projected
v4("?item"):::projected
v1("?n"):::projected
v3("?pref"):::projected
a1((" "))
c2(["0^^xsd:integer"]):::literal
c5([https://pt.wikipedia.org/]):::iri
f0[["starts-with(?n,?pref)"]]
f0 --> v1
f0 --> v3
bind1[/VALUES ?inst ?pref/]
bind1-->v3
bind1-->v3
bind10(["Predefinição:"])
bind10 --> bind1
bind11(["wd:Q11266439"])
bind11 --> bind1
bind12(["Portal:"])
bind12 --> bind1
bind13(["wd:Q4663903"])
bind13 --> bind1
bind14(["Ajuda:"])
bind14 --> bind1
bind15(["wd:Q56005592"])
bind15 --> bind1
bind16(["Book:"])
bind16 --> bind1
bind17(["wd:Q6540697"])
bind17 --> bind1
bind18(["Módulo:"])
bind18 --> bind1
bind19(["wd:Q15184295"])
bind19 --> bind1
bind110(["Categoria:"])
bind110 --> bind1
bind111(["wd:Q4167836"])
bind111 --> bind1
bind112(["Wikipédia:"])
bind112 --> bind1
bind113(["wd:Q14204246"])
bind113 --> bind1
bind114(["Lista d"])
bind114 --> bind1
bind115(["wd:Q13406463"])
bind115 --> bind1
v4 --"wikibase:statements"--> c2
a1 --"schema:about"--> v4
a1 --"schema:isPartOf"--> c5
a1 --"schema:name"--> v1