Simple Question (Direct)
Simple Question
Q4451122
P19
Q515
USER
Which city was Elena Taneva born in ?
(Q4451122,P19,c(Q515))
action filter_type
action find
entity Q4451122
relation P19
type Q515
['Q4451122', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q4451122 property:P19 ?x . ?x rdf:type ontology:Q515 }
Elena Taneva
action filter_type
action find
entity Elena Taneva
relation place of birth
type city
['Elena Taneva', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Elena_Taneva property:place_of_birth ?x . ?x rdf:type ontology:city }
[]
city
Q890122
SYSTEM
Bolhrad
Q890122
(Q4451122,P19,c(Q515))
action filter_type
action find
entity Q4451122
relation P19
type Q515
Elena Taneva was born in [ANSWER]
['Q4451122', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q4451122 property:P19 ?x . ?x rdf:type ontology:Q515 }
Bolhrad
Elena Taneva was born in Bolhrad
Bolhrad
action filter_type
action find
entity Elena Taneva
relation place of birth
type city
['Elena Taneva', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Elena_Taneva property:place_of_birth ?x . ?x rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q890122
P206
Q337567
USER
Which still waters is located next to that city ?
(Q890122,P206,c(Q337567))
action filter_type
action find
entity Q890122
relation P206
type Q337567
['Q890122', 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ?z WHERE { resource:Q890122 property:P206 ?z . ?z rdf:type ontology:Q337567 }
Bolhrad
action filter_type
action find
entity Bolhrad
relation located next to body of water
type still waters
['Bolhrad', 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ?z WHERE { resource:Bolhrad property:located_next_to_body_of_water ?z . ?z rdf:type ontology:still_waters }
[]
still waters
Q2330113
SYSTEM
Yalpug Lake
Q2330113
(Q890122,P206,c(Q337567))
action filter_type
action find
entity Q890122
relation P206
type Q337567
[ANSWER] is located next to that city
['Q890122', 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ?z WHERE { resource:Q890122 property:P206 ?z . ?z rdf:type ontology:Q337567 }
Yalpug Lake
Yalpug Lake is located next to that city
Yalpug Lake
action filter_type
action find
entity Bolhrad
relation located next to body of water
type still waters
['Bolhrad', 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ?z WHERE { resource:Bolhrad property:located_next_to_body_of_water ?z . ?z rdf:type ontology:still_waters }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2330113 Q890122
P206
Q515
USER
Is Bolhrad located in the neighbourhood of that still waters ?
(Q890122,P206,Q2330113)
action is_in
entity Q2330113
action find
entity Q890122
relation P206
['Q890122', 'P206', 'Q2330113']
ASK WHERE { resource:Q890122 property:P206 resource:Q2330113 }
Yalpug Lake Bolhrad
action is_in
entity Yalpug Lake
action find
entity Bolhrad
relation located next to body of water
['Bolhrad', 'located next to body of water', 'Yalpug Lake']
ASK WHERE { resource:Bolhrad property:located_next_to_body_of_water resource:Yalpug_Lake }
[]
city
SYSTEM
YES
(Q890122,P206,Q2330113)
action is_in
entity Q2330113
action find
entity Q890122
relation P206
[ANSWER]
['Q890122', 'P206', 'Q2330113']
ASK WHERE { resource:Q890122 property:P206 resource:Q2330113 }
Yes
action is_in
entity Yalpug Lake
action find
entity Bolhrad
relation located next to body of water
['Bolhrad', 'located next to body of water', 'Yalpug Lake']
ASK WHERE { resource:Bolhrad property:located_next_to_body_of_water resource:Yalpug_Lake }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4451122 Q5329135 Q159
P27
Q15617994
USER
Is Elena Taneva a native of East Peoria School District 86 and Russia ?
(Q4451122,P27,Q5329135) (Q4451122,P27,Q159)
action is_in
entity Q4451122
action intersection
action find_reverse
entity Q5329135
relation P27
action find_reverse
entity Q159
relation P27
['Q4451122', 'P27', 'Q5329135'] ['Q4451122', 'P27', 'Q159']
ASK WHERE { resource:Q4451122 property:P27 resource:Q5329135 . resource:Q4451122 property:P27 resource:Q159 }
Elena Taneva East Peoria School District 86 Russia
action is_in
entity Elena Taneva
action intersection
action find_reverse
entity East Peoria School District 86
relation country of citizenship
action find_reverse
entity Russia
relation country of citizenship
['Elena Taneva', 'country of citizenship', 'East Peoria School District 86'] ['Elena Taneva', 'country of citizenship', 'Russia']
ASK WHERE { resource:Elena_Taneva property:country_of_citizenship resource:East_Peoria_School_District_86 . resource:Elena_Taneva property:country_of_citizenship resource:Russia }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q4451122,P27,Q5329135) (Q4451122,P27,Q159)
action is_in
entity Q4451122
action intersection
action find_reverse
entity Q5329135
relation P27
action find_reverse
entity Q159
relation P27
[ANSWER]
['Q4451122', 'P27', 'Q5329135'] ['Q4451122', 'P27', 'Q159']
ASK WHERE { resource:Q4451122 property:P27 resource:Q5329135 . resource:Q4451122 property:P27 resource:Q159 }
NO and YES respectively
action is_in
entity Elena Taneva
action intersection
action find_reverse
entity East Peoria School District 86
relation country of citizenship
action find_reverse
entity Russia
relation country of citizenship
['Elena Taneva', 'country of citizenship', 'East Peoria School District 86'] ['Elena Taneva', 'country of citizenship', 'Russia']
ASK WHERE { resource:Elena_Taneva property:country_of_citizenship resource:East_Peoria_School_District_86 . resource:Elena_Taneva property:country_of_citizenship resource:Russia }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q488990
P36
Q515 Q1048835 Q486972
USER
Which cities are called the capital of more number of political territories or human settlements than Kostanay ?
(c(Q1048835)|c(Q486972),P36,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q1048835
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q488990
relation P36
type Q1048835
type Q486972
[[{'concept': 'Q1048835'}, {'concept': 'Q486972'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?z WHERE { VALUES ( ?i ) { ( ontology:Q1048835 ) ( ontology:Q486972 ) } . ?u rdf:type ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P36 resource:Q488990 . { { ?a rdf:type ontology:Q1048835 } UNION { ?a rdf:type ontology:Q486972 } } } } . FILTER ( ?c > ?t ) }
Kostanay
action greater
action union
action find_reverse_tuple_counts
relation capital
type city
type political territorial entity
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action count
action filter_multi_types
action find_reverse
entity Kostanay
relation capital
type political territorial entity
type human settlement
[[{'concept': 'political territorial entity'}, {'concept': 'human settlement'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?z WHERE { VALUES ( ?i ) { ( ontology:political_territorial_entity ) ( ontology:human_settlement ) } . ?u rdf:type ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:capital resource:Kostanay . { { ?a rdf:type ontology:political_territorial_entity } UNION { ?a rdf:type ontology:human_settlement } } } } . FILTER ( ?c > ?t ) }
[]
city political territorial entity human settlement
Q1899 Q1731 Q14960
SYSTEM
Kyiv, Dresden, Brno
Q15826 Q39738 Q10126 Q1710 Q14525 Q3042 Q3974 Q873377 Q4024 Q1711 Q27860 Q3806 Q592338 Q52607 Q5779 Q1696 Q41474 Q1070920 Q174096 Q111739 Q18970 Q432169 Q147738 Q8131 Q3926 Q11462 Q3214 Q1000336 Q583137 Q1019949 Q235004 Q725168 Q1899 Q12062 Q2966 Q1467 Q14499 Q2865 Q12245 Q1844 Q10389 Q35925 Q15379 Q1723 Q459787 Q1025387 Q23661 Q191651 Q14819 Q5285 Q14182 Q7568 Q1731 Q1636 Q7027 Q7786 Q10104 Q1020939 Q155674 Q314686 Q2180 Q3319248 Q14960 Q3185 Q874270 Q52564 Q2978 Q2973 Q14821 Q3958 Q2079 Q8156 Q4007 Q14168 Q55598 Q1826 Q1856 Q542154 Q3126 Q7253 Q157835 Q3046 Q2936 Q2749 Q42750 Q63145 Q2119 Q5972 Q1645 Q7578 Q14126 Q15847 Q2209 Q2200 Q16506 Q14155 Q14409 Q517783 Q40626 Q55740 Q57944 Q2795 Q8179 Q5217 Q1020709 Q2152435 Q2833 Q3935 Q3936 Q3750 Q894059 Q183111 Q40584 Q1067897 Q25475 Q11506 Q107624 Q8042 Q50179 Q104125 Q2999
(c(Q1048835)|c(Q486972),P36,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q1048835
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q488990
relation P36
type Q1048835
type Q486972
[ANSWERS] are called the capital of more number of political territories or human settlements than Kostanay
[[{'concept': 'Q1048835'}, {'concept': 'Q486972'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?z WHERE { VALUES ( ?i ) { ( ontology:Q1048835 ) ( ontology:Q486972 ) } . ?u rdf:type ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P36 resource:Q488990 . { { ?a rdf:type ontology:Q1048835 } UNION { ?a rdf:type ontology:Q486972 } } } } . FILTER ( ?c > ?t ) }
Palu Laoag Serang Isabela City Gorontalo Offenbach am Main Landshut Dumaguete Frankfurt (Oder) Potsdam Jayapura Tübingen Marawi Mar del Plata Banda Aceh Legazpi Kingstown Mamuju Sorsogon City Puerto Princesa Ambon Dipolog Saint Helier Palembang Pretoria Surabaya Cottbus Tandil Kidapawan Surigao City Vigan Tagum Kyiv Torgau Heidelberg Cebu City Samarinda Kassel Stanley Vaduz Bandung Tabuk Kendari Batangas City Iloilo City Maasin Wellington Masbate City Freiberg Tarlac Banjarmasin Yogyakarta Dresden Antipolo Straubing Pekanbaru Tanjung Pinang Digos Tandag Mati Malolos Pehuajó Brno Hildesheim Pagadian Maloe Verevo Regensburg Darmstadt Coburg Neubrandenburg Leipzig Bandar Lampung Rosenheim Pontianak Palayan Tagbilaran Malaybalay Koronadal Erlangen Padang Zaporizhzhya Pforzheim Oldenburg Augsburg Vojskovitsy Imus Mannheim Medan Cagayan de Oro Jambi Mataram Manado Roxas Tuguegarao České Budějovice Kupang Palangkaraya Pinamar Tacloban San Fernando Annaberg-Buchholz Chemnitz Pangkal Pinang Bacolod Catbalogan Miramar Freiburg im Breisgau Windhoek Bamberg Gera Borongan Jihlava San Fernando Oroquieta Batumi Denpasar Calapan Bengkulu Ilagan Lucena Würzburg
Kyiv, Dresden and Brno are called the capital of more number of political territories or human settlements than Kostanay
Kyiv Dresden Brno
action greater
action union
action find_reverse_tuple_counts
relation capital
type city
type political territorial entity
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action count
action filter_multi_types
action find_reverse
entity Kostanay
relation capital
type political territorial entity
type human settlement
[[{'concept': 'political territorial entity'}, {'concept': 'human settlement'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?z WHERE { VALUES ( ?i ) { ( ontology:political_territorial_entity ) ( ontology:human_settlement ) } . ?u rdf:type ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:capital resource:Kostanay . { { ?a rdf:type ontology:political_territorial_entity } UNION { ?a rdf:type ontology:human_settlement } } } } . FILTER ( ?c > ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q6829
P36
Q515 Q1048835 Q486972
USER
And what about Speyer?
(c(Q1048835)|c(Q486972),P36,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q1048835
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q6829
relation P36
type Q1048835
type Q486972
[[{'concept': 'Q1048835'}, {'concept': 'Q486972'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?b ) WHERE { VALUES ( ?v ) { ( ontology:Q1048835 ) ( ontology:Q486972 ) } . ?q rdf:type ?v } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f property:P36 resource:Q6829 . { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:Q486972 ) ( ontology:Q1048835 ) } } } } . FILTER ( ?b > ?u ) }
Speyer
action greater
action union
action find_reverse_tuple_counts
relation capital
type city
type political territorial entity
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action count
action filter_multi_types
action find_reverse
entity Speyer
relation capital
type political territorial entity
type human settlement
[[{'concept': 'political territorial entity'}, {'concept': 'human settlement'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?b ) WHERE { VALUES ( ?v ) { ( ontology:political_territorial_entity ) ( ontology:human_settlement ) } . ?q rdf:type ?v } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f property:capital resource:Speyer . { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:human_settlement ) ( ontology:political_territorial_entity ) } } } } . FILTER ( ?b > ?u ) }
[]
city political territorial entity human settlement
Q1899 Q1731 Q14960
SYSTEM
Kyiv, Dresden, Brno
Q15826 Q39738 Q10126 Q1710 Q14525 Q3042 Q3974 Q873377 Q4024 Q1711 Q27860 Q3806 Q592338 Q52607 Q5779 Q1696 Q41474 Q1070920 Q174096 Q111739 Q18970 Q432169 Q147738 Q8131 Q3926 Q11462 Q3214 Q1000336 Q583137 Q1019949 Q235004 Q725168 Q1899 Q12062 Q2966 Q1467 Q14499 Q2865 Q12245 Q1844 Q10389 Q35925 Q15379 Q1723 Q459787 Q1025387 Q23661 Q191651 Q14819 Q5285 Q14182 Q7568 Q1731 Q1636 Q7027 Q7786 Q10104 Q1020939 Q155674 Q314686 Q2180 Q3319248 Q14960 Q3185 Q874270 Q52564 Q2978 Q2973 Q14821 Q3958 Q2079 Q8156 Q4007 Q14168 Q55598 Q1826 Q1856 Q542154 Q3126 Q7253 Q157835 Q3046 Q2936 Q2749 Q42750 Q63145 Q2119 Q5972 Q1645 Q7578 Q14126 Q15847 Q2209 Q2200 Q16506 Q14155 Q14409 Q517783 Q40626 Q55740 Q57944 Q2795 Q8179 Q5217 Q1020709 Q2152435 Q2833 Q3935 Q3936 Q3750 Q894059 Q183111 Q40584 Q1067897 Q25475 Q11506 Q107624 Q8042 Q50179 Q104125 Q2999
(c(Q1048835)|c(Q486972),P36,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q1048835
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q6829
relation P36
type Q1048835
type Q486972
[ANSWERS]
[[{'concept': 'Q1048835'}, {'concept': 'Q486972'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?b ) WHERE { VALUES ( ?v ) { ( ontology:Q1048835 ) ( ontology:Q486972 ) } . ?q rdf:type ?v } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f property:P36 resource:Q6829 . { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:Q486972 ) ( ontology:Q1048835 ) } } } } . FILTER ( ?b > ?u ) }
Palu Laoag Serang Isabela City Gorontalo Offenbach am Main Landshut Dumaguete Frankfurt (Oder) Potsdam Jayapura Tübingen Marawi Mar del Plata Banda Aceh Legazpi Kingstown Mamuju Sorsogon City Puerto Princesa Ambon Dipolog Saint Helier Palembang Pretoria Surabaya Cottbus Tandil Kidapawan Surigao City Vigan Tagum Kyiv Torgau Heidelberg Cebu City Samarinda Kassel Stanley Vaduz Bandung Tabuk Kendari Batangas City Iloilo City Maasin Wellington Masbate City Freiberg Tarlac Banjarmasin Yogyakarta Dresden Antipolo Straubing Pekanbaru Tanjung Pinang Digos Tandag Mati Malolos Pehuajó Brno Hildesheim Pagadian Maloe Verevo Regensburg Darmstadt Coburg Neubrandenburg Leipzig Bandar Lampung Rosenheim Pontianak Palayan Tagbilaran Malaybalay Koronadal Erlangen Padang Zaporizhzhya Pforzheim Oldenburg Augsburg Vojskovitsy Imus Mannheim Medan Cagayan de Oro Jambi Mataram Manado Roxas Tuguegarao České Budějovice Kupang Palangkaraya Pinamar Tacloban San Fernando Annaberg-Buchholz Chemnitz Pangkal Pinang Bacolod Catbalogan Miramar Freiburg im Breisgau Windhoek Bamberg Gera Borongan Jihlava San Fernando Oroquieta Batumi Denpasar Calapan Bengkulu Ilagan Lucena Würzburg
Kyiv Dresden Brno
action greater
action union
action find_reverse_tuple_counts
relation capital
type city
type political territorial entity
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action count
action filter_multi_types
action find_reverse
entity Speyer
relation capital
type political territorial entity
type human settlement
[[{'concept': 'political territorial entity'}, {'concept': 'human settlement'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?b ) WHERE { VALUES ( ?v ) { ( ontology:political_territorial_entity ) ( ontology:human_settlement ) } . ?q rdf:type ?v } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f property:capital resource:Speyer . { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:human_settlement ) ( ontology:political_territorial_entity ) } } } } . FILTER ( ?b > ?u ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1899 Q1731 Q14960
P1376
Q1048835
USER
Which political territories have Kyiv, Dresden and Brno have their center of administration ?
(Q1899,P1376,c(Q1048835)) (Q1731,P1376,c(Q1048835)) (Q14960,P1376,c(Q1048835))
action union
action filter_type
action find
entity Q1899
relation P1376
type Q1048835
action filter_type
action find
entity Q1731
relation P1376
type Q1048835
action filter_type
action find
entity Q14960
relation P1376
type Q1048835
['Q1899', 'P1376', {'concept': 'Q1048835'}] ['Q1731', 'P1376', {'concept': 'Q1048835'}] ['Q14960', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { { resource:Q1899 property:P1376 ?r . ?r rdf:type ontology:Q1048835 } UNION { resource:Q1731 property:P1376 ?r . ?r rdf:type ontology:Q1048835 } }
Kyiv Dresden Brno
action union
action filter_type
action find
entity Kyiv
relation capital of
type political territorial entity
action filter_type
action find
entity Dresden
relation capital of
type political territorial entity
action filter_type
action find
entity Brno
relation capital of
type political territorial entity
['Kyiv', 'capital of', {'concept': 'political territorial entity'}] ['Dresden', 'capital of', {'concept': 'political territorial entity'}] ['Brno', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { { resource:Kyiv property:capital_of ?r . ?r rdf:type ontology:political_territorial_entity } UNION { resource:Dresden property:capital_of ?r . ?r rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
Q170036 Q24174 Q192697
SYSTEM
Kiev Oblast, Dresden Government Region, South Moravian Region
Q170036 Q24174 Q192697
(Q1899,P1376,c(Q1048835)) (Q1731,P1376,c(Q1048835)) (Q14960,P1376,c(Q1048835))
action union
action filter_type
action find
entity Q1899
relation P1376
type Q1048835
action filter_type
action find
entity Q1731
relation P1376
type Q1048835
action filter_type
action find
entity Q14960
relation P1376
type Q1048835
The [ANSWERS] have Kyiv, Dresden and Brno have their center of administration
['Q1899', 'P1376', {'concept': 'Q1048835'}] ['Q1731', 'P1376', {'concept': 'Q1048835'}] ['Q14960', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { { resource:Q1899 property:P1376 ?r . ?r rdf:type ontology:Q1048835 } UNION { resource:Q1731 property:P1376 ?r . ?r rdf:type ontology:Q1048835 } }
Kiev Oblast Dresden Government Region South Moravian Region
The Kiev Oblast, Dresden Government Region and South Moravian Region have Kyiv, Dresden and Brno have their center of administration
Kiev Oblast Dresden Government Region South Moravian Region
action union
action filter_type
action find
entity Kyiv
relation capital of
type political territorial entity
action filter_type
action find
entity Dresden
relation capital of
type political territorial entity
action filter_type
action find
entity Brno
relation capital of
type political territorial entity
['Kyiv', 'capital of', {'concept': 'political territorial entity'}] ['Dresden', 'capital of', {'concept': 'political territorial entity'}] ['Brno', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { { resource:Kyiv property:capital_of ?r . ?r rdf:type ontology:political_territorial_entity } UNION { resource:Dresden property:capital_of ?r . ?r rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q170036 Q24174 Q192697
P36
Q515
USER
Which cities are the capitals of Kiev Oblast, Dresden Government Region and South Moravian Region ?
(Q170036,P36,c(Q515)) (Q24174,P36,c(Q515)) (Q192697,P36,c(Q515))
action union
action filter_type
action find
entity Q170036
relation P36
type Q515
action filter_type
action find
entity Q24174
relation P36
type Q515
action filter_type
action find
entity Q192697
relation P36
type Q515
['Q170036', 'P36', {'concept': 'Q515'}] ['Q24174', 'P36', {'concept': 'Q515'}] ['Q192697', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { { resource:Q170036 property:P36 ?w . ?w rdf:type ontology:Q515 } UNION { resource:Q24174 property:P36 ?w . ?w rdf:type ontology:Q515 } }
Kiev Oblast Dresden Government Region South Moravian Region
action union
action filter_type
action find
entity Kiev Oblast
relation capital
type city
action filter_type
action find
entity Dresden Government Region
relation capital
type city
action filter_type
action find
entity South Moravian Region
relation capital
type city
['Kiev Oblast', 'capital', {'concept': 'city'}] ['Dresden Government Region', 'capital', {'concept': 'city'}] ['South Moravian Region', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { { resource:Kiev_Oblast property:capital ?w . ?w rdf:type ontology:city } UNION { resource:Dresden_Government_Region property:capital ?w . ?w rdf:type ontology:city } }
[]
city
Q1899 Q1731 Q14960
SYSTEM
Kyiv, Dresden, Brno
Q1899 Q1731 Q14960
(Q170036,P36,c(Q515)) (Q24174,P36,c(Q515)) (Q192697,P36,c(Q515))
action union
action filter_type
action find
entity Q170036
relation P36
type Q515
action filter_type
action find
entity Q24174
relation P36
type Q515
action filter_type
action find
entity Q192697
relation P36
type Q515
[ANSWERS] are the capitals of Kiev Oblast, Dresden Government Region and South Moravian Region
['Q170036', 'P36', {'concept': 'Q515'}] ['Q24174', 'P36', {'concept': 'Q515'}] ['Q192697', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { { resource:Q170036 property:P36 ?w . ?w rdf:type ontology:Q515 } UNION { resource:Q24174 property:P36 ?w . ?w rdf:type ontology:Q515 } }
Kyiv Dresden Brno
Kyiv, Dresden and Brno are the capitals of Kiev Oblast, Dresden Government Region and South Moravian Region
Kyiv Dresden Brno
action union
action filter_type
action find
entity Kiev Oblast
relation capital
type city
action filter_type
action find
entity Dresden Government Region
relation capital
type city
action filter_type
action find
entity South Moravian Region
relation capital
type city
['Kiev Oblast', 'capital', {'concept': 'city'}] ['Dresden Government Region', 'capital', {'concept': 'city'}] ['South Moravian Region', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { { resource:Kiev_Oblast property:capital ?w . ?w rdf:type ontology:city } UNION { resource:Dresden_Government_Region property:capital ?w . ?w rdf:type ontology:city } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170036
P915
Q838948
USER
Which work of art was filmed at Kiev Oblast ?
(c(Q838948),P915,Q170036)
action filter_type
action find_reverse
entity Q170036
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q170036']
SELECT DISTINCT ?a WHERE { ?a property:P915 resource:Q170036 . ?a rdf:type ontology:Q838948 }
Kiev Oblast
action filter_type
action find_reverse
entity Kiev Oblast
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Kiev Oblast']
SELECT DISTINCT ?a WHERE { ?a property:filming_location resource:Kiev_Oblast . ?a rdf:type ontology:work_of_art }
[]
work of art
Q3537621
SYSTEM
Firecrosser
Q3537621
(c(Q838948),P915,Q170036)
action filter_type
action find_reverse
entity Q170036
relation P915
type Q838948
The [ANSWER] was filmed at Kiev Oblast
[{'concept': 'Q838948'}, 'P915', 'Q170036']
SELECT DISTINCT ?a WHERE { ?a property:P915 resource:Q170036 . ?a rdf:type ontology:Q838948 }
Firecrosser
The Firecrosser was filmed at Kiev Oblast
Firecrosser
action filter_type
action find_reverse
entity Kiev Oblast
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Kiev Oblast']
SELECT DISTINCT ?a WHERE { ?a property:filming_location resource:Kiev_Oblast . ?a rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q170036
P47
Q1048835
USER
Who share the border with that one ?
(Q3537621,P47,c(Q1048835))
action filter_type
action find
entity Q170036
relation P47
type Q1048835
['Q3537621', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q170036 property:P47 ?h . ?h rdf:type ontology:Q1048835 }
Kiev Oblast
action filter_type
action find
entity Kiev Oblast
relation shares border with
type political territorial entity
['Firecrosser', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Kiev_Oblast property:shares_border_with ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q169501 Q166709 Q167874
SYSTEM
Poltava Oblast, Vinnytsia Oblast, Chernihiv Oblast
Q166709 Q167874 Q188732 Q169501 Q40637 Q161808
(Q3537621,P47,c(Q1048835))
action filter_type
action find
entity Q170036
relation P47
type Q1048835
[ANSWERS] share the border with that one
['Q3537621', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q170036 property:P47 ?h . ?h rdf:type ontology:Q1048835 }
Vinnytsia Oblast Chernihiv Oblast Gomel Region Poltava Oblast Zhytomyr Oblast Cherkasy Oblast
Poltava Oblast, Vinnytsia Oblast and Chernihiv Oblast share the border with that one
Poltava Oblast Vinnytsia Oblast Chernihiv Oblast
action filter_type
action find
entity Kiev Oblast
relation shares border with
type political territorial entity
['Firecrosser', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Kiev_Oblast property:shares_border_with ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q170036
P47
Q1048835
USER
Does Kiev Oblast share border with those ones ?
(Q170036,P47,Q169501) (Q170036,P47,Q166709) (Q170036,P47,Q167874)
action is_in
entity prev_answer
action find
entity Q170036
relation P47
['Q170036', 'P47', 'Q169501'] ['Q170036', 'P47', 'Q166709'] ['Q170036', 'P47', 'Q167874']
ASK WHERE { VALUES ( ?g ) { ( resource:Q166709 ) ( resource:Q167874 ) ( resource:Q188732 ) } . resource:Q170036 property:P47 ?g }
Kiev Oblast
action is_in
entity prev_answer
action find
entity Kiev Oblast
relation shares border with
['Kiev Oblast', 'shares border with', 'Poltava Oblast'] ['Kiev Oblast', 'shares border with', 'Vinnytsia Oblast'] ['Kiev Oblast', 'shares border with', 'Chernihiv Oblast']
ASK WHERE { VALUES ( ?g ) { ( resource:Vinnytsia_Oblast ) ( resource:Chernihiv_Oblast ) ( resource:Gomel_Region ) } . resource:Kiev_Oblast property:shares_border_with ?g }
[]
political territorial entity
SYSTEM
YES
(Q170036,P47,Q169501) (Q170036,P47,Q166709) (Q170036,P47,Q167874)
action is_in
entity prev_answer
action find
entity Q170036
relation P47
[ANSWER]
['Q170036', 'P47', 'Q169501'] ['Q170036', 'P47', 'Q166709'] ['Q170036', 'P47', 'Q167874']
ASK WHERE { VALUES ( ?g ) { ( resource:Q166709 ) ( resource:Q167874 ) ( resource:Q188732 ) } . resource:Q170036 property:P47 ?g }
Yes
action is_in
entity prev_answer
action find
entity Kiev Oblast
relation shares border with
['Kiev Oblast', 'shares border with', 'Poltava Oblast'] ['Kiev Oblast', 'shares border with', 'Vinnytsia Oblast'] ['Kiev Oblast', 'shares border with', 'Chernihiv Oblast']
ASK WHERE { VALUES ( ?g ) { ( resource:Vinnytsia_Oblast ) ( resource:Chernihiv_Oblast ) ( resource:Gomel_Region ) } . resource:Kiev_Oblast property:shares_border_with ?g }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q811
P530
Q15617994 Q1048835
USER
How many administrative territories have a diplomatic relationship with lesser number of political territories than Nicaragua ?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q811
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?k ) WHERE { ?p property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?s } . FILTER ( ?k < ?c ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Q811 property:P530 ?v . ?v rdf:type ontology:Q1048835 } } }
Nicaragua
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Nicaragua
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?k ) WHERE { ?p property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?s } . FILTER ( ?k < ?c ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Nicaragua property:diplomatic_relation ?v . ?v rdf:type ontology:political_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
84
Q702 Q805 Q262 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q811
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?k ) WHERE { ?p property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?s } . FILTER ( ?k < ?c ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Q811 property:P530 ?v . ?v rdf:type ontology:Q1048835 } } }
Federated States of Micronesia Yemen Algeria Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
84
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Nicaragua
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?k ) WHERE { ?p property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?s } . FILTER ( ?k < ?c ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Nicaragua property:diplomatic_relation ?v . ?v rdf:type ontology:political_territorial_entity } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q515 Q1048835 Q515
USER
How many cities are the county seat for around 3 cities and political territories ?
(c(Q515),P1376,c(Q515)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P1376
type Q515
type Q515
action find_tuple_counts
relation P1376
type Q515
type Q1048835
value 3
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q515'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?r WHERE { VALUES ( ?c ) { ( ontology:Q515 ) ( ontology:Q1048835 ) } . ?l rdf:type ?c } GROUP BY ?r } . FILTER ( ?d = 3 ) }
action count
action approx
action union
action find_tuple_counts
relation capital of
type city
type city
action find_tuple_counts
relation capital of
type city
type political territorial entity
value 3
[{'concept': 'city'}, 'capital of', [{'concept': 'city'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?r WHERE { VALUES ( ?c ) { ( ontology:city ) ( ontology:political_territorial_entity ) } . ?l rdf:type ?c } GROUP BY ?r } . FILTER ( ?d = 3 ) }
[]
city political territorial entity city
SYSTEM
1
Q2865
(c(Q515),P1376,c(Q515)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P1376
type Q515
type Q515
action find_tuple_counts
relation P1376
type Q515
type Q1048835
value 3
[ANSWER]
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q515'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?r WHERE { VALUES ( ?c ) { ( ontology:Q515 ) ( ontology:Q1048835 ) } . ?l rdf:type ?c } GROUP BY ?r } . FILTER ( ?d = 3 ) }
Kassel
1
action count
action approx
action union
action find_tuple_counts
relation capital of
type city
type city
action find_tuple_counts
relation capital of
type city
type political territorial entity
value 3
[{'concept': 'city'}, 'capital of', [{'concept': 'city'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?r WHERE { VALUES ( ?c ) { ( ontology:city ) ( ontology:political_territorial_entity ) } . ?l rdf:type ?c } GROUP BY ?r } . FILTER ( ?d = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3537621
P57
Q502895
USER
Who directed Firecrosser ?
(Q3537621,P57,c(Q502895))
action filter_type
action find
entity Q3537621
relation P57
type Q502895
['Q3537621', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q3537621 property:P57 ?p }
Firecrosser
action filter_type
action find
entity Firecrosser
relation director
type common name
['Firecrosser', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Firecrosser property:director ?p }
[]
common name
Q12074204
SYSTEM
Mykhailo Illienko
Q12074204
(Q3537621,P57,c(Q502895))
action filter_type
action find
entity Q3537621
relation P57
type Q502895
[ANSWER] directed Firecrosser
['Q3537621', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q3537621 property:P57 ?p }
Mykhailo Illienko
Mykhailo Illienko directed Firecrosser
Mykhailo Illienko
action filter_type
action find
entity Firecrosser
relation director
type common name
['Firecrosser', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Firecrosser property:director ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12074204
P58
Q838948
USER
What is that person a screwriter of ?
(c(Q838948),P58,Q12074204)
action filter_type
action find_reverse
entity Q12074204
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q12074204']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P58 resource:Q12074204 }
Mykhailo Illienko
action filter_type
action find_reverse
entity Mykhailo Illienko
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Mykhailo Illienko']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:screenwriter resource:Mykhailo_Illienko }
[]
work of art
Q3537621
SYSTEM
Firecrosser
Q3537621
(c(Q838948),P58,Q12074204)
action filter_type
action find_reverse
entity Q12074204
relation P58
type Q838948
That person a screwriter of is a [ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q12074204']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P58 resource:Q12074204 }
Firecrosser
That person a screwriter of is a Firecrosser
Firecrosser
action filter_type
action find_reverse
entity Mykhailo Illienko
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Mykhailo Illienko']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:screenwriter resource:Mykhailo_Illienko }
[]