Simple Question (Direct)
Simple Question
Q18210059
P1412
Q34770
USER
Which language is Rafael Sánchez Pérez capable of writing ?
(Q18210059,P1412,c(Q34770))
action filter_type
action find
entity Q18210059
relation P1412
type Q34770
['Q18210059', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q18210059 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Rafael Sánchez Pérez
action filter_type
action find
entity Rafael Sánchez Pérez
relation languages spoken, written or signed
type language
['Rafael Sánchez Pérez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Rafael_Sánchez_Pérez property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q18210059,P1412,c(Q34770))
action filter_type
action find
entity Q18210059
relation P1412
type Q34770
[ANSWER] is Rafael Sánchez Pérez capable of writing
['Q18210059', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q18210059 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Spanish
Spanish is Rafael Sánchez Pérez capable of writing
Spanish
action filter_type
action find
entity Rafael Sánchez Pérez
relation languages spoken, written or signed
type language
['Rafael Sánchez Pérez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Rafael_Sánchez_Pérez property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18210059
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q1321,P27,c(Q15617994))
action filter_type
action find
entity Q18210059
relation P27
type Q15617994
['Q1321', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q18210059 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Rafael Sánchez Pérez
action filter_type
action find
entity Rafael Sánchez Pérez
relation country of citizenship
type designation for an administrative territorial entity
['Spanish', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Rafael_Sánchez_Pérez property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q1321,P27,c(Q15617994))
action filter_type
action find
entity Q18210059
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q1321', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q18210059 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Mexico
Mexico is that person an inhabitant of
Mexico
action filter_type
action find
entity Rafael Sánchez Pérez
relation country of citizenship
type designation for an administrative territorial entity
['Spanish', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Rafael_Sánchez_Pérez property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q96
P463
Q874405
USER
Which social groups were that administrative territory a member of ?
(Q96,P463,c(Q874405))
action filter_type
action find
entity Q96
relation P463
type Q874405
['Q96', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?z WHERE { resource:Q96 property:P463 ?z . ?z rdf:type ontology:Q874405 }
Mexico
action filter_type
action find
entity Mexico
relation member of
type social group
['Mexico', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?z WHERE { resource:Mexico property:member_of ?z . ?z rdf:type ontology:social_group }
[]
social group
Q41984 Q1069175 Q83201
SYSTEM
International Atomic Energy Agency, International Federation of Red Cross and Red Crescent Societies, Non-Aligned Movement
Q83201 Q32874 Q41984 Q971612 Q782942 Q1069175
(Q96,P463,c(Q874405))
action filter_type
action find
entity Q96
relation P463
type Q874405
[ANSWERS] were that administrative territory a member of
['Q96', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?z WHERE { resource:Q96 property:P463 ?z . ?z rdf:type ontology:Q874405 }
Non-Aligned Movement United Nations Economic Commission for Latin America and the Caribbean International Atomic Energy Agency Group of 15 Australia Group International Federation of Red Cross and Red Crescent Societies
International Atomic Energy Agency, International Federation of Red Cross and Red Crescent Societies and Non-Aligned Movement were that administrative territory a member of
International Atomic Energy Agency International Federation of Red Cross and Red Crescent Societies Non-Aligned Movement
action filter_type
action find
entity Mexico
relation member of
type social group
['Mexico', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?z WHERE { resource:Mexico property:member_of ?z . ?z 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 part 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
Q41984
SYSTEM
Did you mean International Atomic Energy Agency ?
(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 International Atomic Energy Agency ?
International Atomic Energy Agency
[{'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 Non-Aligned Movement. Could you tell me the answer for that?
(c(Q44539),P361,c(Q874405))
Q83201
[{'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 part 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 part 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 }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q202660 Q3152168
P361
Q13226383
USER
Which facilities are a portion of Lille institute for molecular and condensed matter or Collège de France ?
OR((c(Q13226383),P361,Q3152168), (c(Q13226383),P361,Q202660))
action filter_type
action union
action find_reverse
entity Q3152168
relation P361
action find_reverse
entity Q202660
relation P361
type Q13226383
{'OR': [[{'concept': 'Q13226383'}, 'P361', 'Q3152168'], [{'concept': 'Q13226383'}, 'P361', 'Q202660']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P361 resource:Q3152168 } UNION { ?g property:P361 resource:Q202660 } } . ?g rdf:type ontology:Q13226383 }
Collège de France Lille institute for molecular and condensed matter
action filter_type
action union
action find_reverse
entity Lille institute for molecular and condensed matter
relation part of
action find_reverse
entity Collège de France
relation part of
type facility
{'OR': [[{'concept': 'facility'}, 'part of', 'Lille institute for molecular and condensed matter'], [{'concept': 'facility'}, 'part of', 'Collège de France']]}
SELECT DISTINCT ?g WHERE { { { ?g property:part_of resource:Lille_institute_for_molecular_and_condensed_matter } UNION { ?g property:part_of resource:Collège_de_France } } . ?g rdf:type ontology:facility }
[]
facility
Q21584819 Q3214445
SYSTEM
Institut des hautes études japonaises, UCCS - Unité de catalyse et de chimie du solide de Lille
Q21584819 Q3214445
OR((c(Q13226383),P361,Q3152168), (c(Q13226383),P361,Q202660))
action filter_type
action union
action find_reverse
entity Q3152168
relation P361
action find_reverse
entity Q202660
relation P361
type Q13226383
[ANSWERS] are a portion of Lille institute for molecular and condensed matter or Collège de France
{'OR': [[{'concept': 'Q13226383'}, 'P361', 'Q3152168'], [{'concept': 'Q13226383'}, 'P361', 'Q202660']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P361 resource:Q3152168 } UNION { ?g property:P361 resource:Q202660 } } . ?g rdf:type ontology:Q13226383 }
Institut des hautes études japonaises UCCS - Unité de catalyse et de chimie du solide de Lille
Institut des hautes études japonaises and UCCS - Unité de catalyse et de chimie du solide de Lille are a portion of Lille institute for molecular and condensed matter or Collège de France
Institut des hautes études japonaises UCCS - Unité de catalyse et de chimie du solide de Lille
action filter_type
action union
action find_reverse
entity Lille institute for molecular and condensed matter
relation part of
action find_reverse
entity Collège de France
relation part of
type facility
{'OR': [[{'concept': 'facility'}, 'part of', 'Lille institute for molecular and condensed matter'], [{'concept': 'facility'}, 'part of', 'Collège de France']]}
SELECT DISTINCT ?g WHERE { { { ?g property:part_of resource:Lille_institute_for_molecular_and_condensed_matter } UNION { ?g property:part_of resource:Collège_de_France } } . ?g rdf:type ontology:facility }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P194
Q1752346 Q35749 Q15617994
USER
How many administrative territories have approximately 1 assemblies and parliaments as their representative body ?
(c(Q15617994),P194,c(Q1752346)|c(Q35749))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action find_tuple_counts
relation P194
type Q15617994
type Q35749
value 1
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?d WHERE { { ?d property:P194 ?w . ?d rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1752346 } UNION { ?d property:P194 ?w . ?d rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q35749 } } GROUP BY ?d } . FILTER ( ?t = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'parliament'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?d WHERE { { ?d property:legislative_body ?w . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:assembly } UNION { ?d property:legislative_body ?w . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:parliament } } GROUP BY ?d } . FILTER ( ?t = 1 ) }
[]
assembly parliament designation for an administrative territorial entity
SYSTEM
76
Q804 Q801 Q419 Q668 Q414 Q142 Q55 Q1948 Q145 Q717 Q657 Q258 Q1979 Q45 Q159 Q41 Q155 Q4628 Q1965 Q242 Q1974 Q33 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q747074 Q72449 Q233 Q238 Q20 Q28 Q29 Q783 Q2009 Q2007 Q184 Q2003 Q1904 Q228 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q1989 Q697 Q298 Q754 Q750 Q212 Q213 Q211 Q214 Q215 Q218 Q219 Q16110 Q79 Q77 Q811 Q1013 Q176 Q1951 Q1952 Q2023 Q869
(c(Q15617994),P194,c(Q1752346)|c(Q35749))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action find_tuple_counts
relation P194
type Q15617994
type Q35749
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?d WHERE { { ?d property:P194 ?w . ?d rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1752346 } UNION { ?d property:P194 ?w . ?d rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q35749 } } GROUP BY ?d } . FILTER ( ?t = 1 ) }
Panama Israel Peru India Argentina France Netherlands Manitoba United Kingdom Venezuela Chad South Africa Prince Edward Island Portugal Russia Greece Brazil Faroe Islands New Brunswick Belize British Columbia Finland Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia comune of Italy Roccarainola Malta San Marino Norway Hungary Spain Honduras Yukon Northwest Territories Belarus Newfoundland and Labrador Ontario Andorra Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Saskatchewan Nauru Chile Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Slovakia Slovenia Romania Bulgaria region of Italy Egypt Uruguay Nicaragua Lesotho Quebec Alberta Nova Scotia Nunavut Thailand
76
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'parliament'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?d WHERE { { ?d property:legislative_body ?w . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:assembly } UNION { ?d property:legislative_body ?w . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:parliament } } GROUP BY ?d } . FILTER ( ?t = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q96
P47
Q15617994
USER
How many administrative territories are adjacent to Mexico ?
(Q96,P47,c(Q15617994))
action count
action filter_type
action find
entity Q96
relation P47
type Q15617994
['Q96', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Q96 property:P47 ?j . ?j rdf:type ontology:Q15617994 }
Mexico
action count
action filter_type
action find
entity Mexico
relation shares border with
type designation for an administrative territorial entity
['Mexico', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Mexico property:shares_border_with ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
3
Q774 Q242 Q30
(Q96,P47,c(Q15617994))
action count
action filter_type
action find
entity Q96
relation P47
type Q15617994
[ANSWER]
['Q96', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Q96 property:P47 ?j . ?j rdf:type ontology:Q15617994 }
Guatemala Belize United States of America
3
action count
action filter_type
action find
entity Mexico
relation shares border with
type designation for an administrative territorial entity
['Mexico', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Mexico property:shares_border_with ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q96
P276
Q350604
USER
What is located at that administrative territory ?
action filter_type
action find_reverse
entity Q96
relation P276
type Q350604
SELECT DISTINCT ?f WHERE { ?f property:P276 resource:Q96 . ?f rdf:type ontology:Q350604 }
Mexico
action filter_type
action find_reverse
entity Mexico
relation location
type armed conflict
SELECT DISTINCT ?f WHERE { ?f property:location resource:Mexico . ?f rdf:type ontology:armed_conflict }
[]
armed conflict
Q6683
SYSTEM
Mexican–American War
Q6683
action filter_type
action find_reverse
entity Q96
relation P276
type Q350604
[ANSWER] is located at that administrative territory
SELECT DISTINCT ?f WHERE { ?f property:P276 resource:Q96 . ?f rdf:type ontology:Q350604 }
Mexican–American War
Mexican–American War is located at that administrative territory
Mexican–American War
action filter_type
action find_reverse
entity Mexico
relation location
type armed conflict
SELECT DISTINCT ?f WHERE { ?f property:location resource:Mexico . ?f rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q96
P610
Q14524493
USER
Which is the zenith of that administrative territory ?
(Q6683,P610,c(Q14524493))
action filter_type
action find
entity Q96
relation P610
type Q14524493
['Q6683', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?l WHERE { resource:Q96 property:P610 ?l . ?l rdf:type ontology:Q14524493 }
Mexico
action filter_type
action find
entity Mexico
relation highest point
type terrain
['Mexican–American War', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?l WHERE { resource:Mexico property:highest_point ?l . ?l rdf:type ontology:terrain }
[]
terrain
Q238147
SYSTEM
Pico de Orizaba
Q238147
(Q6683,P610,c(Q14524493))
action filter_type
action find
entity Q96
relation P610
type Q14524493
The zenith of that administrative territory is the [ANSWER]
['Q6683', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?l WHERE { resource:Q96 property:P610 ?l . ?l rdf:type ontology:Q14524493 }
Pico de Orizaba
The zenith of that administrative territory is the Pico de Orizaba
Pico de Orizaba
action filter_type
action find
entity Mexico
relation highest point
type terrain
['Mexican–American War', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?l WHERE { resource:Mexico property:highest_point ?l . ?l rdf:type ontology:terrain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q96
P108
Q502895
USER
Which people work for Mexico ?
(c(Q502895),P108,Q96)
action filter_type
action find_reverse
entity Q96
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q96']
SELECT DISTINCT ?l WHERE { ?l property:P108 resource:Q96 . ?l rdf:type ontology:Q502895 }
Mexico
action filter_type
action find_reverse
entity Mexico
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Mexico']
SELECT DISTINCT ?l WHERE { ?l property:employer resource:Mexico . ?l rdf:type ontology:common_name }
[]
common name
Q1634986 Q1396999
SYSTEM
Juan Bautista Pomar, Fernando de Alva Cortés Ixtlilxochitl
Q1634986 Q1396999
(c(Q502895),P108,Q96)
action filter_type
action find_reverse
entity Q96
relation P108
type Q502895
[ANSWERS] work for Mexico
[{'concept': 'Q502895'}, 'P108', 'Q96']
SELECT DISTINCT ?l WHERE { ?l property:P108 resource:Q96 . ?l rdf:type ontology:Q502895 }
Juan Bautista Pomar Fernando de Alva Cortés Ixtlilxochitl
Juan Bautista Pomar and Fernando de Alva Cortés Ixtlilxochitl work for Mexico
Juan Bautista Pomar Fernando de Alva Cortés Ixtlilxochitl
action filter_type
action find_reverse
entity Mexico
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Mexico']
SELECT DISTINCT ?l WHERE { ?l property:employer resource:Mexico . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1634986 Q1396999
P1412
Q34770
USER
Which languages can Juan Bautista Pomar and Fernando de Alva Cortés Ixtlilxochitl read ?
(Q1634986,P1412,c(Q34770)) (Q1396999,P1412,c(Q34770))
action union
action filter_type
action find
entity Q1634986
relation P1412
type Q34770
action filter_type
action find
entity Q1396999
relation P1412
type Q34770
['Q1634986', 'P1412', {'concept': 'Q34770'}] ['Q1396999', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?p ) { ( resource:Q1634986 ) ( resource:Q1396999 ) } . ?p property:P1412 ?k }
Juan Bautista Pomar Fernando de Alva Cortés Ixtlilxochitl
action union
action filter_type
action find
entity Juan Bautista Pomar
relation languages spoken, written or signed
type language
action filter_type
action find
entity Fernando de Alva Cortés Ixtlilxochitl
relation languages spoken, written or signed
type language
['Juan Bautista Pomar', 'languages spoken, written or signed', {'concept': 'language'}] ['Fernando de Alva Cortés Ixtlilxochitl', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?p ) { ( resource:Juan_Bautista_Pomar ) ( resource:Fernando_de_Alva_Cortés_Ixtlilxochitl ) } . ?p property:languages_spoken,_written_or_signed ?k }
[]
language
Q1321 Q1321
SYSTEM
Spanish
Q1321 Q1321
(Q1634986,P1412,c(Q34770)) (Q1396999,P1412,c(Q34770))
action union
action filter_type
action find
entity Q1634986
relation P1412
type Q34770
action filter_type
action find
entity Q1396999
relation P1412
type Q34770
Juan Bautista Pomar and Fernando de Alva Cortés Ixtlilxochitl can read in [ANSWER] and [ANSWER]
['Q1634986', 'P1412', {'concept': 'Q34770'}] ['Q1396999', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?p ) { ( resource:Q1634986 ) ( resource:Q1396999 ) } . ?p property:P1412 ?k }
Spanish Spanish
Juan Bautista Pomar and Fernando de Alva Cortés Ixtlilxochitl can read in Spanish and Spanish
Spanish Spanish
action union
action filter_type
action find
entity Juan Bautista Pomar
relation languages spoken, written or signed
type language
action filter_type
action find
entity Fernando de Alva Cortés Ixtlilxochitl
relation languages spoken, written or signed
type language
['Juan Bautista Pomar', 'languages spoken, written or signed', {'concept': 'language'}] ['Fernando de Alva Cortés Ixtlilxochitl', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?p ) { ( resource:Juan_Bautista_Pomar ) ( resource:Fernando_de_Alva_Cortés_Ixtlilxochitl ) } . ?p property:languages_spoken,_written_or_signed ?k }
[]