query-8880e2fa83a1417aff7ce1a2d63b80cd

rq turtle/ttl

podcasts List entries with an apple podcast id but no end date or episode count with an apple id but not a feed podcasts with a feed not a language Apple podcasts with an episode count and not and end date

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?item WHERE {
  ?item p:P31 ?statement0.
  ?statement0 (ps:P31/(wdt:P279*)) wd:Q24634210.
  ?item p:P1113 ?statement1.
  ?statement1 (psv:P1113/wikibase:quantityAmount) ?numericQuantity.
  ?item p:P5842 ?statement2.
  ?statement2 (ps:P5842) _:anyValueP5842.
  MINUS {
    ?item p:P582 ?statement_3.
    ?statement_3 psv:P582 ?statementValue_3.
    ?statementValue_3 wikibase:timeValue ?P582_3.
  }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v8("?P582_3") v1("?item"):::projected v4("?numericQuantity") v2("?statement0") v3("?statement1") v5("?statement2") v7("?statementValue_3") v6("?statement_3") a3((" ")) a1((" ")) a2((" ")) c4(["wd:Q24634210"]):::iri v1 --"p:P31"--> v2 v2 --"p:statement/P31"--> a1 a1 --"p:direct/P279"--> c4 v1 --"p:P1113"--> v3 v3 --"p:statement/value/P1113"--> a2 a2 --"wikibase:quantityAmount"--> v4 v1 --"p:P5842"--> v5 v5 --"p:statement/P5842"--> a3 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v1 --"p:P582"--> v6 v6 --"p:statement/value/P582"--> v7 v7 --"wikibase:timeValue"--> v8 end