query-a23d44c4378895a36c7b2f7bf1d0f701

rq turtle/ttl

Meta-Constraints on identifier classes and generates warnings if properties don't have a corresponding constraint. See this manually crafted query: (Q1002697)periodical to (Q57589544)Wikidata property for authority control for academic journals ? There should be a statement that links (Q57589544)Wikidata property for authority control for academic journals How can we systematically manage meta-constraints on identifier classes such as

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?property ?propertyLabel ?type ?typeLabel WHERE {
  # identifier for periodical
    ?property wdt:P31/wdt:P279* wd:Q57589544 .
  OPTIONAL { 
  #FILTER NOT EXISTS {
    # instance-of type constraint in periodical
    ?property p:P2302 [
      ps:P2302 wd:Q21503250 ;
      pq:P2309 wd:Q21503252 ;
      pq:P2308 ?type
     ] .
     ?type wdt:P279* wd:Q1002697 .
  }
  SERVICE wikibase:label {bd:serviceParam wikibase:language "en" .}
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?property"):::projected v2("?type"):::projected a1((" ")) a2((" ")) c10(["wd:Q1002697"]):::iri c5(["wd:Q21503250"]):::iri c14(["en"]):::literal c12(["bd:serviceParam"]):::iri c7(["wd:Q21503252"]):::iri c3(["wd:Q57589544"]):::iri v1 --"p:direct/P31"--> a1 a1 --"p:direct/P279"--> c3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; a2 -."p:statement/P2302".-> c5 a2 --"p:qualifier/P2309"--> c7 a2 --"p:qualifier/P2308"--> v2 v1 --"p:P2302"--> a2 v2 --"p:direct/P279"--> c10 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c12 --"wikibase:language"--> c14 end