Wikidata property WikiTree

+20 votes
910 views

We have a property in WikiData Property:P2949 its used on Special:WhatLinksHere/Property:P2949

Example Beethoven is Q255 and in WikiData we have a link to WikiTree Van_Beethoven-1

I suggest this G2G topic is a discussion what we should do now....

My suggestions

  1. Update Wikidata with WikiTree properties for all WikiTree profiles with template Notables
     
    1. Review WikiTree Notables profiles so they have a good quality level ?
       
  2. Update the template Notables to take a parameter = Wikidata object
    1. Maybe add a link to Reasonator https://tools.wmflabs.org/reasonator/?q=Q255
  3. Update some guidelines for how to create Notables inside WikiTree to also describe how to set WikiTree property at WikiData
     
  4. Define a Database Error that a profile with the Notables template should have a WikiData object parameter and if possible check if the WikiTree ID is set in WikiData ....
     
  5. ??????

Reasonator with WikiTree property

Property in Wikidata

in WikiTree Tech by Living Sälgö G2G6 Pilot (296k points)
retagged by Maggie N.
I love the idea of a database error that shows Notable profiles with no Wikidata object parameter, and ideally finding those with no WikiTree ID property set in Wikidata.

Another great error would be finding more than one WikiTree ID linking to the same Wikidata object, which would indicate a duplicate profile.

Also checking birth dates and death dates and locations in WikiTree with Wikipedia/Wikidata I have seen that they differ....

As also FindAgrave ID is in WikiData it's stupid that we don't have templates for FIndAGrave records. If we had templates it would have been easier to check that the WikiTree profile had the same FindAGrave record number as WikiData maybe we should create a FindAGrave template

Example search in Wikidata that displays FindAGraveID etc....

http://tinyurl.com/hjl6s4k
Another search showing people in Wikidata that 
have a WikiTree profile and a Facebook account
http://tinyurl.com/h57w8sz
 

Wikidata query finding all people in Wikidata with a WikiTreeID and display from WikiData a birth, death and buried location on a map with a link to WikiTree

The result is embedded in a webpage see my blog

Query asked 

 

 

 

  1. Ask for all people in Wikidata with WikiTree attribute P2949
  2. Get the Birth location and the coordinates for the birth location
  3. Create URL to Wikipedia
  4. If illustration exist in Wikidata for the person it will be displayed
  5. If FindAGrave ID exist Link to that 

#SPARQL query in Wikidata
# Find all people with WikiTreeID => they have a profile in WikiTree
# Display on the map 
# - Place of Birth
# - Place of Death 
# - Place of Burial

# In the popup window show illustration from Wikidata and URL to WikiTree
#defaultView:Map
SELECT ?person ?ppicture ?personLabel ?personDescription ?WikiTreeIDf ?FindAGravef ?FBf ?Genealogicsf ?coord ?coord2 ?coord3 WHERE {
{
   ?person wdt:P2949 ?WikiTreeID .                 # All item with WikiTreeID
   OPTIONAL { ?person  wdt:P535 ?FindAGrave }  # FindAGrave
   OPTIONAL { ?person wdt:P1819 ?Genealogics }  # Genealogics
   OPTIONAL { ?person wdt:P2013 ?FB }              # Facebook
   OPTIONAL {  ?person wdt:P19 ?loc .             # P19 Place of Birth
    ?loc wdt:P625 ?coord } .                    # Get coordinates from Place of Birth

   OPTIONAL {  ?person wdt:P20 ?loc2 .             # P19 Place of Death
    ?loc2 wdt:P625 ?coord2 } .                    # Get coordinates from Place of Death
   OPTIONAL {  ?person wdt:P119 ?loc3 .             # P19 Place of Burial
    ?loc3 wdt:P625 ?coord3 } .                    # Get coordinates from Place of Burial
   OPTIONAL {?person wdt:P18 ?ppicture}         # If Wikidata has a illustration use that

#   ?person  wdt:P166 wd:Q219578 . # just showing people who has received Victoria Cross
  
   BIND (URI(CONCAT("http://www.wikitree.com/wiki/",?WikiTreeID)) AS ?WikiTreeIDf)
   BIND (URI(CONCAT("http://www.findagrave.com/cgi-bin/fg.cgi?page=gr&df=all&GRid=",?FindAGrave)) AS ?FindAGravef)
   BIND (URI(CONCAT("http://www.genealogics.org/getperson.php?tree=LEO&personID=",?Genealogics)) AS ?Genealogicsf)
   BIND (URI(CONCAT("https://www.facebook.com/",?FB)) AS ?FBf)
  
}
   SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
LIMIT 10000

 

I can see this being helpful for finding people to add to Wikitree for the Notables project. Maybe a query that selects all humans born after 0 AD who don't have a Wikitree ID? And we could filter by occupation, or awards, or country of birth, etc.

One approach Jamie is

All Wikidata profiles with the FindAGrave property set but no WikiTree ID

http://minancestry.blogspot.se/2016/07/map-all-wikidata-with-findagrave.html 

Thanks for this, Magnus! I added a politician who is buried near the street where I parked the car on the way to the office. : )

