On 08/02/2016 03:01 PM, Markus Kroetzsch wrote:
On 02.08.2016 13:11, Ghislain ATEMEZING wrote:
Thanks Yuri. I will try to define a kind a metric for those having a number of wikipedia entries. For example, a person with 127 entries would be "famous" while another with just 10 is not "famous"...
Side remark @Stas: it could be very helpful to have the number of Wikimedia project articles stored as a numeric value for a new property in RDF. Doing a SPARQL query that computes this number and does something with it afterwards almost always times out. The number could be very useful as a heuristic "popularity" measure that can also help to give the most "important" items first in a number of queries.
Best,
Markus
The kind of queries alluded to (I think) are ones like:
# Famous Danes SELECT ?person ?personLabel (count(?articles) as ?rank) WHERE { ?person wdt:P27 wd:Q35 . OPTIONAL {?articles schema:about ?person} SERVICE wikibase:label {bd:serviceParam wikibase:language "en" } } GROUP BY ?person ?personLabel ORDER BY DESC(?rank) LIMIT 50
Which is derived from the Repository Fringe Wikitalks by Navino Evans and Ewan McAndrew
This one with property counts times out if not restricted to females:
# Famous Danish females SELECT ?person ?personLabel (count(?properties) as ?rank) WHERE { ?person wdt:P27 wd:Q35 . ?person wdt:P21 wd:Q6581072 . ?person ?properties ?something SERVICE wikibase:label {bd:serviceParam wikibase:language "en" } } GROUP BY ?person ?personLabel ORDER BY DESC(?rank) LIMIT 50
Persons in Wikidata may not necessarily be famous. Persons may be in Wikidata because of structural needs.
/Finn
El mar., 2 ago. 2016 a las 12:52, Yuri Astrakhan (<yastrakhan@wikimedia.org mailto:yastrakhan@wikimedia.org>) escribió:
Any person in wikidata is "famous" - otherwise they wouldn't be notable and therefore wouldn't be there)) If you prefer the stricter notability requirement(as used by Wikipedia), search only for those that have a wikipedia page On Aug 2, 2016 1:44 PM, "Ghislain ATEMEZING" <ghislain.atemezing@gmail.com <mailto:ghislain.atemezing@gmail.com>> wrote: Ahoy, I am curious to know if there is a way to know that a given person is "famous" in Wikidata. I want for example to retrieve "all famous French people born after a given date". Thanks in advance for your help. Best, Ghislain -- ------- "Love all, trust a few, do wrong to none" (W. Shakespeare) Web: http://atemezing.org _______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org
mailto:Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
_______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org <mailto:Wikidata@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/wikidata
--
"Love all, trust a few, do wrong to none" (W. Shakespeare) Web: http://atemezing.org
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata