question stringlengths 9 150 | query stringlengths 63 685 | dataset-id stringclasses 12
values |
|---|---|---|
How much was given in total to the Riverside Publishing vendor for educational purposes. | 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-objecttitle <https://openspending.org/dc-vendors-contractors/objecttitle/educational>. ?obs lso:dc-vendors-contractors-to <https://openspendi... | qald-6 |
What was the highest amount for materials and supplies used in Cameroon in 2008? | select max(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/cameroon_visualisation> { ?obs qb:dataSet ls:cameroon_visualisation. ?obs lso:cameroon_visualisation-head_account <https://openspending.org/cameroon_visualisation/head_account/610-xxx>. ?obs lso:cameroon_visualisation-amount ?amount. ?obs lso... | qald-6 |
How much is the total expenditure of the Tigerne Council in Cameroon? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/cameroon_visualisation> { ?obs qb:dataSet ls:cameroon_visualisation. ?obs lso:cameroon_visualisation-revenue_expenditure "EXPENDITURE". ?obs lso:cameroon_visualisation-council_name <https://openspending.org/cameroon_visualisation/council_name... | qald-6 |
When did London get Nominet Trust funding? | select distinct(?date) from <http://linkedspending.aksw.org/nominettrust_funding> { ?obs qb:dataSet ls:nominettrust_funding. ?obs lso:nominettrust_funding-region <https://openspending.org/nominettrust_funding/region/london>. ?obs lso:refDate ?date. } | qald-6 |
When did the Web in Society programme get Nominet Trust funding? | select distinct(?date) from <http://linkedspending.aksw.org/nominettrust_funding> { ?obs qb:dataSet ls:nominettrust_funding. ?obs lso:nominettrust_funding-programme <https://openspending.org/nominettrust_funding/programme/web-in-society>. ?obs lso:refDate ?date. } | qald-6 |
How much did Armenia spent in 2009 on general public services? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/618ac3ec98384f44a9ef142356ce476d> { ?obs qb:dataSet ls:618ac3ec98384f44a9ef142356ce476d. ?obs lso:618ac3ec98384f44a9ef142356ce476d-cofog1 <https://openspending.org/618ac3ec98384f44a9ef142356ce476d/cofog1/01>. ?obs lso:618ac3ec98384f44a9ef1423... | qald-6 |
What are the budgetary classifications of running expenses in Armenia? | select distinct(?type) from <http://linkedspending.aksw.org/618ac3ec98384f44a9ef142356ce476d> { ?obs qb:dataSet ls:618ac3ec98384f44a9ef142356ce476d. ?obs lso:618ac3ec98384f44a9ef142356ce476d-type ?type. ?obs lso:618ac3ec98384f44a9ef142356ce476d-economiclevel1 "Running expenses". } | qald-6 |
In Nigerias proposed budget of 2013, how much is assigned to total overhead costs? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/propbudg13> { ?obs qb:dataSet ls:propbudg13. ?obs lso:propbudg13-to <https://openspending.org/propbudg13/to/total-overhead-cost>. ?obs lso:propbudg13-amount ?amount. } | qald-6 |
How much did Nigernian Ministry of Petroleum Resources receive from ministries and department agencies? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/propbudg13> { ?obs qb:dataSet ls:propbudg13. ?obs lso:propbudg13-from <https://openspending.org/propbudg13/from/ministries-and-department-agencies>. ?obs lso:propbudg13-recipient <https://openspending.org/propbudg13/recipient/ministry-of-petr... | qald-6 |
How much did the New York City Council Members give to the Gun Hill Basketball Association? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/nyc-council-member-items> { ?obs qb:dataSet ls:nyc-council-member-items. ?obs lso:nyc-council-member-items-to <https://openspending.org/nyc-council-member-items/to/gun-hill-basketball-association-inc>. ?obs lso:nyc-council-member-items-amount... | qald-6 |
In how many years did Dickens give money to American Performing Arts Collaborative, Inc.? | select count(distinct(year(?year))) as ?years from <http://linkedspending.aksw.org/nyc-council-member-items> { ?obs qb:dataSet ls:nyc-council-member-items. ?obs lso:nyc-council-member-items-from <https://openspending.org/nyc-council-member-items/from/dickens>. ?obs lso:nyc-council-member-items-to <https://openspending.... | qald-6 |
How high were the service support costs of the Fingal County Council Expenditure Budget of 2011? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/fingal_exp_budget> { ?obs qb:dataSet ls:fingal_exp_budget. ?obs lso:fingal_exp_budget-ref2-desc "Service Support Costs". ?obs lso:fingal_exp_budget-amount ?amount. ?obs lso:refYear ?year. filter(year(?year)=2011). } | qald-6 |
What was the lowest amount for the veterinary service in the Fingal County Council expenditure budget?
| select min(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/fingal_exp_budget> { ?obs qb:dataSet ls:fingal_exp_budget. ?obs lso:fingal_exp_budget-Service <https://openspending.org/fingal_exp_budget/Service/g04>. ?obs lso:fingal_exp_budget-amount ?amount. } | qald-6 |
What is the total investment budget for basic education in Mezam, Cameroon? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/cm-nwr-investments> { ?obs qb:dataSet ls:cm-nwr-investments. ?obs lso:cm-nwr-investments-area <https://openspending.org/cm-nwr-investments/area/mezam>. ?obs lso:cm-nwr-investments-chapter <https://openspending.org/cm-nwr-investments/chapter/1... | qald-6 |
Which areas in Cameroon had an investment budget of more than 5 billion CFA in 2010? | select ?area from <http://linkedspending.aksw.org/cm-nwr-investments> { ?obs qb:dataSet ls:cm-nwr-investments. ?obs lso:cm-nwr-investments-area ?area. ?obs lso:cm-nwr-investments-amount ?amount. } group by ?area having (sum(xsd:decimal(?amount))>5000000000) | qald-6 |
How much money was given to works and transport in the Ugandan budget?
| select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/ug_budget_subcategories> { ?obs qb:dataSet ls:ug_budget_subcategories. ?obs lso:ug_budget_subcategories-to <https://openspending.org/ug_budget_subcategories/to/works-and-transport>. ?obs lso:ug_budget_subcategories-amount ?amount. } | qald-6 |
In which years did the Uganda budget contain money for Education? | select distinct(year(?year)) as ?year from <http://linkedspending.aksw.org/ug_budget_subcategories> { ?obs qb:dataSet ls:ug_budget_subcategories. ?obs lso:ug_budget_subcategories-to <https://openspending.org/ug_budget_subcategories/to/education>. ?obs lso:ug_budget_subcategories-amount ?amount. ?obs lso:refYear ?year. ... | qald-6 |
How many donor entities provided foreign aid for Typhoon Yolanda? | select count(distinct(?entity)) from <http://linkedspending.aksw.org/faith> { ?obs qb:dataSet ls:faith. ?obs lso:faith-target <https://openspending.org/faith/target/typhoon-yolanda>. ?obs lso:faith-from ?entity. } | qald-6 |
How much foreign aid went over the Red Cross from China? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/faith> { ?obs qb:dataSet ls:faith. ?obs lso:faith-conduit <https://openspending.org/faith/conduit/red-cross>. ?obs lso:faith-from <https://openspending.org/faith/from/china>. ?obs lso:faith-amount ?amount. } | qald-6 |
Which type of sector is receiving the most Finland foreign aid in India? | select ?result { ?obs lso:finland-aid-recipient-country <https://openspending.org/finland-aid/recipient-country/in>. ?obs lso:finland-aid-amount ?amount. ?obs lso:finland-aid-sector ?result. } order by desc(sum(xsd:decimal(?amount))) limit 1 | qald-6 |
What types of foreign aid from Finland did Belarus receive in 2011? | select distinct(?result) { ?obs lso:finland-aid-recipient-country <https://openspending.org/finland-aid/recipient-country/by>. ?obs lso:finland-aid-type-of-aid ?result. ?obs lso:refYear ?year. filter(year(?year)=2011). } | qald-6 |
What was the proposed City of Providence budget amount for City Courts by the Muncipal Court? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/pvd2014proposed> { ?obs qb:dataSet ls:pvd2014proposed. ?obs lso:pvd2014proposed-acct-dept "101-106: Muncipal Court". ?obs lso:pvd2014proposed-acct-div "City Courts". ?obs lso:pvd2014proposed-amount ?amount. } | qald-6 |
How much was the City of Providence budget for educational materials? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/pvd2014proposed> { ?obs qb:dataSet ls:pvd2014proposed. ?obs lso:pvd2014proposed-gl-account "54625: EDUCATIONAL MATERIALS". ?obs lso:pvd2014proposed-amount ?amount. } | qald-6 |
When was upgrading and greening in ward 49 paid? | select distinct(?date) from <http://linkedspending.aksw.org/pbw-ct> { ?obs qb:dataSet ls:pbw-ct. ?obs lso:pbw-ct-Category <https://openspending.org/pbw-ct/Category/upgrading-and-greening-in-ward-49>. ?obs lso:refDate ?date. } | qald-6 |
What are the funding sources for Cape Town Electricity? | select distinct(?source) from <http://linkedspending.aksw.org/pbw-ct> { ?obs qb:dataSet ls:pbw-ct. ?obs lso:pbw-ct-Department <https://openspending.org/pbw-ct/Department/cape-town-electricity>. ?obs lso:pbw-ct-FundingSource ?source. } | qald-6 |
Which investor type using CKAN technology received the most funding? | select ?type from <http://linkedspending.aksw.org/trends_in_civi_tech_open_gov> { ?obs qb:dataSet ls:trends_in_civi_tech_open_gov. ?obs lso:trends_in_civi_tech_open_gov-tech "CKAN". ?obs lso:trends_in_civi_tech_open_gov-amount ?amount. ?obs lso:trends_in_civi_tech_open_gov-investor_type ?type. } order by desc(sum(xsd:d... | qald-6 |
When did Pew Charitable Trust invest? | select ?date from <http://linkedspending.aksw.org/trends_in_civi_tech_open_gov> { ?obs qb:dataSet ls:trends_in_civi_tech_open_gov. ?obs lso:trends_in_civi_tech_open_gov-from <https://openspending.org/trends_in_civi_tech_open_gov/from/pew-charitable-trust>. ?obs lso:refDate ?date. } | qald-6 |
How much did Armenia spend in 2006 for buildings and edifices? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/e27f4ef7601446798cfa733a06cea8d9> { ?obs qb:dataSet ls:e27f4ef7601446798cfa733a06cea8d9. ?obs lso:e27f4ef7601446798cfa733a06cea8d9-economiclevel3 "Buildings and edifices". ?obs lso:e27f4ef7601446798cfa733a06cea8d9-amount ?amount. } | qald-6 |
Which were the admins for personal and catering materials in Armenia in 2006? | select distinct(?admin) from <http://linkedspending.aksw.org/e27f4ef7601446798cfa733a06cea8d9> { ?obs qb:dataSet ls:e27f4ef7601446798cfa733a06cea8d9. ?obs lso:e27f4ef7601446798cfa733a06cea8d9-economic <https://openspending.org/e27f4ef7601446798cfa733a06cea8d9/economic/4267>. ?obs lso:e27f4ef7601446798cfa733a06cea8d9-fr... | qald-6 |
How much was spent on public utilities in Armenia in 2007? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/f0bd947d9854445987d6ece304840a3c> { ?obs qb:dataSet ls:f0bd947d9854445987d6ece304840a3c. ?obs lso:f0bd947d9854445987d6ece304840a3c-economic <https://openspending.org/f0bd947d9854445987d6ece304840a3c/economic/4213>. ?obs lso:f0bd947d9854445987... | qald-6 |
What was the total cost of running expenses for Armenia in 2007? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/f0bd947d9854445987d6ece304840a3c> { ?obs qb:dataSet ls:f0bd947d9854445987d6ece304840a3c. ?obs lso:f0bd947d9854445987d6ece304840a3c-economiclevel1 "Running expenses". ?obs lso:f0bd947d9854445987d6ece304840a3c-amount ?amount. } | qald-6 |
What was the total Scottish Government expenditure of 2013-01-09? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/scottish-spending-jan13> { ?obs qb:dataSet ls:scottish-spending-jan13. ?obs lso:scottish-spending-jan13-amount ?amount. ?obs lso:refDate ?date. filter(strstarts(str(?date), "2013-01-09")). } | qald-6 |
What was the smallest amount expended for Environment and Forestry by the Scottish Government in January of 2013? | select min(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/scottish-spending-jan13> { ?obs qb:dataSet ls:scottish-spending-jan13. ?obs lso:scottish-spending-jan13-amount ?amount. ?obs lso:scottish-spending-jan13-directorate "Environment and Forestry". } | qald-6 |
In which year did the City of Oakland have the highest total expenditure budget? | select year(?year) from <http://linkedspending.aksw.org/oakland-adopted-budget-fy-2011-13-expenditures> { ?obs qb:dataSet ls:oakland-adopted-budget-fy-2011-13-expenditures. ?obs lso:oakland-adopted-budget-fy-2011-13-expenditures-amount ?amount. ?obs lso:refYear ?year. } order by desc(sum(xsd:decimal(?amount))) limit 1 | qald-6 |
What was the total City of Oakland budget for the Administrative Unit in 2012? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/oakland-adopted-budget-fy-2011-13-expenditures> { ?obs qb:dataSet ls:oakland-adopted-budget-fy-2011-13-expenditures. ?obs lso:oakland-adopted-budget-fy-2011-13-expenditures-unit "Administrative Unit". ?obs lso:oakland-adopted-budget-fy-2011-1... | qald-6 |
How high was the recurrent expenditure for the Sierra Leona Government budget in 2013? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/allexp13budg> { ?obs qb:dataSet ls:allexp13budg. ?obs lso:allexp13budg-level0 "RECURRENT EXPENDITURE". ?obs lso:allexp13budg-amount ?amount. } | qald-6 |
How much was budgeted for general services for the Office of the President of Sierra Leona in 2013? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/allexp13budg> { ?obs qb:dataSet ls:allexp13budg. ?obs lso:allexp13budg-level1 "GENERAL SERVICES". ?obs lso:allexp13budg-level2 "Office of the President". ?obs lso:allexp13budg-amount ?amount. } | qald-6 |
Which clients received lobbying contributions of more than 50000000 $? | select ?client sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/lobbying_dataset_qy> { ?obs qb:dataSet ls:lobbying_dataset_qy. ?obs lso:lobbying_dataset_qy-client ?client. ?obs lso:lobbying_dataset_qy-amount ?amount. } group by ?client having sum(xsd:decimal(?amount))>50000000 | qald-6 |
Which industry received the most lobbying contributions? | select ?industry from <http://linkedspending.aksw.org/lobbying_dataset_qy> { ?obs qb:dataSet ls:lobbying_dataset_qy. ?obs lso:lobbying_dataset_qy-industry ?industry. ?obs lso:lobbying_dataset_qy-amount ?amount. } order by desc(sum(xsd:decimal(?amount))) limit 1 | qald-6 |
How much did the Manchester City Council give for Learning Disabilities to SLC Paragon? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/mcc_spend> { ?obs qb:dataSet ls:mcc_spend. ?obs lso:mcc_spend-amount ?amount. ?obs lso:mcc_spend-supplier-name "SLC Paragon". } | qald-6 |
Which service areas do the Manchester City Council spendings contain? | select distinct(?area) from <http://linkedspending.aksw.org/mcc_spend> { ?obs qb:dataSet ls:mcc_spend. ?obs lso:mcc_spend-service-area ?area. } | qald-6 |
How much was Albanias 2013 budget for education? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/alb_planned_budget_2013> { ?obs qb:dataSet ls:alb_planned_budget_2013. ?obs lso:alb_planned_budget_2013-cofog1 <https://openspending.org/alb_planned_budget_2013/cofog1/09>. ?obs lso:alb_planned_budget_2013-amount ?amount. } | qald-6 |
What are the identification numbers of housing and community amenities in Albanias 2013 budget? | select distinct(?id) from <http://linkedspending.aksw.org/alb_planned_budget_2013> { ?obs qb:dataSet ls:alb_planned_budget_2013. ?obs lso:alb_planned_budget_2013-cofog1 <https://openspending.org/alb_planned_budget_2013/cofog1/06>. ?obs lso:alb_planned_budget_2013-UniqueID ?id. } | qald-6 |
What was the total Kenya County Expenditure in Kiambu by the Thika administration? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/ke-county-exp> { ?obs qb:dataSet ls:ke-county-exp. ?obs lso:ke-county-exp-administration <https://openspending.org/ke-county-exp/administration/thika>. ?obs lso:ke-county-exp-county <https://openspending.org/ke-county-exp/county/kiambu>. ?obs... | qald-6 |
Which Kenya country administration had the highest expenditure budget? | select ?admin from <http://linkedspending.aksw.org/ke-county-exp> { ?obs qb:dataSet ls:ke-county-exp. ?obs lso:ke-county-exp-administration ?admin. ?obs lso:ke-county-exp-amount ?amount. } order by desc(sum(xsd:decimal(?amount))) limit 1 | qald-6 |
What was the Albania budget for public order and safety in 2007? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/al_planned_budget_2007to2013> { ?obs qb:dataSet ls:al_planned_budget_2007to2013. ?obs lso:al_planned_budget_2007to2013-cofog1 <https://openspending.org/al_planned_budget_2007to2013/cofog1/public-order-and-safety>. ?obs lso:refYear ?year. filt... | qald-6 |
What was the combined Albania budget for health from 2007 to 2010? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/al_planned_budget_2007to2013> { ?obs qb:dataSet ls:al_planned_budget_2007to2013. ?obs lso:al_planned_budget_2007to2013-cofog1 <https://openspending.org/al_planned_budget_2007to2013/cofog1/health>. ?obs lso:al_planned_budget_2007to2013-amount ... | qald-6 |
What is the external debt amount of Kwara? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/external-debts> { ?obs qb:dataSet ls:external-debts. ?obs lso:external-debts-to <https://openspending.org/external-debts/to/kwara>. ?obs lso:external-debts-amount ?amount. } | qald-6 |
How much external debt did rivers have in 2010? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/external-debts> { ?obs qb:dataSet ls:external-debts. ?obs lso:external-debts-to <https://openspending.org/external-debts/to/rivers>. ?obs lso:external-debts-amount ?amount. ?obs lso:refYear ?year. filter(year(?year)=2010) } | qald-6 |
How many admins were responsible for mandatory payments in the Armenian approved budget of 2010? | select count(distinct(?admin)) from <http://linkedspending.aksw.org/ddc94682cc95482a8deefc60596686fc> { ?obs qb:dataSet ls:ddc94682cc95482a8deefc60596686fc. ?obs lso:ddc94682cc95482a8deefc60596686fc-economic <https://openspending.org/ddc94682cc95482a8deefc60596686fc/economic/4823>. ?obs lso:ddc94682cc95482a8deefc605966... | qald-6 |
How much total running expenses under budgetary classification did the Armenian approved budget of 2010 have for personnel? | select sum(xsd:decimal(?amount)) as ?sum from <http://linkedspending.aksw.org/ddc94682cc95482a8deefc60596686fc> { ?obs qb:dataSet ls:ddc94682cc95482a8deefc60596686fc. ?obs lso:ddc94682cc95482a8deefc60596686fc-economiclevel1 "Running expenses". ?obs lso:ddc94682cc95482a8deefc60596686fc-type "personnel". ?obs lso:ddc9468... | qald-6 |
Butch Otter is the governor of which U.S. state? | SELECT DISTINCT ?uri WHERE { ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/class/yago/StatesOfTheUnitedStates> . ?uri <http://dbpedia.org/property/governor> <http://dbpedia.org/resource/Butch_Otter> . } | qald-6 |
How tall is Amazon Eve? | SELECT DISTINCT ?height WHERE { <http://dbpedia.org/resource/Amazon_Eve> <http://dbpedia.org/ontology/height> ?height . } | qald-6 |
Which weapons did Heckler & Koch develop? | SELECT DISTINCT ?uri WHERE { ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Weapon> . ?uri <http://dbpedia.org/property/designer> <http://dbpedia.org/resource/Heckler_&_Koch> . } | qald-6 |
Where is Fort Knox located? | SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Fort_Knox> <http://dbpedia.org/property/location> ?uri . } | qald-6 |
Who created Batman? | SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Batman> <http://dbpedia.org/ontology/creator> ?uri . } | qald-6 |
Which politicians were married to a German? | SELECT DISTINCT ?uri WHERE { ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Politician> . ?uri <http://dbpedia.org/ontology/spouse> ?spouse . { ?spouse <http://dbpedia.org/ontology/birthPlace> <http://dbpedia.org/resource/Germany> . } UNION { ?spouse <http://dbpedia.org/ontology/b... | qald-6 |
When was Jack Wolfskin founded? | SELECT DISTINCT ?year WHERE { <http://dbpedia.org/resource/Jack_Wolfskin> <http://dbpedia.org/ontology/foundingYear> ?year . } | qald-6 |
How deep is Lake Chiemsee? | SELECT DISTINCT ?n WHERE { <http://dbpedia.org/resource/Chiemsee> <http://dbpedia.org/ontology/depth> ?n . } | qald-6 |
Give me the grandchildren of Elvis Presley. | SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Elvis_Presley> <http://dbpedia.org/ontology/child> ?child . ?child <http://dbpedia.org/ontology/child> ?uri . } | qald-6 |
What does ICRO stand for? | SELECT DISTINCT ?uri WHERE { ?uri <http://dbpedia.org/ontology/abbreviation> 'ICRO'^^<http://www.w3.org/2001/XMLSchema#string> . } | qald-6 |
When was Olof Palme shot? | SELECT DISTINCT ?date WHERE { <http://dbpedia.org/resource/Olof_Palme> <http://dbpedia.org/ontology/deathDate> ?date . } | qald-6 |
List all the musicals with music by Leonard Bernstein. | SELECT DISTINCT ?uri WHERE { ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Musical> . ?uri <http://dbpedia.org/ontology/musicBy> <http://dbpedia.org/resource/Leonard_Bernstein> . } | qald-6 |
Which airports does Yeti Airlines serve? | SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Yeti_Airlines> <http://dbpedia.org/ontology/targetAirport> ?uri . } | qald-6 |
Which movies starring Mickey Rourke were directed by Guy Ritchie? | SELECT DISTINCT ?uri WHERE { ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Film> . ?uri <http://dbpedia.org/ontology/starring> <http://dbpedia.org/resource/Mickey_Rourke> . ?uri <http://dbpedia.org/ontology/director> <http://dbpedia.org/resource/Guy_Ritchie> . } | qald-6 |
Is Darth Vader Luke’s father? | ASK WHERE { <http://dbpedia.org/resource/Darth_Vader> <http://dbpedia.org/property/children> "Luke Skywalker"@en . } | qald-6 |
Which subsidiary of TUI Travel serves both Glasgow and Dublin? | SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/TUI_Travel> <http://dbpedia.org/ontology/subsidiary> ?uri . ?uri <http://dbpedia.org/ontology/targetAirport> <http://dbpedia.org/resource/Glasgow_Airport> . ?uri <http://dbpedia.org/ontology/targetAirport> <http://dbpedia.org/resource/Dublin_Airport> . } | qald-6 |
How high is the lighthouse in Colombo? | SELECT DISTINCT ?num WHERE { <http://dbpedia.org/resource/Colombo_Lighthouse> <http://dbpedia.org/ontology/height> ?num . } | qald-6 |
How much was spent on public safety by the Town of Cary in 2010? | select sum(xsd:decimal(?amount)) as ?result 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/4>. ?obs lso:... | qald-6 |
How many programs were done under the class of General Government in the expenditure of the Town of Cary? | select count(distinct(?program)) as ?result 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/3>. } | qald-6 |
How much did the Town of Cary earn in 2010? | select sum(xsd:decimal(?amount)) as ?result from <http://linkedspending.aksw.org/town_of_cary_revenues> { ?obs qb:dataSet ls:town_of_cary_revenues. ?obs lso:refYear ?year. filter(year(?year)=2010). ?obs lso:town_of_cary_revenues-amount ?amount. } | qald-6 |
Which class achieved the highest revenue for the Town of Cary? | select ?result from <http://linkedspending.aksw.org/town_of_cary_revenues> { ?obs qb:dataSet ls:town_of_cary_revenues. ?obs lso:town_of_cary_revenues-Class ?result. ?obs lso:town_of_cary_revenues-amount ?amount. } order by desc(sum(xsd:decimal(?amount))) limit 1 | qald-6 |
For which account type of whiteacre was spent the most? | select ?result from <http://linkedspending.aksw.org/city-of-whiteacre-spending> { ?obs qb:dataSet ls:city-of-whiteacre-spending. ?obs lso:city-of-whiteacre-spending-accounttype ?result. ?obs lso:city-of-whiteacre-spending-amount ?amount. } order by desc(sum(xsd:decimal(?amount))) limit 1 | qald-6 |
How much interest did the debt service of the city of Whiteacre spend? | select 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/9022.0>. ?obs lso:city-of-whiteacre-spending-to <https://o... | qald-6 |
Which expenses had the highest total amount of proposed expenditures for the Maldives?
| select ?result from <http://linkedspending.aksw.org/maldives_proposed_expenditure_2015> { ?obs qb:dataSet ls:maldives_proposed_expenditure_2015. ?obs lso:maldives_proposed_expenditure_2015-Expenses ?result. ?obs lso:maldives_proposed_expenditure_2015-amount ?amount. } order by desc(sum(xsd:decimal(?amount))) limit 1 | qald-6 |
What was the highest single expenditure amount proposed by the Maldives Broadcasting Corporation? | select max(xsd:decimal(?amount)) as ?result 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/maldives-broadcasting-corp... | qald-6 |
Which Ugandan output had the highest budget in 2014? | select ?result from <http://linkedspending.aksw.org/ministry_of_health> { ?obs qb:dataSet ls:ministry_of_health. ?obs lso:ministry_of_health-output ?result. ?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 amount in Namutumba District? | select avg(xsd:decimal(?amount)) as ?result from <http://linkedspending.aksw.org/ministry_of_health> { ?obs qb:dataSet ls:ministry_of_health. ?obs lso:ministry_of_health-to <https://openspending.org/ministry_of_health/to/namutumba-district>. ?obs lso:ministry_of_health-amount ?amount. } | qald-6 |
How many suppliers did the Newcastle city council use for education? | select count(distinct(?supplier)) as ?result 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-service-area "EDUCATION". ?obs lso:newcastle-city-council-payments-over-500-to ?su... | qald-6 |
How many directorates does the Newcastle city council have? | select count(distinct(?directorate)) as ?result 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-from ?directorate. } | qald-6 |
Which suppliers did the Waltham Forest Council utilize for recycling? | select distinct(?supplier) as ?result from <http://linkedspending.aksw.org/uk-local-walthamforest> { ?obs qb:dataSet ls:uk-local-walthamforest. ?obs lso:uk-local-walthamforest-ExpenseType "RECYCLING". ?obs lso:uk-local-walthamforest-to ?supplier. } | qald-6 |
On the Waltham Forest Council, how much money was given to the Forest Recycling Project? | select sum(xsd:decimal(?amount)) as ?result 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/799>. ?obs lso:uk-local-walthamforest-amount ?amount. } | qald-6 |
How many narratives are there for Cheshire West and Chester council spending in the category of Marketing? | select count(distinct(?narrative)) as ?result 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-expenditure-category "Mar... | qald-6 |
What are the top 3 expenditure categories in Cheshire West and Chester council spending? | select distinct(?result) 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-expenditure-category ?result. ?obs lso:cheshire_west_and_chester_april_2013-amount ?amount. } order by desc(sum(xs... | qald-6 |
Which priorities does the insurance fund have for the City of Redacre? | select distinct(?priority) 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-priority ?priority. } | qald-6 |
How many divisions have safety priority in the City of Redacre spending? | select count(distinct(?division)) 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-priority <https://openspending.org/city-of-redacre-spending/priority/safety>. } | qald-6 |
What was the total Wandsworth spending in 2013 from the housing department? | select sum(xsd:decimal(?amount)) as ?result from <http://linkedspending.aksw.org/wandsworthspending_2013> { ?obs qb:dataSet ls:wandsworthspending_2013. ?obs lso:wandsworthspending_2013-Department "HOUSING". ?obs lso:wandsworthspending_2013-amount ?amount. } | qald-6 |
How much money does Wandsworth spendt on general internal repairs? | select sum(xsd:decimal(?amount)) as ?result from <http://linkedspending.aksw.org/wandsworthspending_2013> { ?obs qb:dataSet ls:wandsworthspending_2013. ?obs lso:wandsworthspending_2013-DetailedExpenses "GENERAL INTERNAL REPAIRS". ?obs lso:wandsworthspending_2013-amount ?amount. } | qald-6 |
Top 3 IW Council Spending service areas? | select ?result 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 ?result. ?obs lso:iw-council-spending-2012-13-test-amount ?amount. } order by desc(sum(xsd:decimal(?amount))) limit 3 | qald-6 |
Under which directorate does the IW Council service area have the highest revenue? | select ?result 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-capitalorrevenue <https://openspending.org/iw-council-spending-2012-13-test/capitalorrevenue/revenue>. ?obs lso:iw-council-spending-2012... | qald-6 |
Which departments of the city of Springfield had a higher budget in 2004 then in 2005? | select ?dep { select ?dep sum(xsd:decimal(?amount4)) as ?sum4 sum(xsd:decimal(?amount5)) as ?sum5 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 ?amount4. ?obs ls... | qald-6 |
What is the highest single budget amount in the city of Springfield for public safety? | 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-safety>. ?obs lso:city-of-springfield-budget-amount ?amo... | qald-6 |
Which of the Californian cities received the highest amount of money? | select ?result from <http://linkedspending.aksw.org/pscs_ca_cities> { ?obs qb:dataSet ls:pscs_ca_cities. ?obs lso:pscs_ca_cities-gov-full-name ?result. ?obs lso:pscs_ca_cities-amount ?amount. } order by desc(xsd:decimal(?amount)) limit 1 | qald-6 |
Under which caption did Livermore receive the highest amount of money in 2011? | select ?result from <http://linkedspending.aksw.org/pscs_ca_cities> { ?obs qb:dataSet ls:pscs_ca_cities. ?obs lso:pscs_ca_cities-gov-full-name "Livermore". ?obs lso:pscs_ca_cities-caption ?result. ?obs lso:pscs_ca_cities-amount ?amount. ?obs lso:refYear ?year. filter (year(?year)=2011). } order by desc(xsd:decimal(?am... | qald-6 |
What is the average Washington DC teacher salary? | select avg(xsd:decimal(?amount)) as ?result 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 "Teacher". } | qald-6 |
Which position has the highest average salary in Washington DC? | select ?result 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 ?result. } order by desc(avg(xsd:decimal(?amount))) limit 1 | qald-6 |
How many big lottery found grants were given in the South West in 2012? | select count(distinct(?obs)) as ?result from <http://linkedspending.aksw.org/big-lottery-fund-grants> { ?obs lso:refYear ?year. filter(year(?year)=2012). ?obs qb:dataSet ls:big-lottery-fund-grants. ?obs lso:big-lottery-fund-grants-region "South West". } | qald-6 |
Has there been a big lottery fund grant to Stanbury Court Social Club?
| ask from <http://linkedspending.aksw.org/big-lottery-fund-grants> { ?obs qb:dataSet ls:big-lottery-fund-grants. ?obs lso:big-lottery-fund-grants-to <https://openspending.org/big-lottery-fund-grants/to/stanbury-court-social-club>. } | qald-6 |
On which expenses in Gloucestershire was spent more than 10000000 pound in total? | select ?result from <http://linkedspending.aksw.org/uk-local-gloucestershirev1> { ?obs qb:dataSet ls:uk-local-gloucestershirev1. ?obs lso:uk-local-gloucestershirev1-expense ?result. ?obs lso:uk-local-gloucestershirev1-amount ?amount. } group by ?result having (sum(xsd:decimal(?amount))>10000000) | qald-6 |
How much money did Cheltenham Borough Homes receive? | select sum(xsd:decimal(?amount)) as ?result 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/cheltenham-borough-homes-ltd>. ?obs lso:uk-local-gloucestershirev1... | qald-6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.