Simple Question (Direct)
Simple Question
Q1691954
P21
Q290
USER
Which sex does Johan Fjord Jensen belong to ?
(Q1691954,P21,c(Q290))
action filter_type
action find
entity Q1691954
relation P21
type Q290
['Q1691954', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q1691954 property:P21 ?g . ?g rdf:type ontology:Q290 }
Johan Fjord Jensen
action filter_type
action find
entity Johan Fjord Jensen
relation gender
type sex
['Johan Fjord Jensen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Johan_Fjord_Jensen property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1691954,P21,c(Q290))
action filter_type
action find
entity Q1691954
relation P21
type Q290
Johan Fjord Jensen belongs to [ANSWER]
['Q1691954', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q1691954 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
Johan Fjord Jensen belongs to male
male
action filter_type
action find
entity Johan Fjord Jensen
relation gender
type sex
['Johan Fjord Jensen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Johan_Fjord_Jensen property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1691954
P19
Q15617994
USER
Where was Johan Fjord Jensen born ?
(Q1691954,P19,c(Q15617994))
action filter_type
action find
entity Q1691954
relation P19
type Q15617994
['Q1691954', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1691954 property:P19 ?a . ?a rdf:type ontology:Q15617994 }
Johan Fjord Jensen
action filter_type
action find
entity Johan Fjord Jensen
relation place of birth
type designation for an administrative territorial entity
['Johan Fjord Jensen', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Johan_Fjord_Jensen property:place_of_birth ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q114
SYSTEM
Kenya
Q114
(Q1691954,P19,c(Q15617994))
action filter_type
action find
entity Q1691954
relation P19
type Q15617994
Johan Fjord Jensen was born in [ANSWER]
['Q1691954', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1691954 property:P19 ?a . ?a rdf:type ontology:Q15617994 }
Kenya
Johan Fjord Jensen was born in Kenya
Kenya
action filter_type
action find
entity Johan Fjord Jensen
relation place of birth
type designation for an administrative territorial entity
['Johan Fjord Jensen', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Johan_Fjord_Jensen property:place_of_birth ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q114
P37
Q34770
USER
What is the official language of that administrative territory ?
(Q114,P37,c(Q34770))
action filter_type
action find
entity Q114
relation P37
type Q34770
['Q114', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q34770 . resource:Q114 property:P37 ?i }
Kenya
action filter_type
action find
entity Kenya
relation official language
type language
['Kenya', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:language . resource:Kenya property:official_language ?i }
[]
language
Q1860
SYSTEM
English
Q1860
(Q114,P37,c(Q34770))
action filter_type
action find
entity Q114
relation P37
type Q34770
The official language of that administrative territory is [ANSWER]
['Q114', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q34770 . resource:Q114 property:P37 ?i }
English
The official language of that administrative territory is English
English
action filter_type
action find
entity Kenya
relation official language
type language
['Kenya', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:language . resource:Kenya property:official_language ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q114
P163
Q14660
USER
What is associated with Kenya ?
(Q114,P163,c(Q14660))
action filter_type
action find
entity Q114
relation P163
type Q14660
['Q114', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?u WHERE { resource:Q114 property:P163 ?u . ?u rdf:type ontology:Q14660 }
Kenya
action filter_type
action find
entity Kenya
relation flag
type flag
['Kenya', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?u WHERE { resource:Kenya property:flag ?u . ?u rdf:type ontology:flag }
[]
flag
Q165905
SYSTEM
flag of Kenya
Q165905
(Q114,P163,c(Q14660))
action filter_type
action find
entity Q114
relation P163
type Q14660
Kenya [ANSWER] is associated with Kenya
['Q114', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?u WHERE { resource:Q114 property:P163 ?u . ?u rdf:type ontology:Q14660 }
flag of Kenya
Kenya flag of Kenya is associated with Kenya
flag of Kenya
action filter_type
action find
entity Kenya
relation flag
type flag
['Kenya', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?u WHERE { resource:Kenya property:flag ?u . ?u rdf:type ontology:flag }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q30971
Q14660
USER
And what about French Polynesia?
(Q30971,P163,c(Q14660))
action filter_type
action find
entity Q30971
relation P163
type Q14660
['Q30971', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?i WHERE { resource:Q30971 property:P163 ?i . ?i rdf:type ontology:Q14660 }
French Polynesia
action filter_type
action find
entity French Polynesia
relation flag
type flag
['French Polynesia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?i WHERE { resource:French_Polynesia property:flag ?i . ?i rdf:type ontology:flag }
[]
flag
Q232591
SYSTEM
Flag of French Polynesia
Q232591
(Q30971,P163,c(Q14660))
action filter_type
action find
entity Q30971
relation P163
type Q14660
[ANSWER]
['Q30971', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?i WHERE { resource:Q30971 property:P163 ?i . ?i rdf:type ontology:Q14660 }
Flag of French Polynesia
Flag of French Polynesia
action filter_type
action find
entity French Polynesia
relation flag
type flag
['French Polynesia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?i WHERE { resource:French_Polynesia property:flag ?i . ?i rdf:type ontology:flag }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2268288 Q30971
P27 P17
Q15617994
USER
Which administrative territories are French Polynesia present in or do Michael Joseph François Scheidweiler belong to ?
OR((Q30971,P17,c(Q15617994)), (Q2268288,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q30971
relation P17
action find
entity Q2268288
relation P27
type Q15617994
{'OR': [['Q30971', 'P17', {'concept': 'Q15617994'}], ['Q2268288', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q30971 property:P17 ?r } UNION { resource:Q2268288 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Michael Joseph François Scheidweiler French Polynesia
action filter_type
action union
action find
entity French Polynesia
relation country
action find
entity Michael Joseph François Scheidweiler
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['French Polynesia', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Michael Joseph François Scheidweiler', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:French_Polynesia property:country ?r } UNION { resource:Michael_Joseph_François_Scheidweiler property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q31
SYSTEM
France, Belgium
Q142 Q31
OR((Q30971,P17,c(Q15617994)), (Q2268288,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q30971
relation P17
action find
entity Q2268288
relation P27
type Q15617994
Are [ANSWERS] are French Polynesia present in or do Michael Joseph François Scheidweiler belong to
{'OR': [['Q30971', 'P17', {'concept': 'Q15617994'}], ['Q2268288', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q30971 property:P17 ?r } UNION { resource:Q2268288 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
France Belgium
Are France and Belgium are French Polynesia present in or do Michael Joseph François Scheidweiler belong to
France Belgium
action filter_type
action union
action find
entity French Polynesia
relation country
action find
entity Michael Joseph François Scheidweiler
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['French Polynesia', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Michael Joseph François Scheidweiler', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:French_Polynesia property:country ?r } UNION { resource:Michael_Joseph_François_Scheidweiler property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21390985
P27
Q502895
USER
Are Hans-Theodor Rust a native of those administrative territories ?
(Q21390985,P27,Q142) (Q21390985,P27,Q31)
action is_in
entity prev_answer
action find
entity Q21390985
relation P27
['Q21390985', 'P27', 'Q142'] ['Q21390985', 'P27', 'Q31']
ASK WHERE { resource:Q21390985 property:P27 ?r . VALUES ( ?r ) { ( resource:Q142 ) ( resource:Q31 ) } }
Hans-Theodor Rust
action is_in
entity prev_answer
action find
entity Hans-Theodor Rust
relation country of citizenship
['Hans-Theodor Rust', 'country of citizenship', 'France'] ['Hans-Theodor Rust', 'country of citizenship', 'Belgium']
ASK WHERE { resource:Hans-Theodor_Rust property:country_of_citizenship ?r . VALUES ( ?r ) { ( resource:France ) ( resource:Belgium ) } }
[]
common name
SYSTEM
NO
(Q21390985,P27,Q142) (Q21390985,P27,Q31)
action is_in
entity prev_answer
action find
entity Q21390985
relation P27
[ANSWER]
['Q21390985', 'P27', 'Q142'] ['Q21390985', 'P27', 'Q31']
ASK WHERE { resource:Q21390985 property:P27 ?r . VALUES ( ?r ) { ( resource:Q142 ) ( resource:Q31 ) } }
No
action is_in
entity prev_answer
action find
entity Hans-Theodor Rust
relation country of citizenship
['Hans-Theodor Rust', 'country of citizenship', 'France'] ['Hans-Theodor Rust', 'country of citizenship', 'Belgium']
ASK WHERE { resource:Hans-Theodor_Rust property:country_of_citizenship ?r . VALUES ( ?r ) { ( resource:France ) ( resource:Belgium ) } }
[]