Simple Question (Direct)
Simple Question
Q130567
P108
Q3918
USER
Which university is the employer of John Fulton, Baron Fulton ?
(Q130567,P108,c(Q3918))
action filter_type
action find
entity Q130567
relation P108
type Q3918
['Q130567', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { resource:Q130567 property:P108 ?u . ?u rdf:type ontology:Q3918 }
John Fulton, Baron Fulton
action filter_type
action find
entity John Fulton, Baron Fulton
relation employer
type university
['John Fulton, Baron Fulton', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { resource:John_Fulton,_Baron_Fulton property:employer ?u . ?u rdf:type ontology:university }
[]
university
Q174570
SYSTEM
London School of Economics
Q174570
(Q130567,P108,c(Q3918))
action filter_type
action find
entity Q130567
relation P108
type Q3918
[ANSWER] is the employer of John Fulton, Baron Fulton
['Q130567', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { resource:Q130567 property:P108 ?u . ?u rdf:type ontology:Q3918 }
London School of Economics
London School of Economics is the employer of John Fulton, Baron Fulton
London School of Economics
action filter_type
action find
entity John Fulton, Baron Fulton
relation employer
type university
['John Fulton, Baron Fulton', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { resource:John_Fulton,_Baron_Fulton property:employer ?u . ?u rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q174570
P159
Q56061
USER
Which administrative territory is the headquarter location of that university ?
(Q174570,P159,c(Q56061))
action filter_type
action find
entity Q174570
relation P159
type Q56061
['Q174570', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q174570 property:P159 ?p . ?p rdf:type ontology:Q56061 }
London School of Economics
action filter_type
action find
entity London School of Economics
relation headquarters location
type administrative territorial entity
['London School of Economics', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:London_School_of_Economics property:headquarters_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q174570,P159,c(Q56061))
action filter_type
action find
entity Q174570
relation P159
type Q56061
[ANSWER] is the headquarter location of that university
['Q174570', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q174570 property:P159 ?p . ?p rdf:type ontology:Q56061 }
London
London is the headquarter location of that university
London
action filter_type
action find
entity London School of Economics
relation headquarters location
type administrative territorial entity
['London School of Economics', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:London_School_of_Economics property:headquarters_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174570
P17
Q15617994
USER
Which administrative territory is London School of Economics a part of ?
(Q174570,P17,c(Q15617994))
action filter_type
action find
entity Q174570
relation P17
type Q15617994
['Q174570', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q174570 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
London School of Economics
action filter_type
action find
entity London School of Economics
relation country
type designation for an administrative territorial entity
['London School of Economics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:London_School_of_Economics property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q174570,P17,c(Q15617994))
action filter_type
action find
entity Q174570
relation P17
type Q15617994
[ANSWER] is London School of Economics a part of
['Q174570', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q174570 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is London School of Economics a part of
United Kingdom
action filter_type
action find
entity London School of Economics
relation country
type designation for an administrative territorial entity
['London School of Economics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:London_School_of_Economics property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P47
Q1048835
USER
Which political territory has a shared border with that administrative territory ?
(Q145,P47,c(Q1048835))
action filter_type
action find
entity Q145
relation P47
type Q1048835
['Q145', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q145 property:P47 ?g . ?g rdf:type ontology:Q1048835 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation shares border with
type political territorial entity
['United Kingdom', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:United_Kingdom property:shares_border_with ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q145,P47,c(Q1048835))
action filter_type
action find
entity Q145
relation P47
type Q1048835
[ANSWER] has a shared border with that administrative territory
['Q145', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q145 property:P47 ?g . ?g rdf:type ontology:Q1048835 }
Denmark
Denmark has a shared border with that administrative territory
Denmark
action filter_type
action find
entity United Kingdom
relation shares border with
type political territorial entity
['United Kingdom', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:United_Kingdom property:shares_border_with ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P37
Q34770
USER
What is recognized as the official language of that administrative territory ?
(Q35,P37,c(Q34770))
action filter_type
action find
entity Q145
relation P37
type Q34770
['Q35', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q145 property:P37 ?j . ?j rdf:type ontology:Q34770 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation official language
type language
['Denmark', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:United_Kingdom property:official_language ?j . ?j rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q35,P37,c(Q34770))
action filter_type
action find
entity Q145
relation P37
type Q34770
Of [ANSWER] is recognized as the official language of that administrative territory
['Q35', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q145 property:P37 ?j . ?j rdf:type ontology:Q34770 }
English
Of English is recognized as the official language of that administrative territory
English
action filter_type
action find
entity United Kingdom
relation official language
type language
['Denmark', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:United_Kingdom property:official_language ?j . ?j rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q2001982 Q34770
USER
How many notations are used as the scripts for approximately 1 language ?
(c(Q34770),P282,c(Q2001982))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?d ) WHERE { ?f rdf:type ontology:Q2001982 . ?y rdf:type ontology:Q34770 . ?y property:P282 ?f } GROUP BY ?f } . FILTER ( ?d = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?d ) WHERE { ?f rdf:type ontology:notation . ?y rdf:type ontology:language . ?y property:writing_system ?f } GROUP BY ?f } . FILTER ( ?d = 1 ) }
[]
notation language
SYSTEM
4
Q82772 Q1771716 Q3322653 Q790681
(c(Q34770),P282,c(Q2001982))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
value 1
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?d ) WHERE { ?f rdf:type ontology:Q2001982 . ?y rdf:type ontology:Q34770 . ?y property:P282 ?f } GROUP BY ?f } . FILTER ( ?d = 1 ) }
kanji Pahlavi scripts Southwest Paleohispanic script Avestan alphabet
4
action count
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?d ) WHERE { ?f rdf:type ontology:notation . ?y rdf:type ontology:language . ?y property:writing_system ?f } GROUP BY ?f } . FILTER ( ?d = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1951
P138
Q1190554 Q502895 Q15617994
USER
How many administrative territories have lesser number of events or people as their toponym than Alberta ?
(c(Q15617994),P138,c(Q1190554)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action find_tuple_counts
relation P138
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q1951
relation P138
type Q1190554
type Q502895
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?u ) WHERE { { ?h property:P138 ?g . ?g rdf:type ontology:Q502895 . ?h rdf:type ontology:Q15617994 } UNION { ?h property:P138 ?g . ?h rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1190554 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Q1951 property:P138 ?y . { { ?y rdf:type ontology:Q1190554 } UNION { ?y rdf:type ontology:Q502895 } } } } . FILTER ( ?u < ?c ) }
Alberta
action count
action less
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Alberta
relation named after
type event
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?u ) WHERE { { ?h property:named_after ?g . ?g rdf:type ontology:common_name . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h property:named_after ?g . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:event } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Alberta property:named_after ?y . { { ?y rdf:type ontology:event } UNION { ?y rdf:type ontology:common_name } } } } . FILTER ( ?u < ?c ) }
[]
event common name designation for an administrative territorial entity
SYSTEM
282
Q701 Q158876 Q968630 Q705 Q3216 Q707 Q1087137 Q1421544 Q12789 Q1027 Q12779 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q33 Q685048 Q801 Q12538 Q1093 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q711 Q1979 Q625403 Q691368 Q199974 Q2998020 Q3083 Q1939894 Q3240 Q1028 Q12772 Q3286 Q691890 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q1465069 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q1232680 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q1965 Q979470 Q3259 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q1270648 Q2758 Q12694 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q30 Q924 Q36 Q12770 Q3361 Q39 Q3364 Q302479 Q2514636 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q1032 Q1508927 Q11140 Q3068 Q12792 Q1268811 Q1338277 Q236 Q492437 Q230 Q221 Q232 Q233 Q2304605 Q1914678 Q282355 Q12620 Q566032 Q12661 Q20 Q475659 Q691265 Q28 Q1366860 Q12788 Q12584 Q12580 Q1025 Q1020 Q2009 Q843 Q12709 Q184 Q1029 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q1904 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q1101 Q12675 Q1270623 Q347 Q71090 Q1989 Q21915715 Q902 Q153402 Q3207 Q974 Q3120 Q894972 Q894971 Q14810 Q967 Q962 Q963 Q2921370 Q694 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q754 Q752 Q12730 Q12657 Q20095245 Q217 Q12736 Q12642 Q12761 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q79 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q770 Q773 Q46130 Q27 Q1011 Q1013 Q480103 Q4149 Q12549 Q3266 Q12626 Q12543 Q3105 Q12545 Q1558632 Q12758 Q1579364 Q731547 Q12816 Q12751 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q1190554)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action find_tuple_counts
relation P138
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q1951
relation P138
type Q1190554
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?u ) WHERE { { ?h property:P138 ?g . ?g rdf:type ontology:Q502895 . ?h rdf:type ontology:Q15617994 } UNION { ?h property:P138 ?g . ?h rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1190554 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Q1951 property:P138 ?y . { { ?y rdf:type ontology:Q1190554 } UNION { ?y rdf:type ontology:Q502895 } } } } . FILTER ( ?u < ?c ) }
North Holland Reinickendorf Taro Zeeland Aveyron Flevoland Rockaway, New Jersey Wettertal Var Mauritius Tarn-et-Garonne Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Finland Simplon Israel Haute-Garonne Limburg Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Mongolia Prince Edward Island Schwielowsee Léman Hürtgenwald Corse Ain Upper Oka Principalities Bouches-du-Rhône Morocco Tarn Cher Corcyre Calvados Haute-Marne Liamone Ardennes Gehlsbach Frise Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Ithaque Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Manche Veytal Loiret Yssel-Supérieur Rhine Aisne New Brunswick Seine-et-Oise Cantal Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sieg Mönchengladbach Puy-de-Dôme Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium United States of America Tanzania Poland Somme Doubs Switzerland Drôme Ems-Occidental Vogtei Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Georgia Republic of Macedonia Kazakhstan Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt Mayenne Rheinbreitbach Nord Norway Sassenburg Mont-Terrible Hungary Escaut Val-de-Marne Maine-et-Loire Lozère Mauritania Malawi Yukon Pakistan Pyrénées-Orientales Belarus Mozambique Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Oise Meurthe Liechtenstein Augustusburg Saskatchewan Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Jura Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat South Holland Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Trinidad and Tobago Groningen Haute-Saône Nièvre Sept-Saints Republic of Moldova Saône-et-Loire Morbihan Seine-Saint-Denis Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Egypt Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Friesland Overijssel Rhône Ireland Cape Verde Lesotho Amt Volmarstein Neustadt an der Weinstraße Ille-et-Vilaine Charente Meurthe-et-Moselle Hauts-de-Seine Vosges Hérault Rome Seine-Maritime Lys Lippe Yonne Haute-Savoie Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
282
action count
action less
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Alberta
relation named after
type event
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?u ) WHERE { { ?h property:named_after ?g . ?g rdf:type ontology:common_name . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h property:named_after ?g . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:event } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Alberta property:named_after ?y . { { ?y rdf:type ontology:event } UNION { ?y rdf:type ontology:common_name } } } } . FILTER ( ?u < ?c ) }
[]