query-e411199b1b56bf413b600768eb150ac6
Last monumentos>.https://pt.wikipedia.org/schema:isPartOf < ?article schema:about ?item; ?desig wdt:P31 wd:Q45580643 . } > . #Commonshttps://commons.wikimedia.org/?article2 schema:isPartOf < ?article2 schema:about ?item . minus { ?item (wdt:P131/wdt:P279?) wd:Q36433. #Porto
Use at
- https://query.wikidata.org/sparql
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 ?item ?itemLabel ?wiki ?iges ?sipa ?coo WHERE {
{ ?item wdt:P2186 ?wiki. }
{ ?item wdt:P17 wd:Q45. }
{ ?item wdt:P1435 wd:Q54163210. }
MINUS { ?item wdt:P625 ?coo. }
{ ?item wdt:P1702 ?iges. }
MINUS { ?item wdt:P1700 ?sipa. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "pt". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?coo"):::projected
v4("?iges"):::projected
v1("?item"):::projected
v5("?sipa"):::projected
v2("?wiki"):::projected
c5(["wd:Q54163210"]):::iri
c10(["bd:serviceParam"]):::iri
c12(["pt"]):::literal
c3(["wd:Q45"]):::iri
v1 --"wdt:P2186"--> v2
v1 --"wdt:P17"--> c3
v1 --"wdt:P1435"--> c5
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P625"--> v3
end
v1 --"wdt:P1702"--> v4
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P1700"--> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end