Simple Question (Direct)
Simple Question
Q15613941
P102
Q7210356
USER
Which party does Helge Thorheim belong to ?
(Q15613941,P102,c(Q7210356))
action filter_type
action find
entity Q15613941
relation P102
type Q7210356
['Q15613941', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q15613941 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Helge Thorheim
action filter_type
action find
entity Helge Thorheim
relation member of political party
type political organization
['Helge Thorheim', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Helge_Thorheim property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
political organization
Q485665
SYSTEM
Progress Party
Q485665
(Q15613941,P102,c(Q7210356))
action filter_type
action find
entity Q15613941
relation P102
type Q7210356
Helge Thorheim belongs to [ANSWER]
['Q15613941', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q15613941 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Progress Party
Helge Thorheim belongs to Progress Party
Progress Party
action filter_type
action find
entity Helge Thorheim
relation member of political party
type political organization
['Helge Thorheim', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Helge_Thorheim property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15613941
P39
Q12737077
USER
Which occupation was a position for which Helge Thorheim was appointed ?
(Q15613941,P39,c(Q12737077))
action filter_type
action find
entity Q15613941
relation P39
type Q12737077
['Q15613941', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q15613941 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Helge Thorheim
action filter_type
action find
entity Helge Thorheim
relation position held
type occupation
['Helge Thorheim', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Helge_Thorheim property:position_held ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q9045502
SYSTEM
member of the Parliament of Norway
Q9045502
(Q15613941,P39,c(Q12737077))
action filter_type
action find
entity Q15613941
relation P39
type Q12737077
The [ANSWER] was a position for which Helge Thorheim was appointed
['Q15613941', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q15613941 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
member of the Parliament of Norway
The member of the Parliament of Norway was a position for which Helge Thorheim was appointed
member of the Parliament of Norway
action filter_type
action find
entity Helge Thorheim
relation position held
type occupation
['Helge Thorheim', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Helge_Thorheim property:position_held ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15613941
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q9045502,P27,c(Q15617994))
action filter_type
action find
entity Q15613941
relation P27
type Q15617994
['Q9045502', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q15613941 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Helge Thorheim
action filter_type
action find
entity Helge Thorheim
relation country of citizenship
type designation for an administrative territorial entity
['member of the Parliament of Norway', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Helge_Thorheim property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q9045502,P27,c(Q15617994))
action filter_type
action find
entity Q15613941
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q9045502', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q15613941 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Norway
Norway is that person an inhabitant of
Norway
action filter_type
action find
entity Helge Thorheim
relation country of citizenship
type designation for an administrative territorial entity
['member of the Parliament of Norway', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Helge_Thorheim property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q986
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with greater number of administrative territories than Eritrea ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q986
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?k ) WHERE { ?b rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 . ?b property:P530 ?n } GROUP BY ?b } . FILTER ( ?k > ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Q986 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } }
Eritrea
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Eritrea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?k ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:diplomatic_relation ?n } GROUP BY ?b } . FILTER ( ?k > ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Eritrea property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q986
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with greater number of administrative territories than Eritrea
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?k ) WHERE { ?b rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 . ?b property:P530 ?n } GROUP BY ?b } . FILTER ( ?k > ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Q986 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America have diplomatic associations with greater number of administrative territories than Eritrea
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Eritrea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?k ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:diplomatic_relation ?n } GROUP BY ?b } . FILTER ( ?k > ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Eritrea property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q8475
P17
Q484652
USER
Are Interpol located in those administrative territories ?
(Q8475,P17,Q38) (Q8475,P17,Q155) (Q8475,P17,Q30)
action is_in
entity prev_answer
action find
entity Q8475
relation P17
['Q8475', 'P17', 'Q38'] ['Q8475', 'P17', 'Q155'] ['Q8475', 'P17', 'Q30']
ASK WHERE { resource:Q8475 property:P17 ?z . VALUES ( ?z ) { ( resource:Q801 ) ( resource:Q800 ) ( resource:Q805 ) } }
Interpol
action is_in
entity prev_answer
action find
entity Interpol
relation country
['Interpol', 'country', 'Italy'] ['Interpol', 'country', 'Brazil'] ['Interpol', 'country', 'United States of America']
ASK WHERE { resource:Interpol property:country ?z . VALUES ( ?z ) { ( resource:Israel ) ( resource:Costa_Rica ) ( resource:Yemen ) } }
[]
international organization
SYSTEM
NO
(Q8475,P17,Q38) (Q8475,P17,Q155) (Q8475,P17,Q30)
action is_in
entity prev_answer
action find
entity Q8475
relation P17
[ANSWER]
['Q8475', 'P17', 'Q38'] ['Q8475', 'P17', 'Q155'] ['Q8475', 'P17', 'Q30']
ASK WHERE { resource:Q8475 property:P17 ?z . VALUES ( ?z ) { ( resource:Q801 ) ( resource:Q800 ) ( resource:Q805 ) } }
No
action is_in
entity prev_answer
action find
entity Interpol
relation country
['Interpol', 'country', 'Italy'] ['Interpol', 'country', 'Brazil'] ['Interpol', 'country', 'United States of America']
ASK WHERE { resource:Interpol property:country ?z . VALUES ( ?z ) { ( resource:Israel ) ( resource:Costa_Rica ) ( resource:Yemen ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q523105 Q30
P530 P27
Q15617994
USER
Which administrative territories have a diplomatic relationship with United States of America or do Ole Edvart Rølvaag belong to ?
OR((Q30,P530,c(Q15617994)), (Q523105,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q523105
relation P27
type Q15617994
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q523105', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q30 property:P530 ?r } UNION { resource:Q523105 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Ole Edvart Rølvaag United States of America
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Ole Edvart Rølvaag
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ole Edvart Rølvaag', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:United_States_of_America property:diplomatic_relation ?r } UNION { resource:Ole_Edvart_Rølvaag property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q668 Q805 Q403 Q159 Q30 Q38 Q953 Q801 Q37
SYSTEM
Some of them are People's Republic of China, India, Yemen, Serbia, Russia, United States of America, Italy, Zambia, Israel, Lithuania
Q805 Q38 Q159 Q222 Q801 Q155 Q148 Q1011 Q889 Q796 Q20 Q17 Q30 Q37 Q953 Q668 Q403 Q347 Q414
OR((Q30,P530,c(Q15617994)), (Q523105,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q523105
relation P27
type Q15617994
[ANSWERS] have a diplomatic relationship with United States of America or do Ole Edvart Rølvaag belong to
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q523105', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q30 property:P530 ?r } UNION { resource:Q523105 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Yemen Italy Russia Albania Israel Brazil People's Republic of China Cape Verde Afghanistan Iraq Norway Japan United States of America Lithuania Zambia India Serbia Liechtenstein Argentina
People's Republic of China, India, Yemen, Serbia, Russia, United States of America, Italy, Zambia, Israel and Lithuania have a diplomatic relationship with United States of America or do Ole Edvart Rølvaag belong to
People's Republic of China India Yemen Serbia Russia United States of America Italy Zambia Israel Lithuania
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Ole Edvart Rølvaag
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ole Edvart Rølvaag', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:United_States_of_America property:diplomatic_relation ?r } UNION { resource:Ole_Edvart_Rølvaag property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q148 Q668 Q805 Q403 Q159 Q30 Q38 Q953 Q801 Q37
P17
Q15617994
USER
Which administrative territories are People's Republic of China, India, Yemen, Serbia, Russia, United States of America, Italy, Zambia, Israel and Lithuania present in ?
(Q148,P17,c(Q15617994)) (Q668,P17,c(Q15617994)) (Q805,P17,c(Q15617994)) (Q403,P17,c(Q15617994)) (Q159,P17,c(Q15617994)) (Q30,P17,c(Q15617994)) (Q38,P17,c(Q15617994)) (Q953,P17,c(Q15617994)) (Q801,P17,c(Q15617994)) (Q37,P17,c(Q15617994))
action union
action filter_type
action find
entity Q148
relation P17
type Q15617994
action filter_type
action find
entity Q668
relation P17
type Q15617994
action filter_type
action find
entity Q805
relation P17
type Q15617994
action filter_type
action find
entity Q403
relation P17
type Q15617994
action filter_type
action find
entity Q159
relation P17
type Q15617994
action filter_type
action find
entity Q30
relation P17
type Q15617994
action filter_type
action find
entity Q38
relation P17
type Q15617994
action filter_type
action find
entity Q953
relation P17
type Q15617994
action filter_type
action find
entity Q801
relation P17
type Q15617994
action filter_type
action find
entity Q37
relation P17
type Q15617994
['Q148', 'P17', {'concept': 'Q15617994'}] ['Q668', 'P17', {'concept': 'Q15617994'}] ['Q805', 'P17', {'concept': 'Q15617994'}] ['Q403', 'P17', {'concept': 'Q15617994'}] ['Q159', 'P17', {'concept': 'Q15617994'}] ['Q30', 'P17', {'concept': 'Q15617994'}] ['Q38', 'P17', {'concept': 'Q15617994'}] ['Q953', 'P17', {'concept': 'Q15617994'}] ['Q801', 'P17', {'concept': 'Q15617994'}] ['Q37', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { resource:Q148 property:P17 ?x . ?x rdf:type ontology:Q15617994 } UNION { resource:Q668 property:P17 ?x . ?x rdf:type ontology:Q15617994 } }
People's Republic of China India Yemen Serbia Russia United States of America Italy Zambia Israel Lithuania
action union
action filter_type
action find
entity People's Republic of China
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity India
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Yemen
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Serbia
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Russia
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Italy
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Zambia
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Israel
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Lithuania
relation country
type designation for an administrative territorial entity
["People's Republic of China", 'country', {'concept': 'designation for an administrative territorial entity'}] ['India', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Yemen', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Serbia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Russia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Zambia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Israel', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Lithuania', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { resource:People's_Republic_of_China property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:India property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q38 Q30 Q159
SYSTEM
Italy, United States of America, Russia
Q148 Q668 Q805 Q403 Q159 Q30 Q38 Q953 Q801 Q37
(Q148,P17,c(Q15617994)) (Q668,P17,c(Q15617994)) (Q805,P17,c(Q15617994)) (Q403,P17,c(Q15617994)) (Q159,P17,c(Q15617994)) (Q30,P17,c(Q15617994)) (Q38,P17,c(Q15617994)) (Q953,P17,c(Q15617994)) (Q801,P17,c(Q15617994)) (Q37,P17,c(Q15617994))
action union
action filter_type
action find
entity Q148
relation P17
type Q15617994
action filter_type
action find
entity Q668
relation P17
type Q15617994
action filter_type
action find
entity Q805
relation P17
type Q15617994
action filter_type
action find
entity Q403
relation P17
type Q15617994
action filter_type
action find
entity Q159
relation P17
type Q15617994
action filter_type
action find
entity Q30
relation P17
type Q15617994
action filter_type
action find
entity Q38
relation P17
type Q15617994
action filter_type
action find
entity Q953
relation P17
type Q15617994
action filter_type
action find
entity Q801
relation P17
type Q15617994
action filter_type
action find
entity Q37
relation P17
type Q15617994
[ANSWERS] are People's Republic of China, India, Yemen, Serbia, Russia, United States of America, Italy, Zambia, Israel and Lithuania present in
['Q148', 'P17', {'concept': 'Q15617994'}] ['Q668', 'P17', {'concept': 'Q15617994'}] ['Q805', 'P17', {'concept': 'Q15617994'}] ['Q403', 'P17', {'concept': 'Q15617994'}] ['Q159', 'P17', {'concept': 'Q15617994'}] ['Q30', 'P17', {'concept': 'Q15617994'}] ['Q38', 'P17', {'concept': 'Q15617994'}] ['Q953', 'P17', {'concept': 'Q15617994'}] ['Q801', 'P17', {'concept': 'Q15617994'}] ['Q37', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { resource:Q148 property:P17 ?x . ?x rdf:type ontology:Q15617994 } UNION { resource:Q668 property:P17 ?x . ?x rdf:type ontology:Q15617994 } }
People's Republic of China India Yemen Serbia Russia United States of America Italy Zambia Israel Lithuania
Italy, United States of America and Russia are People's Republic of China, India, Yemen, Serbia, Russia, United States of America, Italy, Zambia, Israel and Lithuania present in
Italy United States of America Russia
action union
action filter_type
action find
entity People's Republic of China
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity India
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Yemen
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Serbia
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Russia
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Italy
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Zambia
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Israel
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Lithuania
relation country
type designation for an administrative territorial entity
["People's Republic of China", 'country', {'concept': 'designation for an administrative territorial entity'}] ['India', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Yemen', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Serbia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Russia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Zambia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Israel', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Lithuania', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { resource:People's_Republic_of_China property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:India property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q30 Q159
P937
Q502895
USER
Which people have those administrative territories as their work location ?
(c(Q502895),P937,Q38) (c(Q502895),P937,Q30) (c(Q502895),P937,Q159)
action filter_type
action find_reverse
entity prev_answer
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q38'] [{'concept': 'Q502895'}, 'P937', 'Q30'] [{'concept': 'Q502895'}, 'P937', 'Q159']
SELECT DISTINCT ?r WHERE { VALUES ( ?p ) { ( resource:Q148 ) ( resource:Q668 ) ( resource:Q805 ) } . ?r property:P937 ?p . ?r rdf:type ontology:Q502895 }
Italy United States of America Russia
action filter_type
action find_reverse
entity prev_answer
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Italy'] [{'concept': 'common name'}, 'work location', 'United States of America'] [{'concept': 'common name'}, 'work location', 'Russia']
SELECT DISTINCT ?r WHERE { VALUES ( ?p ) { ( resource:People's_Republic_of_China ) ( resource:India ) ( resource:Yemen ) } . ?r property:work_location ?p . ?r rdf:type ontology:common_name }
[]
common name
Q61423 Q114031 Q20747363
SYSTEM
Adolf Furtwängler, Heinrich Gross, Cecilia Sternberg
Q26709650 Q455777 Q21402689 Q961250 Q22247199 Q61423 Q12062202 Q77033 Q1748504 Q12017811 Q26198053 Q23775987 Q21705837 Q20006819 Q20829615 Q20894879 Q20747363 Q4426737 Q20879213 Q21155013 Q114031 Q23830555
(c(Q502895),P937,Q38) (c(Q502895),P937,Q30) (c(Q502895),P937,Q159)
action filter_type
action find_reverse
entity prev_answer
relation P937
type Q502895
[ANSWERS] have those administrative territories as their work location
[{'concept': 'Q502895'}, 'P937', 'Q38'] [{'concept': 'Q502895'}, 'P937', 'Q30'] [{'concept': 'Q502895'}, 'P937', 'Q159']
SELECT DISTINCT ?r WHERE { VALUES ( ?p ) { ( resource:Q148 ) ( resource:Q668 ) ( resource:Q805 ) } . ?r property:P937 ?p . ?r rdf:type ontology:Q502895 }
Antoine Boudet Amato Lusitano Frank McClean Emilio Menéndez Master of San Pietro in Sylvis Adolf Furtwängler Charles Fairfax Murray Wilhelm von Gloeden Maurice Poli Diana Phipps Henry Jorden DonkeyHotey Eliana Machado Meugé Albert van Beest Conrad Buff II Ejnar Hansen Cecilia Sternberg Cesare Sodero Nicolino Calyo Samuel Valentine Hunt Heinrich Gross Edmond Pierre Martin
Adolf Furtwängler, Heinrich Gross and Cecilia Sternberg have those administrative territories as their work location
Adolf Furtwängler Heinrich Gross Cecilia Sternberg
action filter_type
action find_reverse
entity prev_answer
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Italy'] [{'concept': 'common name'}, 'work location', 'United States of America'] [{'concept': 'common name'}, 'work location', 'Russia']
SELECT DISTINCT ?r WHERE { VALUES ( ?p ) { ( resource:People's_Republic_of_China ) ( resource:India ) ( resource:Yemen ) } . ?r property:work_location ?p . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q114031
P20
Q486972
USER
Where did the demise of that person occur ?
(Q114031,P20,c(Q486972))
action filter_type
action find
entity Q114031
relation P20
type Q486972
['Q114031', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?e WHERE { resource:Q114031 property:P20 ?e . ?e rdf:type ontology:Q486972 }
Heinrich Gross
action filter_type
action find
entity Heinrich Gross
relation place of death
type human settlement
['Heinrich Gross', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?e WHERE { resource:Heinrich_Gross property:place_of_death ?e . ?e rdf:type ontology:human_settlement }
[]
human settlement
Clarification for simple ques.
Q61423
SYSTEM
Did you mean Adolf Furtwängler ?
Q61423 Q114031 Q20747363
(Q61423,P20,c(Q486972)) (Q114031,P20,c(Q486972)) (Q20747363,P20,c(Q486972))
[ANSWER]
['Q61423', 'P20', {'concept': 'Q486972'}] ['Q114031', 'P20', {'concept': 'Q486972'}] ['Q20747363', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?e WHERE { resource:Q114031 property:P20 ?e . ?e rdf:type ontology:Q486972 }
Adolf Furtwängler Heinrich Gross Cecilia Sternberg
Did you mean Adolf Furtwängler ?
Adolf Furtwängler
['Adolf Furtwängler', 'place of death', {'concept': 'human settlement'}] ['Heinrich Gross', 'place of death', {'concept': 'human settlement'}] ['Cecilia Sternberg', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?e WHERE { resource:Heinrich_Gross property:place_of_death ?e . ?e rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
USER
No, I meant Heinrich Gross. Could you tell me the answer for that?
(Q114031,P20,c(Q486972))
Q114031
['Q114031', 'P20', {'concept': 'Q486972'}]
['Heinrich Gross', 'place of death', {'concept': 'human settlement'}]
[]
Q624352
SYSTEM
Hollabrunn
Q624352
(Q114031,P20,c(Q486972))
action filter_type
action find
entity Q114031
relation P20
type Q486972
The demise of that person occurred in [ANSWER]
['Q114031', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?e WHERE { resource:Q114031 property:P20 ?e . ?e rdf:type ontology:Q486972 }
Hollabrunn
The demise of that person occurred in Hollabrunn
Hollabrunn
action filter_type
action find
entity Heinrich Gross
relation place of death
type human settlement
['Heinrich Gross', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?e WHERE { resource:Heinrich_Gross property:place_of_death ?e . ?e rdf:type ontology:human_settlement }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q624352 Q58210
P190
Q515
USER
Is Jinhua partner town of that human settlement ?
(Q624352,P190,Q58210)
action is_in
entity Q58210
action find
entity Q624352
relation P190
['Q624352', 'P190', 'Q58210']
ASK WHERE { resource:Q624352 property:P190 resource:Q58210 }
Hollabrunn Jinhua
action is_in
entity Jinhua
action find
entity Hollabrunn
relation sister city
['Hollabrunn', 'sister city', 'Jinhua']
ASK WHERE { resource:Hollabrunn property:sister_city resource:Jinhua }
[]
city
SYSTEM
YES
(Q624352,P190,Q58210)
action is_in
entity Q58210
action find
entity Q624352
relation P190
[ANSWER]
['Q624352', 'P190', 'Q58210']
ASK WHERE { resource:Q624352 property:P190 resource:Q58210 }
Yes
action is_in
entity Jinhua
action find
entity Hollabrunn
relation sister city
['Hollabrunn', 'sister city', 'Jinhua']
ASK WHERE { resource:Hollabrunn property:sister_city resource:Jinhua }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q37 Q6081358
P35
Q502895
USER
Is Ekrem Dümer the chief of state of Lithuania ?
(Q37,P35,Q6081358)
action is_in
entity Q6081358
action find
entity Q37
relation P35
['Q37', 'P35', 'Q6081358']
ASK WHERE { resource:Q37 property:P35 resource:Q6081358 }
Lithuania Ekrem Dümer
action is_in
entity Ekrem Dümer
action find
entity Lithuania
relation head of state
['Lithuania', 'head of state', 'Ekrem Dümer']
ASK WHERE { resource:Lithuania property:head_of_state resource:Ekrem_Dümer }
[]
common name
SYSTEM
NO
(Q37,P35,Q6081358)
action is_in
entity Q6081358
action find
entity Q37
relation P35
[ANSWER]
['Q37', 'P35', 'Q6081358']
ASK WHERE { resource:Q37 property:P35 resource:Q6081358 }
No
action is_in
entity Ekrem Dümer
action find
entity Lithuania
relation head of state
['Lithuania', 'head of state', 'Ekrem Dümer']
ASK WHERE { resource:Lithuania property:head_of_state resource:Ekrem_Dümer }
[]