query-83f392da50559962a90e58adec9577fa

rq turtle/ttl

A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) Un arbre inversé à 7 niveaux (de catégories de propriétés) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) Een omgekeerde boomstructuur met 7 niveaus (van eigenschapscategorieën) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) Ett 7 nivåer högt träd (av egenskapsklasser) A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories) 7-рівневе перевернуте дерево категорій властивостей A 7 level inverse tree (of Property categories) A 7 level inverse tree (of Property categories)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Tree
SELECT ?root ?rootLabel ?item ?itemL ?itemImage ?item2 ?itemL2 ?itemImage2 ?item3 ?itemL3 ?itemImage3 ?item4 ?itemL4 ?itemImage4 ?item5 ?itemL5 ?itemImage5 ?item6 ?itemL6 ?itemImage6 ?item7 ?itemL7 ?itemImage7 WHERE {
  BIND(wd:Q18616576 AS ?root)
  BIND(wdt:P279 AS ?property)
  ?item ?property ?root.
  OPTIONAL { ?item wdt:P18 ?itemImage. }
  OPTIONAL {
    ?item2 ?property ?item.
    OPTIONAL { ?item2 wdt:P18 ?itemImage2. }
    OPTIONAL {
      ?item3 ?property ?item2.
      OPTIONAL { ?item3 wdt:P18 ?itemImage3. }
      OPTIONAL {
        ?item4 ?property ?item3.
        OPTIONAL { ?item4 wdt:P18 ?itemImage4. }
        OPTIONAL {
          ?item5 ?property ?item4.
          OPTIONAL { ?item5 wdt:P18 ?itemImage5. }
          OPTIONAL {
            ?item6 ?property ?item5.
            OPTIONAL { ?item6 wdt:P18 ?itemImage6. }
            OPTIONAL {
              ?item7 ?property ?item6.
              OPTIONAL { ?item7 wdt:P18 ?itemImage7. }
            }
          }
        }
      }
    }
  }
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,es,fr,de,mul".
    ?root rdfs:label ?rootLabel.
    ?item rdfs:label ?itemLabel;
      schema:description ?itemDescription.
    ?item2 rdfs:label ?itemLabel2;
      schema:description ?itemDescription2.
    ?item3 rdfs:label ?itemLabel3;
      schema:description ?itemDescription3.
    ?item4 rdfs:label ?itemLabel4;
      schema:description ?itemDescription4.
    ?item5 rdfs:label ?itemLabel5;
      schema:description ?itemDescription5.
    ?item6 rdfs:label ?itemLabel6;
      schema:description ?itemDescription6.
    ?item7 rdfs:label ?itemLabel7;
      schema:description ?itemDescription7.
  }
  BIND(CONCAT(?itemLabel, ": ", COALESCE(?itemDescription, "")) AS ?itemL)
  BIND(CONCAT(?itemLabel2, ": ", COALESCE(?itemDescription2, "")) AS ?itemL2)
  BIND(CONCAT(?itemLabel3, ": ", COALESCE(?itemDescription3, "")) AS ?itemL3)
  BIND(CONCAT(?itemLabel4, ": ", COALESCE(?itemDescription4, "")) AS ?itemL4)
  BIND(CONCAT(?itemLabel5, ": ", COALESCE(?itemDescription5, "")) AS ?itemL5)
  BIND(CONCAT(?itemLabel6, ": ", COALESCE(?itemDescription6, "")) AS ?itemL6)
  BIND(CONCAT(?itemLabel7, ": ", COALESCE(?itemDescription7, "")) AS ?itemL7)
}
ORDER BY (?itemL) (?itemL2) (?itemL3) (?itemL4) (?itemL5) (?itemL6) (?itemL7)
LIMIT 20000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v10("?item"):::projected v12("?item2"):::projected v14("?item3"):::projected v16("?item4"):::projected v18("?item5"):::projected v20("?item6"):::projected v22("?item7"):::projected v26("?itemDescription") v28("?itemDescription2") v30("?itemDescription3") v32("?itemDescription4") v34("?itemDescription5") v36("?itemDescription6") v38("?itemDescription7") v11("?itemImage"):::projected v13("?itemImage2"):::projected v15("?itemImage3"):::projected v17("?itemImage4"):::projected v19("?itemImage5"):::projected v21("?itemImage6"):::projected v23("?itemImage7"):::projected v39("?itemL"):::projected v39("?itemL2"):::projected v39("?itemL3"):::projected v39("?itemL4"):::projected v39("?itemL5"):::projected v39("?itemL6"):::projected v39("?itemL7"):::projected v25("?itemLabel") v27("?itemLabel2") v29("?itemLabel3") v31("?itemLabel4") v33("?itemLabel5") v35("?itemLabel6") v37("?itemLabel7") v9("?property") v8("?root"):::projected v24("?rootLabel"):::projected c3(["bd:serviceParam"]):::iri c5(["#91;AUTO_LANGUAGE#93;,en,es,fr,de,mul"]):::literal bind0[/"'wd:Q18616576'"/] bind0 --as--o v8 bind1[/"'wdt:P279'"/] bind1 --as--o v9 v10 -->v9--> v8 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v10 -."wdt:P18".-> v11 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v12 -->v9--> v10 subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v12 -."wdt:P18".-> v13 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v14 -->v9--> v12 subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v14 -."wdt:P18".-> v15 end subgraph optional5["(optional)"] style optional5 fill:#bbf,stroke-dasharray: 5 5; v16 -->v9--> v14 subgraph optional6["(optional)"] style optional6 fill:#bbf,stroke-dasharray: 5 5; v16 -."wdt:P18".-> v17 end subgraph optional7["(optional)"] style optional7 fill:#bbf,stroke-dasharray: 5 5; v18 -->v9--> v16 subgraph optional8["(optional)"] style optional8 fill:#bbf,stroke-dasharray: 5 5; v18 -."wdt:P18".-> v19 end subgraph optional9["(optional)"] style optional9 fill:#bbf,stroke-dasharray: 5 5; v20 -->v9--> v18 subgraph optional10["(optional)"] style optional10 fill:#bbf,stroke-dasharray: 5 5; v20 -."wdt:P18".-> v21 end subgraph optional11["(optional)"] style optional11 fill:#bbf,stroke-dasharray: 5 5; v22 -->v9--> v20 subgraph optional12["(optional)"] style optional12 fill:#bbf,stroke-dasharray: 5 5; v22 -."wdt:P18".-> v23 end end end end end end end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c3 --"wikibase:language"--> c5 v8 --"rdfs:label"--> v24 v10 --"rdfs:label"--> v25 v10 --"schema:description"--> v26 v12 --"rdfs:label"--> v27 v12 --"schema:description"--> v28 v14 --"rdfs:label"--> v29 v14 --"schema:description"--> v30 v16 --"rdfs:label"--> v31 v16 --"schema:description"--> v32 v18 --"rdfs:label"--> v33 v18 --"schema:description"--> v34 v20 --"rdfs:label"--> v35 v20 --"schema:description"--> v36 v22 --"rdfs:label"--> v37 v22 --"schema:description"--> v38 end bind2[/"concat(?itemLabel,': ',?itemDescription'')"/] v25 --o bind2 v26 --o bind2 bind2 --as--o v39 bind3[/"concat(?itemLabel2,': ',?itemDescription2'')"/] v27 --o bind3 v28 --o bind3 bind3 --as--o v39 bind4[/"concat(?itemLabel3,': ',?itemDescription3'')"/] v29 --o bind4 v30 --o bind4 bind4 --as--o v39 bind5[/"concat(?itemLabel4,': ',?itemDescription4'')"/] v31 --o bind5 v32 --o bind5 bind5 --as--o v39 bind6[/"concat(?itemLabel5,': ',?itemDescription5'')"/] v33 --o bind6 v34 --o bind6 bind6 --as--o v39 bind7[/"concat(?itemLabel6,': ',?itemDescription6'')"/] v35 --o bind7 v36 --o bind7 bind7 --as--o v39 bind8[/"concat(?itemLabel7,': ',?itemDescription7'')"/] v37 --o bind8 v38 --o bind8 bind8 --as--o v39