Simple Question (Direct)
Simple Question
Q5257787
P26
Q502895
USER
Which people are the spouses of Denise Welch ?
(Q5257787,P26,c(Q502895))
action filter_type
action find
entity Q5257787
relation P26
type Q502895
['Q5257787', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q5257787 property:P26 ?m . ?m rdf:type ontology:Q502895 }
Denise Welch
action filter_type
action find
entity Denise Welch
relation spouse
type common name
['Denise Welch', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Denise_Welch property:spouse ?m . ?m rdf:type ontology:common_name }
[]
common name
Q5233241 Q7803638
SYSTEM
David Easter, Tim Healy
Q5233241 Q7803638
(Q5257787,P26,c(Q502895))
action filter_type
action find
entity Q5257787
relation P26
type Q502895
[ANSWERS] are the spouses of Denise Welch
['Q5257787', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q5257787 property:P26 ?m . ?m rdf:type ontology:Q502895 }
David Easter Tim Healy
David Easter and Tim Healy are the spouses of Denise Welch
David Easter Tim Healy
action filter_type
action find
entity Denise Welch
relation spouse
type common name
['Denise Welch', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Denise_Welch property:spouse ?m . ?m rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5233241
P21
Q290
USER
Which sex does that person possess ?
(Q5233241,P21,c(Q290))
action filter_type
action find
entity Q5233241
relation P21
type Q290
['Q5233241', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q5233241 property:P21 ?z . ?z rdf:type ontology:Q290 }
David Easter
action filter_type
action find
entity David Easter
relation gender
type sex
['David Easter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:David_Easter property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q5233241
SYSTEM
Did you mean David Easter ?
Q5233241 Q7803638
(Q5233241,P21,c(Q290)) (Q7803638,P21,c(Q290))
[ANSWER]
['Q5233241', 'P21', {'concept': 'Q290'}] ['Q7803638', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q5233241 property:P21 ?z . ?z rdf:type ontology:Q290 }
David Easter Tim Healy
Did you mean David Easter ?
David Easter
['David Easter', 'gender', {'concept': 'sex'}] ['Tim Healy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:David_Easter property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
Yes
(Q5233241,P21,c(Q290))
['Q5233241', 'P21', {'concept': 'Q290'}]
['David Easter', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q5233241,P21,c(Q290))
action filter_type
action find
entity Q5233241
relation P21
type Q290
That person possesses a [ANSWER]
['Q5233241', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q5233241 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity David Easter
relation gender
type sex
['David Easter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:David_Easter property:gender ?z . ?z rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q914116
P21
Q502895
USER
Does Ralph Hepburn have the gender as that sex ?
(Q914116,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q914116
relation P21
['Q914116', 'P21', 'Q6581097']
ASK WHERE { resource:Q914116 property:P21 resource:Q6581097 }
male Ralph Hepburn
action is_in
entity male
action find
entity Ralph Hepburn
relation gender
['Ralph Hepburn', 'gender', 'male']
ASK WHERE { resource:Ralph_Hepburn property:gender resource:male }
[]
common name
SYSTEM
YES
(Q914116,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q914116
relation P21
[ANSWER]
['Q914116', 'P21', 'Q6581097']
ASK WHERE { resource:Q914116 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Ralph Hepburn
relation gender
['Ralph Hepburn', 'gender', 'male']
ASK WHERE { resource:Ralph_Hepburn property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5257787 Q145
P27
Q15617994
USER
Is Denise Welch a civilian of United Kingdom ?
(Q5257787,P27,Q145)
action is_in
entity Q145
action find
entity Q5257787
relation P27
['Q5257787', 'P27', 'Q145']
ASK WHERE { resource:Q5257787 property:P27 resource:Q145 }
Denise Welch United Kingdom
action is_in
entity United Kingdom
action find
entity Denise Welch
relation country of citizenship
['Denise Welch', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Denise_Welch property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q5257787,P27,Q145)
action is_in
entity Q145
action find
entity Q5257787
relation P27
[ANSWER]
['Q5257787', 'P27', 'Q145']
ASK WHERE { resource:Q5257787 property:P27 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Denise Welch
relation country of citizenship
['Denise Welch', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Denise_Welch property:country_of_citizenship resource:United_Kingdom }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5257787
P161
Q15416
USER
How many television programs do Denise Welch star in ?
(c(Q15416),P161,Q5257787)
action count
action filter_type
action find_reverse
entity Q5257787
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q5257787']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { ?g rdf:type ontology:Q15416 . ?g property:P161 resource:Q5257787 }
Denise Welch
action count
action filter_type
action find_reverse
entity Denise Welch
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Denise Welch']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { ?g rdf:type ontology:television_program . ?g property:cast_member resource:Denise_Welch }
[]
television program
SYSTEM
2
Q19871429 Q3032555
(c(Q15416),P161,Q5257787)
action count
action filter_type
action find_reverse
entity Q5257787
relation P161
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q5257787']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { ?g rdf:type ontology:Q15416 . ?g property:P161 resource:Q5257787 }
Boy Meets Girl 10 Years Younger
2
action count
action filter_type
action find_reverse
entity Denise Welch
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Denise Welch']
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { ?g rdf:type ontology:television_program . ?g property:cast_member resource:Denise_Welch }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q3604986
P161
Q15416
USER
And how about Adam Harrington?
(c(Q15416),P161,Q3604986)
action count
action filter_type
action find_reverse
entity Q3604986
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q3604986']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ontology:Q15416 . ?e property:P161 resource:Q3604986 }
Adam Harrington
action count
action filter_type
action find_reverse
entity Adam Harrington
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Adam Harrington']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ontology:television_program . ?e property:cast_member resource:Adam_Harrington }
[]
television program
SYSTEM
1
Q3959756
(c(Q15416),P161,Q3604986)
action count
action filter_type
action find_reverse
entity Q3604986
relation P161
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q3604986']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ontology:Q15416 . ?e property:P161 resource:Q3604986 }
Show Me Yours
1
action count
action filter_type
action find_reverse
entity Adam Harrington
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Adam Harrington']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ontology:television_program . ?e property:cast_member resource:Adam_Harrington }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7803638
P106
Q12737077
USER
What does Tim Healy do for a living ?
(Q7803638,P106,c(Q12737077))
action filter_type
action find
entity Q7803638
relation P106
type Q12737077
['Q7803638', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q7803638 property:P106 ?z }
Tim Healy
action filter_type
action find
entity Tim Healy
relation occupation
type occupation
['Tim Healy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Tim_Healy property:occupation ?z }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q7803638,P106,c(Q12737077))
action filter_type
action find
entity Q7803638
relation P106
type Q12737077
Tim Healy does for a living an [ANSWER]
['Q7803638', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q7803638 property:P106 ?z }
actor
Tim Healy does for a living an actor
actor
action filter_type
action find
entity Tim Healy
relation occupation
type occupation
['Tim Healy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Tim_Healy property:occupation ?z }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16328429 Q914116
P27
Q15617994
USER
Which administrative territories are Ralph Hepburn or Ismini Chysichoou - Carter an inhabitant of ?
OR((Q914116,P27,c(Q15617994)), (Q16328429,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q914116
relation P27
action find
entity Q16328429
relation P27
type Q15617994
{'OR': [['Q914116', 'P27', {'concept': 'Q15617994'}], ['Q16328429', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?a ) { ( resource:Q914116 ) ( resource:Q16328429 ) } . ?a property:P27 ?r } . ?r rdf:type ontology:Q15617994 }
Ismini Chysichoou - Carter Ralph Hepburn
action filter_type
action union
action find
entity Ralph Hepburn
relation country of citizenship
action find
entity Ismini Chysichoou - Carter
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ralph Hepburn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ismini Chysichoou - Carter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?a ) { ( resource:Ralph_Hepburn ) ( resource:Ismini_Chysichoou_-_Carter ) } . ?a property:country_of_citizenship ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q41
SYSTEM
United States of America, Greece
Q30 Q41
OR((Q914116,P27,c(Q15617994)), (Q16328429,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q914116
relation P27
action find
entity Q16328429
relation P27
type Q15617994
[ANSWERS] are Ralph Hepburn or Ismini Chysichoou - Carter an inhabitant of
{'OR': [['Q914116', 'P27', {'concept': 'Q15617994'}], ['Q16328429', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?a ) { ( resource:Q914116 ) ( resource:Q16328429 ) } . ?a property:P27 ?r } . ?r rdf:type ontology:Q15617994 }
United States of America Greece
United States of America and Greece are Ralph Hepburn or Ismini Chysichoou - Carter an inhabitant of
United States of America Greece
action filter_type
action union
action find
entity Ralph Hepburn
relation country of citizenship
action find
entity Ismini Chysichoou - Carter
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ralph Hepburn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ismini Chysichoou - Carter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?a ) { ( resource:Ralph_Hepburn ) ( resource:Ismini_Chysichoou_-_Carter ) } . ?a property:country_of_citizenship ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]