Lol. "P" makes perfect sense...
On Wed, Mar 6, 2013 at 10:02 AM, Michael Hale <hale.michael.jr(a)live.com>wrote;wrote:
Oops
Q: item
------------------------------
From: hale.michael.jr(a)live.com
To: wikidata-l(a)lists.wikimedia.org
Date: Wed, 6 Mar 2013 10:02:16 -0500
Subject: Re: [Wikidata-l] One entity per page question
Q: entity
P: property
U: query
------------------------------
Date: Wed, 6 Mar 2013 15:58:47 +0100
From: denny.vrandecic(a)wikimedia.de
To: wikidata-l(a)lists.wikimedia.org
Subject: Re: [Wikidata-l] One entity per page question
Y, IIRC
2013/3/6 Yuri Astrakhan <yuriastrakhan(a)gmail.com>
Thank you! So its a 1-1 relationship. Someone told me that its a 1-many
relationship which would have broken all of my API
RFC<http://www.mediawiki.org/wiki/Requests_for_comment/Wikidata_API>i…;ideas.
The only remaining confusing thing - if "item" entity has a Q number, what
would the "query" entity prefix be? :))
On Wed, Mar 6, 2013 at 9:50 AM, Denny Vrandečić <
denny.vrandecic(a)wikimedia.de> wrote:
Yes, every Wikidata page is about one and exactly one entity. There cannot
be two entities on one page.
"Bonny and Clyde" is one entity, designing the pair of people.
"Bonny" and "Clyde" each might also be one entity each, and there
could be
relevant connections between the three entities "Bonny", "Clyde",
and
"Bonny and Clyde".
2013/3/6 Yuri Astrakhan <yuriastrakhan(a)gmail.com>
Sk!d, of course if you ask for multiple items, you get multiple items. My
question is the difference between MediaWiki concept of a "page", and the
wikidata concept of an entity, specifically relating to items and
properties (not queries). Are these concepts interchangeable? Is
one MediaWiki page the same as one wikidata item, and have one-to-one
mapping?
On Wed, Mar 6, 2013 at 9:41 AM, swuensch <swuensch(a)gmail.com> wrote:
It is wbgetentitie*s* requests like:
https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q219937|Q42…
you two entities Q219937 and Q42.
Sk!d
On Wed, Mar 6, 2013 at 3:35 PM, Yuri Astrakhan <yuriastrakhan(a)gmail.com>wrote;wrote:
During an IRC discussion, I was told that a page in namespace 0 like
Q219937 <http://www.wikidata.org/wiki/Q219937> does not necessarily have
a one-to-one relationship with an entity like "Bonnie and Clyde".
wbgetentities<http://www.wikidata.org/w/api.php?action=wbgetentities&…
API
call gives this:
"entities": {
"q219937": {
"pageid": 214789,
"ns": 0,
"title": "Q219937",
"lastrevid": 7969610,
"modified": "2013-02-27T09:17:25Z",
"id": "q219937",
"type": "item",
"aliases": {
......
How is it possible to have more than one entity in one wiki page
titled Q219937, if the entity id is the same as page title? In what cases
would it be used? Is that a needed extra complexity?
In the case of Bonnie and Clyde (one wikipage in language A vs two
wikipages in B), wikidata can have three entities with links to static
redirects, apparently solving the need of one-to-many.
I am only considering item entities (ns:0), since query pages will
obviously have more than one entity associated with them.
Thanks!
_______________________________________________
Wikidata-l mailing list
Wikidata-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l
--
*Severin Wünsch*
_______________________________________________
Wikidata-l mailing list
Wikidata-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l
_______________________________________________
Wikidata-l mailing list
Wikidata-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l
--
Project director Wikidata
Wikimedia Deutschland e.V. | Obentrautstr. 72 | 10963 Berlin
Tel. +49-30-219 158 26-0 |
http://wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/681/51985.
_______________________________________________
Wikidata-l mailing list
Wikidata-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l
_______________________________________________
Wikidata-l mailing list
Wikidata-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l
--
Project director Wikidata
Wikimedia Deutschland e.V. | Obentrautstr. 72 | 10963 Berlin
Tel. +49-30-219 158 26-0 |
http://wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/681/51985.
_______________________________________________ Wikidata-l mailing list
Wikidata-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l
_______________________________________________ Wikidata-l mailing list
Wikidata-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l
_______________________________________________
Wikidata-l mailing list
Wikidata-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l