Re: [Wikidata] What's wrong in Italy ?

2019-05-11 Thread Ettore RIZZA
> > we don't put "former politician" as occupation just because they're not > politician anymore @Nicolas : I agree with your opinion (which does not seem so strong to me) and, to continue with your example, I think that being able to mentally add "former" to an existential property (P31 or

Re: [Wikidata] What's wrong in Italy ?

2019-05-11 Thread Nicolas VIGNERON
Hi: Strong opinion here: I never understood, why having item "former X" in the first place? This seems to be an inelegant, heavy and lazzy way to model things. I feel that the whole "former X" should be burn. Why not just not use "X" with an end date? For me, it seems to be a way better, lighter

Re: [Wikidata] What's wrong in Italy ?

2019-05-11 Thread Ettore RIZZA
Hello, It seems legit that a "former" something is no longer something and shouldn't be included among the instances of "something". But it doesn't sound like orthodox ontological modeling. I guess it's a workaround because we can't add a qualifier (e. g. time validity) to P31 or P279 properties

Re: [Wikidata] What's wrong in Italy ?

2019-05-11 Thread Gerard Meijssen
Hoi, Does this mean that any former country are no longer considered as a country ? What is then meant by a "former administrative territorial entity"? I am afraid that without readily available clear definitions, this is just an academic exercise. In order to help understand it, what are the use

Re: [Wikidata] What's wrong in Italy ?

2019-05-11 Thread Fabrizio Carrai
Indeed there are many things to review, the Thomas' link is very useful: 1) The classes of the geopolitical divisions (btw, it was the original subject of this thread) rooted by "country"|(Q6256

Re: [Wikidata] What's wrong in Italy ?

2019-05-08 Thread Fabrizio Carrai
I've updated the example query with your pro tip. Thanks FabC Il giorno mer 8 mag 2019 alle ore 09:59 Markus Kroetzsch < markus.kroetz...@tu-dresden.de> ha scritto: > On 07/05/2019 23:37, Eugene Alvin Villar wrote: > > Hi, > > > > You can fix the query by replacing the following SPARQL

Re: [Wikidata] What's wrong in Italy ?

2019-05-08 Thread Thomas Douillard
> I'm a bit puzzled by a ranking with at preference in an "instance of" but... It’s indeed an interesting point. The problem in the country domain is that there is a lot of evolution into the regime of a state, a state can be sovereign at some point in history then become a part of a bigger state

Re: [Wikidata] What's wrong in Italy ?

2019-05-08 Thread Markus Kroetzsch
On 07/05/2019 23:37, Eugene Alvin Villar wrote: Hi, You can fix the query by replacing the following SPARQL statement: ?country wdt:P31 wd:Q6256. ...with the following 2 statements: ?country p:P31 ?countryStatement. ?countryStatement ps:P31 wd:Q6256. Pro tip: you can also

Re: [Wikidata] What's wrong in Italy ?

2019-05-07 Thread Fabrizio Carrai
Thank you Eugene! Fabrizio Il giorno mar 7 mag 2019 alle ore 23:38 Eugene Alvin Villar < sea...@gmail.com> ha scritto: > Hi, > > You can fix the query by replacing the following SPARQL statement: > > ?country wdt:P31 wd:Q6256. >> > > ...with the following 2 statements: > > ?country p:P31

Re: [Wikidata] What's wrong in Italy ?

2019-05-07 Thread Fabrizio Carrai
Thank you Nicolas! I found the same situation for other countries like France (Q142) and Germany (Q183), maybe in many others. I'm a bit puzzled by a ranking with at preference in an "instance of" but... Is there a way to extend the query to all the values of the property ? Fabrizio Il giorno

Re: [Wikidata] What's wrong in Italy ?

2019-05-07 Thread Eugene Alvin Villar
Hi, You can fix the query by replacing the following SPARQL statement: ?country wdt:P31 wd:Q6256. > ...with the following 2 statements: ?country p:P31 ?countryStatement. > ?countryStatement ps:P31 wd:Q6256. > As Nicolas mentions, the original "simple" triple in your query takes into account

Re: [Wikidata] What's wrong in Italy ?

2019-05-07 Thread Nicolas VIGNERON
Hi, This query only search for "country" (Q6256) but Italy, like many other items, has a preferred ranking on the value "sovereign state" (Q3624078), so by default, Italy doesn't appears as a country (which is strange but not totally illogical "country" is a quite broad term). Cheers, ~nicolas

[Wikidata] What's wrong in Italy ?

2019-05-07 Thread Fabrizio Carrai
Can anybody explain why Italy is not shown in the results of the "Wikidata Query Service" example "Continents, countries, regions and capitals" [1] ? I suppose because Italy is belonging to two different continents (Europe and Africa). If this is the case I'm not able to fix the query. Thanks --