User:GualdimG

From Wikidata
Jump to navigation Jump to search

Exemplos de embedding data from Wikidata[edit]

  • A população actual de SF é 805,235
  • Gregório Lopes cujo id é Q724514 nasceu em 1490 em Portugal e era painter

Exemplo de query[edit]

  1. Painters whose fathers are also painters

SELECT ?painter ?painterLabel ?father ?fatherLabel WHERE {

 ?painter wdt:P106 wd:Q1028181 .
 ?painter wdt:P22 ?father .
 ?father wdt:P106  wd:Q1028181.
 SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }         
 }