Commit 7440e8b8 authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

update exhibitions query

parent 9b485f37
SELECT DISTINCT ?uri ?label ?description ?logo ?alternative WHERE {
GRAPH <urn:x-arq:UnionGraph> {
?uri a ubbont:Exhibition .
?uri ubbont:showWeb true .
OPTIONAL { ?uri ubbont:sequenceNr ?seq . }
OPTIONAL { ?uri rdfs:label ?label . }
OPTIONAL { ?uri dct:title ?label . }
OPTIONAL { ?uri dct:alternative ?alternative . }
OPTIONAL { ?uri dct:description ?description . }
OPTIONAL { ?uri foaf:logo ?logo . }
MINUS { ?uri dct:isPartOf ?partOf . }
# FILTER ( ?uri != <http://data.ub.uib.no/exhibition/freden>
# || ?uri != <http://data.ub.uib.no/exhibition/b16328d7-0874-4b42-8053-d5d66b02ca46>
# || ?uri != <http://data.ub.uib.no/exhibition/53ba51b8-5029-4ac7-a2aa-f47e943d3ff5>
# || ?uri != <http://data.ub.uib.no/exhibition/65f6e01d-f24b-4232-ab1e-4ca790d6868b>
# || ?uri != <http://data.ub.uib.no/exhibition/5d9ad83f-73e4-4d8b-8a52-480e2ed76c0d>
# || ?uri != <http://data.ub.uib.no/exhibition/d36981f7-0d93-4dda-a5be-8d3b104c4958>
# || ?uri != <http://data.ub.uib.no/exhibition/0e8aa8a9-a166-4cbb-b798-d210e18a506e>
# || ?uri != <http://data.ub.uib.no/exhibition/e76d5c62-7b20-42c6-aa13-3fc7a243bdb5>
# || ?uri != <http://data.ub.uib.no/exhibition/60b37d65-a276-4dfd-8e4a-c79a658ddfa3>
# || ?uri != <http://data.ub.uib.no/exhibition/a16ee11e-2991-42eb-b151-2ee84daf1dda>
# || ?uri != <http://data.ub.uib.no/exhibition/7da10f07-06ff-40ec-ba8f-fabf458bfa40>
# || ?uri != <http://data.ub.uib.no/exhibition/5ed032a5-f361-4975-8663-5c00742a5f82>
# || ?uri != <http://data.ub.uib.no/exhibition/31e3fe62-060d-462e-8310-b296eff383c3>
# || ?uri != <http://data.ub.uib.no/exhibition/7a84b875-adc2-4587-a82e-1eb76a9e9085>
# || ?uri != <http://data.ub.uib.no/exhibition/27f422ed-c2fe-41f0-babd-8b8d03ad1f43>
# || ?uri != <http://data.ub.uib.no/exhibition/6fa3df2f-7333-492b-8478-87cd05c176d9>
# || ?uri != <http://data.ub.uib.no/exhibition/5ae7b03a-ffaa-4d4c-ad80-8d1df07b4ade>
# || ?uri != <http://data.ub.uib.no/exhibition/9d0fa899-c984-43f8-b70a-05d688e4d1ed>
# || ?uri != <http://data.ub.uib.no/exhibition/0d56a8bd-e636-4648-bbac-b892e634185a>
# || ?uri != <http://data.ub.uib.no/exhibition/6bfc3b67-4342-49ee-b89c-b88553d41549>
# || ?uri != <http://data.ub.uib.no/exhibition/b1cb5f34-e35f-40f6-9da1-3a6dfed40648>
# || ?uri != <http://data.ub.uib.no/exhibition/efad7c50-a65a-47c3-9324-2642c47b8251>
# || ?uri != <http://data.ub.uib.no/exhibition/9ecd4afe-b648-4d5b-b77a-acad40955e5d>
# || ?uri != <http://data.ub.uib.no/exhibition/eb6bdee1-73a4-4c2e-b22b-b6b320694a6e>
# || ?uri != <http://data.ub.uib.no/exhibition/437ffaed-9bb7-40d9-b91e-58ac6266ee4b>
# || ?uri != <http://data.ub.uib.no/exhibition/9d008e6f-5f48-4e66-9909-7340879b67f0>
# || ?uri != <http://data.ub.uib.no/exhibition/b807a8ab-9f93-4aad-89c6-d1931d948a26>
# || ?uri != <http://data.ub.uib.no/exhibition/bc91e78d-eef6-4833-8831-c63c066c7268>
# || ?uri != <http://data.ub.uib.no/exhibition/cd1ecf10-6ec5-449a-8b57-c39b6e29f009>
# || ?uri != <http://data.ub.uib.no/exhibition/e0511132-e340-4c1f-a5aa-31168be22be5>
# || ?uri != <http://data.ub.uib.no/exhibition/93fc33e4-c79c-42a1-b7c9-6397c891be85>
# || ?uri != <http://data.ub.uib.no/exhibition/6e88e615-8687-47bc-bf3f-5ec8fd349bb9>
# || ?uri != <http://data.ub.uib.no/exhibition/18eed87e-97dc-4d39-8c64-0bedc3c7d900>
# || ?uri != <http://data.ub.uib.no/exhibition/4b930453-0767-4fd1-8194-618baec0ad85>
# || ?uri != <http://data.ub.uib.no/exhibition/4adc0168-761d-4b4e-b4ab-56915178f134>
# || ?uri != <http://data.ub.uib.no/exhibition/1d13e69a-6cf8-4f7b-a67a-2b11cfc82a53>
# || ?uri != <http://data.ub.uib.no/exhibition/79b00f5c-d123-4ddf-b399-6178c7d1a714>
# || ?uri != <http://data.ub.uib.no/exhibition/e58aabd5-1c3b-4828-b16d-2647dc9544fa>
# || ?uri != <http://data.ub.uib.no/exhibition/2bed9e9b-5504-495b-8a01-f889fe1dfd23>
# || ?uri != <http://data.ub.uib.no/exhibition/d4de00eb-7e90-463b-ad87-cc1c2c0fbb73>
# || ?uri != <http://data.ub.uib.no/exhibition/006b9d7c-a596-4cfc-a412-dd109cc21052>
# || ?uri != <http://data.ub.uib.no/exhibition/5d9f5e88-6668-4d63-b8d5-2aeced191daf>
# || ?uri != <http://data.ub.uib.no/exhibition/7517f821-5911-4541-a64b-ff2dad2087b5>
# || ?uri != <http://data.ub.uib.no/exhibition/5613c710-b9e4-4da8-ae8e-53d3181064e5>
# || ?uri != <http://data.ub.uib.no/exhibition/d08b6009-a51c-44e8-a294-156e3d72a9ba>
# || ?uri != <http://data.ub.uib.no/exhibition/09726e98-5806-404b-82a0-815c056f457c>
# || ?uri != <http://data.ub.uib.no/exhibition/3743f2ec-20e4-402a-bc85-6b6f8f701b79>
# || ?uri != <http://data.ub.uib.no/exhibition/27e294b4-a51e-483a-9369-a56ac2e11ef1>
# || ?uri != <http://data.ub.uib.no/exhibition/f0e0291f-ff11-4b18-8dc2-392c2121b2ac>
# || ?uri != <http://data.ub.uib.no/exhibition/b3c24277-6a36-4224-887e-63bf35b2663f>
GRAPH <urn:x-arq:UnionGraph> {
# duplicate to avoid optionals if subquery is empty
{?uri a ubbont:Exhibition }
{SELECT ?uri ?seq ?title WHERE {
{?uri a ubbont:Exhibition. }
?uri ubbont:showWeb true .
?uri dct:title ?label .
OPTIONAL { ?uri ubbont:sequenceNr ?seq . }
}
}
OPTIONAL { ?uri dct:alternative ?alternative . }
OPTIONAL { ?uri dct:description ?description . }
OPTIONAL { ?uri foaf:logo ?logo . }
}
# uncomment the next line, and insert uri for exhibition to skip
# FILTER ( ?uri != <http://data.ub.uib.no/exhibition/freden> )
# )
}
}
ORDER BY ?seq ?title
} ORDER by xsd:double(?seq) ?title
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment