Suppose there is a property P that is a subproperty of Q and I query for the Q properties of some object O that has values for both P and Q. When I query for O's Q property values do I always get the P property values as well?
For example (using triples) daughter subpropertyof child . son subpropertyof child . John son Bill . John daughter Mary . does a query for John's children return Bill and Mary?
peter
On 01/12/2015 10:46 AM, Nikolas Everett wrote:
On Mon, Jan 12, 2015 at 1:35 PM, Peter F. Patel-Schneider <pfpschneider@gmail.com mailto:pfpschneider@gmail.com> wrote:
Hi: Is there a definition of what queries against Wikidata are supposed to return?
This is somewhat up in the air. Under the hood we have infinite flexibility but what gets returned I think varies a lot by the context of the query. Minimally we'll be returning the entity's id (Q2, etc).
In particular, how will queries interact with P1647 (subproperty of) and similiar aspect of Wikidata?
We're not sure yet. What kind of interaction are you looking for?
Nik
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech