Difference between revisions of "Sample Queries"

From jdcrp-wikibase
Jump to navigation Jump to search
Line 7: Line 7:
  
 
* People in this Wikibase
 
* People in this Wikibase
 +
#People
 +
SELECT ?item ?itemLabel ?lifetime ?itemDescription
 +
WHERE
 +
{
 +
  ?item wdt:P21 ?lifetime.
 +
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
 +
}
 
*
 
*

Revision as of 11:59, 28 July 2021

Read more on queries

People and their relationships

  • People in this Wikibase
  1. People

SELECT ?item ?itemLabel ?lifetime ?itemDescription WHERE {

 ?item wdt:P21 ?lifetime.
 SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }

}