query-514617fcae63788c0f432f4195099125
Manuscripts without language or without collection: (P195)collection properties. Here are the manuscripts without a (P407)language of work or name and (P195)collection items had (Q87167)manuscript mean more formal work with Wikidata and more data being released. I'm rushing to make the demo as impressive as I can, and it would help me if there were more rich records about manuscripts. I've improved a lot of records but am concentrating on coding. It would help if more mightI have a favour to ask of the community. On Tuesday there will be a meeting in Oxford University to discuss ways to make collections more discoverable, and there will be a demo of a couple of Wikidata-driven sites. If the demo impresses, this
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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?q ?qLabel ?qDescription ?enwp
WHERE {
?q (wdt:P31/wdt:P279*) wd:Q87167.
MINUS { ?q wdt:P195 []}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
OPTIONAL{?enwp schema:about ?q ; schema:isPartOf <https://en.wikipedia.org/> }
} ORDER BY DESC(?qLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?enwp"):::projected
v2("?q"):::projected
v1("?qLabel"):::projected
a2((" "))
a1((" "))
c11([https://en.wikipedia.org/]):::iri
c3(["wd:Q87167"]):::iri
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P195"--> a2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."schema:about".-> v2
v3 --"schema:isPartOf"--> c11
end