Simple Question (Direct)
Simple Question
Q3575119
P140
Q874405
USER
What is the religious affiliation of Zeki Sezer ?
(Q3575119,P140,c(Q874405))
action filter_type
action find
entity Q3575119
relation P140
type Q874405
['Q3575119', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { resource:Q3575119 property:P140 ?d . ?d rdf:type ontology:Q874405 }
Zeki Sezer
action filter_type
action find
entity Zeki Sezer
relation religion
type social group
['Zeki Sezer', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { resource:Zeki_Sezer property:religion ?d . ?d rdf:type ontology:social_group }
[]
social group
Q432
SYSTEM
Islam
Q432
(Q3575119,P140,c(Q874405))
action filter_type
action find
entity Q3575119
relation P140
type Q874405
The religious affiliation of Zeki Sezer is of [ANSWER]
['Q3575119', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { resource:Q3575119 property:P140 ?d . ?d rdf:type ontology:Q874405 }
Islam
The religious affiliation of Zeki Sezer is of Islam
Islam
action filter_type
action find
entity Zeki Sezer
relation religion
type social group
['Zeki Sezer', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { resource:Zeki_Sezer property:religion ?d . ?d rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3575119
P21
Q290
USER
Which sex does that person have ?
(Q432,P21,c(Q290))
action filter_type
action find
entity Q3575119
relation P21
type Q290
['Q432', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3575119 property:P21 ?c . ?c rdf:type ontology:Q290 }
Zeki Sezer
action filter_type
action find
entity Zeki Sezer
relation gender
type sex
['Islam', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Zeki_Sezer property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q432,P21,c(Q290))
action filter_type
action find
entity Q3575119
relation P21
type Q290
That person has a [ANSWER]
['Q432', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3575119 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Zeki Sezer
relation gender
type sex
['Islam', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Zeki_Sezer property:gender ?c . ?c rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q16233863 Q3575119
P21
Q290
USER
And also Matthew Hoyle
AND((Q3575119,P21,c(Q290)), (Q16233863,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q3575119
relation P21
action find
entity Q16233863
relation P21
type Q290
{'AND': [['Q3575119', 'P21', {'concept': 'Q290'}], ['Q16233863', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q3575119 property:P21 ?h . resource:Q16233863 property:P21 ?h }
Matthew Hoyle Zeki Sezer
action filter_type
action intersection
action find
entity Zeki Sezer
relation gender
action find
entity Matthew Hoyle
relation gender
type sex
{'AND': [['Zeki Sezer', 'gender', {'concept': 'sex'}], ['Matthew Hoyle', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Zeki_Sezer property:gender ?h . resource:Matthew_Hoyle property:gender ?h }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q3575119,P21,c(Q290)), (Q16233863,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q3575119
relation P21
action find
entity Q16233863
relation P21
type Q290
[ANSWER]
{'AND': [['Q3575119', 'P21', {'concept': 'Q290'}], ['Q16233863', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q3575119 property:P21 ?h . resource:Q16233863 property:P21 ?h }
male
male
action filter_type
action intersection
action find
entity Zeki Sezer
relation gender
action find
entity Matthew Hoyle
relation gender
type sex
{'AND': [['Zeki Sezer', 'gender', {'concept': 'sex'}], ['Matthew Hoyle', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Zeki_Sezer property:gender ?h . resource:Matthew_Hoyle property:gender ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q432
P140
Q12737077 Q2472587
USER
How many occupations or peoples have Islam as religious affiliation ?
(c(Q12737077),P140,Q432) (c(Q2472587),P140,Q432)
action count
action union
action filter_type
action find_reverse
entity Q432
relation P140
type Q12737077
action filter_type
action find_reverse
entity Q432
relation P140
type Q2472587
[{'concept': 'Q12737077'}, 'P140', 'Q432'] [{'concept': 'Q2472587'}, 'P140', 'Q432']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s rdf:type ?z . VALUES ( ?z ) { ( ontology:Q2472587 ) ( ontology:Q12737077 ) } }
Islam
action count
action union
action filter_type
action find_reverse
entity Islam
relation religion
type occupation
action filter_type
action find_reverse
entity Islam
relation religion
type people
[{'concept': 'occupation'}, 'religion', 'Islam'] [{'concept': 'people'}, 'religion', 'Islam']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s rdf:type ?z . VALUES ( ?z ) { ( ontology:people ) ( ontology:occupation ) } }
[]
occupation people
SYSTEM
10
Q3573554 Q19641 Q125482 Q184402 Q188942 Q51664 Q967769 Q808139 Q185992 Q2632248
(c(Q12737077),P140,Q432) (c(Q2472587),P140,Q432)
action count
action union
action filter_type
action find_reverse
entity Q432
relation P140
type Q12737077
action filter_type
action find_reverse
entity Q432
relation P140
type Q2472587
[ANSWER]
[{'concept': 'Q12737077'}, 'P140', 'Q432'] [{'concept': 'Q2472587'}, 'P140', 'Q432']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s rdf:type ?z . VALUES ( ?z ) { ( ontology:Q2472587 ) ( ontology:Q12737077 ) } }
Occitans marja' imam ayatollah mullah Jesus in Islam Da'i Barghawata mufti Akhoond
10
action count
action union
action filter_type
action find_reverse
entity Islam
relation religion
type occupation
action filter_type
action find_reverse
entity Islam
relation religion
type people
[{'concept': 'occupation'}, 'religion', 'Islam'] [{'concept': 'people'}, 'religion', 'Islam']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s rdf:type ?z . VALUES ( ?z ) { ( ontology:people ) ( ontology:occupation ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q894896 Q16233863
P27 P495
Q15617994
USER
Which administrative territories do Matthew Hoyle belong to and are the countries of origin of Bottle Shock ?
AND((Q16233863,P27,c(Q15617994)), (Q894896,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16233863
relation P27
action find
entity Q894896
relation P495
type Q15617994
{'AND': [['Q16233863', 'P27', {'concept': 'Q15617994'}], ['Q894896', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { resource:Q894896 property:P495 ?i . resource:Q16233863 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Bottle Shock Matthew Hoyle
action filter_type
action intersection
action find
entity Matthew Hoyle
relation country of citizenship
action find
entity Bottle Shock
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Matthew Hoyle', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bottle Shock', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:Bottle_Shock property:country_of_origin ?i . resource:Matthew_Hoyle property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q16233863,P27,c(Q15617994)), (Q894896,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16233863
relation P27
action find
entity Q894896
relation P495
type Q15617994
Matthew Hoyle belong to the [ANSWER] and are the countries of origin of Bottle Shock
{'AND': [['Q16233863', 'P27', {'concept': 'Q15617994'}], ['Q894896', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { resource:Q894896 property:P495 ?i . resource:Q16233863 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
United Kingdom
Matthew Hoyle belong to the United Kingdom and are the countries of origin of Bottle Shock
United Kingdom
action filter_type
action intersection
action find
entity Matthew Hoyle
relation country of citizenship
action find
entity Bottle Shock
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Matthew Hoyle', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bottle Shock', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:Bottle_Shock property:country_of_origin ?i . resource:Matthew_Hoyle property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q894896
P161
Q502895
USER
Which people were casted in that work of art ?
(Q145,P161,c(Q502895))
action filter_type
action find
entity Q894896
relation P161
type Q502895
['Q145', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q894896 property:P161 ?i . ?i rdf:type ontology:Q502895 }
Bottle Shock
action filter_type
action find
entity Bottle Shock
relation cast member
type common name
['United Kingdom', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Bottle_Shock property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
common name
Q106481 Q352180 Q23466
SYSTEM
Alan Rickman, Bradley Whitford, Chris Pine
Q935122 Q106481 Q210200 Q352935 Q362697 Q235248 Q352180 Q315763 Q941921 Q3379332 Q23466 Q26806
(Q145,P161,c(Q502895))
action filter_type
action find
entity Q894896
relation P161
type Q502895
[ANSWERS] were casted in that work of art
['Q145', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q894896 property:P161 ?i . ?i rdf:type ontology:Q502895 }
Miguel Sandoval Alan Rickman Eliza Dushku Dennis Farina Freddy Rodriguez Rachael Taylor Bradley Whitford Bill Pullman Joe Regalbuto Philippe Bergeron Chris Pine Danny DeVito
Alan Rickman, Bradley Whitford and Chris Pine were casted in that work of art
Alan Rickman Bradley Whitford Chris Pine
action filter_type
action find
entity Bottle Shock
relation cast member
type common name
['United Kingdom', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Bottle_Shock property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19866454
P161
Q838948
USER
Do Preppies have those people in their star cast ?
(Q19866454,P161,Q106481) (Q19866454,P161,Q352180) (Q19866454,P161,Q23466)
action is_in
entity prev_answer
action find
entity Q19866454
relation P161
['Q19866454', 'P161', 'Q106481'] ['Q19866454', 'P161', 'Q352180'] ['Q19866454', 'P161', 'Q23466']
ASK WHERE { resource:Q19866454 property:P161 ?l . VALUES ( ?l ) { ( resource:Q935122 ) ( resource:Q106481 ) ( resource:Q210200 ) } }
Preppies
action is_in
entity prev_answer
action find
entity Preppies
relation cast member
['Preppies', 'cast member', 'Alan Rickman'] ['Preppies', 'cast member', 'Bradley Whitford'] ['Preppies', 'cast member', 'Chris Pine']
ASK WHERE { resource:Preppies property:cast_member ?l . VALUES ( ?l ) { ( resource:Miguel_Sandoval ) ( resource:Alan_Rickman ) ( resource:Eliza_Dushku ) } }
[]
work of art
SYSTEM
NO
(Q19866454,P161,Q106481) (Q19866454,P161,Q352180) (Q19866454,P161,Q23466)
action is_in
entity prev_answer
action find
entity Q19866454
relation P161
[ANSWER]
['Q19866454', 'P161', 'Q106481'] ['Q19866454', 'P161', 'Q352180'] ['Q19866454', 'P161', 'Q23466']
ASK WHERE { resource:Q19866454 property:P161 ?l . VALUES ( ?l ) { ( resource:Q935122 ) ( resource:Q106481 ) ( resource:Q210200 ) } }
No
action is_in
entity prev_answer
action find
entity Preppies
relation cast member
['Preppies', 'cast member', 'Alan Rickman'] ['Preppies', 'cast member', 'Bradley Whitford'] ['Preppies', 'cast member', 'Chris Pine']
ASK WHERE { resource:Preppies property:cast_member ?l . VALUES ( ?l ) { ( resource:Miguel_Sandoval ) ( resource:Alan_Rickman ) ( resource:Eliza_Dushku ) } }
[]