question stringlengths 9 150 | query stringlengths 63 685 | dataset-id stringclasses 12
values |
|---|---|---|
Is Barack Obama a democrat? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
ASK
WHERE {
res:Barack_Obama dbo:party <http://dbpedia.org/resource/Democratic_Party_(United_States)> .
} | qald-5 |
How many children does Eddie Murphy have? | PREFIX dbp: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?n
WHERE {
res:Eddie_Murphy dbp:children ?n .
} | qald-5 |
Who is the oldest child of Meryl Streep? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Meryl_Streep dbo:child ?uri .
?uri dbo:birthDate ?d .
}
ORDER BY ASC(?d)
OFFSET 0 LIMIT 1 | qald-5 |
Who killed John Lennon? | PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbp: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:Person.
?uri dbp:conviction res:Death_of_John_Lennon.
} | qald-5 |
Which frequent flyer program has the most airlines? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX yago: <http://dbpedia.org/class/yago/>
SELECT ?uri
WHERE {
?airline rdf:type dbo:Airline.
?airline dbp:frequentFlyer ?uri.
?uri rdf:ty... | qald-5 |
In which city is Air China headquartered? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX yago: <http://dbpedia.org/class/yago/>
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
res:Air_China dbo:headquarter ?uri .
?uri rdf:type yago:City108524735 .
} | qald-5 |
Which artists were born on the same date as Rachel Stevens? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:Artist.
res:Rachel_Stevens dbp:dateOfBirth ?date .
?uri dbp:dateOfBirth ?date .
} | qald-5 |
How many scientists graduated from an Ivy League university? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT DISTINCT count (?uri)
WHERE {
?uri rdf:type dbo:Scientist .
?uri dbo:almaMater ?university .
?university dbo:affiliation res:Ivy_League .
} | qald-5 |
Which types of grapes grow in Oregon? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
res:Oregon_wine dbo:growingGrape ?uri .
} | qald-5 |
Who is starring in Spanish movies produced by Benicio del Toro? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dbp: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri
WHERE {
?film rdf:type dbo:Film .
?film dbo:country res:Spain .
?film dbo:producer res:Benicio_... | qald-5 |
Who is the manager of Real Madrid? | PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
<http://dbpedia.org/resource/Real_Madrid_C.F.> dbo:manager ?uri .
} | qald-5 |
Give me the currency of China. | PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
res:China dbo:currency ?uri .
} | qald-5 |
Which movies starring Brad Pitt were directed by Guy Ritchie? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:Film .
?uri dbo:starring res:Brad_Pitt .
?uri dbo:director res:Guy_Ritchie .
} | qald-5 |
How many companies were founded by the founder of Facebook? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT COUNT(?c)
WHERE {
res:Facebook dbo:foundedBy ?uri .
?c dbo:foundedBy ?uri .
} | qald-5 |
How many companies were founded in the same year as Google? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT COUNT(DISTINCT ?c)
WHERE {
?c rdf:type dbo:Company .
?c dbo:foundingYear ?year .
res:Google dbo:foundingYear ?year .
} | qald-5 |
Which subsidiary of Lufthansa serves both Dortmund and Berlin Tegel? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
res:Lufthansa dbo:subsidiary ?uri .
?uri dbo:targetAirport res:Dortmund_Airport .
?uri dbo:targetAirport res:Berlin_Tegel_Airport .
} | qald-5 |
How many airlines are members of the Star Alliance? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbp: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT COUNT(DISTINCT ?uri)
WHERE {
?uri rdf:type dbo:Airline .
?uri dbp:alliance res:Star_Alliance .
} | qald-5 |
Give me all spacecrafts that flew to Mars. | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:Spacecraft .
?uri dbp:planet res:Mars .
} | qald-5 |
Which musician wrote the most books? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri dbo:occupation res:Musician .
?x dbo:author ?uri .
?x rdf:type dbo:Book .
}
ORDER BY DESC(COUNT(?x))
OFFSET 0 LIMIT 1 | qald-5 |
Show me everyone who was born on Halloween. | PREFIX dbp: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:Person .
{ ?uri dbo:birthDate ?date . }
UNION
{ ?uri dbp:bir... | qald-5 |
Give me all Swiss non-profit organizations. | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri dbo:type res:Nonprofit_organization .
{ ?uri dbo:locationCountry res:Switzerland . }
UNION
{ ?uri dbo:location ?x .
?x dbo:country res:Switzerland . }
} | qald-5 |
In which country is Mecca located? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
res:Mecca dbo:country ?uri .
} | qald-5 |
What is the net income of Apple? | PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?ni
WHERE {
<http://dbpedia.org/resource/Apple_Inc.> dbo:netIncome ?ni .
} | qald-5 |
What does the abbreviation FIFA stand for? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbp: <http://dbpedia.org/property/>
SELECT DISTINCT ?name
WHERE {
res:FIFA dbp:name ?name .
} | qald-5 |
When did the Ming dynasty dissolve? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?date
WHERE {
res:Ming_dynasty dbo:dissolutionDate ?date .
} | qald-5 |
Which museum in New York has the most visitors? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:Museum .
?uri dbo:location res:New_York_City .
?uri dbo:numberOfVisitors ?num .
}
ORDER BY DESC(?nu... | qald-5 |
Is Lake Baikal bigger than the Great Bear Lake? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>
ASK
WHERE {
res:Lake_Baikal dbo:areaTotal ?a1 .
res:Great_Bear_Lake dbo:areaTotal ?a2 .
FILTER (?a1 > ?a2)
} | qald-5 |
Desserts from which country contain fish? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?x dbo:type res:Dessert .
?x dbo:origin ?uri .
?x dbo:ingredient res:Fish .
} | qald-5 |
What is the highest mountain in Italy? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:Mountain .
?uri dbo:locatedInArea res:Italy .
?uri dbo:elevation ?num .
}
ORDER BY DESC(?num)
OFFSET 0 LI... | qald-5 |
Where did the architect of the Eiffel Tower study? | PREFIX dbp: <http://dbpedia.org/property/>
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Eiffel_Tower dbo:architect ?x .
?x dbp:almaMater ?uri .
} | qald-5 |
Which Greek parties are pro-European? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:PoliticalParty .
?uri dbo:country res:Greece .
?uri dbo:ideology res:Pro-Europeanism .
} | qald-5 |
What is the height difference between Mount Everest and K2? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT (?h1-?h2)
WHERE {
res:Mount_Everest dbo:elevation ?h1 .
res:K2 dbo:elevation ?h2 .
} | qald-5 |
Who is the mayor of Rotterdam? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Rotterdam dbo:leaderName ?uri .
} | qald-5 |
How high is the Yokohama Marine Tower? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?num
WHERE {
res:Yokohama_Marine_Tower dbo:height ?num .
} | qald-5 |
Are Taiko a kind of Japanese musical instruments? | PREFIX yago: <http://dbpedia.org/class/yago/>
PREFIX res: <http://dbpedia.org/resource/>
ASK
WHERE {
res:Taiko rdf:type yago:JapaneseMusicalInstruments .
} | qald-5 |
How many ethnic groups live in Slovenia? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT COUNT(DISTINCT ?uri)
WHERE {
res:Slovenia dbo:ethnicGroup ?uri .
} | qald-5 |
List the seven kings of Rome. | PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbp: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri
WHERE {
?uri dbp:title res:King_of_Rome .
} | qald-5 |
Who were the parents of Queen Victoria? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Queen_Victoria dbo:parent ?uri .
} | qald-5 |
Who is the heaviest player of the Chicago Bulls? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:Person .
?uri dbo:weight ?num .
{ ?uri dbp:team res:Chicago_B... | qald-5 |
Which volcanos in Japan erupted since 2000? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:Volcano .
?uri dbo:locatedInArea res:Japan .
?uri dbo:eruptionYear ?date .
FILTER (year(?date)... | qald-5 |
Who is the tallest basketball player? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:BasketballPlayer .
?uri dbo:height ?num .
}
ORDER BY DESC(?num)
OFFSET 0 LIMIT 1 | qald-5 |
Where was the "Father of Singapore" born? | PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
text:"Father of Singapore" dbo:birthPlace ?uri .
} | qald-5 |
Which Secretary of State was significantly involved in the United States' dominance of the Caribbean? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri dbo:office "United States Secretary of State" .
?uri text:"significiantly involved in" text:"United States' dominance of the Caribbean" .
} | qald-5 |
Who is the architect of the tallest building in Japan? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?name
WHERE {
text:"tallest building in Japan" dbo:architect ?uri .
} | qald-5 |
What is the name of the Viennese newspaper founded by the creator of the croissant? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?name
WHERE {
res:Croissant dbo:creator ?x .
?x text:"founder of" ?name .
} | qald-5 |
In which city where Charlie Chaplin's half brothers born? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
ASK
WHERE {
res:Charlie_Chaplin dbo:relative ?x .
?x text:"half brother of" ?res:Charlie_Chaplin .
?x dbo:birthPlace ?y .
?y text:"is a" text:"city" .
} | qald-5 |
Which German mathematicians were members of the von Braun rocket group? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri ?abstract
WHERE {
?uri dbo:field res:Mathematics .
?uri dbo:birthPlace res:Germany .
?uri text:"member of" text:"von Braun rocket group" .
} | qald-5 |
Which writers converted to Islam? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:Writer .
?uri text:"converted to" text:"Islam" .
} | qald-5 |
Are there man-made lakes in Australia that are deeper than 100 meters? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
ASK
WHERE {
?uri rdf:type dbo:Lake .
?uri dbo:country res:Australia .
?uri text:"is" text:"man-made" .
?uri dbo:depth ?num .
FILTER(?num > 100.0)
} | qald-5 |
Which movie by the Coen brothers stars John Turturro in the role of a New York City playwright? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:Film .
?uri dbo:director res:Coen_brothers .
?uri dbo:starring res:John_Turturro .
res:John_Turturro text:"role" text:"New York City playwright" .
} | qald-5 |
Which of the volcanoes that erupted in 1550 is still active? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:Volcano .
?uri dbo:eruptionYear ?y .
FILTER (year(?y) = 1550)
?uri text:"is" text:"active" .
} | qald-5 |
How much was spent on public works and utilities by the Town of Cary in 2011? | select sum(xsd:decimal(?amount)) from <http://linkedspending.aksw.org/town_of_cary_expenditures> { ?obs qb:dataSet ls:town_of_cary_expenditures. ?obs lso:town_of_cary_expenditures-amount ?amount. ?obs lso:town_of_cary_expenditures-Class <https://openspending.org/town_of_cary_expenditures/Class/6>. ?obs lso:refYear ?yea... | qald-6 |
Which programs were done under the class of public works and utilities in the expenditure of the Town of Cary? | select ?program from <http://linkedspending.aksw.org/town_of_cary_expenditures> { ?obs qb:dataSet ls:town_of_cary_expenditures. ?obs lso:town_of_cary_expenditures-Program ?program. ?obs lso:town_of_cary_expenditures-Class <https://openspending.org/town_of_cary_expenditures/Class/6>. } | qald-6 |
How much did the Town of Cary earn in 2009? | select sum(xsd:decimal(?amount)) from <http://linkedspending.aksw.org/town_of_cary_revenues> { ?obs qb:dataSet ls:town_of_cary_revenues. ?obs lso:refYear ?year. filter(year(?year)=2009). ?obs lso:town_of_cary_revenues-amount ?amount. } | qald-6 |
Which program earned the most for the Town of Cary? | select ?program from <http://linkedspending.aksw.org/town_of_cary_revenues> { ?obs qb:dataSet ls:town_of_cary_revenues. ?obs lso:town_of_cary_revenues-Program ?program. ?obs lso:town_of_cary_revenues-amount ?amount. } order by desc(sum(xsd:decimal(?amount))) limit 1 | qald-6 |
Which department of whiteacre spent the most in 2010? | select ?dep from <http://linkedspending.aksw.org/city-of-whiteacre-spending> { ?obs qb:dataSet ls:city-of-whiteacre-spending. ?obs lso:city-of-whiteacre-spending-to ?dep. ?obs lso:city-of-whiteacre-spending-amount ?amount. ?obs lso:refYear ?year. filter (year(?year)=2010). } order by desc(sum(xsd:decimal(?amount))) lim... | qald-6 |
How much does the general district court of Whiteacre spend for court appointed attorney fees a year? | select ?year sum(xsd:decimal(?amount)) as ?result from <http://linkedspending.aksw.org/city-of-whiteacre-spending> { ?obs qb:dataSet ls:city-of-whiteacre-spending. ?obs lso:city-of-whiteacre-spending-object <https://openspending.org/city-of-whiteacre-spending/object/3150.0>. ?obs lso:city-of-whiteacre-spending-to <http... | qald-6 |
Which agencies in the Maldives have proposed expenditure amounts of more than 1 billion Maldivian rufiyaa in 2015? | select ?agency from <http://linkedspending.aksw.org/maldives_proposed_expenditure_2015> { ?obs qb:dataSet ls:maldives_proposed_expenditure_2015. ?obs lso:maldives_proposed_expenditure_2015-Agency ?agency. ?obs lso:maldives_proposed_expenditure_2015-amount ?amount. filter(xsd:decimal(?amount)>1000000000). } | qald-6 |
What is the total aid to the Anti Corruption Commission in the Maldives in 2015? | select sum(xsd:decimal(?amount)) from <http://linkedspending.aksw.org/maldives_proposed_expenditure_2015> { ?obs qb:dataSet ls:maldives_proposed_expenditure_2015. ?obs lso:maldives_proposed_expenditure_2015-Agency <https://openspending.org/maldives_proposed_expenditure_2015/Agency/anti-corruption-commission>. ?obs lso:... | qald-6 |
Which Ugandan district had the highest budget in 2014? | select ?district from <http://linkedspending.aksw.org/ministry_of_health> { ?obs qb:dataSet ls:ministry_of_health. ?obs lso:ministry_of_health-District ?district. ?obs lso:ministry_of_health-amount ?amount. ?obs lso:refYear ?year. filter(year(?year)=2014). } order by desc(sum(xsd:decimal(?amount))) limit 1 | qald-6 |
What was the average Uganda health budget over all districts in 2014? | select avg(?sum) as ?sum { select ?district sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/ministry_of_health> { ?obs qb:dataSet ls:ministry_of_health. ?obs lso:ministry_of_health-District ?district. ?obs lso:ministry_of_health-amount ?amount. ?obs lso:refYear ?year. filter(year(?year)=2014). } ... | qald-6 |
What is the highest Newcastle city council payment for supplies and services? | select max(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/newcastle-city-council-payments-over-500> { ?obs qb:dataSet ls:newcastle-city-council-payments-over-500. ?obs lso:newcastle-city-council-payments-over-500-expenditure-category "Supplies & Services". ?obs lso:newcastle-city-council-payments-ov... | qald-6 |
What's are the 10 highest payments of the Newcastle city council? | select xsd:decimal(?amount) as ?amount from <http://linkedspending.aksw.org/newcastle-city-council-payments-over-500> { ?obs qb:dataSet ls:newcastle-city-council-payments-over-500. ?obs lso:newcastle-city-council-payments-over-500-amount ?amount. } order by desc(xsd:decimal(?amount)) limit 10 | qald-6 |
How much did the Waltham Forest Council spend on Environment and Regeneration? | select sum(xsd:decimal(?amount)) as ?amount from <http://linkedspending.aksw.org/uk-local-walthamforest> { ?obs qb:dataSet ls:uk-local-walthamforest. ?obs lso:uk-local-walthamforest-ExpenseArea <https://openspending.org/uk-local-walthamforest/ExpenseArea/environment-regeneration>. ?obs lso:uk-local-walthamforest-amount... | qald-6 |
On the Waltham Forest Council, how much money was given to Synarbor Global Solutions Ltd? | select sum(xsd:decimal(?amount)) as ?amount from <http://linkedspending.aksw.org/uk-local-walthamforest> { ?obs qb:dataSet ls:uk-local-walthamforest. ?obs lso:uk-local-walthamforest-to <https://openspending.org/uk-local-walthamforest/to/15519>. ?obs lso:uk-local-walthamforest-amount ?amount. } | qald-6 |
How much money give Cheshire West and Chester on Adult Social Care and Health? | select sum(xsd:decimal(?amount)) as ?amount from <http://linkedspending.aksw.org/cheshire_west_and_chester_april_2013> { ?obs qb:dataSet ls:cheshire_west_and_chester_april_2013. ?obs lso:cheshire_west_and_chester_april_2013-service-label "Adult Social Care & Health". ?obs lso:cheshire_west_and_chester_april_2013-amount... | qald-6 |
What are the top 5 narratives in Cheshire West and Chester? | select distinct(?narrative) from <http://linkedspending.aksw.org/cheshire_west_and_chester_april_2013> { ?obs qb:dataSet ls:cheshire_west_and_chester_april_2013. ?obs lso:cheshire_west_and_chester_april_2013-narrative ?narrative. ?obs lso:cheshire_west_and_chester_april_2013-amount ?amount. } order by desc(sum(xsd:deci... | qald-6 |
How much did the City of Redacre expend from the insurance fund? | select sum(xsd:decimal(?amount)) as ?amount from <http://linkedspending.aksw.org/city-of-redacre-spending> { ?obs qb:dataSet ls:city-of-redacre-spending. ?obs lso:city-of-redacre-spending-from <https://openspending.org/city-of-redacre-spending/from/510>. ?obs lso:city-of-redacre-spending-amount ?amount. } | qald-6 |
How much receives each division in the City of Redacre? | select ?division sum(xsd:decimal(?amount)) as ?amount from <http://linkedspending.aksw.org/city-of-redacre-spending> { ?obs qb:dataSet ls:city-of-redacre-spending. ?obs lso:city-of-redacre-spending-to ?division. ?obs lso:city-of-redacre-spending-amount ?amount. } | qald-6 |
What is the total Wandsworth spending from all departments? | select sum(xsd:decimal(?amount)) as ?amount from <http://linkedspending.aksw.org/wandsworthspending_2013> { ?obs qb:dataSet ls:wandsworthspending_2013. ?obs lso:wandsworthspending_2013-amount ?amount. } | qald-6 |
How much money Wandsworth spends on the criminal records bureau? | select sum(xsd:decimal(?amount)) as ?amount from <http://linkedspending.aksw.org/wandsworthspending_2013> { ?obs qb:dataSet ls:wandsworthspending_2013. ?obs lso:wandsworthspending_2013-DetailedExpenses "CRIMINAL RECORDS BUREAU". ?obs lso:wandsworthspending_2013-amount ?amount. } | qald-6 |
Top 10 IW Council Spending expense types? | select ?et from <http://linkedspending.aksw.org/iw-council-spending-2012-13-test> { ?obs qb:dataSet ls:iw-council-spending-2012-13-test. ?obs lso:iw-council-spending-2012-13-test-expensestype ?et. ?obs lso:iw-council-spending-2012-13-test-amount ?amount. } order by desc(sum(xsd:decimal(?amount))) limit 10 | qald-6 |
Which IW Council service area has the highest spending? | select ?area from <http://linkedspending.aksw.org/iw-council-spending-2012-13-test> { ?obs qb:dataSet ls:iw-council-spending-2012-13-test. ?obs lso:iw-council-spending-2012-13-test-servicearea ?area. ?obs lso:iw-council-spending-2012-13-test-amount ?amount. } order by desc(sum(xsd:decimal(?amount))) limit 1 | qald-6 |
Which departments of the city of Springfield had a higher budget in 2005 then in 2006? | select ?dep { select ?dep sum(xsd:decimal(?amount5)) as ?sum5 sum(xsd:decimal(?amount6)) as ?sum6 from <http://linkedspending.aksw.org/city-of-springfield-budget> { ?obs qb:dataSet ls:city-of-springfield-budget. ?obs lso:city-of-springfield-budget-to ?dep. { ?obs lso:city-of-springfield-budget-amount ?amount5. ?obs lso... | qald-6 |
What is the highest single budget amount in the city of Springfield for public works? | select max(xsd:decimal(?amount)) from <http://linkedspending.aksw.org/city-of-springfield-budget> { ?obs qb:dataSet ls:city-of-springfield-budget. ?obs lso:city-of-springfield-budget-deptgroup <https://openspending.org/city-of-springfield-budget/deptgroup/public-works>. ?obs lso:city-of-springfield-budget-amount ?amoun... | qald-6 |
Which proportion went to Fullerton of the amount spent on Californian cities in 2010? | select ?sum_fullerton/?sum_all { select sum(xsd:decimal(?fullerton)) as ?sum_fullerton sum(xsd:decimal(?all)) as ?sum_all from <http://linkedspending.aksw.org/pscs_ca_cities> { ?obs qb:dataSet ls:pscs_ca_cities. { ?obs lso:pscs_ca_cities-gov-full-name "Fullerton". ?obs lso:pscs_ca_cities-amount ?fullerton. } union { ?o... | qald-6 |
How many categories are there for californian cities? | select count(distinct(?category)) from <http://linkedspending.aksw.org/pscs_ca_cities> { ?obs qb:dataSet ls:pscs_ca_cities. ?obs lso:pscs_ca_cities-caption ?category. } | qald-6 |
What was the highest Washington DC employee salary in 2011? | select max(xsd:decimal(?amount)) from <http://linkedspending.aksw.org/dc-city-salaries> { ?obs qb:dataSet ls:dc-city-salaries. ?obs lso:dc-city-salaries-amount ?amount. ?obs lso:refYear ?year. filter(year(?year)=2011). } | qald-6 |
What is the average salary of an Engineering Technician in Washington DC? | select avg(xsd:decimal(?amount)) from <http://linkedspending.aksw.org/dc-city-salaries> { ?obs qb:dataSet ls:dc-city-salaries. ?obs lso:dc-city-salaries-amount ?amount. ?obs lso:dc-city-salaries-position "Engineering Technician". } | qald-6 |
What was the amount recieved by King George's Field from Big Lottery Fund grants? | select xsd:decimal(?amount) from <http://linkedspending.aksw.org/big-lottery-fund-grants> { ?obs qb:dataSet ls:big-lottery-fund-grants. ?obs lso:big-lottery-fund-grants-amount ?amount. ?obs lso:big-lottery-fund-grants-to <https://openspending.org/big-lottery-fund-grants/to/king-george-s-field>. } | qald-6 |
Over which programmes more than 1000000 pound but less than 10000000 pound in grants were given by the Big Lottery Fund? | select ?programme from <http://linkedspending.aksw.org/big-lottery-fund-grants> { ?obs qb:dataSet ls:big-lottery-fund-grants. ?obs lso:big-lottery-fund-grants-programme-name ?programme. ?obs lso:big-lottery-fund-grants-amount ?amount. } group by ?programme having (sum(xsd:decimal(?amount))>1000000&&sum(xsd:decimal(?amo... | qald-6 |
On which service areas of Gloucestershire was spent more than 1000000 pound in total? | select ?area from <http://linkedspending.aksw.org/uk-local-gloucestershirev1> { ?obs qb:dataSet ls:uk-local-gloucestershirev1. ?obs lso:uk-local-gloucestershirev1-service-area ?area. ?obs lso:uk-local-gloucestershirev1-amount ?amount. } group by ?area having (sum(xsd:decimal(?amount))>1000000) | qald-6 |
How much money did the Gloucestershire Police Authority receive? | select sum(xsd:decimal(?amount)) from <http://linkedspending.aksw.org/uk-local-gloucestershirev1> { ?obs qb:dataSet ls:uk-local-gloucestershirev1. ?obs lso:uk-local-gloucestershirev1-to <https://openspending.org/uk-local-gloucestershirev1/to/gloucestershire-police-authority>. ?obs lso:uk-local-gloucestershirev1-amount ... | qald-6 |
How much did the department for education pay for extra education services in Scotland? | select sum(xsd:decimal(?amount)) from <http://linkedspending.aksw.org/ukgov-finances-cra> { ?obs qb:dataSet ls:ukgov-finances-cra. ?obs lso:ukgov-finances-cra-region <https://openspending.org/ukgov-finances-cra/region/scotland>. ?obs lso:ukgov-finances-cra-cofog2 <https://openspending.org/ukgov-finances-cra/cofog2/09.6... | qald-6 |
What HTM functions are paid from the department for education the UK? | select distinct(?function) from <http://linkedspending.aksw.org/ukgov-finances-cra> { ?obs qb:dataSet ls:ukgov-finances-cra. ?obs lso:ukgov-finances-cra-hmt1 ?function. ?obs lso:ukgov-finances-cra-from <https://openspending.org/ukgov-finances-cra/from/Dept022>. } | qald-6 |
What are the activity statuses of basic health care in Urozgan? | select distinct(?status) from <http://linkedspending.aksw.org/iati_cordaid_af> { ?obs qb:dataSet ls:iati_cordaid_af. ?obs lso:iati_cordaid_af-Unique <https://openspending.org/iati_cordaid_af/Unique/195>. ?obs lso:iati_cordaid_af-Activity_Status ?status. } | qald-6 |
What is the total amount of basic nutrition aid by Cordaid in Afghanistan? | select sum(xsd:decimal(?amount)) from <http://linkedspending.aksw.org/iati_cordaid_af> { ?obs qb:dataSet ls:iati_cordaid_af. ?obs lso:iati_cordaid_af-Sector <https://openspending.org/iati_cordaid_af/Sector/12240>. ?obs lso:iati_cordaid_af-amount ?amount. } | qald-6 |
What was the total budget on Technical Services in City of Toronto in 2009? | select sum(xsd:decimal(?amount)) from <http://linkedspending.aksw.org/ca-local-toronto> { ?obs qb:dataSet ls:ca-local-toronto. ?obs lso:ca-local-toronto-division "Technical Services". ?obs lso:ca-local-toronto-amount ?amount. ?obs lso:refYear ?year. filter(year(?year)=2009). } | qald-6 |
Which divisions of the City of Toronto received more than 10000000 canadian dollar in 2010?
| select ?division from <http://linkedspending.aksw.org/ca-local-toronto> { ?obs qb:dataSet ls:ca-local-toronto. ?obs lso:ca-local-toronto-division ?division. ?obs lso:ca-local-toronto-amount ?amount. ?obs lso:refYear ?year. filter(year(?year)=2010). } group by ?division having (sum(xsd:decimal(?amount)) > 10000000) | qald-6 |
How much did the Sightsavers charity in Ireland pay in total? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/ie_charity_exp> { ?obs qb:dataSet ls:ie_charity_exp. ?obs lso:ie_charity_exp-Charity <https://openspending.org/ie_charity_exp/Charity/15437>. ?obs lso:ie_charity_exp-amount ?amount. } | qald-6 |
How much money does the Special Olympics Ireland charity spend on generating funds? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/ie_charity_exp> { ?obs qb:dataSet ls:ie_charity_exp. ?obs lso:ie_charity_exp-Charity <https://openspending.org/ie_charity_exp/Charity/7556>. ?obs lso:ie_charity_exp-Level3 <https://openspending.org/ie_charity_exp/Level3/b1-5100>. ?obs lso:ie_... | qald-6 |
What is the frontex budget for administrative expenditure? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/frontex> { ?obs qb:dataSet ls:frontex. ?obs lso:frontex-Heading <https://openspending.org/frontex/Heading/a-2>. ?obs lso:frontex-amount ?amount. } | qald-6 |
What is the average frontex budget chapter budget? | select avg(?sum) { select ?chapter sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/frontex> { ?obs qb:dataSet ls:frontex. ?obs lso:frontex-Chapter ?chapter. ?obs lso:frontex-amount ?amount. } } | qald-6 |
What was the largest amount spent on housing and building in the Dublin City Council Expenditure Budget of 2013? | select max(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/dcc_exp_budget2013> { ?obs qb:dataSet ls:dcc_exp_budget2013. ?obs lso:dcc_exp_budget2013-Division <https://openspending.org/dcc_exp_budget2013/Division/a>. ?obs lso:dcc_exp_budget2013-amount ?amount. } | qald-6 |
How much was the budget amount of the Dublin City Council in 2013? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/dcc_exp_budget2013> { ?obs qb:dataSet ls:dcc_exp_budget2013. ?obs lso:dcc_exp_budget2013-amount ?amount. } | qald-6 |
How much financial crisis aid did Austria receive in Guaranetees?
| select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/financial_aid> { ?obs qb:dataSet ls:financial_aid. ?obs lso:financial_aid-amount ?amount. ?obs lso:financial_aid-aid "Guarantees (1)". ?obs lso:financial_aid-country <https://openspending.org/financial_aid/country/austria>. } | qald-6 |
How much financial crisis aid did Belgium receive in the year of 2011? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/financial_aid> { ?obs qb:dataSet ls:financial_aid. ?obs lso:financial_aid-amount ?amount. ?obs lso:financial_aid-country <https://openspending.org/financial_aid/country/belgium>. ?obs lso:refYear ?year. filter(year(?year)=2011). } | qald-6 |
How much was charity spending was expended for charitable activities in Bangladesh? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/concern2012> { ?obs qb:dataSet ls:concern2012. ?obs lso:concern2012-Level1 <https://openspending.org/concern2012/Level1/expended>. ?obs lso:concern2012-Level3 <https://openspending.org/concern2012/Level3/charitable-activities>. ?obs lso:conce... | qald-6 |
What is the total cost of generating funds for public appeals events? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/concern2012> { ?obs qb:dataSet ls:concern2012. ?obs lso:concern2012-Level3 <https://openspending.org/concern2012/Level3/costs-of-generating-funds>. ?obs lso:concern2012-Level4 <https://openspending.org/concern2012/Level4/public-appeals-events... | qald-6 |
What is the amount given by the Department of Health to VWR International LLC? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/dc-vendors-contractors> { ?obs qb:dataSet ls:dc-vendors-contractors. ?obs lso:dc-vendors-contractors-from <https://openspending.org/dc-vendors-contractors/from/department-of-health>. ?obs lso:dc-vendors-contractors-to <https://openspending.or... | qald-6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.