query-e6038760b22f51eaf1de27b9f60ad70b

rq turtle/ttl

Wikidata properties for identifiers using "stability = values can be added" SELECT DISTINCT ?p WHERE { ?p wdt:P2668 wd:Q23611840 . { ?p wdt:P31/wdt:P279* wd:Q19847637 . } UNION { ?p rdfs:label ?l . FILTER(REGEX(?l,"Wikidata property (to|for) (identify|authority control)")) } FILTER(REGEX(str(?p),"P\d+")) }

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
# Wikidata properties for identifiers using "stability = values can be added"
SELECT DISTINCT ?p WHERE {
  ?p wdt:P2668 wd:Q23611840 .
  { ?p wdt:P31/wdt:P279* wd:Q19847637 . }
  UNION
  { ?p rdfs:label ?l . FILTER(REGEX(?l,"Wikidata property (to|for) (identify|authority control)")) }
  FILTER(REGEX(str(?p),"P\\d+"))
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?l") v1("?p"):::projected a1((" ")) c6(["wd:Q19847637"]):::iri c3(["wd:Q23611840"]):::iri f0[["regex(str(?p),'P\d+')"]] f0 --> v1 v1 --"wdt:P2668"--> c3 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; f1[["regex(?l,'Wikidata property (to|for) (identify|authority control)')"]] f1 --> v2 v1 --"rdfs:label"--> v2 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c6 end union0r <== or ==> union0l end