query-f83dc280541f9435237354f499aa0fe5

rq turtle/ttl

title:P31 déduit du début du titre de la page Wikipédia/P31 from page title begin SELECT ?n ?item ?pref ?inst { VALUES ( ?pref ?inst ) { ( "Modèle:" wd:Q11266439 ) ( "Module:" wd:Q15184295 ) ( "Catégorie:" wd:Q4167836 ) ( "Projet:" wd:Q14204246 )
( "Wikipédia:" wd:Q14204246 )
( "Aide:" wd:Q56005592 )
( "Liste de" wd:Q13406463 )
( "Glossaire d" wd:Q859161 )
( "Vocabulaire d" wd:Q859161 ) }
?item wikibase:statements 0 . [] schema:about ?item ; schema:isPartOf https://fr.wikipedia.org/ ; schema:name ?n . FILTER( strstarts(?n , ?pref) ) }
LIMIT 1000

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
#title:P31 déduit du début du titre de la page Wikipédia/P31 from page title begin
SELECT ?n ?item ?pref ?inst 
{
  VALUES ( ?pref ?inst ) { 
    ( "Modèle:" wd:Q11266439 )
    ( "Module:" wd:Q15184295 )
    ( "Catégorie:" wd:Q4167836 )
    ( "Projet:" wd:Q14204246 )    
    ( "Wikipédia:" wd:Q14204246 )  
    ( "Aide:" wd:Q56005592 )     
    ( "Liste de" wd:Q13406463 )  
    ( "Glossaire d" wd:Q859161 )      
    ( "Vocabulaire d" wd:Q859161 )
  }    
  ?item wikibase:statements 0 . 
  [] schema:about ?item ; schema:isPartOf <https://fr.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://fr.wikipedia.org/]):::iri f0[["starts-with(?n,?pref)"]] f0 --> v1 f0 --> v3 bind1[/VALUES ?inst ?pref/] bind1-->v3 bind1-->v3 bind10(["Modèle:"]) bind10 --> bind1 bind11(["wd:Q11266439"]) bind11 --> bind1 bind12(["Module:"]) bind12 --> bind1 bind13(["wd:Q15184295"]) bind13 --> bind1 bind14(["Catégorie:"]) bind14 --> bind1 bind15(["wd:Q4167836"]) bind15 --> bind1 bind16(["Projet:"]) bind16 --> bind1 bind17(["wd:Q14204246"]) bind17 --> bind1 bind18(["Wikipédia:"]) bind18 --> bind1 bind19(["wd:Q14204246"]) bind19 --> bind1 bind110(["Aide:"]) bind110 --> bind1 bind111(["wd:Q56005592"]) bind111 --> bind1 bind112(["Liste de"]) bind112 --> bind1 bind113(["wd:Q13406463"]) bind113 --> bind1 bind114(["Glossaire d"]) bind114 --> bind1 bind115(["wd:Q859161"]) bind115 --> bind1 bind116(["Vocabulaire d"]) bind116 --> bind1 bind117(["wd:Q859161"]) bind117 --> bind1 v4 --"wikibase:statements"--> c2 a1 --"schema:about"--> v4 a1 --"schema:isPartOf"--> c5 a1 --"schema:name"--> v1