query-991fe7ec0732112436f8c3a89067e97f

rq turtle/ttl

title:Current laws SELECT ?law ?lawLabel ?typeLabel WHERE { ?law wdt:P31/wdt:P279* wd:Q820655; wdt:P1001|wd:P17 wd:Q34; wdt:P31 ?type. MINUS{ ?law wdt:P1366 [] } MINUS{ ?law wdt:P576 [] }
MINUS{ ?law wdt:P2568 [] }
SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". }
}

Use at

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#>
#title:Current laws
SELECT ?law ?lawLabel ?typeLabel WHERE {
?law wdt:P31/wdt:P279* wd:Q820655;
     wdt:P1001|wd:P17 wd:Q34;
     wdt:P31 ?type.
MINUS{ ?law wdt:P1366 [] }
MINUS{ ?law wdt:P576 [] }  
MINUS{ ?law wdt:P2568 [] }  
SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". }  
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?law"):::projected v2("?type") a2((" ")) a3((" ")) a4((" ")) a1((" ")) c5(["wd:Q34"]):::iri c3(["wd:Q820655"]):::iri c11(["bd:serviceParam"]):::iri c13(["sv,en"]):::literal v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v1 --"wd:P17"--> c5 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P1001"--> c5 end union0r <== or ==> union0l end v1 --"wdt:P31"--> v2 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v1 --"wdt:P1366"--> a2 end subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; v1 --"wdt:P576"--> a3 end subgraph minus2["MINUS"] style minus2 stroke-width:6px,fill:pink,stroke:red; v1 --"wdt:P2568"--> a4 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c13 end