Simple Question (Direct)
Simple Question
Q3432722
P19
Q515
USER
Which city is the place of birth of Hugues Wembangomo ?
(Q3432722,P19,c(Q515))
action filter_type
action find
entity Q3432722
relation P19
type Q515
['Q3432722', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { resource:Q3432722 property:P19 ?a . ?a rdf:type ontology:Q515 }
Hugues Wembangomo
action filter_type
action find
entity Hugues Wembangomo
relation place of birth
type city
['Hugues Wembangomo', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { resource:Hugues_Wembangomo property:place_of_birth ?a . ?a rdf:type ontology:city }
[]
city
Q3838
SYSTEM
Kinshasa
Q3838
(Q3432722,P19,c(Q515))
action filter_type
action find
entity Q3432722
relation P19
type Q515
[ANSWER]
['Q3432722', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { resource:Q3432722 property:P19 ?a . ?a rdf:type ontology:Q515 }
Kinshasa
Kinshasa
action filter_type
action find
entity Hugues Wembangomo
relation place of birth
type city
['Hugues Wembangomo', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { resource:Hugues_Wembangomo property:place_of_birth ?a . ?a rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3432722
P641
Q349
USER
What was the sport that Hugues Wembangomo was a part of ?
(Q3432722,P641,c(Q349))
action filter_type
action find
entity Q3432722
relation P641
type Q349
['Q3432722', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q3432722 property:P641 ?s . ?s rdf:type ontology:Q349 }
Hugues Wembangomo
action filter_type
action find
entity Hugues Wembangomo
relation sport
type sport
['Hugues Wembangomo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Hugues_Wembangomo property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3432722,P641,c(Q349))
action filter_type
action find
entity Q3432722
relation P641
type Q349
[ANSWER]
['Q3432722', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q3432722 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Hugues Wembangomo
relation sport
type sport
['Hugues Wembangomo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Hugues_Wembangomo property:sport ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3838
P937
Q502895
USER
Who are an people who works at Kinshasa ?
(c(Q502895),P937,Q3838)
action filter_type
action find_reverse
entity Q3838
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q3838']
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q3838 . ?l rdf:type ontology:Q502895 }
Kinshasa
action filter_type
action find_reverse
entity Kinshasa
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Kinshasa']
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:Kinshasa . ?l rdf:type ontology:common_name }
[]
common name
Q27559555 Q275723 Q554375
SYSTEM
Jacques Rial, Claudine André, Laurent Monsengwo Pasinya
Q27559555 Q275723 Q554375
(c(Q502895),P937,Q3838)
action filter_type
action find_reverse
entity Q3838
relation P937
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P937', 'Q3838']
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q3838 . ?l rdf:type ontology:Q502895 }
Jacques Rial Claudine André Laurent Monsengwo Pasinya
Jacques Rial Claudine André Laurent Monsengwo Pasinya
action filter_type
action find_reverse
entity Kinshasa
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Kinshasa']
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:Kinshasa . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3838
P190
Q515
USER
Which cities are sister town of that one ?
(c(Q515),P190,Q27559555) (c(Q515),P190,Q275723) (c(Q515),P190,Q554375)
action filter_type
action find
entity Q3838
relation P190
type Q515
[{'concept': 'Q515'}, 'P190', 'Q27559555'] [{'concept': 'Q515'}, 'P190', 'Q275723'] [{'concept': 'Q515'}, 'P190', 'Q554375']
SELECT DISTINCT ?g WHERE { resource:Q3838 property:P190 ?g . ?g rdf:type ontology:Q515 }
Kinshasa
action filter_type
action find
entity Kinshasa
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Jacques Rial'] [{'concept': 'city'}, 'sister city', 'Claudine André'] [{'concept': 'city'}, 'sister city', 'Laurent Monsengwo Pasinya']
SELECT DISTINCT ?g WHERE { resource:Kinshasa property:sister_city ?g . ?g rdf:type ontology:city }
[]
city
Q3616 Q9005
SYSTEM
Tehran, Brussels
Q3616 Q9005
(c(Q515),P190,Q27559555) (c(Q515),P190,Q275723) (c(Q515),P190,Q554375)
action filter_type
action find
entity Q3838
relation P190
type Q515
[ANSWERS]
[{'concept': 'Q515'}, 'P190', 'Q27559555'] [{'concept': 'Q515'}, 'P190', 'Q275723'] [{'concept': 'Q515'}, 'P190', 'Q554375']
SELECT DISTINCT ?g WHERE { resource:Q3838 property:P190 ?g . ?g rdf:type ontology:Q515 }
Tehran Brussels
Tehran Brussels
action filter_type
action find
entity Kinshasa
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Jacques Rial'] [{'concept': 'city'}, 'sister city', 'Claudine André'] [{'concept': 'city'}, 'sister city', 'Laurent Monsengwo Pasinya']
SELECT DISTINCT ?g WHERE { resource:Kinshasa property:sister_city ?g . ?g rdf:type ontology:city }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P6
Q502895 Q515
USER
How many cities are around the same number of people the head of the goverment of as that city ?
(c(Q515),P6,c(Q502895))
[{'concept': 'Q515'}, 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q2285706 ?y . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q502895 }
[{'concept': 'city'}, 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:head_of_government ?y . ?z rdf:type ontology:city . ?y rdf:type ontology:common_name }
[]
common name city
Comparative|Count over More/Less|Single entity type|Clarification
Q9005
SYSTEM
Did you mean Brussels ?
(c(Q515),P6,c(Q502895))
[ANSWER]
[{'concept': 'Q515'}, 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q2285706 ?y . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q502895 }
Did you mean Brussels ?
Brussels
[{'concept': 'city'}, 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:head_of_government ?y . ?z rdf:type ontology:city . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Tehran. Could you tell me the answer for that?
(c(Q515),P6,c(Q502895))
Q3616
[{'concept': 'Q515'}, 'P6', {'concept': 'Q502895'}]
[{'concept': 'city'}, 'head of government', {'concept': 'common name'}]
[]
SYSTEM
401
Q944051 Q1711 Q1279557 Q392692 Q841296 Q3974 Q739444 Q777619 Q169127 Q850982 Q835227 Q11736 Q341777 Q275645 Q275642 Q276128 Q850962 Q17042 Q4024 Q732851 Q851048 Q571769 Q10396 Q664895 Q837968 Q1722954 Q837960 Q3624 Q209782 Q320950 Q2092257 Q250006 Q275810 Q1006796 Q1018184 Q518992 Q376233 Q660417 Q679428 Q14932 Q1018204 Q765841 Q1321460 Q1632454 Q1019349 Q590443 Q896422 Q276083 Q20934 Q3573941 Q668695 Q917888 Q839796 Q502993 Q430864 Q1645575 Q748068 Q743752 Q385070 Q789811 Q197687 Q576804 Q834101 Q935846 Q1623 Q629776 Q147738 Q2135 Q43196 Q750220 Q851001 Q1456612 Q912224 Q851007 Q1008686 Q11462 Q1744198 Q247807 Q3214 Q275990 Q526019 Q375371 Q275997 Q668701 Q16520 Q756593 Q756590 Q756596 Q167792 Q276145 Q423371 Q791387 Q756578 Q3104 Q394453 Q2910 Q373804 Q978707 Q1899 Q1410 Q899448 Q507846 Q3846983 Q1015933 Q851409 Q9085 Q630358 Q584825 Q248018 Q1486 Q2966 Q331577 Q1461 Q1010144 Q623549 Q265012 Q207196 Q276152 Q751352 Q737830 Q169135 Q5540 Q431111 Q1000078 Q641218 Q117676 Q829051 Q1844 Q10389 Q986077 Q946893 Q214956 Q320943 Q736276 Q168921 Q593157 Q851021 Q167668 Q1519 Q8684 Q330302 Q999961 Q837157 Q837154 Q837152 Q393426 Q6602 Q276135 Q276137 Q638306 Q276132 Q253872 Q23661 Q615138 Q14819 Q313689 Q193721 Q1476819 Q104036 Q987496 Q8652 Q180379 Q276009 Q305001 Q772576 Q166829 Q276004 Q341056 Q341053 Q589880 Q548575 Q851037 Q305182 Q749283 Q7027 Q587746 Q383085 Q3857 Q1000101 Q602184 Q1008696 Q899461 Q209977 Q764806 Q275981 Q390156 Q533078 Q596609 Q655818 Q1935413 Q3958 Q1953 Q954808 Q954611 Q368796 Q253825 Q803706 Q383850 Q775799 Q328647 Q3185 Q771191 Q592497 Q1761692 Q325732 Q837167 Q488869 Q837161 Q276164 Q556266 Q666373 Q591285 Q276168 Q276042 Q2978 Q221214 Q2973 Q203929 Q930102 Q1475 Q1473 Q1773 Q1478 Q14821 Q899427 Q179297 Q737276 Q3955 Q2079 Q6829 Q851042 Q778516 Q143664 Q1000046 Q164471 Q325555 Q252061 Q586387 Q912204 Q761439 Q1258284 Q2002875 Q513417 Q610341 Q899454 Q548502 Q75537 Q535516 Q754721 Q4174 Q597011 Q386651 Q746111 Q267708 Q1826 Q1018863 Q850676 Q682361 Q191097 Q1231003 Q1023875 Q789233 Q3042 Q3046 Q594275 Q276120 Q276127 Q1019365 Q678884 Q2749 Q854597 Q193719 Q523469 Q325736 Q4007 Q210667 Q584531 Q158257 Q656603 Q987487 Q276156 Q276154 Q186719 Q3852 Q755698 Q2119 Q191120 Q1008737 Q1643 Q851029 Q1645 Q899551 Q386888 Q44244 Q850992 Q280364 Q283862 Q850974 Q1676863 Q941061 Q935834 Q2203 Q851056 Q292769 Q585548 Q508313 Q304189 Q639520 Q42622 Q1720340 Q7003 Q794200 Q2198771 Q899467 Q386945 Q855187 Q923254 Q226000 Q10860283 Q855721 Q59100 Q740863 Q592480 Q837170 Q596043 Q837173 Q521108 Q275895 Q423441 Q275890 Q276119 Q373707 Q612815 Q6343 Q666521 Q276336 Q986082 Q843039 Q1564700 Q963829 Q855719 Q954569 Q570113 Q727383 Q568376 Q890949 Q1001501 Q386988 Q508057 Q456 Q1022962 Q851013 Q2833 Q898468 Q383306 Q485176 Q217131 Q924085 Q3936 Q1013909 Q3200 Q3616 Q75504 Q738013 Q518360 Q183111 Q651322 Q906711 Q682544 Q756585 Q292759 Q158245 Q169064 Q1017982 Q926163 Q1533 Q167121 Q275910 Q591823 Q1010667 Q23768 Q650981 Q1641712 Q1641717 Q147816 Q392429 Q727421 Q276117 Q225100 Q423414 Q303478 Q386091 Q275904 Q508670 Q276141 Q1298137 Q125604 Q276146 Q213296 Q16666 Q186214
(c(Q515),P6,c(Q502895))
[ANSWER]
[{'concept': 'Q515'}, 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q2285706 ?y . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q502895 }
Horní Jiřetín Potsdam Rajhrad Šumperk Příbram Landshut Topoloveni Strehaia Chitila Curtici Ineu Tianjin Čáslav Fierbinți-Târg Roznov Frasin Copșa Mică Oakland Frankfurt (Oder) Mioveni Făget Boldești-Scăeni Depok Uherský Brod Băile Tușnad Kamenický Šenov Năvodari Addis Ababa Borșa Trutnov Rožmitál pod Třemšínem Slănic-Moldova Cajvana Făurei Cavnic Călan Săcueni Jibou Tălmaciu Langen (Hessen) Slănic Urlați Králíky Hrotovice Olešnice Balș Boží Dar Potcoava Incheon Săliște Frenštát pod Radhoštěm Vinaròs Borsec Uherské Hradiště Nymburk Kostelec nad Orlicí Hârșova Odobești Burriana Bălan Miercurea Sibiului Mărășești Bolintin-Vale Vlăhița Valenzuela Vânju Mare Saint Helier Winnipeg Cincinnati Huedin Măcin Mladá Vožice Techirghiol Deta Ivančice Surabaya Kladruby Săveni Cottbus Răcari Brezoi Călimănești Ardud Tășnad Busan Târgu Neamț Comănești Filiași Sărmașu Vicovu de Sus Ștei Avrig Târgu Frumos Koblenz Žďár nad Sázavou Ludwigshafen Telč Hořovice Kyiv Gibraltar Negrești Sebiș Șimleu Silvaniei Moravský Beroun Budești Mandaluyong Sedlčany Scornicești Isaccea Buenos Aires Heidelberg Abrud Manila Hluboká nad Vltavou Puerto de la Cruz Bușteni Zlatna Dragomirești Plopeni Mizil Pantelimon Penza Nejdek Moravská Třebová Videle Viseu Moldova Nouă Vaduz Bandung Frýdlant Teiuș Znojmo Matsudo Cernavodă Bragadiru Murfatlar Pâncota Liepāja Abu Dhabi Seoul Úsov Jaroměř Covasna Simeria Ocna Mureș Žatec Strasbourg Dăbuleni Milișăuți Hranice Pecica Bechet Wellington Soběslav Freiberg Agnita Tábor Valašské Klobouky Ventspils Kralupy nad Vltavou Miami Rēzekne Amara Negru Vodă Negrești-Oaș Miercurea Nirajului Murgeni Česká Třebová Česká Skalice Pucioasa Aninoasa Comarnic Dărmănești San Juan Straubing Siret Oravița Wilhelmshaven Vlašim Solca Rožnov pod Radhoštěm Horezu Ștefănești Rovinari Podu Iloaiei Petrila Baraolt Vișeu de Sus Buziaș Nová Bystřice Neubrandenburg Yerevan Kaplice Jeseník Jilemnice Salcea Baia Sprie Litovel Baia de Arieș Sulina Hildesheim Berești Vălenii de Munte Osečná Gătaia Hațeg Benalmádena Sânnicolau Mare Căzănești Târgu Ocna Seini Piatra-Olt Pătârlagele Băneasa Regensburg Cugir Darmstadt Zimnicea Tăuții-Măgherăuș Quezon City Davao City Riga Caloocan Coburg Iernut Nehoiu Cehu Silvaniei Weimar Leipzig Speyer Hârlău Baia de Aramă Dvůr Králové nad Labem Kuřim Jiřetín pod Jedlovou Recaș Valea lui Mihai Eforie Lehliu Gară Moravský Krumlov Raspenava Týniště nad Orlicí Vsetín Pogoanele Panciu Anina Oțelu Roșu Azuga Corabia Emden Slušovice Iwata Pacov Sovata Tagbilaran Chýnov Blansko Uničov Tachov Cocentaina Hustopeče Balassagyarmat Offenbach am Main Pforzheim General Santos Ulmeni Bălcești Hronov Fieni Augsburg Bečov nad Teplou Cheb Mariánské Lázně Ciacova Rosenheim Chōfu Bumbești-Jiu Hlučín Jičín Ostrov Berbești Ștefănești Ocna Sibiului Worms Svitavy Mannheim Jēkabpils Semily Taguig Aleșd Cagayan de Oro Ianca Târgu Lăpuș Santa Fe Costești Titu Băicoi Segarcea Jablonec nad Jizerou Bystřice pod Hostýnem Sângeorz-Băi Arica Cristuru Secuiesc Întorsura Buzăului Ocnele Mari Nădlac Strážnice Voluntari Suzhou Rokytnice v Orlických horách Dijon Beclean Măgurele Darabani Babadag Câmpeni Fundulea Jimbolia Broșteni Băile Olănești Shantou Česká Lípa Târgu Bujor Gura Humorului Ovidiu Cisnădie Dumbrăveni Șomcuta Mare Țăndărei Băbeni Liteni Luduș Garachico Carthage Târgu Cărbunești Livada Litvínov Veresegyház Lišov Mihăilești Băile Govora Vyškov Uricani Sokolov Breaza Bohumín Budišov nad Budišovkou Říčany Drăgănești-Olt Lyon Velká Bystřice Vașcău Freiburg im Breisgau Brandýs nad Labem-Stará Boleslav Tismana Pasadena Buftea Horní Slavkov Bamberg Slaný Salzgitter Tehran Bocșa Xàtiva Bílina Jihlava Năsăud Nucet Mikulov Buhuși Însurăței Písek Sângeorgiu de Pădure Geoagiu Popești-Leordeni Caracas Ungheni Sântana Náchod Mšeno Las Vegas Băile Herculane Spálené Poříčí Kostelec nad Černými lesy Harrachov Šternberk Otopeni Dolhasca Bicaz Țicleni Kravaře Novaci Flămânzi Chișineu-Criș Săliștea de Sus Sadská Găești Bucecea Sinaia Nanjing Turceni
401
[{'concept': 'city'}, 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:head_of_government ?y . ?z rdf:type ontology:city . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P190
Q486972 Q15617994 Q515
USER
Which cities are sister town of max number of human settlements or administrative territories ?
(c(Q515),P190,c(Q486972)|c(Q15617994))
action argmax
action union
action find_tuple_counts
relation P190
type Q515
type Q486972
action find_tuple_counts
relation P190
type Q515
type Q15617994
[{'concept': 'Q515'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?d ) { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?v ) { ( ontology:Q486972 ) ( ontology:Q15617994 ) } . ?k rdf:type ?v } GROUP BY ?c } } . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?t ) WHERE { { ?x property:P190 ?o . ?x rdf:type ontology:Q515 . ?o rdf:type ontology:Q486972 } UNION { ?x property:P190 ?o . ?x rdf:type ontology:Q515 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?x } . FILTER ( ?t = ?d ) }
action argmax
action union
action find_tuple_counts
relation sister city
type city
type human settlement
action find_tuple_counts
relation sister city
type city
type designation for an administrative territorial entity
[{'concept': 'city'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?d ) { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?v ) { ( ontology:human_settlement ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?k rdf:type ?v } GROUP BY ?c } } . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?t ) WHERE { { ?x property:sister_city ?o . ?x rdf:type ontology:city . ?o rdf:type ontology:human_settlement } UNION { ?x property:sister_city ?o . ?x rdf:type ontology:city . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?x } . FILTER ( ?t = ?d ) }
[]
human settlement designation for an administrative territorial entity city
Q52607
SYSTEM
Mar del Plata
Q52607
(c(Q515),P190,c(Q486972)|c(Q15617994))
action argmax
action union
action find_tuple_counts
relation P190
type Q515
type Q486972
action find_tuple_counts
relation P190
type Q515
type Q15617994
[ANSWER]
[{'concept': 'Q515'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?d ) { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?v ) { ( ontology:Q486972 ) ( ontology:Q15617994 ) } . ?k rdf:type ?v } GROUP BY ?c } } . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?t ) WHERE { { ?x property:P190 ?o . ?x rdf:type ontology:Q515 . ?o rdf:type ontology:Q486972 } UNION { ?x property:P190 ?o . ?x rdf:type ontology:Q515 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?x } . FILTER ( ?t = ?d ) }
Mar del Plata
Mar del Plata
action argmax
action union
action find_tuple_counts
relation sister city
type city
type human settlement
action find_tuple_counts
relation sister city
type city
type designation for an administrative territorial entity
[{'concept': 'city'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?d ) { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?v ) { ( ontology:human_settlement ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?k rdf:type ?v } GROUP BY ?c } } . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?t ) WHERE { { ?x property:sister_city ?o . ?x rdf:type ontology:city . ?o rdf:type ontology:human_settlement } UNION { ?x property:sister_city ?o . ?x rdf:type ontology:city . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?x } . FILTER ( ?t = ?d ) }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q52607 Q5261325 Q1563
P190
Q56061
USER
Is that city twin city of Deralavi and Havana ?
(Q52607,P190,Q5261325) (Q52607,P190,Q1563)
action is_in
entity Q52607
action intersection
action find_reverse
entity Q5261325
relation P190
action find_reverse
entity Q1563
relation P190
['Q52607', 'P190', 'Q5261325'] ['Q52607', 'P190', 'Q1563']
ASK WHERE { resource:Q52607 property:P190 resource:Q1563 . resource:Q52607 property:P190 resource:Q5261325 }
Mar del Plata Deralavi Havana
action is_in
entity Mar del Plata
action intersection
action find_reverse
entity Deralavi
relation sister city
action find_reverse
entity Havana
relation sister city
['Mar del Plata', 'sister city', 'Deralavi'] ['Mar del Plata', 'sister city', 'Havana']
ASK WHERE { resource:Mar_del_Plata property:sister_city resource:Havana . resource:Mar_del_Plata property:sister_city resource:Deralavi }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q52607,P190,Q5261325) (Q52607,P190,Q1563)
action is_in
entity Q52607
action intersection
action find_reverse
entity Q5261325
relation P190
action find_reverse
entity Q1563
relation P190
[ANSWER]
['Q52607', 'P190', 'Q5261325'] ['Q52607', 'P190', 'Q1563']
ASK WHERE { resource:Q52607 property:P190 resource:Q1563 . resource:Q52607 property:P190 resource:Q5261325 }
NO and YES respectively
action is_in
entity Mar del Plata
action intersection
action find_reverse
entity Deralavi
relation sister city
action find_reverse
entity Havana
relation sister city
['Mar del Plata', 'sister city', 'Deralavi'] ['Mar del Plata', 'sister city', 'Havana']
ASK WHERE { resource:Mar_del_Plata property:sister_city resource:Havana . resource:Mar_del_Plata property:sister_city resource:Deralavi }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3616
P915
Q838948
USER
Which works of art were filmed at Tehran ?
(c(Q838948),P915,Q3616)
action filter_type
action find_reverse
entity Q3616
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q3616']
SELECT DISTINCT ?f WHERE { ?f property:P915 resource:Q3616 . ?f rdf:type ontology:Q838948 }
Tehran
action filter_type
action find_reverse
entity Tehran
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Tehran']
SELECT DISTINCT ?f WHERE { ?f property:filming_location resource:Tehran . ?f rdf:type ontology:work_of_art }
[]
work of art
Q640561 Q339804 Q794178
SYSTEM
A Separation, Children of Heaven, Taste of Cherry
Q2507766 Q3126570 Q14755288 Q794178 Q608074 Q3228047 Q5963898 Q3541864 Q339804 Q640561
(c(Q838948),P915,Q3616)
action filter_type
action find_reverse
entity Q3616
relation P915
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P915', 'Q3616']
SELECT DISTINCT ?f WHERE { ?f property:P915 resource:Q3616 . ?f rdf:type ontology:Q838948 }
Leila Hamoun The Corridor Taste of Cherry The Mirror The Lovers' Wind A Respected Family Killing Mad Dogs Children of Heaven A Separation
A Separation Children of Heaven Taste of Cherry
action filter_type
action find_reverse
entity Tehran
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Tehran']
SELECT DISTINCT ?f WHERE { ?f property:filming_location resource:Tehran . ?f rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q640561 Q339804 Q794178
P58
Q502895
USER
Which people wrote the script for A Separation, Children of Heaven and Taste of Cherry ?
(Q640561,P58,c(Q502895)) (Q339804,P58,c(Q502895)) (Q794178,P58,c(Q502895))
action union
action filter_type
action find
entity Q640561
relation P58
type Q502895
action filter_type
action find
entity Q339804
relation P58
type Q502895
action filter_type
action find
entity Q794178
relation P58
type Q502895
['Q640561', 'P58', {'concept': 'Q502895'}] ['Q339804', 'P58', {'concept': 'Q502895'}] ['Q794178', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { resource:Q640561 property:P58 ?p . ?p rdf:type ontology:Q502895 } UNION { resource:Q339804 property:P58 ?p . ?p rdf:type ontology:Q502895 } }
A Separation Children of Heaven Taste of Cherry
action union
action filter_type
action find
entity A Separation
relation screenwriter
type common name
action filter_type
action find
entity Children of Heaven
relation screenwriter
type common name
action filter_type
action find
entity Taste of Cherry
relation screenwriter
type common name
['A Separation', 'screenwriter', {'concept': 'common name'}] ['Children of Heaven', 'screenwriter', {'concept': 'common name'}] ['Taste of Cherry', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { resource:A_Separation property:screenwriter ?p . ?p rdf:type ontology:common_name } UNION { resource:Children_of_Heaven property:screenwriter ?p . ?p rdf:type ontology:common_name } }
[]
common name
Q334242 Q81770 Q55210
SYSTEM
Asghar Farhadi, Majid Majidi, Abbas Kiarostami
Q334242 Q81770 Q55210
(Q640561,P58,c(Q502895)) (Q339804,P58,c(Q502895)) (Q794178,P58,c(Q502895))
action union
action filter_type
action find
entity Q640561
relation P58
type Q502895
action filter_type
action find
entity Q339804
relation P58
type Q502895
action filter_type
action find
entity Q794178
relation P58
type Q502895
[ANSWERS]
['Q640561', 'P58', {'concept': 'Q502895'}] ['Q339804', 'P58', {'concept': 'Q502895'}] ['Q794178', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { resource:Q640561 property:P58 ?p . ?p rdf:type ontology:Q502895 } UNION { resource:Q339804 property:P58 ?p . ?p rdf:type ontology:Q502895 } }
Asghar Farhadi Majid Majidi Abbas Kiarostami
Asghar Farhadi Majid Majidi Abbas Kiarostami
action union
action filter_type
action find
entity A Separation
relation screenwriter
type common name
action filter_type
action find
entity Children of Heaven
relation screenwriter
type common name
action filter_type
action find
entity Taste of Cherry
relation screenwriter
type common name
['A Separation', 'screenwriter', {'concept': 'common name'}] ['Children of Heaven', 'screenwriter', {'concept': 'common name'}] ['Taste of Cherry', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { resource:A_Separation property:screenwriter ?p . ?p rdf:type ontology:common_name } UNION { resource:Children_of_Heaven property:screenwriter ?p . ?p rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q334242 Q81770 Q55210
P21
Q290
USER
What are the sex of those people ?
(Q334242,P21,c(Q290)) (Q81770,P21,c(Q290)) (Q55210,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q334242', 'P21', {'concept': 'Q290'}] ['Q81770', 'P21', {'concept': 'Q290'}] ['Q55210', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . ?b property:P21 ?p . VALUES ( ?b ) { ( resource:Q334242 ) ( resource:Q81770 ) ( resource:Q55210 ) } }
Asghar Farhadi Majid Majidi Abbas Kiarostami
action filter_type
action find
entity prev_answer
relation gender
type sex
['Asghar Farhadi', 'gender', {'concept': 'sex'}] ['Majid Majidi', 'gender', {'concept': 'sex'}] ['Abbas Kiarostami', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . ?b property:gender ?p . VALUES ( ?b ) { ( resource:Asghar_Farhadi ) ( resource:Majid_Majidi ) ( resource:Abbas_Kiarostami ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q334242,P21,c(Q290)) (Q81770,P21,c(Q290)) (Q55210,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWER]
['Q334242', 'P21', {'concept': 'Q290'}] ['Q81770', 'P21', {'concept': 'Q290'}] ['Q55210', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . ?b property:P21 ?p . VALUES ( ?b ) { ( resource:Q334242 ) ( resource:Q81770 ) ( resource:Q55210 ) } }
male male male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Asghar Farhadi', 'gender', {'concept': 'sex'}] ['Majid Majidi', 'gender', {'concept': 'sex'}] ['Abbas Kiarostami', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . ?b property:gender ?p . VALUES ( ?b ) { ( resource:Asghar_Farhadi ) ( resource:Majid_Majidi ) ( resource:Abbas_Kiarostami ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3616
P551
Q502895
USER
Which people have residence at Tehran ?
(c(Q502895),P551,Q3616)
action filter_type
action find_reverse
entity Q3616
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q3616']
SELECT DISTINCT ?b WHERE { ?b property:P551 resource:Q3616 . ?b rdf:type ontology:Q502895 }
Tehran
action filter_type
action find_reverse
entity Tehran
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Tehran']
SELECT DISTINCT ?b WHERE { ?b property:residence resource:Tehran . ?b rdf:type ontology:common_name }
[]
common name
Q4056514 Q101054 Q3318983
SYSTEM
Georges Agabekov, Bahá'u'lláh, Mohammad-Reza Sharifinia
Q3318983 Q3895942 Q5955892 Q13914146 Q4056514 Q255233 Q6987117 Q101054 Q3574863 Q18227912
(c(Q502895),P551,Q3616)
action filter_type
action find_reverse
entity Q3616
relation P551
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P551', 'Q3616']
SELECT DISTINCT ?b WHERE { ?b property:P551 resource:Q3616 . ?b rdf:type ontology:Q502895 }
Mohammad-Reza Sharifinia Parinoush Saniee Elnaz Shakerdoust Parinaz Izadyar Georges Agabekov Googoosh Negar Javaherian Bahá'u'lláh Zari Khoshkam Hamideh Abbasali
Georges Agabekov Bahá'u'lláh Mohammad-Reza Sharifinia
action filter_type
action find_reverse
entity Tehran
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Tehran']
SELECT DISTINCT ?b WHERE { ?b property:residence resource:Tehran . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4056514 Q101054 Q3318983
P21
Q290
USER
Which sexes do Georges Agabekov, Bahá'u'lláh and Mohammad-Reza Sharifinia belong to ?
(Q4056514,P21,c(Q290)) (Q101054,P21,c(Q290)) (Q3318983,P21,c(Q290))
action union
action filter_type
action find
entity Q4056514
relation P21
type Q290
action filter_type
action find
entity Q101054
relation P21
type Q290
action filter_type
action find
entity Q3318983
relation P21
type Q290
['Q4056514', 'P21', {'concept': 'Q290'}] ['Q101054', 'P21', {'concept': 'Q290'}] ['Q3318983', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?s property:P21 ?q . VALUES ( ?s ) { ( resource:Q4056514 ) ( resource:Q101054 ) } }
Georges Agabekov Bahá'u'lláh Mohammad-Reza Sharifinia
action union
action filter_type
action find
entity Georges Agabekov
relation gender
type sex
action filter_type
action find
entity Bahá'u'lláh
relation gender
type sex
action filter_type
action find
entity Mohammad-Reza Sharifinia
relation gender
type sex
['Georges Agabekov', 'gender', {'concept': 'sex'}] ["Bahá'u'lláh", 'gender', {'concept': 'sex'}] ['Mohammad-Reza Sharifinia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?s property:gender ?q . VALUES ( ?s ) { ( resource:Georges_Agabekov ) ( resource:Bahá'u'lláh ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q4056514,P21,c(Q290)) (Q101054,P21,c(Q290)) (Q3318983,P21,c(Q290))
action union
action filter_type
action find
entity Q4056514
relation P21
type Q290
action filter_type
action find
entity Q101054
relation P21
type Q290
action filter_type
action find
entity Q3318983
relation P21
type Q290
[ANSWER]
['Q4056514', 'P21', {'concept': 'Q290'}] ['Q101054', 'P21', {'concept': 'Q290'}] ['Q3318983', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?s property:P21 ?q . VALUES ( ?s ) { ( resource:Q4056514 ) ( resource:Q101054 ) } }
male male male
male male male
action union
action filter_type
action find
entity Georges Agabekov
relation gender
type sex
action filter_type
action find
entity Bahá'u'lláh
relation gender
type sex
action filter_type
action find
entity Mohammad-Reza Sharifinia
relation gender
type sex
['Georges Agabekov', 'gender', {'concept': 'sex'}] ["Bahá'u'lláh", 'gender', {'concept': 'sex'}] ['Mohammad-Reza Sharifinia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?s property:gender ?q . VALUES ( ?s ) { ( resource:Georges_Agabekov ) ( resource:Bahá'u'lláh ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55210
P1196
Q1931388
USER
What situation did Abbas Kiarostami die in ?
(Q55210,P1196,c(Q1931388))
action filter_type
action find
entity Q55210
relation P1196
type Q1931388
['Q55210', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?w WHERE { resource:Q55210 property:P1196 ?w . ?w rdf:type ontology:Q1931388 }
Abbas Kiarostami
action filter_type
action find
entity Abbas Kiarostami
relation manner of death
type cause of death
['Abbas Kiarostami', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?w WHERE { resource:Abbas_Kiarostami property:manner_of_death ?w . ?w rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q55210,P1196,c(Q1931388))
action filter_type
action find
entity Q55210
relation P1196
type Q1931388
[ANSWER]
['Q55210', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?w WHERE { resource:Q55210 property:P1196 ?w . ?w rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action find
entity Abbas Kiarostami
relation manner of death
type cause of death
['Abbas Kiarostami', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?w WHERE { resource:Abbas_Kiarostami property:manner_of_death ?w . ?w rdf:type ontology:cause_of_death }
[]