ED get web data examples
Jump to navigation
Jump to search
This is the companion page to the External Data web pages examples page on mediawiki.org, showing these calls in action.
NCBI taxonomy
[edit | edit source]Data from the National Center for Biotechnology Information.
Information for taxon ID 8371:
- Scientific name: Ranoidea aurea
- Common name: Australian frog
- Division: Vertebrates
PubMed
[edit | edit source]Data from PubMed, run by the National Center for Biotechnology Information.
Information for PMID 19782018:
- Title: How to choose a good scientific problem.
- Name: Alon, Uri
- Journal: Molecular cell
- Year: 2009
- Volume: 35
Scopus
[edit | edit source]Data from Elsevier's Scopus database.
Information for 10.1103/PhysRevA.20.1521:
- Title: Laser cooling of atoms
- Author: Wineland D.J.
- "Cited by" count: 689
Wikidata - individual entry
[edit | edit source]SPARQL query:
SELECT ?item ?itemLabel ?symbol ?atomicNumber ( YEAR( ?discoveryDate ) AS ?discoveryYear ) ?discoverer ?discovererLabel
WHERE {
VALUES ?item { wd:Q654 } .
?item wdt:P246 ?symbol .
?item wdt:P1086 ?atomicNumber .
?item wdt:P575 ?discoveryDate .
?item wdt:P61 ?discoverer
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
Info for Q654:
- Name: neon
- Symbol: Ne
- Atomic number: 10
- Year discovered: 1898
- Discoverers: Morris Travers, William Ramsay,
Wikidata - full query
[edit | edit source]All paintings that depict a squirrel.
SPARQL query:
SELECT DISTINCT ?painting ?paintingLabel ?creator ?creatorLabel ( YEAR( ?inception ) as ?year ) ?genre ?genreLabel ( SUBSTR( ?str_image, 52 ) AS ?fileName )
WHERE
{
?painting wdt:P180 wd:Q9482 .
?painting wdt:P170 ?creator .
?painting wdt:P571 ?inception .
?painting wdt:P136 ?genre .
?painting wdt:P18 ?image .
BIND (STR(?image) AS ?str_image)
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY ?paintingLabel