Hi,
My view is that, in order for there to be any point in cultural heritage
bodies (museums, libraries, archives, historians) publishing their
collections etc. as Linked Data, there needs to be a common Linked Data
framework representing the historical space-time universe, which they
can all quote. Current practice (such as the British Museum Linked Data
offering) suggests that concepts such as people, places and events will
otherwise be represented either by useless string values or by
system-specific URLs which have no wider meaning.
As a result, I would like to explore the potential for Wikidata to act
as this lingua franca for the cultural heritage community.
You'll see from my earlier messages to this list that I have been
grappling with the SPARQL end-point. Initially I was confused by the
interactive version of the Query Service [1], which differs in its
response format from the similarly-URLed end-point and doesn't provide
an RDF/XML response. I have now managed to set up Wikidata as a 'web
termlist' service for artists, within the Modes software (see attached
screenshot). (The data in the pop-up window is generated on the fly from
the Wikidata RDF.)
At this point, I have the following questions:
1. what level of stability is planned as regards Wikidata
identifiers/URLs? Can I treat the full URL (e.g.[3]) as persistent, or
can I only rely on the core Wikidata identifier (e.g. [4]) remaining
unchanged into the indefinite future? (Can I even rely on that?)
2. what is the policy on inclusivity? Do entities need to be 'notable'
in some sense to be accepted into Wikidata? (I'm imagining a research
body wanting to offer very precise place or event data, or someone with
the ambition to include in Wikidata details of any person who ever lived.)
3. is there a template for each entity type (e.g. person, place, event)
which guarantees that a query for certain properties will at least
identify entities of the desired type? (My artist termlist query
includes a test '$s ps:P31 wd:Q5' which picks out humans: I'm not clear
how I would do the same for events or places.)
Thanks,
Richard
[1] https://query.wikidata.org/#{SPARQL}
[2] https://query.wikidata.org/sparql?query={SPARQL}
[3] http://www.wikidata.org/entity/Q2591521
[4] Q2591521
--
*Richard Light*
Hello Wiki Tinkers,
I really enjoy reading about
the Wikidata SPRQL sandbox, & related functionalities,
I want to start importing some related queries that I have
developed so far, (i.e., for open source development purposes).
These can help in some way, and the mostly attribute to spatial
type of data ( i.e., coordinate referenced)
Thanks for helping with further conceptualizing this service & community,
Yours Truly,
Jorge A. Hernandez
On Mon, Jun 27, 2016 at 5:18 AM, <wikidata-tech-request(a)lists.wikimedia.org>
wrote:
> Send Wikidata-tech mailing list submissions to
> wikidata-tech(a)lists.wikimedia.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
> or, via email, send a message with subject or body 'help' to
> wikidata-tech-request(a)lists.wikimedia.org
>
> You can reach the person managing the list at
> wikidata-tech-owner(a)lists.wikimedia.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Wikidata-tech digest..."
>
>
> Today's Topics:
>
> 1. Wikidata for cultural heritage? (Richard Light)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 19 Jun 2016 12:27:53 +0100
> From: Richard Light <richard(a)light.demon.co.uk>
> To: Wikidata technical discussion <wikidata-tech(a)lists.wikimedia.org>
> Subject: [Wikidata-tech] Wikidata for cultural heritage?
> Message-ID: <5f207c98-e758-643f-a249-a3ed3a7e0f8f(a)light.demon.co.uk>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Hi,
>
> My view is that, in order for there to be any point in cultural heritage
> bodies (museums, libraries, archives, historians) publishing their
> collections etc. as Linked Data, there needs to be a common Linked Data
> framework representing the historical space-time universe, which they
> can all quote. Current practice (such as the British Museum Linked Data
> offering) suggests that concepts such as people, places and events will
> otherwise be represented either by useless string values or by
> system-specific URLs which have no wider meaning.
>
> As a result, I would like to explore the potential for Wikidata to act
> as this lingua franca for the cultural heritage community.
>
> You'll see from my earlier messages to this list that I have been
> grappling with the SPARQL end-point. Initially I was confused by the
> interactive version of the Query Service [1], which differs in its
> response format from the similarly-URLed end-point and doesn't provide
> an RDF/XML response. I have now managed to set up Wikidata as a 'web
> termlist' service for artists, within the Modes software (see attached
> screenshot). (The data in the pop-up window is generated on the fly from
> the Wikidata RDF.)
>
> At this point, I have the following questions:
>
> 1. what level of stability is planned as regards Wikidata
> identifiers/URLs? Can I treat the full URL (e.g.[3]) as persistent, or
> can I only rely on the core Wikidata identifier (e.g. [4]) remaining
> unchanged into the indefinite future? (Can I even rely on that?)
>
> 2. what is the policy on inclusivity? Do entities need to be 'notable'
> in some sense to be accepted into Wikidata? (I'm imagining a research
> body wanting to offer very precise place or event data, or someone with
> the ambition to include in Wikidata details of any person who ever lived.)
>
> 3. is there a template for each entity type (e.g. person, place, event)
> which guarantees that a query for certain properties will at least
> identify entities of the desired type? (My artist termlist query
> includes a test '$s ps:P31 wd:Q5' which picks out humans: I'm not clear
> how I would do the same for events or places.)
>
> Thanks,
>
> Richard
>
> [1] https://query.wikidata.org/#{SPARQL}
> [2] https://query.wikidata.org/sparql?query={SPARQL}
> [3] http://www.wikidata.org/entity/Q2591521
> [4] Q2591521
> --
> *Richard Light*
>
Hi,
I have just been exercising the SPARQL end-point [1], and have
successfully retrieved birth and death details for artists mentioned in
the ODNB. That is great, and I am really pleased about it. However, I
would ideally like my CONSTRUCT statement to produce a
machine-processible result, and for me that would mean RDF/XML. Is
there an argument I can add to the URL below which would have the effect
of returning a RDF/XML response?
Thanks,
Richard
[1]
https://query.wikidata.org/#PREFIX%20wd%3A%20%3Chttp%3A%2F%2Fwww.wikidata.o…
--
*Richard Light*
Hi,
I'm trying to get to grips with using Wikidata as a Linked Data
resource, and would welcome some guidance.
Using the SPARQL end-point [1], I submit a query which looks for people:
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX wd: <http://www.wikidata.org/entity/>
describe ?s where {?s ps:P31 wd:Q5 .
} limit 100
The results give a set of wd:statement URLs (e.g. [2]), each of which
has the required 'P31 Q5' property and four others (wikibase:rank,
rdf:type and a couple of 'derived from' properties). So this looks like
a simple statement, which is in some sense a property of the person I am
looking for. I would then expect to refine my SPARQL query to pick up
the person about whom this statement was made, and thereby get access to
their other properties.
However, when I dereference the statement URL, I find that I have
magically arrived at the URL of the person themselves [3].
While this is all very clever, it leaves me at a loss as to how I can
access the properties of the person using SPARQL.
Thanks,
Richard
[1] https://query.wikidata.org/
[2]
http://www.wikidata.org/entity/statement/q23-935f9100-47ca-f387-7946-45f9db…
[3] https://www.wikidata.org/wiki/Q23 when accessed through the browser,
or https://www.wikidata.org/wiki/Special:EntityData/q23 when accessed
through curl with a suitable Accept header
--
*Richard Light*
I’m working on wikidata for my MS thesis in Computer Engineering. i need to do some time expensive queries. Is it possible to set the spraql endpoint timeout in order to don’t obtain this kind of error?
Thank you for your attention.
Federico
I want to look up concepts and entities by their name even if it contains
typos or omissions in wiki data.
Can I do this using Wikidata-Toolkit?
Can I use achieve using sparql query from the web interface?
Thx