http://www.wikitree.com/wiki/Whiteley-324

WikiData Flow

Bic pic

5 Answers

+8 votes
 
Best answer

How to add a WikiTreeID to WikiData

Video https://youtu.be/mZ21yil5iRc connecting Olof Palme

Other cool examples:

 

by Living Sälgö G2G6 Pilot (296k points)
edited by Living Sälgö

Resonator -> Reasonator

I think it's an invented word based on reason. But your video demos really resonate with me. :)

+7 votes
How about updating locality categories with things from Wikidata like the "coordinate location" property?

For example, my hometown of Hobart, Indiana, USA, is

https://www.wikidata.org/wiki/Q1999235

so perhaps the coordinate location property could be referenced on

Category: Hobart, Indiana
by Karen Lowe G2G6 Pilot (191k points)

That would be magic if we could feed infoboxes in WikiTree from Wikidata.... I am not skilled right now to explain how to do it....

I assume we then need to have infoboxes with the object Q1999235 and then write something that fill in locations flag,,, name,,,, etc.... 

As WikiData has FindAGrave attribute we could also feed Notables with Find A Grave links... from Wikidata.... Property:P535 used WhatLinksHere/Property:P535 

Question is how...

For coordinates I think we would want to copy code from

https://en.wikipedia.org/wiki/Template:Infobox_settlement

The smaller problem is to create the template If Chris gives us a go then we do that...

The technical challenge is how to update it from Wikidata..... without manual work....

My understanding is that WikiTree hasn't set any standard how a category page for e.g. Hobart, Indiana should look (wikipedia)

I have been playing around a little bit at the Family Search wiki and they run a later version of Wiki ==> you can inside Family Search use Wikimedia pictures..... without download and upload

I would like to see simplified maps inside WikiTree on categories....



On the Swedish Parish pages we(I) have started to add Template:SPC_Gen_Parish that could be extended to also have picture of the local church, coordinates etc.... the future will tell

+7 votes
Hello Magnus,

Do you imagine there is a way that Wikidata may be used for some of the DNA results which people in WikiTree have?  If so, I would like to start with something more simple (to learn the ropes) and then build to a more complex use.

Thanks and sincerely,
by Peter Roberts G2G6 Pilot (703k points)
Never heard about that....
I would think you would want a Wikidata property for GEDmatch ID or even NCBI GenBank submissions.

Hmm, I wonder if a WikiTree profile could serve as a reference to a family link claim on Wikidata? For example, the page for Anne Frank at https://www.wikidata.org/wiki/Q4583 includes claims that other Wikidata objects represent her father, mother, and sister. So a reference for those claims could point to a profile page or to a relationship calculator page. Probably the profile page is better since it contains the source citations, right? Or is the profile not really the correct reference since it is really just making the same claim based on references to source documents?

What could be done using RDF is that WIkiTree is so magic so we have an unique URL for Anne Frank

That is 
http://www.wikitree.com/wiki/Frank-1225

We can then tell the world that http://www.wikitree.com/wiki/Frank-1225 is the same as https://www.wikidata.org/wiki/Q4583

We also have today in machine readable form the relations father / child/birth date etc... if you check Google Structured testing tool

https://search.google.com/structured-data/testing-tool#url=http%3A%2F%2Fwww.wikitree.com%2Fwiki%2FFrank-1225
 

you can see that WikiTree is coded so intelligent that Google understand the structured info.... of the profile of Anne Frank



Big picture

That means what we should do is also make Gedmatch ID machine readable and somehow access Gedmatch and compare gedmatches.... on the fly.... ==>

We get a new error when two people share segments at GEDMATCH but are not connected in WikiTree ;-) 
 

