Simple Question (Direct)
Simple Question
Q3656876
P19
Q56061
USER
Which administrative territory was Nenad Nastić born at ?
(Q3656876,P19,c(Q56061))
action filter_type
action find
entity Q3656876
relation P19
type Q56061
['Q3656876', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q3656876 property:P19 ?f }
Nenad Nastić
action filter_type
action find
entity Nenad Nastić
relation place of birth
type administrative territorial entity
['Nenad Nastić', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Nenad_Nastić property:place_of_birth ?f }
[]
administrative territorial entity
Q259612
SYSTEM
Srbobran
Q259612
(Q3656876,P19,c(Q56061))
action filter_type
action find
entity Q3656876
relation P19
type Q56061
Nenad Nastić was born in [ANSWER]
['Q3656876', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q3656876 property:P19 ?f }
Srbobran
Nenad Nastić was born in Srbobran
Srbobran
action filter_type
action find
entity Nenad Nastić
relation place of birth
type administrative territorial entity
['Nenad Nastić', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Nenad_Nastić property:place_of_birth ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q259612
P190
Q515
USER
Which cities are twin town of that administrative territory ?
(c(Q515),P190,Q259612)
action filter_type
action find
entity Q259612
relation P190
type Q515
[{'concept': 'Q515'}, 'P190', 'Q259612']
SELECT DISTINCT ?d WHERE { resource:Q259612 property:P190 ?d . ?d rdf:type ontology:Q515 }
Srbobran
action filter_type
action find
entity Srbobran
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Srbobran']
SELECT DISTINCT ?d WHERE { resource:Srbobran property:sister_city ?d . ?d rdf:type ontology:city }
[]
city
Q390796 Q549427
SYSTEM
Orosháza, Jánoshalma
Q390796 Q549427
(c(Q515),P190,Q259612)
action filter_type
action find
entity Q259612
relation P190
type Q515
[ANSWERS] are twin town of that administrative territory
[{'concept': 'Q515'}, 'P190', 'Q259612']
SELECT DISTINCT ?d WHERE { resource:Q259612 property:P190 ?d . ?d rdf:type ontology:Q515 }
Orosháza Jánoshalma
Orosháza and Jánoshalma are twin town of that administrative territory
Orosháza Jánoshalma
action filter_type
action find
entity Srbobran
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Srbobran']
SELECT DISTINCT ?d WHERE { resource:Srbobran property:sister_city ?d . ?d rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q390796 Q549427
P190
Q56061
USER
Which administrative territories are the sister cities of Orosháza and Jánoshalma ?
(Q390796,P190,c(Q56061)) (Q549427,P190,c(Q56061))
action union
action filter_type
action find
entity Q390796
relation P190
type Q56061
action filter_type
action find
entity Q549427
relation P190
type Q56061
['Q390796', 'P190', {'concept': 'Q56061'}] ['Q549427', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { resource:Q390796 property:P190 ?i . ?i rdf:type ontology:Q56061 } UNION { ?i rdf:type ontology:Q56061 . resource:Q549427 property:P190 ?i } }
Orosháza Jánoshalma
action union
action filter_type
action find
entity Orosháza
relation sister city
type administrative territorial entity
action filter_type
action find
entity Jánoshalma
relation sister city
type administrative territorial entity
['Orosháza', 'sister city', {'concept': 'administrative territorial entity'}] ['Jánoshalma', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { resource:Orosháza property:sister_city ?i . ?i rdf:type ontology:administrative_territorial_entity } UNION { ?i rdf:type ontology:administrative_territorial_entity . resource:Jánoshalma property:sister_city ?i } }
[]
administrative territorial entity
Q259612 Q259612
SYSTEM
Srbobran
Q259612 Q259612
(Q390796,P190,c(Q56061)) (Q549427,P190,c(Q56061))
action union
action filter_type
action find
entity Q390796
relation P190
type Q56061
action filter_type
action find
entity Q549427
relation P190
type Q56061
[ANSWER] and [ANSWER] are the sister cities of Orosháza and Jánoshalma
['Q390796', 'P190', {'concept': 'Q56061'}] ['Q549427', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { resource:Q390796 property:P190 ?i . ?i rdf:type ontology:Q56061 } UNION { ?i rdf:type ontology:Q56061 . resource:Q549427 property:P190 ?i } }
Srbobran Srbobran
Srbobran and Srbobran are the sister cities of Orosháza and Jánoshalma
Srbobran Srbobran
action union
action filter_type
action find
entity Orosháza
relation sister city
type administrative territorial entity
action filter_type
action find
entity Jánoshalma
relation sister city
type administrative territorial entity
['Orosháza', 'sister city', {'concept': 'administrative territorial entity'}] ['Jánoshalma', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { resource:Orosháza property:sister_city ?i . ?i rdf:type ontology:administrative_territorial_entity } UNION { ?i rdf:type ontology:administrative_territorial_entity . resource:Jánoshalma property:sister_city ?i } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q390796
P36
Q1162835
USER
Which district of Hungary consists of Orosháza as its capital ?
(c(Q1162835),P36,Q390796)
action filter_type
action find_reverse
entity Q390796
relation P36
type Q1162835
[{'concept': 'Q1162835'}, 'P36', 'Q390796']
SELECT DISTINCT ?v WHERE { ?v property:P36 resource:Q390796 . ?v rdf:type ontology:Q1162835 }
Orosháza
action filter_type
action find_reverse
entity Orosháza
relation capital
type district of Hungary
[{'concept': 'district of Hungary'}, 'capital', 'Orosháza']
SELECT DISTINCT ?v WHERE { ?v property:capital resource:Orosháza . ?v rdf:type ontology:district_of_Hungary }
[]
district of Hungary
Q14629781
SYSTEM
Orosháza  District
Q14629781
(c(Q1162835),P36,Q390796)
action filter_type
action find_reverse
entity Q390796
relation P36
type Q1162835
District Orosháza District consists of Orosháza as its capital
[{'concept': 'Q1162835'}, 'P36', 'Q390796']
SELECT DISTINCT ?v WHERE { ?v property:P36 resource:Q390796 . ?v rdf:type ontology:Q1162835 }
Orosháza  District
District Orosháza District consists of Orosháza as its capital
Orosháza  District
action filter_type
action find_reverse
entity Orosháza
relation capital
type district of Hungary
[{'concept': 'district of Hungary'}, 'capital', 'Orosháza']
SELECT DISTINCT ?v WHERE { ?v property:capital resource:Orosháza . ?v rdf:type ontology:district_of_Hungary }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q390796
P1376
Q1162835
USER
What has Orosháza as its capital ?
(Q390796,P1376,c(Q1162835))
action filter_type
action find
entity Q390796
relation P1376
type Q1162835
['Q390796', 'P1376', {'concept': 'Q1162835'}]
SELECT DISTINCT ?u WHERE { resource:Q390796 property:P1376 ?u . ?u rdf:type ontology:Q1162835 }
Orosháza
action filter_type
action find
entity Orosháza
relation capital of
type district of Hungary
['Orosháza', 'capital of', {'concept': 'district of Hungary'}]
SELECT DISTINCT ?u WHERE { resource:Orosháza property:capital_of ?u . ?u rdf:type ontology:district_of_Hungary }
[]
district of Hungary
Q14629781
SYSTEM
Orosháza  District
Q14629781
(Q390796,P1376,c(Q1162835))
action filter_type
action find
entity Q390796
relation P1376
type Q1162835
District Orosháza District has Orosháza as its capital
['Q390796', 'P1376', {'concept': 'Q1162835'}]
SELECT DISTINCT ?u WHERE { resource:Q390796 property:P1376 ?u . ?u rdf:type ontology:Q1162835 }
Orosháza  District
District Orosháza District has Orosháza as its capital
Orosháza  District
action filter_type
action find
entity Orosháza
relation capital of
type district of Hungary
['Orosháza', 'capital of', {'concept': 'district of Hungary'}]
SELECT DISTINCT ?u WHERE { resource:Orosháza property:capital_of ?u . ?u rdf:type ontology:district_of_Hungary }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q23768
P609
Q515 Q83620 Q34442
USER
Which cities are the terminus locations of less number of thoroughfares and roads than Las Vegas ?
(c(Q83620)|c(Q34442),P609,c(Q515))
action less
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q23768
relation P609
type Q83620
type Q34442
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?h WHERE { { ?g property:P609 ?h . ?g rdf:type ontology:Q83620 . ?h rdf:type ontology:Q515 } UNION { ?g property:P609 ?h . ?h rdf:type ontology:Q515 . ?g rdf:type ontology:Q34442 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { ?u property:P609 resource:Q23768 . { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } } } . FILTER ( ?o < ?r ) }
Las Vegas
action less
action union
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type city
type road
action count
action filter_multi_types
action find_reverse
entity Las Vegas
relation terminus location
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?h WHERE { { ?g property:terminus_location ?h . ?g rdf:type ontology:thoroughfare . ?h rdf:type ontology:city } UNION { ?g property:terminus_location ?h . ?h rdf:type ontology:city . ?g rdf:type ontology:road } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { ?u property:terminus_location resource:Las_Vegas . { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:road ) ( ontology:thoroughfare ) } } } } . FILTER ( ?o < ?r ) }
[]
city thoroughfare road
Q1899 Q1731 Q42622
SYSTEM
Kyiv, Dresden, Suzhou
Q8652 Q349982 Q601254 Q425996 Q756581 Q182852 Q320950 Q869037 Q16506 Q363479 Q1027604 Q2092257 Q16959 Q68481 Q851155 Q181276 Q249007 Q341777 Q5869 Q16520 Q541071 Q360374 Q6602 Q535534 Q819620 Q193724 Q987487 Q180470 Q210365 Q533157 Q58560 Q1630623 Q158245 Q2079 Q217698 Q379160 Q18575 Q11736 Q1000069 Q211243 Q612646 Q42622 Q71227 Q1641736 Q185684 Q75110 Q373101 Q426868 Q278877 Q147738 Q502981 Q1008696 Q373023 Q954611 Q1761 Q373687 Q162880 Q682544 Q187136 Q404529 Q183584 Q954569 Q304848 Q16666 Q34750 Q570768 Q321778 Q513417 Q11506 Q200603 Q946780 Q1899 Q1009095 Q57756 Q1731 Q360643 Q58401 Q587388
(c(Q83620)|c(Q34442),P609,c(Q515))
action less
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q23768
relation P609
type Q83620
type Q34442
[ANSWERS] are the terminus locations of less number of thoroughfares and roads than Las Vegas
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?h WHERE { { ?g property:P609 ?h . ?g rdf:type ontology:Q83620 . ?h rdf:type ontology:Q515 } UNION { ?g property:P609 ?h . ?h rdf:type ontology:Q515 . ?g rdf:type ontology:Q34442 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { ?u property:P609 resource:Q23768 . { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } } } . FILTER ( ?o < ?r ) }
Miami Hegang Dubí Deyang Františkovy Lázně Kunming Trutnov Takasago České Budějovice Shangrao Uherský Ostroh Rožmitál pod Třemšínem Ürümqi Fuzhou Kasai Szolnok Wuwei Čáslav Lhasa Busan Hulín Anqing Strasbourg Hohhot Seiyo Slavkov u Brna Ostrov Huangshan City Beihai Tianshui Qinhuangdao Hostivice Písek Leipzig Weifang Kunszentmárton Tucson Tianjin Lovosice Yinchuan Veselí nad Lužnicí Suzhou Shiyan Pohořelice Hefei Dandong Rizhao Leshan Český Těšín Saint Helier Miyako Rožnov pod Radhoštěm Weihai Jeseník Dublin Binzhou Dezhou Mikulov Luoyang Xuchang Lanzhou Vyškov Daqing Nanjing Fuxin Wuhai Hodonín Vsetín Denpasar Yawatahama Lanžhot Kyiv Otrokovice Lianyungang Dresden Suzhou, Anhui Shijiazhuang Mohelnice
Kyiv, Dresden and Suzhou are the terminus locations of less number of thoroughfares and roads than Las Vegas
Kyiv Dresden Suzhou
action less
action union
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type city
type road
action count
action filter_multi_types
action find_reverse
entity Las Vegas
relation terminus location
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?h WHERE { { ?g property:terminus_location ?h . ?g rdf:type ontology:thoroughfare . ?h rdf:type ontology:city } UNION { ?g property:terminus_location ?h . ?h rdf:type ontology:city . ?g rdf:type ontology:road } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { ?u property:terminus_location resource:Las_Vegas . { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:road ) ( ontology:thoroughfare ) } } } } . FILTER ( ?o < ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q183584
P609
Q515 Q83620 Q34442
USER
And what about Lanzhou?
(c(Q83620)|c(Q34442),P609,c(Q515))
action less
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q183584
relation P609
type Q83620
type Q34442
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) ?h WHERE { VALUES ( ?w ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?b rdf:type ?w } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } } . ?i property:P609 resource:Q183584 } } . FILTER ( ?q < ?x ) }
Lanzhou
action less
action union
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type city
type road
action count
action filter_multi_types
action find_reverse
entity Lanzhou
relation terminus location
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) ?h WHERE { VALUES ( ?w ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?b rdf:type ?w } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:thoroughfare ) ( ontology:road ) } } . ?i property:terminus_location resource:Lanzhou } } . FILTER ( ?q < ?x ) }
[]
city thoroughfare road
Q1899 Q1731 Q42622
SYSTEM
Kyiv, Dresden, Suzhou
Q8652 Q349982 Q601254 Q425996 Q756581 Q320950 Q869037 Q16506 Q363479 Q1027604 Q2092257 Q16959 Q68481 Q851155 Q181276 Q249007 Q341777 Q5869 Q16520 Q541071 Q360374 Q6602 Q535534 Q819620 Q193724 Q987487 Q180470 Q210365 Q533157 Q1630623 Q158245 Q2079 Q217698 Q379160 Q18575 Q1000069 Q612646 Q42622 Q71227 Q1641736 Q185684 Q373101 Q426868 Q278877 Q147738 Q502981 Q1008696 Q373023 Q954611 Q1761 Q373687 Q162880 Q682544 Q187136 Q404529 Q954569 Q304848 Q16666 Q34750 Q570768 Q321778 Q513417 Q11506 Q200603 Q946780 Q1899 Q1009095 Q57756 Q1731 Q360643 Q58401 Q587388
(c(Q83620)|c(Q34442),P609,c(Q515))
action less
action union
action find_reverse_tuple_counts
relation P609
type Q515
type Q83620
action find_reverse_tuple_counts
relation P609
type Q515
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q183584
relation P609
type Q83620
type Q34442
[ANSWERS]
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) ?h WHERE { VALUES ( ?w ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?b rdf:type ?w } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } } . ?i property:P609 resource:Q183584 } } . FILTER ( ?q < ?x ) }
Miami Hegang Dubí Deyang Františkovy Lázně Trutnov Takasago České Budějovice Shangrao Uherský Ostroh Rožmitál pod Třemšínem Ürümqi Fuzhou Kasai Szolnok Wuwei Čáslav Lhasa Busan Hulín Anqing Strasbourg Hohhot Seiyo Slavkov u Brna Ostrov Huangshan City Beihai Tianshui Hostivice Písek Leipzig Weifang Kunszentmárton Tucson Lovosice Veselí nad Lužnicí Suzhou Shiyan Pohořelice Hefei Rizhao Leshan Český Těšín Saint Helier Miyako Rožnov pod Radhoštěm Weihai Jeseník Dublin Binzhou Dezhou Mikulov Luoyang Xuchang Vyškov Daqing Nanjing Fuxin Wuhai Hodonín Vsetín Denpasar Yawatahama Lanžhot Kyiv Otrokovice Lianyungang Dresden Suzhou, Anhui Shijiazhuang Mohelnice
Kyiv Dresden Suzhou
action less
action union
action find_reverse_tuple_counts
relation terminus location
type city
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type city
type road
action count
action filter_multi_types
action find_reverse
entity Lanzhou
relation terminus location
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) ?h WHERE { VALUES ( ?w ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?b rdf:type ?w } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:thoroughfare ) ( ontology:road ) } } . ?i property:terminus_location resource:Lanzhou } } . FILTER ( ?q < ?x ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P206
Q1267889 Q337567 Q515
USER
How many cities are situated close to around the same number of waterways or still waterss as that city ?
(c(Q515),P206,c(Q1267889)|c(Q337567))
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?b ) { ( ?y ) ( ?x ) } . ?z property:P206 ?b } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q1267889 . ?x rdf:type ontology:Q337567 }
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?b ) { ( ?y ) ( ?x ) } . ?z property:located_next_to_body_of_water ?b } . ?z rdf:type ontology:city . ?y rdf:type ontology:waterway . ?x rdf:type ontology:still_waters }
[]
waterway still waters city
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1731
SYSTEM
Did you mean Dresden ?
(c(Q515),P206,c(Q1267889)|c(Q337567))
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?b ) { ( ?y ) ( ?x ) } . ?z property:P206 ?b } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q1267889 . ?x rdf:type ontology:Q337567 }
Did you mean Dresden ?
Dresden
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?b ) { ( ?y ) ( ?x ) } . ?z property:located_next_to_body_of_water ?b } . ?z rdf:type ontology:city . ?y rdf:type ontology:waterway . ?x rdf:type ontology:still_waters }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q515),P206,c(Q1267889)|c(Q337567))
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q337567'}]]
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'still waters'}]]
[]
SYSTEM
2
Q4346 Q3931
(c(Q515),P206,c(Q1267889)|c(Q337567))
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P206 ?y } UNION { ?z property:P206 ?x } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q1267889 . ?x rdf:type ontology:Q337567 }
Waren (Müritz) Brandenburg an der Havel
2
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:located_next_to_body_of_water ?y } UNION { ?z property:located_next_to_body_of_water ?x } } . ?z rdf:type ontology:city . ?y rdf:type ontology:waterway . ?x rdf:type ontology:still_waters }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1899
P190
Q1048835 Q486972
USER
How many political territories and human settlements are twin cities of Kyiv ?
(Q1899,P190,c(Q1048835)) (Q1899,P190,c(Q486972))
action count
action union
action filter_type
action find
entity Q1899
relation P190
type Q1048835
action filter_type
action find
entity Q1899
relation P190
type Q486972
['Q1899', 'P190', {'concept': 'Q1048835'}] ['Q1899', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { resource:Q1899 property:P190 ?j . ?j rdf:type ontology:Q1048835 } UNION { ?j rdf:type ontology:Q486972 . resource:Q1899 property:P190 ?j } }
Kyiv
action count
action union
action filter_type
action find
entity Kyiv
relation sister city
type political territorial entity
action filter_type
action find
entity Kyiv
relation sister city
type human settlement
['Kyiv', 'sister city', {'concept': 'political territorial entity'}] ['Kyiv', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { resource:Kyiv property:sister_city ?j . ?j rdf:type ontology:political_territorial_entity } UNION { ?j rdf:type ontology:human_settlement . resource:Kyiv property:sister_city ?j } }
[]
political territorial entity human settlement
SYSTEM
1 political territories and 1 human settlements
Q31487 Q11746
(Q1899,P190,c(Q1048835)) (Q1899,P190,c(Q486972))
action count
action union
action filter_type
action find
entity Q1899
relation P190
type Q1048835
action filter_type
action find
entity Q1899
relation P190
type Q486972
[ANSWER]
['Q1899', 'P190', {'concept': 'Q1048835'}] ['Q1899', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { resource:Q1899 property:P190 ?j . ?j rdf:type ontology:Q1048835 } UNION { ?j rdf:type ontology:Q486972 . resource:Q1899 property:P190 ?j } }
Kraków Wuhan
1 political territories and 1 human settlements
action count
action union
action filter_type
action find
entity Kyiv
relation sister city
type political territorial entity
action filter_type
action find
entity Kyiv
relation sister city
type human settlement
['Kyiv', 'sister city', {'concept': 'political territorial entity'}] ['Kyiv', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { resource:Kyiv property:sister_city ?j . ?j rdf:type ontology:political_territorial_entity } UNION { ?j rdf:type ontology:human_settlement . resource:Kyiv property:sister_city ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1731
P137
Q483110
USER
Which stadium was operated by Dresden ?
(c(Q483110),P137,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P137
type Q483110
[{'concept': 'Q483110'}, 'P137', 'Q1731']
SELECT DISTINCT ?l WHERE { ?l property:P137 resource:Q1731 . ?l rdf:type ontology:Q483110 }
Dresden
action filter_type
action find_reverse
entity Dresden
relation operator
type stadium
[{'concept': 'stadium'}, 'operator', 'Dresden']
SELECT DISTINCT ?l WHERE { ?l property:operator resource:Dresden . ?l rdf:type ontology:stadium }
[]
stadium
Q470392
SYSTEM
Heinz-Steyer-Stadion
Q470392
(c(Q483110),P137,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P137
type Q483110
[ANSWER] was operated by Dresden
[{'concept': 'Q483110'}, 'P137', 'Q1731']
SELECT DISTINCT ?l WHERE { ?l property:P137 resource:Q1731 . ?l rdf:type ontology:Q483110 }
Heinz-Steyer-Stadion
Heinz-Steyer-Stadion was operated by Dresden
Heinz-Steyer-Stadion
action filter_type
action find_reverse
entity Dresden
relation operator
type stadium
[{'concept': 'stadium'}, 'operator', 'Dresden']
SELECT DISTINCT ?l WHERE { ?l property:operator resource:Dresden . ?l rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1731
P6
Q502895
USER
Who are the heads of the government of that city ?
(Q470392,P6,c(Q502895))
action filter_type
action find
entity Q1731
relation P6
type Q502895
['Q470392', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q1731 property:P6 ?b }
Dresden
action filter_type
action find
entity Dresden
relation head of government
type common name
['Heinz-Steyer-Stadion', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Dresden property:head_of_government ?b }
[]
common name
Q74512 Q2546706 Q70087
SYSTEM
Helma Orosz, Walter Weidauer, Wilhelm Külz
Q1227894 Q107180 Q110810 Q805614 Q90198 Q74512 Q1641385 Q2173181 Q1608371 Q1645938 Q2546706 Q1512449 Q105881 Q121150 Q824779 Q70087 Q2058676 Q2574471 Q113648 Q108068 Q347740
(Q470392,P6,c(Q502895))
action filter_type
action find
entity Q1731
relation P6
type Q502895
The heads of the government of that city are [ANSWERS]
['Q470392', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q1731 property:P6 ?b }
Dirk Hilbert Rudolf Friedrichs Ernst Zörner Karl Balthasar Hübler Hans Nieland Helma Orosz Otto Beutler Rudolf Kluge Herbert Gute Wolfgang Berghofer Walter Weidauer Gerhard Schill Herbert Wagner Johannes Müller Bernhard Blüher Wilhelm Külz Paul Alfred Stübel Friedrich Wilhelm Pfotenhauer Robert Siegismund Schanz Ingolf Roßberg Adalbert Wolpert
The heads of the government of that city are Helma Orosz, Walter Weidauer and Wilhelm Külz
Helma Orosz Walter Weidauer Wilhelm Külz
action filter_type
action find
entity Dresden
relation head of government
type common name
['Heinz-Steyer-Stadion', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Dresden property:head_of_government ?b }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7399494 Q1731
P161 P6
Q502895
USER
Which people are the heads of the government of Dresden or starred in Sahara Jaluchi ?
OR((Q1731,P6,c(Q502895)), (Q7399494,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1731
relation P6
action find
entity Q7399494
relation P161
type Q502895
{'OR': [['Q1731', 'P6', {'concept': 'Q502895'}], ['Q7399494', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q7399494 property:P161 ?x } UNION { resource:Q1731 property:P6 ?x } } . ?x rdf:type ontology:Q502895 }
Sahara Jaluchi Dresden
action filter_type
action union
action find
entity Dresden
relation head of government
action find
entity Sahara Jaluchi
relation cast member
type common name
{'OR': [['Dresden', 'head of government', {'concept': 'common name'}], ['Sahara Jaluchi', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Sahara_Jaluchi property:cast_member ?x } UNION { resource:Dresden property:head_of_government ?x } } . ?x rdf:type ontology:common_name }
[]
common name
Q1512449 Q113648 Q74512 Q2574471 Q108068 Q107180 Q379604 Q1645938 Q4779123 Q5223859
SYSTEM
Some of them are Gerhard Schill, Robert Siegismund Schanz, Helma Orosz, Friedrich Wilhelm Pfotenhauer, Ingolf Roßberg, Rudolf Friedrichs, Mithun Chakraborty, Wolfgang Berghofer, Aparajita Mohanty, Uttam Mohanty
Q1227894 Q1641385 Q5223859 Q70087 Q105881 Q2574471 Q110810 Q74512 Q824779 Q2546706 Q379604 Q7508087 Q347740 Q5225034 Q107180 Q4779123 Q113648 Q2173181 Q108068 Q1645938 Q805614 Q90198 Q1608371 Q2058676 Q1512449 Q121150
OR((Q1731,P6,c(Q502895)), (Q7399494,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1731
relation P6
action find
entity Q7399494
relation P161
type Q502895
[ANSWERS] are the heads of the government of Dresden or starred in Sahara Jaluchi
{'OR': [['Q1731', 'P6', {'concept': 'Q502895'}], ['Q7399494', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q7399494 property:P161 ?x } UNION { resource:Q1731 property:P6 ?x } } . ?x rdf:type ontology:Q502895 }
Dirk Hilbert Otto Beutler Uttam Mohanty Wilhelm Külz Herbert Wagner Friedrich Wilhelm Pfotenhauer Ernst Zörner Helma Orosz Bernhard Blüher Walter Weidauer Mithun Chakraborty Siddhanta Mahapatra Adalbert Wolpert Mihir Das Rudolf Friedrichs Aparajita Mohanty Robert Siegismund Schanz Rudolf Kluge Ingolf Roßberg Wolfgang Berghofer Karl Balthasar Hübler Hans Nieland Herbert Gute Paul Alfred Stübel Gerhard Schill Johannes Müller
Gerhard Schill, Robert Siegismund Schanz, Helma Orosz, Friedrich Wilhelm Pfotenhauer, Ingolf Roßberg, Rudolf Friedrichs, Mithun Chakraborty, Wolfgang Berghofer, Aparajita Mohanty and Uttam Mohanty are the heads of the government of Dresden or starred in Sahara Jaluchi
Gerhard Schill Robert Siegismund Schanz Helma Orosz Friedrich Wilhelm Pfotenhauer Ingolf Roßberg Rudolf Friedrichs Mithun Chakraborty Wolfgang Berghofer Aparajita Mohanty Uttam Mohanty
action filter_type
action union
action find
entity Dresden
relation head of government
action find
entity Sahara Jaluchi
relation cast member
type common name
{'OR': [['Dresden', 'head of government', {'concept': 'common name'}], ['Sahara Jaluchi', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Sahara_Jaluchi property:cast_member ?x } UNION { resource:Dresden property:head_of_government ?x } } . ?x rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q838948
USER
How many works of art stars that person as actor ?
(c(Q838948),P161,Q4779123)
[{'concept': 'Q838948'}, 'P161', 'Q4779123']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q4779123 . ?z rdf:type ontology:Q838948 }
[{'concept': 'work of art'}, 'cast member', 'Aparajita Mohanty']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Aparajita_Mohanty . ?z rdf:type ontology:work_of_art }
[]
work of art
Quantitative|Count|Single entity type|Clarification
Q5223859
SYSTEM
Did you mean Uttam Mohanty ?
(c(Q838948),P161,Q1512449) (c(Q838948),P161,Q113648) (c(Q838948),P161,Q74512) (c(Q838948),P161,Q2574471) (c(Q838948),P161,Q108068) (c(Q838948),P161,Q107180) (c(Q838948),P161,Q379604) (c(Q838948),P161,Q1645938) (c(Q838948),P161,Q4779123) (c(Q838948),P161,Q5223859)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q1512449'] [{'concept': 'Q838948'}, 'P161', 'Q113648'] [{'concept': 'Q838948'}, 'P161', 'Q74512'] [{'concept': 'Q838948'}, 'P161', 'Q2574471'] [{'concept': 'Q838948'}, 'P161', 'Q108068'] [{'concept': 'Q838948'}, 'P161', 'Q107180'] [{'concept': 'Q838948'}, 'P161', 'Q379604'] [{'concept': 'Q838948'}, 'P161', 'Q1645938'] [{'concept': 'Q838948'}, 'P161', 'Q4779123'] [{'concept': 'Q838948'}, 'P161', 'Q5223859']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q4779123 . ?z rdf:type ontology:Q838948 }
Did you mean Uttam Mohanty ?
Uttam Mohanty
[{'concept': 'work of art'}, 'cast member', 'Gerhard Schill'] [{'concept': 'work of art'}, 'cast member', 'Robert Siegismund Schanz'] [{'concept': 'work of art'}, 'cast member', 'Helma Orosz'] [{'concept': 'work of art'}, 'cast member', 'Friedrich Wilhelm Pfotenhauer'] [{'concept': 'work of art'}, 'cast member', 'Ingolf Roßberg'] [{'concept': 'work of art'}, 'cast member', 'Rudolf Friedrichs'] [{'concept': 'work of art'}, 'cast member', 'Mithun Chakraborty'] [{'concept': 'work of art'}, 'cast member', 'Wolfgang Berghofer'] [{'concept': 'work of art'}, 'cast member', 'Aparajita Mohanty'] [{'concept': 'work of art'}, 'cast member', 'Uttam Mohanty']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Aparajita_Mohanty . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Aparajita Mohanty. Could you tell me the answer for that?
(c(Q838948),P161,Q4779123)
Q4779123
[{'concept': 'Q838948'}, 'P161', 'Q4779123']
[{'concept': 'work of art'}, 'cast member', 'Aparajita Mohanty']
[]
SYSTEM
49
Q21283194 Q15725267 Q5306368 Q21283051 Q15724700 Q15724709 Q21283042 Q15724264 Q21283027 Q21283010 Q20890814 Q15724176 Q21283093 Q26963237 Q7654081 Q21283205 Q15725302 Q15725137 Q6663417 Q19891600 Q20664495 Q15725144 Q15724261 Q15725295 Q18127183 Q21201622 Q15724974 Q15723748 Q4696993 Q15724135 Q19898516 Q21043181 Q15725024 Q15723640 Q21282990 Q6786328 Q15724563 Q15724139 Q15723669 Q21283203 Q15725154 Q15725086 Q7399494 Q25212073 Q15725072 Q16826520 Q21403029 Q21403021 Q21334837
(c(Q838948),P161,Q4779123)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q4779123']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q4779123 . ?z rdf:type ontology:Q838948 }
Daha Balunga Santana Dream Girl Target Premarutu Asilare Phula Chandana Nai Separi Kanaka Gori Dandabalunga Love Master Chanda Na Tame Tara Ram Rahim Jheeati Sita Pari Prema Sabuthu Balaban Sweet Heart Swayamsiddha Daddy Sagar Ramayan Loafer Golapi Golapi Aparichita Rupa Gaan Ra Suna Kania Thukul Sahari Bagha Lekhu Lekhu Lekhi Deli Seeta Labkush Mamatara Dori Ei Aama Sansar Aila Re Odia Pua Jaga Hatare Pagha Super Michhua Yashoda Michha Mayara Sansar Abhimanyu Bad Girl Mate Bohu Kari Nei Jaa Papa Punya Janani Astaraga Tu Au Mun Lakhe Siba Puji Paichhi Pua Rajanigandha Sahara Jaluchi Dhauli Express Jor Jar Mulak Tar Akhire Akhire Kie Deba Takkar Nua Nua Premare Ishq Tu Hi Tu
49
[{'concept': 'work of art'}, 'cast member', 'Aparajita Mohanty']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Aparajita_Mohanty . ?z rdf:type ontology:work_of_art }
[]