Simple Question (Direct)
Simple Question
Q4382608
P166
Q618779
USER
What were won by Iosif Prut ?
(Q4382608,P166,c(Q618779))
action filter_type
action find
entity Q4382608
relation P166
type Q618779
['Q4382608', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { resource:Q4382608 property:P166 ?t . ?t rdf:type ontology:Q618779 }
Iosif Prut
action filter_type
action find
entity Iosif Prut
relation award received
type award
['Iosif Prut', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { resource:Iosif_Prut property:award_received ?t . ?t rdf:type ontology:award }
[]
award
Q18200478 Q1915961 Q583881
SYSTEM
Order of the Patriotic War 2nd class, Medal for Battle Merit, Order of Friendship of Peoples
Q18200478 Q1915961 Q583881
(Q4382608,P166,c(Q618779))
action filter_type
action find
entity Q4382608
relation P166
type Q618779
[ANSWERS] were won by Iosif Prut
['Q4382608', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { resource:Q4382608 property:P166 ?t . ?t rdf:type ontology:Q618779 }
Order of the Patriotic War 2nd class Medal for Battle Merit Order of Friendship of Peoples
Order of the Patriotic War 2nd class, Medal for Battle Merit and Order of Friendship of Peoples were won by Iosif Prut
Order of the Patriotic War 2nd class Medal for Battle Merit Order of Friendship of Peoples
action filter_type
action find
entity Iosif Prut
relation award received
type award
['Iosif Prut', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { resource:Iosif_Prut property:award_received ?t . ?t rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4382608
P20
Q56061
USER
Where did Iosif Prut die ?
(Q4382608,P20,c(Q56061))
action filter_type
action find
entity Q4382608
relation P20
type Q56061
['Q4382608', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q4382608 property:P20 ?e }
Iosif Prut
action filter_type
action find
entity Iosif Prut
relation place of death
type administrative territorial entity
['Iosif Prut', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Iosif_Prut property:place_of_death ?e }
[]
administrative territorial entity
Q140147
SYSTEM
Brest
Q140147
(Q4382608,P20,c(Q56061))
action filter_type
action find
entity Q4382608
relation P20
type Q56061
Iosif Prut died in [ANSWER]
['Q4382608', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q4382608 property:P20 ?e }
Brest
Iosif Prut died in Brest
Brest
action filter_type
action find
entity Iosif Prut
relation place of death
type administrative territorial entity
['Iosif Prut', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Iosif_Prut property:place_of_death ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4382608
P463
Q874405
USER
Which social group had Iosif Prut as its member ?
(Q4382608,P463,c(Q874405))
action filter_type
action find
entity Q4382608
relation P463
type Q874405
['Q4382608', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { resource:Q4382608 property:P463 ?d . ?d rdf:type ontology:Q874405 }
Iosif Prut
action filter_type
action find
entity Iosif Prut
relation member of
type social group
['Iosif Prut', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { resource:Iosif_Prut property:member_of ?d . ?d rdf:type ontology:social_group }
[]
social group
Q1425328
SYSTEM
USSR Union of Writers
Q1425328
(Q4382608,P463,c(Q874405))
action filter_type
action find
entity Q4382608
relation P463
type Q874405
[ANSWER] had Iosif Prut as its member
['Q4382608', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { resource:Q4382608 property:P463 ?d . ?d rdf:type ontology:Q874405 }
USSR Union of Writers
USSR Union of Writers had Iosif Prut as its member
USSR Union of Writers
action filter_type
action find
entity Iosif Prut
relation member of
type social group
['Iosif Prut', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { resource:Iosif_Prut property:member_of ?d . ?d rdf:type ontology:social_group }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q31
Q874405
USER
And how about Belgium?
(Q31,P463,c(Q874405))
action filter_type
action find
entity Q31
relation P463
type Q874405
['Q31', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { resource:Q31 property:P463 ?u . ?u rdf:type ontology:Q874405 }
Belgium
action filter_type
action find
entity Belgium
relation member of
type social group
['Belgium', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { resource:Belgium property:member_of ?u . ?u rdf:type ontology:social_group }
[]
social group
Q8908 Q782942
SYSTEM
Council of Europe, Australia Group
Q8908 Q782942
(Q31,P463,c(Q874405))
action filter_type
action find
entity Q31
relation P463
type Q874405
[ANSWERS]
['Q31', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { resource:Q31 property:P463 ?u . ?u rdf:type ontology:Q874405 }
Council of Europe Australia Group
Council of Europe Australia Group
action filter_type
action find
entity Belgium
relation member of
type social group
['Belgium', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { resource:Belgium property:member_of ?u . ?u rdf:type ontology:social_group }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P361
Q874405 Q44539
USER
Which social groups are approximately the same number of temples a component of as that social group ?
(c(Q44539),P361,c(Q874405))
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q874405 }
[{'concept': 'temple'}, 'part of', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { ?z property:part_of ?y . ?z rdf:type ontology:temple . ?y rdf:type ontology:social_group }
[]
social group temple
Comparative|More/Less|Single entity type|Clarification
Q782942
SYSTEM
Did you mean Australia Group ?
(c(Q44539),P361,c(Q874405))
[ANSWER]
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q874405 }
Did you mean Australia Group ?
Australia Group
[{'concept': 'temple'}, 'part of', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { ?z property:part_of ?y . ?z rdf:type ontology:temple . ?y rdf:type ontology:social_group }
[]
Comparative Reasoning (All)
USER
No, I meant Council of Europe. Could you tell me the answer for that?
(c(Q44539),P361,c(Q874405))
Q8908
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q874405'}]
[{'concept': 'temple'}, 'part of', {'concept': 'social group'}]
[]
Q1310001 Q49653 Q3152168
SYSTEM
Erste Group, ARD, Lille institute for molecular and condensed matter
Q16487798 Q1985795 Q367413 Q18091480 Q17577069 Q2091996 Q7477846 Q785982 Q6953636 Q4824626 Q2899709 Q797944 Q18561936 Q1182568 Q3371163 Q889833 Q31901 Q1009631 Q3643607 Q5053183 Q701210 Q3183889 Q82494 Q9089 Q3843132 Q26257568 Q391083 Q7773277 Q34490 Q17101764 Q32506 Q11000047 Q3752357 Q645968 Q3065528 Q7423209 Q1165836 Q2892366 Q2117711 Q2605404 Q9316 Q854218 Q2088357 Q7572415 Q19899965 Q427961 Q1534158 Q49653 Q17127659 Q709073 Q849730 Q2060703 Q23540 Q3250126 Q194497 Q755970 Q21043526 Q9634288 Q970026 Q1674127 Q1130378 Q19822449 Q20642757 Q20821203 Q159386 Q965093 Q5043 Q432 Q850181 Q540754 Q19637240 Q18234380 Q927143 Q21080465 Q8908 Q41726 Q15053881 Q16994191 Q18530734 Q103817 Q19691801 Q3177526 Q431534 Q7851349 Q9268 Q466524 Q18527697 Q21108884 Q3136847 Q19899775 Q2086469 Q924774 Q668310 Q3330843 Q3330841 Q17496304 Q2679662 Q21009644 Q83201 Q20888877 Q3100284 Q60427 Q1132127 Q20734180 Q24300931 Q20734717 Q19832359 Q4922087 Q20734718 Q2459712 Q13417611 Q5028829 Q4809116 Q2991162 Q876040 Q1194049 Q831090 Q20821137 Q16923185 Q3510838 Q692884 Q16853742 Q43456 Q454940 Q954007 Q4007363 Q275051 Q320863 Q3065018 Q227508 Q889497 Q642949 Q748 Q29536 Q60497 Q16034235 Q17512468 Q7915590 Q540701 Q191159 Q2256718 Q484652 Q2119267 Q3510861 Q3738870 Q316988 Q6820584 Q1667616 Q18527401 Q3065144 Q1089760 Q16931347 Q14865096 Q896346 Q4783847 Q20821258 Q6867 Q2587335 Q6148135 Q22550461 Q153946 Q1743621 Q2117771 Q1376324 Q20734121 Q29325 Q3152168 Q6458663 Q6867616 Q2635997 Q20962477 Q20732642 Q7552397 Q4743596 Q20823508 Q1042167 Q17511633 Q5976683 Q447131 Q149964 Q19921937 Q19869544 Q714601 Q4830453 Q283639 Q5213038 Q15506975 Q3510846 Q3510840 Q826858 Q919715 Q3046146 Q911673 Q747802 Q1788999 Q3814366 Q7424685 Q619248 Q18528141 Q18091514 Q20748887 Q858819 Q2419580 Q2927617 Q431363 Q704151 Q683095 Q2978945 Q5672310 Q1310001 Q7615983 Q1250875 Q43482 Q5549521 Q15663631 Q9232 Q19899949 Q3510858 Q14544459 Q1086440 Q2061186 Q3818222 Q75809 Q1138165 Q7110004 Q146715 Q824340 Q376150 Q17278384 Q47928 Q646085 Q17059155 Q16841659 Q1779527
(c(Q44539),P361,c(Q874405))
[ANSWERS] are approximately the same number of temples a component of as that social group
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q874405 }
Alfani Seven Parthian clans International Red Aid The Doll Family French national team U23 National Association of Evangelicals National Health and Family Planning Commission United States Army Forces Command Nexa Center for Internet and Society Australian Rugby League Commission Bertrand de Beauvoir family Babylonian religion Nottingham City Museums and Galleries Defective by Design China Writers Association Monarchy of Spain Joint Special Operations Command Bunnag family Brancacci Catholic Independent Schools Vancouver Archdiocese Council of Indigenous Peoples Jorge Silva and Marta Rodríguez National Center for Biotechnology Information Hinduism Maggie's Centres Frederik de Wit Pasteur Institute The Walkers of Southgate al-Qaeda International Commission Against the Death Penalty National Coalition for Syrian Revolutionary and Opposition Forces health system Abbagnale brothers British royal family Tassel family Sarasin family State Council I Corps Senate of Uzbekistan tribes of Israel Sikhism United Nations System musical ensemble Tiki culture Wynn family metropolis Goethe ARD terrorist organization Council for Hakka Affairs, Taiwan Soviet space program War Office Protestantism Naval History & Heritage Command Historical Vedic religion Syriac Catholic Church Schuncke Chau Wing-tai family Ugaritic religion Islamic Republic of Iran Broadcasting Persian mythology in-law family Fatah Halab Pryse family Rothschild family Mormon fundamentalism Christianity Islam Situationist International Anglican Church in Aotearoa, New Zealand and Polynesia Rossignols Cecil family stepfamily Wood family of potters Council of Europe freemasonry Irvine family Holtzapffel Rice family indigenous peoples Army of Conquest Jersey Heritage Association des États Généraux des Étudiants de l'Europe Tudors of Penmynydd Judaism American Psychiatric Association Dicey family Humane Society International Forty-seven Ronin Brandard Maison du Roi secular clergy Parrocel family musée de la ville de Paris Musées de Poitiers Camidge Public Centre for Social Welfare Norway national cycling team Non-Aligned Movement Bassano Gellibert des Seguins World Association of Zoos and Aquariums hip hop Rees family Niehoff family Wogan family Lloyd George family Thai Red Cross Society Wynn family Commission on Elections NATO Standardization Agency Camões family Associació Catalana de Rugby Lliga Government of Australia Wikipedia community House of Elders Brueghel Griffith family Swire family Senate Federation of Swiss Protestant Churches Mac Fhirbhisigh Soviet Army North Side Gang affinity ITU Telecommunication Standardization Sector Sumerian religion World Bank Group Carradine family 36 Boys Bodenehr European Olympic Committees Buddhism paganism Slate Fustel family Mujahideen Shura Council Soviet Armed Forces Union Académique Internationale working class Swiss National Museum international organization Senate of the Dominican Republic Senate Getty family Kösener Senioren-Convents-Verband Merseyside Skeptics Society International Music Council Dalziel family Francine family Church Mission Society Mostyn baronets Jitsakul family Tischbein Arakkal Yale family International Astronomical Union Royal Artillery People's Liberation Army General Political Department Bergonzi punk subculture Gujarat Legislative Assembly Senate of Swaziland European Association for Chemical and Molecular Sciences Painter family National Socialist Underground Lille institute for molecular and condensed matter LIGO Scientific Collaboration Ministry of Transport Mayan Council of Agriculture, Executive Yuan, R.O.C.(Taiwan) Barker family Royal Society of Biology American Dental Association American national team Ministry of Education of the People's Republic of China Syrian Revolutionary Command Council I Corps religion of ancient Egypt Eurogroup Berger family Anson family Predynastic Period of Egypt business enterprise World Council of Churches DanChurchAid Quandt family Senate Senate International Federation of the Phonographic Industry British Medical Association married couple Longman Mormonism Francken Keldermans family Sartorius family Dál gCais Hayllar family Flick family Vaughan family Free Syrian Army Alliance Française in Poland Buena Vista Society of Experimental Test Pilots Arsacid dynasty of Armenia Warburg Institute regular clergy Shelvoke family Erste Group Stewart of Balquhidder European Union Military Staff Franks Confederación Española de Centros de Estudios Locales Soong family Jainism Turberville family Senate Boch family Yoruba religion religious order Weiquan movement Lutheranism Ngāti Kahungunu Ottoz family Illyrians demoscene International Telecommunication Union van Waesberghe family circus House of Nassau IUPAC Inorganic Chemistry Division Havell family Studentenverbindung
Erste Group, ARD and Lille institute for molecular and condensed matter are approximately the same number of temples a component of as that social group
Erste Group ARD Lille institute for molecular and condensed matter
[{'concept': 'temple'}, 'part of', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { ?z property:part_of ?y . ?z rdf:type ontology:temple . ?y rdf:type ontology:social_group }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q874405 Q44539
USER
How many social groups are greater number of temples a component of than that social group ?
(c(Q44539),P361,c(Q874405))
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q874405 }
[{'concept': 'temple'}, 'part of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:temple . ?y rdf:type ontology:social_group }
[]
social group temple
Comparative|Count over More/Less|Single entity type|Clarification
Q3152168
SYSTEM
Did you mean Lille institute for molecular and condensed matter ?
(c(Q44539),P361,c(Q874405))
[ANSWER]
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q874405 }
Did you mean Lille institute for molecular and condensed matter ?
Lille institute for molecular and condensed matter
[{'concept': 'temple'}, 'part of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:temple . ?y rdf:type ontology:social_group }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Erste Group. Could you tell me the answer for that?
(c(Q44539),P361,c(Q874405))
Q1310001
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q874405'}]
[{'concept': 'temple'}, 'part of', {'concept': 'social group'}]
[]
SYSTEM
1
Q1841
(c(Q44539),P361,c(Q874405))
[ANSWER]
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q874405 }
Catholicism
1
[{'concept': 'temple'}, 'part of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:temple . ?y rdf:type ontology:social_group }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q453 Q4382608
P19 P190
Q56061
USER
Which administrative territories were Iosif Prut born at or are partner towns of Borken ?
OR((Q4382608,P19,c(Q56061)), (Q453,P190,c(Q56061)))
action filter_type
action union
action find
entity Q4382608
relation P19
action find
entity Q453
relation P190
type Q56061
{'OR': [['Q4382608', 'P19', {'concept': 'Q56061'}], ['Q453', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . { { resource:Q4382608 property:P19 ?d } UNION { resource:Q453 property:P190 ?d } } }
Borken Iosif Prut
action filter_type
action union
action find
entity Iosif Prut
relation place of birth
action find
entity Borken
relation sister city
type administrative territorial entity
{'OR': [['Iosif Prut', 'place of birth', {'concept': 'administrative territorial entity'}], ['Borken', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . { { resource:Iosif_Prut property:place_of_birth ?d } UNION { resource:Borken property:sister_city ?d } } }
[]
administrative territorial entity
Q3196726 Q536826 Q27437 Q964785 Q774352 Q170513
SYSTEM
Albertslund, Grabow, Mölndal, Whitstable, Bolków, Taganrog
Q3196726 Q536826 Q27437 Q964785 Q774352 Q170513
OR((Q4382608,P19,c(Q56061)), (Q453,P190,c(Q56061)))
action filter_type
action union
action find
entity Q4382608
relation P19
action find
entity Q453
relation P190
type Q56061
Iosif Prut were born or are partner towns of Borken [ANSWERS]
{'OR': [['Q4382608', 'P19', {'concept': 'Q56061'}], ['Q453', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . { { resource:Q4382608 property:P19 ?d } UNION { resource:Q453 property:P190 ?d } } }
Albertslund Grabow Mölndal Whitstable Bolków Taganrog
Iosif Prut were born or are partner towns of Borken Albertslund, Grabow, Mölndal, Whitstable, Bolków and Taganrog
Albertslund Grabow Mölndal Whitstable Bolków Taganrog
action filter_type
action union
action find
entity Iosif Prut
relation place of birth
action find
entity Borken
relation sister city
type administrative territorial entity
{'OR': [['Iosif Prut', 'place of birth', {'concept': 'administrative territorial entity'}], ['Borken', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . { { resource:Iosif_Prut property:place_of_birth ?d } UNION { resource:Borken property:sister_city ?d } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3196726 Q536826 Q27437 Q964785 Q774352 Q170513
P190
Q15617994
USER
Which administrative territories are twin towns of Albertslund, Grabow, Mölndal, Whitstable, Bolków and Taganrog ?
(Q3196726,P190,c(Q15617994)) (Q536826,P190,c(Q15617994)) (Q27437,P190,c(Q15617994)) (Q964785,P190,c(Q15617994)) (Q774352,P190,c(Q15617994)) (Q170513,P190,c(Q15617994))
action union
action filter_type
action find
entity Q3196726
relation P190
type Q15617994
action filter_type
action find
entity Q536826
relation P190
type Q15617994
action filter_type
action find
entity Q27437
relation P190
type Q15617994
action filter_type
action find
entity Q964785
relation P190
type Q15617994
action filter_type
action find
entity Q774352
relation P190
type Q15617994
action filter_type
action find
entity Q170513
relation P190
type Q15617994
['Q3196726', 'P190', {'concept': 'Q15617994'}] ['Q536826', 'P190', {'concept': 'Q15617994'}] ['Q27437', 'P190', {'concept': 'Q15617994'}] ['Q964785', 'P190', {'concept': 'Q15617994'}] ['Q774352', 'P190', {'concept': 'Q15617994'}] ['Q170513', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { resource:Q536826 property:P190 ?y . ?y rdf:type ontology:Q15617994 } UNION { resource:Q3196726 property:P190 ?y . ?y rdf:type ontology:Q15617994 } }
Albertslund Grabow Mölndal Whitstable Bolków Taganrog
action union
action filter_type
action find
entity Albertslund
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Grabow
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Mölndal
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Whitstable
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Bolków
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Taganrog
relation sister city
type designation for an administrative territorial entity
['Albertslund', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Grabow', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Mölndal', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Whitstable', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Bolków', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Taganrog', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { resource:Grabow property:sister_city ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Albertslund property:sister_city ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q453 Q453 Q453
SYSTEM
Borken
Q453 Q453 Q453 Q453 Q453 Q25430 Q3893
(Q3196726,P190,c(Q15617994)) (Q536826,P190,c(Q15617994)) (Q27437,P190,c(Q15617994)) (Q964785,P190,c(Q15617994)) (Q774352,P190,c(Q15617994)) (Q170513,P190,c(Q15617994))
action union
action filter_type
action find
entity Q3196726
relation P190
type Q15617994
action filter_type
action find
entity Q536826
relation P190
type Q15617994
action filter_type
action find
entity Q27437
relation P190
type Q15617994
action filter_type
action find
entity Q964785
relation P190
type Q15617994
action filter_type
action find
entity Q774352
relation P190
type Q15617994
action filter_type
action find
entity Q170513
relation P190
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are twin towns of Albertslund, Grabow, Mölndal, Whitstable, Bolków and Taganrog
['Q3196726', 'P190', {'concept': 'Q15617994'}] ['Q536826', 'P190', {'concept': 'Q15617994'}] ['Q27437', 'P190', {'concept': 'Q15617994'}] ['Q964785', 'P190', {'concept': 'Q15617994'}] ['Q774352', 'P190', {'concept': 'Q15617994'}] ['Q170513', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { resource:Q536826 property:P190 ?y . ?y rdf:type ontology:Q15617994 } UNION { resource:Q3196726 property:P190 ?y . ?y rdf:type ontology:Q15617994 } }
Borken Borken Borken Borken Borken Badenweiler Lüdenscheid
Borken, Borken and Borken are twin towns of Albertslund, Grabow, Mölndal, Whitstable, Bolków and Taganrog
Borken Borken Borken
action union
action filter_type
action find
entity Albertslund
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Grabow
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Mölndal
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Whitstable
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Bolków
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Taganrog
relation sister city
type designation for an administrative territorial entity
['Albertslund', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Grabow', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Mölndal', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Whitstable', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Bolków', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Taganrog', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { resource:Grabow property:sister_city ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Albertslund property:sister_city ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170513
P17
Q7275
USER
Which states do Taganrog belong to ?
(Q170513,P17,c(Q7275))
action filter_type
action find
entity Q170513
relation P17
type Q7275
['Q170513', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q170513 property:P17 ?i . ?i rdf:type ontology:Q7275 }
Taganrog
action filter_type
action find
entity Taganrog
relation country
type state
['Taganrog', 'country', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Taganrog property:country ?i . ?i rdf:type ontology:state }
[]
state
Q15180 Q139319 Q2184
SYSTEM
Soviet Union, Russian Republic, Russian Soviet Federative Socialist Republic
Q139319 Q2184 Q186096 Q15180
(Q170513,P17,c(Q7275))
action filter_type
action find
entity Q170513
relation P17
type Q7275
Taganrog belong to [ANSWERS]
['Q170513', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q170513 property:P17 ?i . ?i rdf:type ontology:Q7275 }
Russian Republic Russian Soviet Federative Socialist Republic Tsardom of Russia Soviet Union
Taganrog belong to Soviet Union, Russian Republic and Russian Soviet Federative Socialist Republic
Soviet Union Russian Republic Russian Soviet Federative Socialist Republic
action filter_type
action find
entity Taganrog
relation country
type state
['Taganrog', 'country', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Taganrog property:country ?i . ?i rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q742117
Q7275
USER
And also tell me about Estremadura Province?
(Q742117,P17,c(Q7275))
action filter_type
action find
entity Q742117
relation P17
type Q7275
['Q742117', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?y WHERE { resource:Q742117 property:P17 ?y . ?y rdf:type ontology:Q7275 }
Estremadura Province
action filter_type
action find
entity Estremadura Province
relation country
type state
['Estremadura Province', 'country', {'concept': 'state'}]
SELECT DISTINCT ?y WHERE { resource:Estremadura_Province property:country ?y . ?y rdf:type ontology:state }
[]
state
Q45670
SYSTEM
Kingdom of Portugal
Q45670
(Q742117,P17,c(Q7275))
action filter_type
action find
entity Q742117
relation P17
type Q7275
[ANSWER]
['Q742117', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?y WHERE { resource:Q742117 property:P17 ?y . ?y rdf:type ontology:Q7275 }
Kingdom of Portugal
Kingdom of Portugal
action filter_type
action find
entity Estremadura Province
relation country
type state
['Estremadura Province', 'country', {'concept': 'state'}]
SELECT DISTINCT ?y WHERE { resource:Estremadura_Province property:country ?y . ?y rdf:type ontology:state }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q1752346 Q7275
USER
Which assemblies are the representative bodies for atleast 3 states ?
(c(Q7275),P194,c(Q1752346))
action atleast
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 3
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P194 ?n . ?n rdf:type ontology:Q1752346 . ?e rdf:type ontology:Q7275 } GROUP BY ?n } . FILTER ( ?p >= 3 ) }
action atleast
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 3
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:legislative_body ?n . ?n rdf:type ontology:assembly . ?e rdf:type ontology:state } GROUP BY ?n } . FILTER ( ?p >= 3 ) }
[]
assembly state
Q1371388 Q632552
SYSTEM
States General, French Parliament
Q1371388 Q632552
(c(Q7275),P194,c(Q1752346))
action atleast
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 3
[ANSWERS] are the representative bodies for atleast 3 states
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P194 ?n . ?n rdf:type ontology:Q1752346 . ?e rdf:type ontology:Q7275 } GROUP BY ?n } . FILTER ( ?p >= 3 ) }
States General French Parliament
States General and French Parliament are the representative bodies for atleast 3 states
States General French Parliament
action atleast
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 3
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:legislative_body ?n . ?n rdf:type ontology:assembly . ?e rdf:type ontology:state } GROUP BY ?n } . FILTER ( ?p >= 3 ) }
[]