Simple Question (Direct)
Simple Question
Q102222
P19
Q15617994
USER
Which administrative territory is the birthplace of Dorothea Henzler ?
(Q102222,P19,c(Q15617994))
action filter_type
action find
entity Q102222
relation P19
type Q15617994
['Q102222', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q102222 property:P19 ?u . ?u rdf:type ontology:Q15617994 }
Dorothea Henzler
action filter_type
action find
entity Dorothea Henzler
relation place of birth
type designation for an administrative territorial entity
['Dorothea Henzler', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Dorothea_Henzler property:place_of_birth ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q552257
SYSTEM
Türkheim
Q552257
(Q102222,P19,c(Q15617994))
action filter_type
action find
entity Q102222
relation P19
type Q15617994
De [ANSWER] is the birthplace of Dorothea Henzler
['Q102222', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q102222 property:P19 ?u . ?u rdf:type ontology:Q15617994 }
Türkheim
De Türkheim is the birthplace of Dorothea Henzler
Türkheim
action filter_type
action find
entity Dorothea Henzler
relation place of birth
type designation for an administrative territorial entity
['Dorothea Henzler', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Dorothea_Henzler property:place_of_birth ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q552257
P17
Q1048835
USER
Which political territory does that administrative territory belong to ?
(Q552257,P17,c(Q1048835))
action filter_type
action find
entity Q552257
relation P17
type Q1048835
['Q552257', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q552257 property:P17 ?i . ?i rdf:type ontology:Q1048835 }
Türkheim
action filter_type
action find
entity Türkheim
relation country
type political territorial entity
['Türkheim', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Türkheim property:country ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q552257,P17,c(Q1048835))
action filter_type
action find
entity Q552257
relation P17
type Q1048835
That administrative territory belongs to Federal [ANSWER]
['Q552257', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q552257 property:P17 ?i . ?i rdf:type ontology:Q1048835 }
Germany
That administrative territory belongs to Federal Germany
Germany
action filter_type
action find
entity Türkheim
relation country
type political territorial entity
['Türkheim', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Türkheim property:country ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q183 Q19955649
P27
Q502895
USER
Is David Salabi a citizen of that political territory ?
(Q19955649,P27,Q183)
action is_in
entity Q19955649
action find
entity Q183
relation P27
['Q19955649', 'P27', 'Q183']
ASK WHERE { resource:Q183 property:P27 resource:Q19955649 }
Germany David Salabi
action is_in
entity David Salabi
action find
entity Germany
relation country of citizenship
['David Salabi', 'country of citizenship', 'Germany']
ASK WHERE { resource:Germany property:country_of_citizenship resource:David_Salabi }
[]
common name
SYSTEM
NO
(Q19955649,P27,Q183)
action is_in
entity Q19955649
action find
entity Q183
relation P27
[ANSWER]
['Q19955649', 'P27', 'Q183']
ASK WHERE { resource:Q183 property:P27 resource:Q19955649 }
No
action is_in
entity David Salabi
action find
entity Germany
relation country of citizenship
['David Salabi', 'country of citizenship', 'Germany']
ASK WHERE { resource:Germany property:country_of_citizenship resource:David_Salabi }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories holds diplomatic relationship with atleast 6 political territories ?
(c(Q1048835),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 6
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?o >= 6 ) . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?o ) WHERE { ?g property:P530 ?w . ?g rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q1048835 } GROUP BY ?g } }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 6
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?o >= 6 ) . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?o ) WHERE { ?g property:diplomatic_relation ?w . ?g rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?g } }
[]
political territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 6
[ANSWERS] hold diplomatic relationship with atleast 6 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?o >= 6 ) . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?o ) WHERE { ?g property:P530 ?w . ?g rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q1048835 } GROUP BY ?g } }
Germany Australia
Germany and Australia hold diplomatic relationship with atleast 6 political territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 6
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?o >= 6 ) . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?o ) WHERE { ?g property:diplomatic_relation ?w . ?g rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?g } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P532
Q2235308
USER
What is the registry port of that political territory ?
(c(Q2235308),P532,Q183) (c(Q2235308),P532,Q408)
action filter_type
action find_reverse
entity Q183
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', 'Q183'] [{'concept': 'Q2235308'}, 'P532', 'Q408']
SELECT DISTINCT ?r WHERE { ?r property:P532 resource:Q183 . ?r rdf:type ontology:Q2235308 }
Germany
action filter_type
action find_reverse
entity Germany
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Germany'] [{'concept': 'ship type'}, 'port of registry', 'Australia']
SELECT DISTINCT ?r WHERE { ?r property:port_of_registry resource:Germany . ?r rdf:type ontology:ship_type }
[]
ship type
Q469715
SYSTEM
MV Colombo Express
Q469715
(c(Q2235308),P532,Q183) (c(Q2235308),P532,Q408)
action filter_type
action find_reverse
entity Q183
relation P532
type Q2235308
The registry port of that political territory is the [ANSWER]
[{'concept': 'Q2235308'}, 'P532', 'Q183'] [{'concept': 'Q2235308'}, 'P532', 'Q408']
SELECT DISTINCT ?r WHERE { ?r property:P532 resource:Q183 . ?r rdf:type ontology:Q2235308 }
MV Colombo Express
The registry port of that political territory is the MV Colombo Express
MV Colombo Express
action filter_type
action find_reverse
entity Germany
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Germany'] [{'concept': 'ship type'}, 'port of registry', 'Australia']
SELECT DISTINCT ?r WHERE { ?r property:port_of_registry resource:Germany . ?r rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P1071
Q3305213
USER
Which painting has that political territory as its finally place of assembly ?
(c(Q3305213),P1071,Q469715)
action filter_type
action find_reverse
entity Q183
relation P1071
type Q3305213
[{'concept': 'Q3305213'}, 'P1071', 'Q469715']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q3305213 . ?c property:P1071 resource:Q183 }
Germany
action filter_type
action find_reverse
entity Germany
relation location of final assembly
type painting
[{'concept': 'painting'}, 'location of final assembly', 'MV Colombo Express']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:painting . ?c property:location_of_final_assembly resource:Germany }
[]
painting
Q323155
SYSTEM
Marienaltar
Q323155
(c(Q3305213),P1071,Q469715)
action filter_type
action find_reverse
entity Q183
relation P1071
type Q3305213
[ANSWER] has that political territory as its finally place of assembly
[{'concept': 'Q3305213'}, 'P1071', 'Q469715']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q3305213 . ?c property:P1071 resource:Q183 }
Marienaltar
Marienaltar has that political territory as its finally place of assembly
Marienaltar
action filter_type
action find_reverse
entity Germany
relation location of final assembly
type painting
[{'concept': 'painting'}, 'location of final assembly', 'MV Colombo Express']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:painting . ?c property:location_of_final_assembly resource:Germany }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q502895 Q214609 Q3305213
USER
Which paintings express max number of people or materials ?
(c(Q3305213),P180,c(Q502895)|c(Q214609))
action argmax
action union
action find_tuple_counts
relation P180
type Q3305213
type Q502895
action find_tuple_counts
relation P180
type Q3305213
type Q214609
[{'concept': 'Q3305213'}, 'P180', [{'concept': 'Q502895'}, {'concept': 'Q214609'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?p WHERE { ?y rdf:type ?c . VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q214609 ) } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?d WHERE { { ?d property:P180 ?j . ?d rdf:type ontology:Q3305213 . ?j rdf:type ontology:Q214609 } UNION { ?d property:P180 ?j . ?d rdf:type ontology:Q3305213 . ?j rdf:type ontology:Q502895 } } GROUP BY ?d } . FILTER ( ?s = ?i ) }
action argmax
action union
action find_tuple_counts
relation depicts
type painting
type common name
action find_tuple_counts
relation depicts
type painting
type material
[{'concept': 'painting'}, 'depicts', [{'concept': 'common name'}, {'concept': 'material'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?p WHERE { ?y rdf:type ?c . VALUES ( ?c ) { ( ontology:common_name ) ( ontology:material ) } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?d WHERE { { ?d property:depicts ?j . ?d rdf:type ontology:painting . ?j rdf:type ontology:material } UNION { ?d property:depicts ?j . ?d rdf:type ontology:painting . ?j rdf:type ontology:common_name } } GROUP BY ?d } . FILTER ( ?s = ?i ) }
[]
common name material painting
Q10147
SYSTEM
Fresque des Lyonnais
Q10147
(c(Q3305213),P180,c(Q502895)|c(Q214609))
action argmax
action union
action find_tuple_counts
relation P180
type Q3305213
type Q502895
action find_tuple_counts
relation P180
type Q3305213
type Q214609
[ANSWER] express max number of people or materials
[{'concept': 'Q3305213'}, 'P180', [{'concept': 'Q502895'}, {'concept': 'Q214609'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?p WHERE { ?y rdf:type ?c . VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q214609 ) } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?d WHERE { { ?d property:P180 ?j . ?d rdf:type ontology:Q3305213 . ?j rdf:type ontology:Q214609 } UNION { ?d property:P180 ?j . ?d rdf:type ontology:Q3305213 . ?j rdf:type ontology:Q502895 } } GROUP BY ?d } . FILTER ( ?s = ?i ) }
Fresque des Lyonnais
Fresque des Lyonnais express max number of people or materials
Fresque des Lyonnais
action argmax
action union
action find_tuple_counts
relation depicts
type painting
type common name
action find_tuple_counts
relation depicts
type painting
type material
[{'concept': 'painting'}, 'depicts', [{'concept': 'common name'}, {'concept': 'material'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?p WHERE { ?y rdf:type ?c . VALUES ( ?c ) { ( ontology:common_name ) ( ontology:material ) } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?d WHERE { { ?d property:depicts ?j . ?d rdf:type ontology:painting . ?j rdf:type ontology:material } UNION { ?d property:depicts ?j . ?d rdf:type ontology:painting . ?j rdf:type ontology:common_name } } GROUP BY ?d } . FILTER ( ?s = ?i ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q52329 Q183
P47
Q15617994
USER
Which administrative territories share border with Germany or Rotondella ?
OR((Q183,P47,c(Q15617994)), (Q52329,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P47
action find
entity Q52329
relation P47
type Q15617994
{'OR': [['Q183', 'P47', {'concept': 'Q15617994'}], ['Q52329', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q183 property:P47 ?r } UNION { resource:Q52329 property:P47 ?r } } . ?r rdf:type ontology:Q15617994 }
Rotondella Germany
action filter_type
action union
action find
entity Germany
relation shares border with
action find
entity Rotondella
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Rotondella', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Germany property:shares_border_with ?r } UNION { resource:Rotondella property:shares_border_with ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q36 Q55 Q52327 Q39 Q32 Q52339 Q31 Q52283 Q52337
SYSTEM
Some of them are Czech Republic, Poland, Netherlands, Policoro, Switzerland, Luxembourg, Valsinni, Belgium, Colobraro, Tursi
Q142 Q213 Q55 Q52339 Q29999 Q52337 Q52327 Q32 Q31 Q52323 Q36 Q39 Q52283
OR((Q183,P47,c(Q15617994)), (Q52329,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P47
action find
entity Q52329
relation P47
type Q15617994
[ANSWERS] share border with Germany or Rotondella
{'OR': [['Q183', 'P47', {'concept': 'Q15617994'}], ['Q52329', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q183 property:P47 ?r } UNION { resource:Q52329 property:P47 ?r } } . ?r rdf:type ontology:Q15617994 }
France Czech Republic Netherlands Valsinni Kingdom of the Netherlands Tursi Policoro Luxembourg Belgium Nova Siri Poland Switzerland Colobraro
Czech Republic, Poland, Netherlands, Policoro, Switzerland, Luxembourg, Valsinni, Belgium, Colobraro and Tursi share border with Germany or Rotondella
Czech Republic Poland Netherlands Policoro Switzerland Luxembourg Valsinni Belgium Colobraro Tursi
action filter_type
action union
action find
entity Germany
relation shares border with
action find
entity Rotondella
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Rotondella', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Germany property:shares_border_with ?r } UNION { resource:Rotondella property:shares_border_with ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q543684 Q183
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Germany or are Nyírjákó a part of ?
OR((Q183,P530,c(Q15617994)), (Q543684,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q543684
relation P17
type Q15617994
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q543684', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q543684 property:P17 ?b } UNION { resource:Q183 property:P530 ?b } } . ?b rdf:type ontology:Q15617994 }
Nyírjákó Germany
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Nyírjákó
relation country
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Nyírjákó', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Nyírjákó property:country ?b } UNION { resource:Germany property:diplomatic_relation ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1036 Q657 Q27 Q212 Q117 Q159 Q1006 Q241 Q929 Q55
SYSTEM
Some of them are Uganda, Chad, Ireland, Ukraine, Ghana, Russia, Guinea, Cuba, Central African Republic, Netherlands
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
OR((Q183,P530,c(Q15617994)), (Q543684,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q543684
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Germany or are Nyírjákó a part of
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q543684', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q543684 property:P17 ?b } UNION { resource:Q183 property:P530 ?b } } . ?b rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Uganda, Chad, Ireland, Ukraine, Ghana, Russia, Guinea, Cuba, Central African Republic and Netherlands have diplomatic relationships with Germany or are Nyírjákó a part of
Uganda Chad Ireland Ukraine Ghana Russia Guinea Cuba Central African Republic Netherlands
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Nyírjákó
relation country
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Nyírjákó', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Nyírjákó property:country ?b } UNION { resource:Germany property:diplomatic_relation ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1036 Q657 Q27 Q212 Q117 Q159 Q1006 Q241 Q929 Q55
P35
Q502895
USER
Which people are the heads of state of those administrative territories ?
(Q1036,P35,c(Q502895)) (Q657,P35,c(Q502895)) (Q27,P35,c(Q502895)) (Q212,P35,c(Q502895)) (Q117,P35,c(Q502895)) (Q159,P35,c(Q502895)) (Q1006,P35,c(Q502895)) (Q241,P35,c(Q502895)) (Q929,P35,c(Q502895)) (Q55,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
['Q1036', 'P35', {'concept': 'Q502895'}] ['Q657', 'P35', {'concept': 'Q502895'}] ['Q27', 'P35', {'concept': 'Q502895'}] ['Q212', 'P35', {'concept': 'Q502895'}] ['Q117', 'P35', {'concept': 'Q502895'}] ['Q159', 'P35', {'concept': 'Q502895'}] ['Q1006', 'P35', {'concept': 'Q502895'}] ['Q241', 'P35', {'concept': 'Q502895'}] ['Q929', 'P35', {'concept': 'Q502895'}] ['Q55', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?g property:P35 ?o . VALUES ( ?g ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } }
Uganda Chad Ireland Ukraine Ghana Russia Guinea Cuba Central African Republic Netherlands
action filter_type
action find
entity prev_answer
relation head of state
type common name
['Uganda', 'head of state', {'concept': 'common name'}] ['Chad', 'head of state', {'concept': 'common name'}] ['Ireland', 'head of state', {'concept': 'common name'}] ['Ukraine', 'head of state', {'concept': 'common name'}] ['Ghana', 'head of state', {'concept': 'common name'}] ['Russia', 'head of state', {'concept': 'common name'}] ['Guinea', 'head of state', {'concept': 'common name'}] ['Cuba', 'head of state', {'concept': 'common name'}] ['Central African Republic', 'head of state', {'concept': 'common name'}] ['Netherlands', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?g property:head_of_state ?o . VALUES ( ?g ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } }
[]
common name
Q7747 Q34453 Q154946
SYSTEM
Vladimir Putin, Boris Yeltsin, Juliana of the Netherlands
Q57274 Q57350 Q57276 Q629702 Q1459658 Q58077 Q189732 Q1459699 Q15850 Q50678 Q34453 Q23530 Q7747 Q4413 Q46809 Q57452 Q15633683 Q154952 Q29574 Q154946 Q150747
(Q1036,P35,c(Q502895)) (Q657,P35,c(Q502895)) (Q27,P35,c(Q502895)) (Q212,P35,c(Q502895)) (Q117,P35,c(Q502895)) (Q159,P35,c(Q502895)) (Q1006,P35,c(Q502895)) (Q241,P35,c(Q502895)) (Q929,P35,c(Q502895)) (Q55,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
[ANSWERS] are the heads of state of those administrative territories
['Q1036', 'P35', {'concept': 'Q502895'}] ['Q657', 'P35', {'concept': 'Q502895'}] ['Q27', 'P35', {'concept': 'Q502895'}] ['Q212', 'P35', {'concept': 'Q502895'}] ['Q117', 'P35', {'concept': 'Q502895'}] ['Q159', 'P35', {'concept': 'Q502895'}] ['Q1006', 'P35', {'concept': 'Q502895'}] ['Q241', 'P35', {'concept': 'Q502895'}] ['Q929', 'P35', {'concept': 'Q502895'}] ['Q55', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?g property:P35 ?o . VALUES ( ?g ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } }
Yoweri Museveni Idriss Déby Michael Higgins Leonid Kuchma Viktor Yanukovych Petro Poroshenko Leonid Kravchuk Viktor Yushchenko Oleksandr Turchynov John Mahama Boris Yeltsin Dmitry Medvedev Vladimir Putin Alpha Condé Raúl Castro François Bozizé Catherine Samba-Panza Willem-Alexander of the Netherlands Beatrix of the Netherlands Juliana of the Netherlands Wilhelmina of the Netherlands
Vladimir Putin, Boris Yeltsin and Juliana of the Netherlands are the heads of state of those administrative territories
Vladimir Putin Boris Yeltsin Juliana of the Netherlands
action filter_type
action find
entity prev_answer
relation head of state
type common name
['Uganda', 'head of state', {'concept': 'common name'}] ['Chad', 'head of state', {'concept': 'common name'}] ['Ireland', 'head of state', {'concept': 'common name'}] ['Ukraine', 'head of state', {'concept': 'common name'}] ['Ghana', 'head of state', {'concept': 'common name'}] ['Russia', 'head of state', {'concept': 'common name'}] ['Guinea', 'head of state', {'concept': 'common name'}] ['Cuba', 'head of state', {'concept': 'common name'}] ['Central African Republic', 'head of state', {'concept': 'common name'}] ['Netherlands', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?g property:head_of_state ?o . VALUES ( ?g ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P1376
Q56061
USER
Which administrative territory is center of administration for Russia ?
(c(Q56061),P1376,Q159)
action filter_type
action find_reverse
entity Q159
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q159']
SELECT DISTINCT ?u WHERE { ?u property:P1376 resource:Q159 . ?u rdf:type ontology:Q56061 }
Russia
action filter_type
action find_reverse
entity Russia
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Russia']
SELECT DISTINCT ?u WHERE { ?u property:capital_of resource:Russia . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(c(Q56061),P1376,Q159)
action filter_type
action find_reverse
entity Q159
relation P1376
type Q56061
[ANSWER] is center of administration for Russia
[{'concept': 'Q56061'}, 'P1376', 'Q159']
SELECT DISTINCT ?u WHERE { ?u property:P1376 resource:Q159 . ?u rdf:type ontology:Q56061 }
Moscow
Moscow is center of administration for Russia
Moscow
action filter_type
action find_reverse
entity Russia
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Russia']
SELECT DISTINCT ?u WHERE { ?u property:capital_of resource:Russia . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q649
P166
Q618779
USER
What was awarded to that administrative territory ?
(Q649,P166,c(Q618779))
action filter_type
action find
entity Q649
relation P166
type Q618779
['Q649', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q649 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Moscow
action filter_type
action find
entity Moscow
relation award received
type award
['Moscow', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Moscow property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q159438
SYSTEM
Hero City
Q159438
(Q649,P166,c(Q618779))
action filter_type
action find
entity Q649
relation P166
type Q618779
[ANSWER] was awarded to that administrative territory
['Q649', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q649 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Hero City
Hero City was awarded to that administrative territory
Hero City
action filter_type
action find
entity Moscow
relation award received
type award
['Moscow', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Moscow property:award_received ?s . ?s rdf:type ontology:award }
[]