Simple Question (Direct)
Simple Question
Q1233467
P166
Q618779
USER
Which award was received by J. F. Oberlin ?
(Q1233467,P166,c(Q618779))
action filter_type
action find
entity Q1233467
relation P166
type Q618779
['Q1233467', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?b WHERE { resource:Q1233467 property:P166 ?b . ?b rdf:type ontology:Q618779 }
J. F. Oberlin
action filter_type
action find
entity J. F. Oberlin
relation award received
type award
['J. F. Oberlin', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?b WHERE { resource:J._F._Oberlin property:award_received ?b . ?b rdf:type ontology:award }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q1233467,P166,c(Q618779))
action filter_type
action find
entity Q1233467
relation P166
type Q618779
The [ANSWER] was received by J. F. Oberlin
['Q1233467', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?b WHERE { resource:Q1233467 property:P166 ?b . ?b rdf:type ontology:Q618779 }
Knight of the Legion of Honour
The Knight of the Legion of Honour was received by J. F. Oberlin
Knight of the Legion of Honour
action filter_type
action find
entity J. F. Oberlin
relation award received
type award
['J. F. Oberlin', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?b WHERE { resource:J._F._Oberlin property:award_received ?b . ?b rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1233467
P19
Q515
USER
Which city is the place of birth of that person ?
(Q10855271,P19,c(Q515))
action filter_type
action find
entity Q1233467
relation P19
type Q515
['Q10855271', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q1233467 property:P19 ?w . ?w rdf:type ontology:Q515 }
J. F. Oberlin
action filter_type
action find
entity J. F. Oberlin
relation place of birth
type city
['Knight of the Legion of Honour', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:J._F._Oberlin property:place_of_birth ?w . ?w rdf:type ontology:city }
[]
city
Q6602
SYSTEM
Strasbourg
Q6602
(Q10855271,P19,c(Q515))
action filter_type
action find
entity Q1233467
relation P19
type Q515
[ANSWER] is the place of birth of that person
['Q10855271', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q1233467 property:P19 ?w . ?w rdf:type ontology:Q515 }
Strasbourg
Strasbourg is the place of birth of that person
Strasbourg
action filter_type
action find
entity J. F. Oberlin
relation place of birth
type city
['Knight of the Legion of Honour', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:J._F._Oberlin property:place_of_birth ?w . ?w rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P159
Q515 Q874405 Q334453
USER
How many cities are the head offices of exactly 5 social groups or divisions ?
(c(Q874405)|c(Q334453),P159,c(Q515))
action count
action equal
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q874405
action find_reverse_tuple_counts
relation P159
type Q515
type Q334453
value 5
[[{'concept': 'Q874405'}, {'concept': 'Q334453'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { FILTER ( ?v = 5 ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?v ) WHERE { VALUES ( ?m ) { ( ontology:Q334453 ) ( ontology:Q874405 ) } . ?r rdf:type ?m } GROUP BY ?c } }
action count
action equal
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type social group
action find_reverse_tuple_counts
relation headquarters location
type city
type division
value 5
[[{'concept': 'social group'}, {'concept': 'division'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { FILTER ( ?v = 5 ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?v ) WHERE { VALUES ( ?m ) { ( ontology:division ) ( ontology:social_group ) } . ?r rdf:type ?m } GROUP BY ?c } }
[]
city social group division
SYSTEM
4
Q3870 Q1899 Q14960 Q19660
(c(Q874405)|c(Q334453),P159,c(Q515))
action count
action equal
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q874405
action find_reverse_tuple_counts
relation P159
type Q515
type Q334453
value 5
[ANSWER]
[[{'concept': 'Q874405'}, {'concept': 'Q334453'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { FILTER ( ?v = 5 ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?v ) WHERE { VALUES ( ?m ) { ( ontology:Q334453 ) ( ontology:Q874405 ) } . ?r rdf:type ?m } GROUP BY ?c } }
Nairobi Kyiv Brno Bucharest
4
action count
action equal
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type social group
action find_reverse_tuple_counts
relation headquarters location
type city
type division
value 5
[[{'concept': 'social group'}, {'concept': 'division'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { FILTER ( ?v = 5 ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?v ) WHERE { VALUES ( ?m ) { ( ontology:division ) ( ontology:social_group ) } . ?r rdf:type ?m } GROUP BY ?c } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q174461
P159
Q515 Q28640 Q874405
USER
Which cities are the headquarters of greater number of professions or social groups located than Ranchi ?
(c(Q28640)|c(Q874405),P159,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q28640
action find_reverse_tuple_counts
relation P159
type Q515
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q174461
relation P159
type Q28640
type Q874405
[[{'concept': 'Q28640'}, {'concept': 'Q874405'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?l ) WHERE { VALUES ( ?h ) { ( ontology:Q28640 ) ( ontology:Q874405 ) } . ?x rdf:type ?h } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:P159 resource:Q174461 . { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:Q28640 ) ( ontology:Q874405 ) } } } } . FILTER ( ?l > ?c ) }
Ranchi
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type profession
action find_reverse_tuple_counts
relation headquarters location
type city
type social group
action count
action filter_multi_types
action find_reverse
entity Ranchi
relation headquarters location
type profession
type social group
[[{'concept': 'profession'}, {'concept': 'social group'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?l ) WHERE { VALUES ( ?h ) { ( ontology:profession ) ( ontology:social_group ) } . ?x rdf:type ?h } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:headquarters_location resource:Ranchi . { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:profession ) ( ontology:social_group ) } } } } . FILTER ( ?l > ?c ) }
[]
city profession social group
Q1486 Q1773 Q1899
SYSTEM
Buenos Aires, Riga, Kyiv
Q3870 Q17042 Q10393 Q664895 Q3624 Q209785 Q2427117 Q14932 Q7473516 Q18575 Q2135 Q2887 Q3926 Q23482 Q5838 Q3692 Q19689 Q3104 Q1899 Q1410 Q14960 Q1794 Q5088 Q1486 Q2966 Q179608 Q1461 Q213263 Q386635 Q10389 Q23430 Q1362 Q182378 Q1519 Q8684 Q163888 Q6602 Q23661 Q1731 Q43433 Q641491 Q3859 Q19660 Q3915 Q9005 Q62723 Q820496 Q8652 Q3004 Q26600 Q34261 Q1953 Q1475 Q1773 Q1858 Q2096 Q3787 Q696407 Q182852 Q68481 Q47916 Q80484 Q1508 Q34217 Q11194 Q2119 Q1720 Q1721 Q3861 Q2844 Q1863 Q1865 Q999916 Q42622 Q1355 Q242885 Q1761 Q236197 Q269634 Q456 Q210628 Q2833 Q485176 Q3616 Q386661 Q1533 Q1530 Q1844 Q23768 Q16666
(c(Q28640)|c(Q874405),P159,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q28640
action find_reverse_tuple_counts
relation P159
type Q515
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q174461
relation P159
type Q28640
type Q874405
[ANSWERS] are the headquarters of greater number of professions or social groups located than Ranchi
[[{'concept': 'Q28640'}, {'concept': 'Q874405'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?l ) WHERE { VALUES ( ?h ) { ( ontology:Q28640 ) ( ontology:Q874405 ) } . ?x rdf:type ?h } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:P159 resource:Q174461 . { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:Q28640 ) ( ontology:Q874405 ) } } } } . FILTER ( ?l > ?c ) }
Nairobi Oakland Bogor Uherský Brod Addis Ababa Ichikawa Mníšek pod Brdy Langen (Hessen) Tokyo Tucson Winnipeg Santiago Pretoria Marseille Kabul Riyadh Tirana Koblenz Kyiv Gibraltar Brno Frankfurt Durgapur Buenos Aires Heidelberg Nanning Manila Tama City Hikone Bandung Ulaanbaatar Islamabad Putrajaya Abu Dhabi Seoul Ageo Strasbourg Wellington Dresden Chandigarh Kakamigahara Kigali Bucharest Antananarivo Brussels General Trias Kōnan Miami Ingolstadt Fukuoka Port-au-Prince Yerevan Quezon City Riga Hanoi Edmonton Abuja Hakusan Kunming Fuzhou Lucknow Patna Makati Oxford Sarajevo Mannheim Mainz Wiesbaden Doha Brasília Andorra la Vella Kuala Lumpur Vysoké Mýto Suzhou Bangalore Mitaka City Dublin Hino City Tachikawa City Lyon Machida City Freiburg im Breisgau Pasadena Tehran Fujisawa Caracas Baghdad Vaduz Las Vegas Nanjing
Buenos Aires, Riga and Kyiv are the headquarters of greater number of professions or social groups located than Ranchi
Buenos Aires Riga Kyiv
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type profession
action find_reverse_tuple_counts
relation headquarters location
type city
type social group
action count
action filter_multi_types
action find_reverse
entity Ranchi
relation headquarters location
type profession
type social group
[[{'concept': 'profession'}, {'concept': 'social group'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?l ) WHERE { VALUES ( ?h ) { ( ontology:profession ) ( ontology:social_group ) } . ?x rdf:type ?h } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:headquarters_location resource:Ranchi . { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:profession ) ( ontology:social_group ) } } } } . FILTER ( ?l > ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q855059
P159
Q515 Q28640 Q874405
USER
And how about Sakaide?
(c(Q28640)|c(Q874405),P159,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q28640
action find_reverse_tuple_counts
relation P159
type Q515
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q855059
relation P159
type Q28640
type Q874405
[[{'concept': 'Q28640'}, {'concept': 'Q874405'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?g WHERE { { ?i property:P159 ?g . ?i rdf:type ontology:Q28640 . ?g rdf:type ontology:Q515 } UNION { ?i property:P159 ?g . ?g rdf:type ontology:Q515 . ?i rdf:type ontology:Q874405 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { { { ?u rdf:type ontology:Q874405 } UNION { ?u rdf:type ontology:Q28640 } } . ?u property:P159 resource:Q855059 } } . FILTER ( ?r > ?b ) }
Sakaide
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type profession
action find_reverse_tuple_counts
relation headquarters location
type city
type social group
action count
action filter_multi_types
action find_reverse
entity Sakaide
relation headquarters location
type profession
type social group
[[{'concept': 'profession'}, {'concept': 'social group'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?g WHERE { { ?i property:headquarters_location ?g . ?i rdf:type ontology:profession . ?g rdf:type ontology:city } UNION { ?i property:headquarters_location ?g . ?g rdf:type ontology:city . ?i rdf:type ontology:social_group } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { { { ?u rdf:type ontology:social_group } UNION { ?u rdf:type ontology:profession } } . ?u property:headquarters_location resource:Sakaide } } . FILTER ( ?r > ?b ) }
[]
city profession social group
Q1486 Q1773 Q1899
SYSTEM
Buenos Aires, Riga, Kyiv
Q3870 Q17042 Q10393 Q664895 Q3624 Q209785 Q2427117 Q14932 Q7473516 Q18575 Q2135 Q2887 Q3926 Q23482 Q5838 Q3692 Q19689 Q3104 Q1899 Q1410 Q14960 Q1794 Q5088 Q1486 Q2966 Q179608 Q1461 Q213263 Q386635 Q10389 Q23430 Q1362 Q182378 Q1519 Q8684 Q163888 Q6602 Q23661 Q1731 Q43433 Q641491 Q3859 Q19660 Q3915 Q9005 Q62723 Q820496 Q8652 Q3004 Q26600 Q34261 Q1953 Q1475 Q1773 Q1858 Q2096 Q3787 Q696407 Q182852 Q68481 Q47916 Q80484 Q1508 Q34217 Q11194 Q2119 Q1720 Q1721 Q3861 Q2844 Q1863 Q1865 Q999916 Q42622 Q1355 Q242885 Q1761 Q236197 Q269634 Q456 Q210628 Q2833 Q485176 Q3616 Q386661 Q1533 Q1530 Q1844 Q23768 Q16666
(c(Q28640)|c(Q874405),P159,c(Q515))
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q28640
action find_reverse_tuple_counts
relation P159
type Q515
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q855059
relation P159
type Q28640
type Q874405
[ANSWERS]
[[{'concept': 'Q28640'}, {'concept': 'Q874405'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?g WHERE { { ?i property:P159 ?g . ?i rdf:type ontology:Q28640 . ?g rdf:type ontology:Q515 } UNION { ?i property:P159 ?g . ?g rdf:type ontology:Q515 . ?i rdf:type ontology:Q874405 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { { { ?u rdf:type ontology:Q874405 } UNION { ?u rdf:type ontology:Q28640 } } . ?u property:P159 resource:Q855059 } } . FILTER ( ?r > ?b ) }
Nairobi Oakland Bogor Uherský Brod Addis Ababa Ichikawa Mníšek pod Brdy Langen (Hessen) Tokyo Tucson Winnipeg Santiago Pretoria Marseille Kabul Riyadh Tirana Koblenz Kyiv Gibraltar Brno Frankfurt Durgapur Buenos Aires Heidelberg Nanning Manila Tama City Hikone Bandung Ulaanbaatar Islamabad Putrajaya Abu Dhabi Seoul Ageo Strasbourg Wellington Dresden Chandigarh Kakamigahara Kigali Bucharest Antananarivo Brussels General Trias Kōnan Miami Ingolstadt Fukuoka Port-au-Prince Yerevan Quezon City Riga Hanoi Edmonton Abuja Hakusan Kunming Fuzhou Lucknow Patna Makati Oxford Sarajevo Mannheim Mainz Wiesbaden Doha Brasília Andorra la Vella Kuala Lumpur Vysoké Mýto Suzhou Bangalore Mitaka City Dublin Hino City Tachikawa City Lyon Machida City Freiburg im Breisgau Pasadena Tehran Fujisawa Caracas Baghdad Vaduz Las Vegas Nanjing
Buenos Aires Riga Kyiv
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type profession
action find_reverse_tuple_counts
relation headquarters location
type city
type social group
action count
action filter_multi_types
action find_reverse
entity Sakaide
relation headquarters location
type profession
type social group
[[{'concept': 'profession'}, {'concept': 'social group'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?g WHERE { { ?i property:headquarters_location ?g . ?i rdf:type ontology:profession . ?g rdf:type ontology:city } UNION { ?i property:headquarters_location ?g . ?g rdf:type ontology:city . ?i rdf:type ontology:social_group } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { { { ?u rdf:type ontology:social_group } UNION { ?u rdf:type ontology:profession } } . ?u property:headquarters_location resource:Sakaide } } . FILTER ( ?r > ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q502895 Q838948
USER
How many awards were around 177 people or works of art a recipient of ?
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
value 177
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { FILTER ( ?z = 177 ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?z ) WHERE { VALUES ( ?f ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } . ?k rdf:type ?f } GROUP BY ?g } }
action count
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
value 177
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { FILTER ( ?z = 177 ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?z ) WHERE { VALUES ( ?f ) { ( ontology:common_name ) ( ontology:work_of_art ) } . ?k rdf:type ?f } GROUP BY ?g } }
[]
award common name work of art
SYSTEM
14
Q7821796 Q640374 Q1723064 Q1445521 Q645595 Q377293 Q1043985 Q1537996 Q627778 Q13449461 Q185299 Q1474410 Q24137 Q3993187
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
value 177
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { FILTER ( ?z = 177 ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?z ) WHERE { VALUES ( ?f ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } . ?k rdf:type ?f } GROUP BY ?g } }
Tony Award for Best Lighting Design Tony Award for Best Direction of a Play Tony Award for Best Actor in a Musical Tony Award for Best Actor in a Play César Award for Best Film Tony Award for Best Direction of a Musical Carnegie Medal Tony Award for Best Actress in a Musical Tony Award for Best Featured Actress in a Play Tony Award for Best Scenic Design Tony Award for Best Actress in a Play Tony Award for Best Featured Actor in a Play César Award for Best Director Tony Award for Best Costume Design
14
action count
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
value 177
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { FILTER ( ?z = 177 ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?z ) WHERE { VALUES ( ?f ) { ( ontology:common_name ) ( ontology:work_of_art ) } . ?k rdf:type ?f } GROUP BY ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1899
P190
Q515
USER
Which cities are partner towns of Kyiv ?
(Q1899,P190,c(Q515))
action filter_type
action find
entity Q1899
relation P190
type Q515
['Q1899', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q515 . resource:Q1899 property:P190 ?b }
Kyiv
action filter_type
action find
entity Kyiv
relation sister city
type city
['Kyiv', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:city . resource:Kyiv property:sister_city ?b }
[]
city
Q1486 Q1773 Q42622
SYSTEM
Buenos Aires, Riga, Suzhou
Q42622 Q2887 Q1953 Q19689 Q2079 Q3926 Q1486 Q1773
(Q1899,P190,c(Q515))
action filter_type
action find
entity Q1899
relation P190
type Q515
[ANSWERS] are partner towns of Kyiv
['Q1899', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q515 . resource:Q1899 property:P190 ?b }
Suzhou Santiago Yerevan Tirana Leipzig Pretoria Buenos Aires Riga
Buenos Aires, Riga and Suzhou are partner towns of Kyiv
Buenos Aires Riga Suzhou
action filter_type
action find
entity Kyiv
relation sister city
type city
['Kyiv', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:city . resource:Kyiv property:sister_city ?b }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1486 Q1773 Q42622
P190
Q56061
USER
Which administrative territories are sister town of those cities ?
(c(Q56061),P190,Q1486) (c(Q56061),P190,Q1773) (c(Q56061),P190,Q42622)
action filter_type
action find
entity prev_answer
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q1486'] [{'concept': 'Q56061'}, 'P190', 'Q1773'] [{'concept': 'Q56061'}, 'P190', 'Q42622']
SELECT DISTINCT ?d WHERE { ?h property:P190 ?d . ?d rdf:type ontology:Q56061 . VALUES ( ?h ) { ( resource:Q42622 ) ( resource:Q2887 ) ( resource:Q1953 ) } }
Buenos Aires Riga Suzhou
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Buenos Aires'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Riga'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Suzhou']
SELECT DISTINCT ?d WHERE { ?h property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity . VALUES ( ?h ) { ( resource:Suzhou ) ( resource:Santiago ) ( resource:Yerevan ) } }
[]
administrative territorial entity
Q1085 Q649 Q649
SYSTEM
Moscow for 2nd, 3rd, Prague for 1st
Q14314 Q10400 Q7880 Q1524 Q1930 Q34370 Q2807 Q8692 Q956 Q2868 Q1492 Q1218 Q1085 Q15695 Q649 Q15682 Q628 Q270 Q13678 Q34820 Q1335 Q2656 Q2634 Q490 Q33935 Q174 Q3766 Q3711 Q5465 Q40269 Q597 Q518431 Q1449 Q1897 Q8717 Q71 Q8745 Q25395 Q64 Q1489 Q3820 Q84 Q85 Q406 Q8678 Q244324 Q1520 Q956 Q13972 Q727 Q35493 Q2861 Q180233 Q649 Q16557 Q216 Q270 Q25410 Q1770 Q1754 Q2044 Q189133 Q2280 Q25724 Q48320 Q211907 Q1867 Q1026270 Q16635 Q11959 Q1479 Q429864 Q208893 Q217156 Q16568 Q983845 Q1289 Q26234 Q2397257 Q184345 Q1663450 Q641 Q200731 Q42140 Q42150 Q47887 Q42126 Q189128 Q6106 Q40269 Q838791 Q2132 Q986336 Q3834 Q802
(c(Q56061),P190,Q1486) (c(Q56061),P190,Q1773) (c(Q56061),P190,Q42622)
action filter_type
action find
entity prev_answer
relation P190
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P190', 'Q1486'] [{'concept': 'Q56061'}, 'P190', 'Q1773'] [{'concept': 'Q56061'}, 'P190', 'Q42622']
SELECT DISTINCT ?d WHERE { ?h property:P190 ?d . ?d rdf:type ontology:Q56061 . VALUES ( ?h ) { ( resource:Q42622 ) ( resource:Q2887 ) ( resource:Q1953 ) } }
Santiago de Compostela Almería Toulouse Athens Ottawa Rotterdam Madrid Bilbao Beijing Lima Barcelona Jerusalem Prague Salamanca Moscow Cádiz Bergamo Warsaw Agrigento Santo Domingo Montevideo Palermo Naples Milan Tel Aviv São Paulo Damascus Belgrade Cape Town Porto Alegre Lisbon Chimbote Genoa Cagliari Seville Geneva Vigo Newark Berlin Mexico City Beirut London Cairo Istanbul Rio de Janeiro Guadix Astana Beijing Tartu Amsterdam Almaty Rostock Pori Moscow Dallas Vilnius Warsaw Aalborg Tallinn Stockholm Florence Cairns Minsk Norrköping Kōbe Slough Taipei Paita Guam Alicante Bordeaux Riihimäki Bourgoin-Jallieu Ismaïlia Jacksonville South El Monte Grenoble Esbjerg Taupo Viña del Mar Portland Venice Tottori Jeonju Taebaek Nijmegen Yeongju León Portland Porto Alegre Whittier Victoria Grootfontein Konstanz Nowy Sącz
Prague, Moscow and Moscow are sister town of those cities
Prague Moscow Moscow
action filter_type
action find
entity prev_answer
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Buenos Aires'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Riga'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Suzhou']
SELECT DISTINCT ?d WHERE { ?h property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity . VALUES ( ?h ) { ( resource:Suzhou ) ( resource:Santiago ) ( resource:Yerevan ) } }
[]