query-b2df5e4899d09bd39d5dc7cc112396c8

rq turtle/ttl

"Indicates notability" properties

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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#>
SELECT ?property ?propertyLabel ?dataType ?notability_item WHERE {
  ?property wikibase:propertyType ?dataType .
  {
    ?property wdt:P31 wd:Q62589316 .
    BIND('suggests notability' AS ?notability_item) .
  } UNION {
    ?property wdt:P31 wd:Q62589320 .
    BIND('does not suggest notability' AS ?notability_item) .
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language 'en' }
} ORDER BY ASC(xsd:integer(STRAFTER(STR(?property), 'entity/P')))

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?dataType"):::projected v4("?notability_item"):::projected v1("?property"):::projected c7(["bd:serviceParam"]):::iri c5(["wd:Q62589320"]):::iri c9(["en"]):::literal c4(["wd:Q62589316"]):::iri v1 --"wikibase:propertyType"--> v2 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> c5 bind0[/"'does not suggest notability'"/] bind0 --as--o v4 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> c4 bind1[/"'suggests notability'"/] bind1 --as--o v4 end union0r <== or ==> union0l end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end