Simple Question (Direct)
Simple Question
Q88558
P19
Q56061
USER
Where was Max Pfister born ?
(Q88558,P19,c(Q56061))
action filter_type
action find
entity Q88558
relation P19
type Q56061
['Q88558', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q88558 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Max Pfister
action filter_type
action find
entity Max Pfister
relation place of birth
type administrative territorial entity
['Max Pfister', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Max_Pfister property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q72
SYSTEM
Zürich
Q72
(Q88558,P19,c(Q56061))
action filter_type
action find
entity Q88558
relation P19
type Q56061
Max Pfister was born in [ANSWER]
['Q88558', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q88558 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Zürich
Max Pfister was born in Zürich
Zürich
action filter_type
action find
entity Max Pfister
relation place of birth
type administrative territorial entity
['Max Pfister', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Max_Pfister property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q88558
P27
Q1048835
USER
Which political territory does Max Pfister belong to ?
(Q88558,P27,c(Q1048835))
action filter_type
action find
entity Q88558
relation P27
type Q1048835
['Q88558', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q88558 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Max Pfister
action filter_type
action find
entity Max Pfister
relation country of citizenship
type political territorial entity
['Max Pfister', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Max_Pfister property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q88558,P27,c(Q1048835))
action filter_type
action find
entity Q88558
relation P27
type Q1048835
Max Pfister belongs to [ANSWER]
['Q88558', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q88558 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Germany
Max Pfister belongs to Germany
Germany
action filter_type
action find
entity Max Pfister
relation country of citizenship
type political territorial entity
['Max Pfister', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Max_Pfister property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q88558
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q183,P106,c(Q12737077))
action filter_type
action find
entity Q88558
relation P106
type Q12737077
['Q183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q88558 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Max Pfister
action filter_type
action find
entity Max Pfister
relation occupation
type occupation
['Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Max_Pfister property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q14467526 Q1622272
SYSTEM
linguist, university teacher
Q14467526 Q1622272
(Q183,P106,c(Q12737077))
action filter_type
action find
entity Q88558
relation P106
type Q12737077
The professions of that person are a [ANSWERS]
['Q183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q88558 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
linguist university teacher
The professions of that person are a linguist and university teacher
linguist university teacher
action filter_type
action find
entity Max Pfister
relation occupation
type occupation
['Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Max_Pfister property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3313278
P1376
Q1048835 Q56061 Q20667921
USER
How many political territories have lesser number of administrative territories or french administrative divisions as their capital than Santa Ana District, La Convención ?
(c(Q56061)|c(Q20667921),P1376,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q3313278
relation P1376
type Q56061
type Q20667921
[[{'concept': 'Q56061'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?v ) WHERE { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:P1376 resource:Q3313278 . { { ?f rdf:type ontology:Q56061 } UNION { ?f rdf:type ontology:Q20667921 } } } } . FILTER ( ?v < ?l ) }
Santa Ana District, La Convención
action count
action less
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Santa Ana District, La Convención
relation capital of
type administrative territorial entity
type type of french administrative division
[[{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?v ) WHERE { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:capital_of resource:Santa_Ana_District,_La_Convención . { { ?f rdf:type ontology:administrative_territorial_entity } UNION { ?f rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?v < ?l ) }
[]
political territorial entity administrative territorial entity type of french administrative division
SYSTEM
242
Q7130037 Q13881 Q13882 Q13885 Q13884 Q13887 Q13889 Q13728 Q13721 Q13723 Q785 Q13726 Q13727 Q2051 Q3891 Q3899 Q3321945 Q2175 Q2271 Q48060 Q10500690 Q10453 Q10459 Q13900 Q13902 Q3317759 Q43448 Q170390 Q1382499 Q2026858 Q13769 Q13767 Q13763 Q8170 Q7906 Q168651 Q3312902 Q173407 Q2702993 Q3741 Q2223 Q6156 Q13786 Q13785 Q13869 Q13868 Q13867 Q13866 Q13865 Q13864 Q13863 Q13862 Q13789 Q104257 Q10547 Q10469 Q10462 Q10466 Q10465 Q104891 Q1890 Q971457 Q664 Q6337 Q12741 Q6339 Q5082 Q5065 Q5067 Q5061 Q5062 Q5068 Q13737 Q13730 Q2846059 Q7932 Q13861 Q6319070 Q105075 Q2140 Q13827 Q13826 Q13825 Q13829 Q953068 Q2718534 Q170036 Q9648 Q3125978 Q5455586 Q6319759 Q13857 Q25228 Q692946 Q3313430 Q5088519 Q13778 Q757 Q13772 Q90027 Q3656379 Q6318695 Q6308 Q6301 Q10461 Q170213 Q7890 Q2917 Q5945 Q3916 Q10896751 Q13794 Q13791 Q13792 Q13812 Q13813 Q13810 Q6061 Q707771 Q3826003 Q10471 Q170604 Q48079 Q166709 Q5093 Q5095 Q5096 Q3653113 Q671742 Q5075 Q13740 Q13744 Q48094 Q168856 Q192697 Q2772 Q13874 Q7928 Q7258563 Q922842 Q8050384 Q3314201 Q106789 Q1468315 Q188373 Q48046 Q7414539 Q2101298 Q1823 Q1769672 Q13845 Q13844 Q13847 Q13846 Q13841 Q13840 Q13843 Q2594990 Q104746 Q1229942 Q103679 Q8195 Q6313 Q6317 Q2110 Q48072 Q3586 Q13892 Q13893 Q13891 Q13895 Q13899 Q5444794 Q593806 Q3906 Q3903 Q10551 Q13711 Q2761218 Q201697 Q7827062 Q1866 Q4694508 Q13809 Q13860 Q13807 Q13806 Q170672 Q240441 Q24174 Q10440 Q49655 Q151938 Q104877 Q3824193 Q106915 Q315840 Q190930 Q13751 Q13750 Q13753 Q13752 Q13755 Q13759 Q8167 Q571947 Q48089 Q7916 Q7912 Q48106 Q2307775 Q3540 Q5856660 Q2697637 Q10526 Q10480 Q10483 Q10485 Q10487 Q339637 Q13870 Q13871 Q13872 Q13873 Q3724 Q13875 Q13876 Q13877 Q13879 Q48057 Q6013498 Q6328 Q10557 Q10554 Q10555 Q2902 Q10559 Q5924968 Q468378 Q35086 Q2367188 Q104940
(c(Q56061)|c(Q20667921),P1376,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q3313278
relation P1376
type Q56061
type Q20667921
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?v ) WHERE { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:P1376 resource:Q3313278 . { { ?f rdf:type ontology:Q56061 } UNION { ?f rdf:type ontology:Q20667921 } } } } . FILTER ( ?v < ?l ) }
Panao District Sorsogon South Cotabato Sultan Kudarat Southern Leyte Sulu Surigao del Norte Apayao Agusan del Sur Aklan Jersey Albay Antique Jambi Province Kalimantan Tengah Kalimantan Timur Acarí District Riau Province South Sumatra Gera District San Miguel District Weißenburg-Gunzenhausen Kitzingen Zamboanga del Sur Zamboanga Sibugay Putumayo District British Indian Ocean Territory County of Oldenburg Hela Hudiksvall County Camiguin Camarines Sur Camarines Norte Tübingen Limburg-Weilburg Landgraviate of Hesse-Kassel Coya District Ternopil Oblast Haquira District Special Region of Yogyakarta Kepulauan Riau Oberspreewald-Lausitz Cebu Cavite Palawan Oriental Mindoro Occidental Mindoro Nueva Vizcaya Nueva Ecija Northern Samar Negros Oriental Negros Occidental Compostela Valley Örebro County Lower Franconia Main-Spessart Haßberge Bad Kissingen Rhön-Grabfeld Västernorrland County Bengkulu Province Lunahuaná District New Zealand Vogtlandkreis Ilocos Sur Erzgebirgskreis West Sulawesi Central Sulawesi Province Gorontalo Province East Nusa Tenggara Province West Nusa Tenggara North Sulawesi Province Basilan Aurora Andahuaylillas District Darmstadt Government Region Mountain Province Magdalena de Cao District Västmanland County North Sumatra Province Kalinga Isabela Iloilo La Union South-West Africa Lurigancho Kiev Oblast Falkland Islands Bali Fitzcarrald Sicaya District Misamis Occidental Anguilla Gorizia and Gradisca Antioquia District Chavinillo District Catanduanes Saint Vincent and the Grenadines Capiz German-speaking Community of Belgium Davao Occidental Pimentel Leipzig Nordsachsen Schweinfurt Zakarpattia Oblast Kassel Vorpommern-Greifswald District Cloppenburg Kalimantan Barat Llipa District Davao del Sur Cotabato Davao del Norte Ifugao Ilocos Norte Guimaras Altmarkkreis Salzwedel County of Bentheim Chucuito District Aschaffenburg New France Leipzig District Vinnytsia Oblast Maluku Province Papua West Papua Kingdom of Syunik General Pueyrredón South East Sulawesi Province Batanes Batangas Potsdam District Chernivtsi Oblast South Moravian Region West Sumatra Rizal Kassel  Government Region Puerto Inca District Skaraborg County Yavari District Achoma District Värmland County Pozuzo District South Bohemia Region Cottbus San José de Sisa District Tandil Aceh La Sotonera Maguindanao Leyte Masbate Marinduque Lanao del Norte Laguna Lanao del Sur Dominion of New Zealand Kronoberg County La Jalca District Jämtland County Breisgau-Hochschwarzwald Meissen Görlitz Lampung Province Karl-Marx-Stadt District East Java Tarlac Tawi-Tawi Surigao del Sur Zambales Zamboanga del Norte Fernando Lores District Llata District Kalimantan Selatan North Kalimantan Middle Franconia Abra Jesús District Leimebamba District Torres Causana District Bangka–Belitung Islands Aguas Verdes Eastern Samar Misamis Oriental Dinagat Islands Davao Oriental Dnipropetrovsk Oblast General Alvarado Partido Dresden Government Region Coburg Schellenberg Neutral Moresnet Västerbotten county Querobamba District Södermanland County County of Veldenz Vysočina Region Biliran Benguet Bukidnon Bohol Bulacan Cagayan Freiburg Government Region Bautzen Neubrandenburg District Darmstadt-Dieburg Offenbach Suhl District Sepahua Banten Province Mito District San Marcos District Rosenheim Dingolfing-Landau Regen Deggendorf Freyung-Grafenau Kristianstad County Pampanga Pangasinan Quezon Quirino West Java Province Romblon Samar Sarangani Siquijor Frankfurt (Oder) Inambari Mittelsachsen Swabia Upper Franconia Upper Palatinate Mecklenburgische Seenplatte District Lower Bavaria Huacaybamba County of Hoya South Georgia and the South Sandwich Islands Härnösand County Östergötland County
242
action count
action less
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Santa Ana District, La Convención
relation capital of
type administrative territorial entity
type type of french administrative division
[[{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?v ) WHERE { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:capital_of resource:Santa_Ana_District,_La_Convención . { { ?f rdf:type ontology:administrative_territorial_entity } UNION { ?f rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?v < ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1156
P931
Q62447
USER
Which aerodrome is served by Mumbai ?
(c(Q62447),P931,Q1156)
action filter_type
action find_reverse
entity Q1156
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q1156']
SELECT DISTINCT ?p WHERE { ?p property:P931 resource:Q1156 . ?p rdf:type ontology:Q62447 }
Mumbai
action filter_type
action find_reverse
entity Mumbai
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Mumbai']
SELECT DISTINCT ?p WHERE { ?p property:place_served_by_airport resource:Mumbai . ?p rdf:type ontology:aerodrome }
[]
aerodrome
Q674812
SYSTEM
Juhu Aerodrome
Q674812
(c(Q62447),P931,Q1156)
action filter_type
action find_reverse
entity Q1156
relation P931
type Q62447
[ANSWER] is served by Mumbai
[{'concept': 'Q62447'}, 'P931', 'Q1156']
SELECT DISTINCT ?p WHERE { ?p property:P931 resource:Q1156 . ?p rdf:type ontology:Q62447 }
Juhu Aerodrome
Juhu Aerodrome is served by Mumbai
Juhu Aerodrome
action filter_type
action find_reverse
entity Mumbai
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Mumbai']
SELECT DISTINCT ?p WHERE { ?p property:place_served_by_airport resource:Mumbai . ?p rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1156
P30
Q2221906
USER
Which geographic location is that administrative territory a part of ?
(Q674812,P30,c(Q2221906))
action filter_type
action find
entity Q1156
relation P30
type Q2221906
['Q674812', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2221906 . resource:Q1156 property:P30 ?q }
Mumbai
action filter_type
action find
entity Mumbai
relation continent
type geographic location
['Juhu Aerodrome', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:geographic_location . resource:Mumbai property:continent ?q }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q674812,P30,c(Q2221906))
action filter_type
action find
entity Q1156
relation P30
type Q2221906
[ANSWER] is that administrative territory a part of
['Q674812', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2221906 . resource:Q1156 property:P30 ?q }
Asia
Asia is that administrative territory a part of
Asia
action filter_type
action find
entity Mumbai
relation continent
type geographic location
['Juhu Aerodrome', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:geographic_location . resource:Mumbai property:continent ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q48 Q5401 Q6751596
P361
Q2221906
USER
Is that geographic location a part of Eurasia and Mansergh Snowfield ?
(Q48,P361,Q5401) (Q48,P361,Q6751596)
action is_in
entity Q48
action intersection
action find_reverse
entity Q5401
relation P361
action find_reverse
entity Q6751596
relation P361
['Q48', 'P361', 'Q5401'] ['Q48', 'P361', 'Q6751596']
ASK WHERE { resource:Q48 property:P361 resource:Q5401 . resource:Q48 property:P361 resource:Q6751596 }
Asia Eurasia Mansergh Snowfield
action is_in
entity Asia
action intersection
action find_reverse
entity Eurasia
relation part of
action find_reverse
entity Mansergh Snowfield
relation part of
['Asia', 'part of', 'Eurasia'] ['Asia', 'part of', 'Mansergh Snowfield']
ASK WHERE { resource:Asia property:part_of resource:Eurasia . resource:Asia property:part_of resource:Mansergh_Snowfield }
[]
geographic location
SYSTEM
YES and NO respectively
(Q48,P361,Q5401) (Q48,P361,Q6751596)
action is_in
entity Q48
action intersection
action find_reverse
entity Q5401
relation P361
action find_reverse
entity Q6751596
relation P361
[ANSWER]
['Q48', 'P361', 'Q5401'] ['Q48', 'P361', 'Q6751596']
ASK WHERE { resource:Q48 property:P361 resource:Q5401 . resource:Q48 property:P361 resource:Q6751596 }
YES and NO respectively
action is_in
entity Asia
action intersection
action find_reverse
entity Eurasia
relation part of
action find_reverse
entity Mansergh Snowfield
relation part of
['Asia', 'part of', 'Eurasia'] ['Asia', 'part of', 'Mansergh Snowfield']
ASK WHERE { resource:Asia property:part_of resource:Eurasia . resource:Asia property:part_of resource:Mansergh_Snowfield }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q48
P180
Q811979
USER
Which architectural structure depicts Asia ?
action filter_type
action find_reverse
entity Q48
relation P180
type Q811979
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q811979 . ?m property:P180 resource:Q48 }
Asia
action filter_type
action find_reverse
entity Asia
relation depicts
type architectural structure
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:architectural_structure . ?m property:depicts resource:Asia }
[]
architectural structure
Q3076255
SYSTEM
fontaine de l'Observatoire
Q3076255
action filter_type
action find_reverse
entity Q48
relation P180
type Q811979
La [ANSWER] depicts Asia
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q811979 . ?m property:P180 resource:Q48 }
fontaine de l'Observatoire
La fontaine de l'Observatoire depicts Asia
fontaine de l'Observatoire
action filter_type
action find_reverse
entity Asia
relation depicts
type architectural structure
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:architectural_structure . ?m property:depicts resource:Asia }
[]