Data Mining
Données ouvertes liées (Linked Open Data)
John Samuel
CPE Lyon
Year: 2021-2022
Email: john(dot)samuel(at)cpe(dot)fr
SELECT ?languageLabel (YEAR(?inception) as ?year)
WHERE
{
#instances of programming language
?language wdt:P31 wd:Q9143;
wdt:P571 ?inception;
rdfs:label ?languageLabel.
FILTER(lang(?languageLabel) = "en")
}
ORDER BY ?year
LIMIT 100
SELECT ?languageLabel ?paradigmLabel (YEAR(?inception) as ?year)
WHERE
{
#instances of programming language
?language wdt:P31 wd:Q9143;
wdt:P571 ?inception; #inception
wdt:P3966 ?paradigm; #programming language paradigm
rdfs:label ?languageLabel. #label
?paradigm rdfs:label ?paradigmLabel #label
FILTER(lang(?languageLabel) = "en" && lang(?paradigmLabel) = "en") #English
}
ORDER BY ?year ?paradigmLabel
LIMIT 100
SELECT DISTINCT ?countryLabel (YEAR(?date) as ?year) ?population
WHERE {
?country wdt:P31 wd:Q6256; #Country
p:P1082 ?populationStatement;
rdfs:label ?countryLabel. #Label
?populationStatement ps:P1082 ?population; #population
pq:P585 ?date. #period in time
FILTER(lang(?countryLabel)="en") #Label in English
}
ORDER by ?countryLabel ?year
LIMIT 1000