Simple Question (Direct)
Simple Question
Q18642435
P166
Q193622
USER
What was awarded to André de Spirlet ?
(Q18642435,P166,c(Q193622))
action filter_type
action find
entity Q18642435
relation P166
type Q193622
['Q18642435', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?n WHERE { resource:Q18642435 property:P166 ?n . ?n rdf:type ontology:Q193622 }
André de Spirlet
action filter_type
action find
entity André de Spirlet
relation award received
type order
['André de Spirlet', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?n WHERE { resource:André_de_Spirlet property:award_received ?n . ?n rdf:type ontology:order }
[]
order
Q16787468
SYSTEM
Grand Officer of the Order of Leopold II
Q16787468
(Q18642435,P166,c(Q193622))
action filter_type
action find
entity Q18642435
relation P166
type Q193622
France [ANSWER] was awarded to André de Spirlet
['Q18642435', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?n WHERE { resource:Q18642435 property:P166 ?n . ?n rdf:type ontology:Q193622 }
Grand Officer of the Order of Leopold II
France Grand Officer of the Order of Leopold II was awarded to André de Spirlet
Grand Officer of the Order of Leopold II
action filter_type
action find
entity André de Spirlet
relation award received
type order
['André de Spirlet', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?n WHERE { resource:André_de_Spirlet property:award_received ?n . ?n rdf:type ontology:order }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18642435
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q16787468,P27,c(Q15617994))
action filter_type
action find
entity Q18642435
relation P27
type Q15617994
['Q16787468', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q18642435 property:P27 ?o }
André de Spirlet
action filter_type
action find
entity André de Spirlet
relation country of citizenship
type designation for an administrative territorial entity
['Grand Officer of the Order of Leopold II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:André_de_Spirlet property:country_of_citizenship ?o }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q16787468,P27,c(Q15617994))
action filter_type
action find
entity Q18642435
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q16787468', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q18642435 property:P27 ?o }
Belgium
Belgium is the country of citizenship of that person
Belgium
action filter_type
action find
entity André de Spirlet
relation country of citizenship
type designation for an administrative territorial entity
['Grand Officer of the Order of Leopold II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:André_de_Spirlet property:country_of_citizenship ?o }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q326802 Q18642435
P27
Q15617994
USER
Or Jaroslav Havlíček?
OR((Q18642435,P27,c(Q15617994)), (Q326802,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18642435
relation P27
action find
entity Q326802
relation P27
type Q15617994
{'OR': [['Q18642435', 'P27', {'concept': 'Q15617994'}], ['Q326802', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . { VALUES ( ?r ) { ( resource:Q18642435 ) ( resource:Q326802 ) } . ?r property:P27 ?s } }
Jaroslav Havlíček André de Spirlet
action filter_type
action union
action find
entity André de Spirlet
relation country of citizenship
action find
entity Jaroslav Havlíček
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['André de Spirlet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jaroslav Havlíček', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?r ) { ( resource:André_de_Spirlet ) ( resource:Jaroslav_Havlíček ) } . ?r property:country_of_citizenship ?s } }
[]
designation for an administrative territorial entity
Q213 Q31
SYSTEM
Czech Republic, Belgium
Q213 Q31
OR((Q18642435,P27,c(Q15617994)), (Q326802,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18642435
relation P27
action find
entity Q326802
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q18642435', 'P27', {'concept': 'Q15617994'}], ['Q326802', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . { VALUES ( ?r ) { ( resource:Q18642435 ) ( resource:Q326802 ) } . ?r property:P27 ?s } }
Czech Republic Belgium
Czech Republic Belgium
action filter_type
action union
action find
entity André de Spirlet
relation country of citizenship
action find
entity Jaroslav Havlíček
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['André de Spirlet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jaroslav Havlíček', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?r ) { ( resource:André_de_Spirlet ) ( resource:Jaroslav_Havlíček ) } . ?r property:country_of_citizenship ?s } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q213
P163
Q14660
USER
Which flag is associated with that administrative territory ?
(Q213,P163,c(Q14660))
action filter_type
action find
entity Q213
relation P163
type Q14660
['Q213', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?s WHERE { resource:Q213 property:P163 ?s . ?s rdf:type ontology:Q14660 }
Czech Republic
action filter_type
action find
entity Czech Republic
relation flag
type flag
['Czech Republic', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?s WHERE { resource:Czech_Republic property:flag ?s . ?s rdf:type ontology:flag }
[]
flag
Clarification for simple ques.
Q213
SYSTEM
Did you mean Czech Republic ?
Q213 Q31
(Q213,P163,c(Q14660)) (Q31,P163,c(Q14660))
[ANSWER]
['Q213', 'P163', {'concept': 'Q14660'}] ['Q31', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?s WHERE { resource:Q213 property:P163 ?s . ?s rdf:type ontology:Q14660 }
Czech Republic Belgium
Did you mean Czech Republic ?
Czech Republic
['Czech Republic', 'flag', {'concept': 'flag'}] ['Belgium', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?s WHERE { resource:Czech_Republic property:flag ?s . ?s rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
USER
Yes
(Q213,P163,c(Q14660))
['Q213', 'P163', {'concept': 'Q14660'}]
['Czech Republic', 'flag', {'concept': 'flag'}]
[]
Q127155
SYSTEM
flag of the Czech Republic
Q127155
(Q213,P163,c(Q14660))
action filter_type
action find
entity Q213
relation P163
type Q14660
Republic [ANSWER] is associated with that administrative territory
['Q213', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?s WHERE { resource:Q213 property:P163 ?s . ?s rdf:type ontology:Q14660 }
flag of the Czech Republic
Republic flag of the Czech Republic is associated with that administrative territory
flag of the Czech Republic
action filter_type
action find
entity Czech Republic
relation flag
type flag
['Czech Republic', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?s WHERE { resource:Czech_Republic property:flag ?s . ?s rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q31
P138
Q751708
USER
Which village in the United States is the eponym of Belgium ?
(c(Q751708),P138,Q31)
action filter_type
action find_reverse
entity Q31
relation P138
type Q751708
[{'concept': 'Q751708'}, 'P138', 'Q31']
SELECT DISTINCT ?h WHERE { ?h property:P138 resource:Q31 . ?h rdf:type ontology:Q751708 }
Belgium
action filter_type
action find_reverse
entity Belgium
relation named after
type village in the United States
[{'concept': 'village in the United States'}, 'named after', 'Belgium']
SELECT DISTINCT ?h WHERE { ?h property:named_after resource:Belgium . ?h rdf:type ontology:village_in_the_United_States }
[]
village in the United States
Q2025327
SYSTEM
Belgium
Q2025327
(c(Q751708),P138,Q31)
action filter_type
action find_reverse
entity Q31
relation P138
type Q751708
[ANSWER] is the eponym of [ANSWER]
[{'concept': 'Q751708'}, 'P138', 'Q31']
SELECT DISTINCT ?h WHERE { ?h property:P138 resource:Q31 . ?h rdf:type ontology:Q751708 }
Belgium
Belgium is the eponym of Belgium
Belgium
action filter_type
action find_reverse
entity Belgium
relation named after
type village in the United States
[{'concept': 'village in the United States'}, 'named after', 'Belgium']
SELECT DISTINCT ?h WHERE { ?h property:named_after resource:Belgium . ?h rdf:type ontology:village_in_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2025327
P17
Q15617994
USER
Which administrative territory does that village in the United States belong to ?
(Q2025327,P17,c(Q15617994))
action filter_type
action find
entity Q2025327
relation P17
type Q15617994
['Q2025327', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2025327 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Belgium
action filter_type
action find
entity Belgium
relation country
type designation for an administrative territorial entity
['Belgium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Belgium property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2025327,P17,c(Q15617994))
action filter_type
action find
entity Q2025327
relation P17
type Q15617994
That village in the United States belongs to the [ANSWER]
['Q2025327', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2025327 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
That village in the United States belongs to the United States of America
United States of America
action filter_type
action find
entity Belgium
relation country
type designation for an administrative territorial entity
['Belgium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Belgium property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q30 Q17
P530
Q15617994
USER
Does Japan have a diplomatic relationship with that one ?
(Q30,P530,Q17)
action is_in
entity Q17
action find
entity Q30
relation P530
['Q30', 'P530', 'Q17']
ASK WHERE { resource:Q30 property:P530 resource:Q17 }
United States of America Japan
action is_in
entity Japan
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Japan']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Japan }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q30,P530,Q17)
action is_in
entity Q17
action find
entity Q30
relation P530
[ANSWER]
['Q30', 'P530', 'Q17']
ASK WHERE { resource:Q30 property:P530 resource:Q17 }
Yes
action is_in
entity Japan
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Japan']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Japan }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P38
Q8142
USER
What is the currency of United States of America ?
action filter_type
action find
entity Q30
relation P38
type Q8142
SELECT DISTINCT ?b WHERE { resource:Q30 property:P38 ?b . ?b rdf:type ontology:Q8142 }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
SELECT DISTINCT ?b WHERE { resource:United_States_of_America property:currency ?b . ?b rdf:type ontology:currency }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
action filter_type
action find
entity Q30
relation P38
type Q8142
The currency of United States of America is the [ANSWER]
SELECT DISTINCT ?b WHERE { resource:Q30 property:P38 ?b . ?b rdf:type ontology:Q8142 }
United States dollar
The currency of United States of America is the United States dollar
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
SELECT DISTINCT ?b WHERE { resource:United_States_of_America property:currency ?b . ?b rdf:type ontology:currency }
[]