Simple Question (Direct)
Simple Question
Q6258824
P106
Q12737077
USER
What is the job of John Stanhope, 1st Baron Stanhope ?
(Q6258824,P106,c(Q12737077))
action filter_type
action find
entity Q6258824
relation P106
type Q12737077
['Q6258824', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q6258824 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
John Stanhope, 1st Baron Stanhope
action filter_type
action find
entity John Stanhope, 1st Baron Stanhope
relation occupation
type occupation
['John Stanhope, 1st Baron Stanhope', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:John_Stanhope,_1st_Baron_Stanhope property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q6258824,P106,c(Q12737077))
action filter_type
action find
entity Q6258824
relation P106
type Q12737077
The job of John Stanhope , 1st Baron Stanhope is a [ANSWER]
['Q6258824', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q6258824 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
politician
The job of John Stanhope , 1st Baron Stanhope is a politician
politician
action filter_type
action find
entity John Stanhope, 1st Baron Stanhope
relation occupation
type occupation
['John Stanhope, 1st Baron Stanhope', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:John_Stanhope,_1st_Baron_Stanhope property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6258824
P21
Q290
USER
Which sex does that person possess ?
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q6258824
relation P21
type Q290
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q6258824 property:P21 ?o . ?o rdf:type ontology:Q290 }
John Stanhope, 1st Baron Stanhope
action filter_type
action find
entity John Stanhope, 1st Baron Stanhope
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:John_Stanhope,_1st_Baron_Stanhope property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q6258824
relation P21
type Q290
That person possesses a [ANSWER]
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q6258824 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity John Stanhope, 1st Baron Stanhope
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:John_Stanhope,_1st_Baron_Stanhope property:gender ?o . ?o rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6581072 Q6581097
P21
Q502895
USER
Which people are a male and female ?
AND((c(Q502895),P21,Q6581097), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P21
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?b WHERE { ?b property:P21 resource:Q6581097 . ?b property:P21 resource:Q6581072 . ?b rdf:type ontology:Q502895 }
female male
action filter_type
action intersection
action find_reverse
entity male
relation gender
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'male'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?b WHERE { ?b property:gender resource:male . ?b property:gender resource:female . ?b rdf:type ontology:common_name }
[]
common name
Q21794041 Q3291942 Q3575012 Q10281088 Q16767898 Q22675675 Q22001922 Q17628096 Q11531266 Q2668396
SYSTEM
Some of them are Jelizaveta Potapova, Marie-Joseph Charles des Acres de l'Aigle, Zdeněk Koubek, Fenedy Masauvakalo, Chanmi, Nikola Jakadofsky, Suzanne Schulting, Rafeef Ziadah, Miki Matsumoto, Parinya Charoenphol
Q12966459 Q17600942 Q3260705 Q5874237 Q21391750 Q17225819 Q5972494 Q16941580 Q16733519 Q11622868 Q6702791 Q10263785 Q6571041 Q16732132 Q24264223 Q20401379 Q20119921 Q2312612 Q16164967 Q242700 Q6555624 Q12586819 Q23698979 Q17628096 Q22342662 Q525066 Q9544977 Q503007 Q22280111 Q22102078 Q5482749 Q21392153 Q201204 Q10281088 Q442804 Q16767898 Q22570074 Q21601127 Q12403076 Q14432239 Q12734885 Q734662 Q24500675 Q24034956 Q19957341 Q6258596 Q22236117 Q22808784 Q11379959 Q6003690 Q24807469 Q21857402 Q21258362 Q4979792 Q11449790 Q22001922 Q3575012 Q3764762 Q7377573 Q20068820 Q6031433 Q21794041 Q6438624 Q25768293 Q19448005 Q21503040 Q17148031 Q11604340 Q17158335 Q11815936 Q17364527 Q22280435 Q15934058 Q18559837 Q11201210 Q25748324 Q459844 Q2379965 Q3291942 Q17621841 Q20980163 Q453573 Q11531266 Q4255661 Q22675675 Q528434 Q237726 Q74813 Q2668396 Q298423 Q22073991 Q503575 Q23416861 Q15807938 Q19357604 Q18049905 Q26921704 Q2882250 Q18346977 Q2939204 Q3809749 Q12685049 Q21033490 Q5856706 Q16165783 Q5569499 Q12613187 Q7849225 Q16582167 Q19543099 Q16865281 Q22095108 Q12872947 Q15433626
AND((c(Q502895),P21,Q6581097), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P21
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS] are a male and female
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?b WHERE { ?b property:P21 resource:Q6581097 . ?b property:P21 resource:Q6581072 . ?b rdf:type ontology:Q502895 }
Kim Ju-yeong Gert Portael Louis-Marie Autissier Hom Nguyen George Mather Luer Hajime Hyakkoku Leeland Dayton Mooring Antonio Merayo Ali Nuhu Kodai Fujii Luli Bitri Dalmau IV de Rocabertí Diemut Theato Robin Mathews Milko Tokola Hakima El Haite Lee Parkhill Floris Meydam Ivan Almeida Naima Mora Hana Shezifi Gilgun Elmo Jankari Rafeef Ziadah Magdalena Mayr Liss Eriksson Lilly Wachowski Andreja Pejić Yengkhom Roma Letebrhan Haylay Gebreslasea Francis Wheatley Jian-Huan Yang Dana International Fenedy Masauvakalo Anna Grodzka Chanmi Elisabeth Ullmann Marina Lampraki-Plaka Ángel Martínez Ortega Benny Motzfeldt Maria-Magdalena Zaharescu Joan de Munchensi Amadeus Serafini Jaki Irvine Tinne De Caigny John Spaulding Colombe Marcasiano Annegret Kuhn Kazue Itō María Elena Orantes Kudirat Akhigbe Miska Humaloja Dominique Van Der Straeten Emma Josepha Sparre Terunobu Utsunomiya Suzanne Schulting Zdeněk Koubek Shamshad Begum Rudy Autio Lesya Nikityuk Matthew W. Taylor Jelizaveta Potapova Gaz Beadle Shagdaryn Bira Juan Illas y Vidal Kenneth Neil Maria Espinalt i Font Akira Yoneda Songhaye Petia Stawrewa Ángel Tejeda Sun Vandeth Matsudaira Yoshiko Mirabel Topham Asmik Grigorian K. T. Rama Rao Norah Al Faiz Thomas Beatie Marie-Joseph Charles des Acres de l'Aigle Marta Linares Engel Reimers Vicki Richter Miki Matsumoto Adolfine Therese Leander-Flodin Nikola Jakadofsky Daniele Hypólito Rosalba Carriera Mina Caputo Parinya Charoenphol Chelsea Manning Saalumarada Thimmakka Cesare Nebbia Ivica Mavrenski Elvire De Bruyn Hamda Khamis Stanisława Witekowa Jean-Marie Aleokol Mabieme Jingjing Wang Jan Norback Carlo Guasco Jaiyah Saelua Chew Mei Fun Silke Weitendorf Ingel Fallstedt America Sanchez Glenys Barton Lee Hye-jin Kim Ye-ri Jorge Garate Ionna Stephanopoli Choi Jung-moon Taofik Adegbite Frosso Kiaou Florence Randal Livesay
Jelizaveta Potapova, Marie-Joseph Charles des Acres de l'Aigle, Zdeněk Koubek, Fenedy Masauvakalo, Chanmi, Nikola Jakadofsky, Suzanne Schulting, Rafeef Ziadah, Miki Matsumoto and Parinya Charoenphol are a male and female
Jelizaveta Potapova Marie-Joseph Charles des Acres de l'Aigle Zdeněk Koubek Fenedy Masauvakalo Chanmi Nikola Jakadofsky Suzanne Schulting Rafeef Ziadah Miki Matsumoto Parinya Charoenphol
action filter_type
action intersection
action find_reverse
entity male
relation gender
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'male'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?b WHERE { ?b property:gender resource:male . ?b property:gender resource:female . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atleast 1742 people ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1742
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:P1303 ?t . ?w rdf:type ontology:Q502895 . ?t rdf:type ontology:Q34379 } GROUP BY ?t } . FILTER ( ?f >= 1742 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1742
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:instrument ?t . ?w rdf:type ontology:common_name . ?t rdf:type ontology:musical_instrument } GROUP BY ?t } . FILTER ( ?f >= 1742 ) }
[]
musical instrument common name
Q5994 Q8355 Q1444
SYSTEM
piano, violin, organ
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1742
[ANSWERS] are played by atleast 1742 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:P1303 ?t . ?w rdf:type ontology:Q502895 . ?t rdf:type ontology:Q34379 } GROUP BY ?t } . FILTER ( ?f >= 1742 ) }
piano violin organ drum kit
Piano, violin and organ are played by atleast 1742 people
piano violin organ
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1742
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:instrument ?t . ?w rdf:type ontology:common_name . ?t rdf:type ontology:musical_instrument } GROUP BY ?t } . FILTER ( ?f >= 1742 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5994
P61
Q502895
USER
Who discovered or invented piano ?
(Q5994,P61,c(Q502895))
action filter_type
action find
entity Q5994
relation P61
type Q502895
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q5994 property:P61 ?o . ?o rdf:type ontology:Q502895 }
piano
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:piano property:discoverer_or_inventor ?o . ?o rdf:type ontology:common_name }
[]
common name
Q301597
SYSTEM
Bartolomeo Cristofori
Q301597
(Q5994,P61,c(Q502895))
action filter_type
action find
entity Q5994
relation P61
type Q502895
[ANSWER] discovered or invented piano
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q5994 property:P61 ?o . ?o rdf:type ontology:Q502895 }
Bartolomeo Cristofori
Bartolomeo Cristofori discovered or invented piano
Bartolomeo Cristofori
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:piano property:discoverer_or_inventor ?o . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P119
Q44539
USER
How many temples are the resting place of that person ?
(Q301597,P119,c(Q44539))
action count
action filter_type
action find
entity Q301597
relation P119
type Q44539
['Q301597', 'P119', {'concept': 'Q44539'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:Q301597 property:P119 ?c . ?c rdf:type ontology:Q44539 }
action count
action filter_type
action find
entity Bartolomeo Cristofori
relation place of burial
type temple
['Bartolomeo Cristofori', 'place of burial', {'concept': 'temple'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:Bartolomeo_Cristofori property:place_of_burial ?c . ?c rdf:type ontology:temple }
[]
temple
SYSTEM
1
Q51177
(Q301597,P119,c(Q44539))
action count
action filter_type
action find
entity Q301597
relation P119
type Q44539
[ANSWER]
['Q301597', 'P119', {'concept': 'Q44539'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:Q301597 property:P119 ?c . ?c rdf:type ontology:Q44539 }
Basilica of Santa Croce
1
action count
action filter_type
action find
entity Bartolomeo Cristofori
relation place of burial
type temple
['Bartolomeo Cristofori', 'place of burial', {'concept': 'temple'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:Bartolomeo_Cristofori property:place_of_burial ?c . ?c rdf:type ontology:temple }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q301597
P20
Q56061
USER
Where did Bartolomeo Cristofori expire ?
(Q301597,P20,c(Q56061))
action filter_type
action find
entity Q301597
relation P20
type Q56061
['Q301597', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q301597 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Bartolomeo Cristofori
action filter_type
action find
entity Bartolomeo Cristofori
relation place of death
type administrative territorial entity
['Bartolomeo Cristofori', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Bartolomeo_Cristofori property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2044
SYSTEM
Florence
Q2044
(Q301597,P20,c(Q56061))
action filter_type
action find
entity Q301597
relation P20
type Q56061
Bartolomeo Cristofori expired [ANSWER]
['Q301597', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q301597 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Florence
Bartolomeo Cristofori expired Florence
Florence
action filter_type
action find
entity Bartolomeo Cristofori
relation place of death
type administrative territorial entity
['Bartolomeo Cristofori', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Bartolomeo_Cristofori property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2044 Q5707043 Q5067606
P190
Q56061
USER
Is that administrative territory a sister city of Var Gonbad and Chahar Qaleh-ye Olya ?
(Q2044,P190,Q5707043) (Q2044,P190,Q5067606)
action is_in
entity Q2044
action intersection
action find_reverse
entity Q5707043
relation P190
action find_reverse
entity Q5067606
relation P190
['Q2044', 'P190', 'Q5707043'] ['Q2044', 'P190', 'Q5067606']
ASK WHERE { resource:Q2044 property:P190 resource:Q5707043 . resource:Q2044 property:P190 resource:Q5067606 }
Florence Var Gonbad Chahar Qaleh-ye Olya
action is_in
entity Florence
action intersection
action find_reverse
entity Var Gonbad
relation sister city
action find_reverse
entity Chahar Qaleh-ye Olya
relation sister city
['Florence', 'sister city', 'Var Gonbad'] ['Florence', 'sister city', 'Chahar Qaleh-ye Olya']
ASK WHERE { resource:Florence property:sister_city resource:Var_Gonbad . resource:Florence property:sister_city resource:Chahar_Qaleh-ye_Olya }
[]
administrative territorial entity
SYSTEM
NO
(Q2044,P190,Q5707043) (Q2044,P190,Q5067606)
action is_in
entity Q2044
action intersection
action find_reverse
entity Q5707043
relation P190
action find_reverse
entity Q5067606
relation P190
[ANSWER]
['Q2044', 'P190', 'Q5707043'] ['Q2044', 'P190', 'Q5067606']
ASK WHERE { resource:Q2044 property:P190 resource:Q5707043 . resource:Q2044 property:P190 resource:Q5067606 }
No
action is_in
entity Florence
action intersection
action find_reverse
entity Var Gonbad
relation sister city
action find_reverse
entity Chahar Qaleh-ye Olya
relation sister city
['Florence', 'sister city', 'Var Gonbad'] ['Florence', 'sister city', 'Chahar Qaleh-ye Olya']
ASK WHERE { resource:Florence property:sister_city resource:Var_Gonbad . resource:Florence property:sister_city resource:Chahar_Qaleh-ye_Olya }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2044 Q2960919
P47
Q15617994
USER
How many administrative territories share the border with Florence or Charlo, New Brunswick ?
(Q2044,P47,c(Q15617994)) (Q2960919,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q2044
relation P47
type Q15617994
action filter_type
action find
entity Q2960919
relation P47
type Q15617994
['Q2044', 'P47', {'concept': 'Q15617994'}] ['Q2960919', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { resource:Q2960919 property:P47 ?r . ?r rdf:type ontology:Q15617994 } UNION { resource:Q2044 property:P47 ?r . ?r rdf:type ontology:Q15617994 } }
Florence Charlo, New Brunswick
action count
action union
action filter_type
action find
entity Florence
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Charlo, New Brunswick
relation shares border with
type designation for an administrative territorial entity
['Florence', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Charlo, New Brunswick', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { resource:Charlo,_New_Brunswick property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Florence property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
6
Q82612 Q82842 Q82712 Q82670 Q82636 Q82865
(Q2044,P47,c(Q15617994)) (Q2960919,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q2044
relation P47
type Q15617994
action filter_type
action find
entity Q2960919
relation P47
type Q15617994
[ANSWER]
['Q2044', 'P47', {'concept': 'Q15617994'}] ['Q2960919', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { resource:Q2960919 property:P47 ?r . ?r rdf:type ontology:Q15617994 } UNION { resource:Q2044 property:P47 ?r . ?r rdf:type ontology:Q15617994 } }
Bagno a Ripoli Scandicci Impruneta Fiesole Campi Bisenzio Sesto Fiorentino
6
action count
action union
action filter_type
action find
entity Florence
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Charlo, New Brunswick
relation shares border with
type designation for an administrative territorial entity
['Florence', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Charlo, New Brunswick', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { resource:Charlo,_New_Brunswick property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Florence property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2044
P159
Q2668072
USER
Which collection has HQ at Florence ?
(c(Q2668072),P159,Q2044)
action filter_type
action find_reverse
entity Q2044
relation P159
type Q2668072
[{'concept': 'Q2668072'}, 'P159', 'Q2044']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q2668072 . ?f property:P159 resource:Q2044 }
Florence
action filter_type
action find_reverse
entity Florence
relation headquarters location
type collection
[{'concept': 'collection'}, 'headquarters location', 'Florence']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:collection . ?f property:headquarters_location resource:Florence }
[]
collection
Q3867647
SYSTEM
Torrini
Q3867647
(c(Q2668072),P159,Q2044)
action filter_type
action find_reverse
entity Q2044
relation P159
type Q2668072
In [ANSWER] has HQ at Florence
[{'concept': 'Q2668072'}, 'P159', 'Q2044']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q2668072 . ?f property:P159 resource:Q2044 }
Torrini
In Torrini has HQ at Florence
Torrini
action filter_type
action find_reverse
entity Florence
relation headquarters location
type collection
[{'concept': 'collection'}, 'headquarters location', 'Florence']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:collection . ?f property:headquarters_location resource:Florence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2044
P30
Q2221906
USER
Where is that administrative territory situated ?
(Q3867647,P30,c(Q2221906))
action filter_type
action find
entity Q2044
relation P30
type Q2221906
['Q3867647', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { resource:Q2044 property:P30 ?i . ?i rdf:type ontology:Q2221906 }
Florence
action filter_type
action find
entity Florence
relation continent
type geographic location
['Torrini', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { resource:Florence property:continent ?i . ?i rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q3867647,P30,c(Q2221906))
action filter_type
action find
entity Q2044
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
['Q3867647', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { resource:Q2044 property:P30 ?i . ?i rdf:type ontology:Q2221906 }
Europe
That administrative territory is situated in Europe
Europe
action filter_type
action find
entity Florence
relation continent
type geographic location
['Torrini', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { resource:Florence property:continent ?i . ?i rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q46
P610
Q14524493
USER
Which terrain is the highest point of that geographic location ?
(Q46,P610,c(Q14524493))
action filter_type
action find
entity Q46
relation P610
type Q14524493
['Q46', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?t WHERE { resource:Q46 property:P610 ?t . ?t rdf:type ontology:Q14524493 }
Europe
action filter_type
action find
entity Europe
relation highest point
type terrain
['Europe', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?t WHERE { resource:Europe property:highest_point ?t . ?t rdf:type ontology:terrain }
[]
terrain
Q43105
SYSTEM
Mount Elbrus
Q43105
(Q46,P610,c(Q14524493))
action filter_type
action find
entity Q46
relation P610
type Q14524493
[ANSWER] is the highest point of that geographic location
['Q46', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?t WHERE { resource:Q46 property:P610 ?t . ?t rdf:type ontology:Q14524493 }
Mount Elbrus
Mount Elbrus is the highest point of that geographic location
Mount Elbrus
action filter_type
action find
entity Europe
relation highest point
type terrain
['Europe', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?t WHERE { resource:Europe property:highest_point ?t . ?t rdf:type ontology:terrain }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12736
Q14524493
USER
And what about Saône-et-Loire?
(Q12736,P610,c(Q14524493))
action filter_type
action find
entity Q12736
relation P610
type Q14524493
['Q12736', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?g WHERE { resource:Q12736 property:P610 ?g . ?g rdf:type ontology:Q14524493 }
Saône-et-Loire
action filter_type
action find
entity Saône-et-Loire
relation highest point
type terrain
['Saône-et-Loire', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?g WHERE { resource:Saône-et-Loire property:highest_point ?g . ?g rdf:type ontology:terrain }
[]
terrain
Q2200332
SYSTEM
Haut-Folin
Q2200332
(Q12736,P610,c(Q14524493))
action filter_type
action find
entity Q12736
relation P610
type Q14524493
[ANSWER]
['Q12736', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?g WHERE { resource:Q12736 property:P610 ?g . ?g rdf:type ontology:Q14524493 }
Haut-Folin
Haut-Folin
action filter_type
action find
entity Saône-et-Loire
relation highest point
type terrain
['Saône-et-Loire', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?g WHERE { resource:Saône-et-Loire property:highest_point ?g . ?g rdf:type ontology:terrain }
[]