+8 votes

 

SPARQL query in Wikidata

http://tinyurl.com/h6r2rr9

 that returns

subj WikiTreeID FindAGrave givenameLabel surnameLabel FB Instagram PlaceofBurial                                    
http://www.wikidata.org/entity/Q255 Van_Beethoven-1 9528924 Ludwig   110664992295466   http://www.wikidata.org/entity/Q240744                                    
http://www.wikidata.org/entity/Q692 Shakespeare-1 1450 William Shakespeare     http://www.wikidata.org/entity/Q472082                                    
http://www.wikidata.org/entity/Q4583 Frank-1225 6870415 Anna Frank     http://www.wikidata.org/entity/Q7332                                    
http://www.wikidata.org/entity/Q7336 Frank-1226   Otto Frank                                          
                                                   
by Living Sälgö G2G6 Pilot (296k points)
+8 votes

SPARQL query in Wikidata

http://tinyurl.com/hxl4njv that returns 
  1. WikiTreeID
  2. FindAGraveID
  3. FB account (if they have)
  4. Instagram account
  5. name
  6. location object of burial
    
    SELECT ?subj ?WikiTreeID ?FindAGrave ?givenameLabel ?surnameLabel  ?FB  ?Instagram ?PlaceofBurial WHERE {
    {
       ?subj wdt:P2949 ?WikiTreeID . 
       OPTIONAL {  ?subj      wdt:P2013 ?FB }
       OPTIONAL {  ?subj      wdt:P735 ?givename }
       OPTIONAL {  ?subj      wdt:P734 ?surname }
       OPTIONAL {  ?subj      wdt:P535 ?FindAGrave }
       OPTIONAL {  ?subj      wdt:P2003 ?Instagram }
       OPTIONAL {  ?subj      wdt:P119 ?PlaceofBurial }
    
    }
       SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
    }
    LIMIT 1000

Big pic
by Living Sälgö G2G6 Pilot (296k points)
edited by Living Sälgö
http://tinyurl.com/h7bqccu
#SPARQL query in WikiData
# List of presidents with causes of death with WikiTreeID
SELECT ?WikiTreeID ?FindAGrave ?h ?cause ?hl ?causel 
WHERE 
{
    ?h wdt:P39 wd:Q11696 . # P39 = position held Q11696 = President of the USA
    ?h wdt:P509 ?cause . # P509 = cause of death
    OPTIONAL {  
        ?h rdfs:label ?hl filter (lang(?hl) = "en") .
    }
    OPTIONAL { 
        ?cause rdfs:label ?causel filter (lang(?causel) = "en"). 
    }
    OPTIONAL { 
        ?h wdt:P2949 ?WikiTreeID . # P2949 WikiTreeID
    }
    OPTIONAL {  ?subj      wdt:P535 ?FindAGrave }
}
Video https://youtu.be/JSxnvcgpY8o
 
Same query but also with FindAGraveID
http://tinyurl.com/zuldee5

Big pic

George Washington Washington-11 has 3 FindAGrave IDs

List all US Presidents with A WikiTree profile and a Facebook account

http://tinyurl.com/hs2mand
Person WikiTreeID Facebook
Barack Obama
Obama-2
barackobama
Bill Clinton
Blythe-6
billclinton
  

#US presidents and spouses and if they have WikiTreeID in Wikidata

http://tinyurl.com/hwo7sjk

Related questions

+20 votes
5 answers
538 views asked Nov 9, 2019 in The Tree House by Aleš Trtnik G2G6 Pilot (804k points)
+15 votes
2 answers
+9 votes
0 answers
396 views asked Mar 1, 2017 in Policy and Style by Living Sälgö G2G6 Pilot (296k points)
+6 votes
0 answers
+24 votes
6 answers
+6 votes
1 answer
121 views asked Mar 1, 2023 in WikiTree Help by Richard Devlin G2G6 Pilot (505k points)
+2 votes
1 answer
258 views asked Nov 30, 2021 in WikiTree Tech by Michel Vorenhout G2G6 Pilot (313k points)
+8 votes
4 answers
+9 votes
1 answer
400 views asked Jan 29, 2017 in WikiTree Tech by Loretta Corbin G2G6 Pilot (243k points)
+10 votes
0 answers
287 views asked Oct 23, 2016 in Policy and Style by John Atkinson G2G6 Pilot (618k points)

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...