Simple Question (Direct)
Simple Question
Q1175156
P50
Q502895
USER
Which person authored Max Payne ?
(Q1175156,P50,c(Q502895))
action filter_type
action find
entity Q1175156
relation P50
type Q502895
['Q1175156', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1175156 property:P50 ?o . ?o rdf:type ontology:Q502895 }
Max Payne
action filter_type
action find
entity Max Payne
relation author
type common name
['Max Payne', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Max_Payne property:author ?o . ?o rdf:type ontology:common_name }
[]
common name
Q1065520
SYSTEM
Sam Lake
Q1065520
(Q1175156,P50,c(Q502895))
action filter_type
action find
entity Q1175156
relation P50
type Q502895
Into [ANSWER] authored Max Payne
['Q1175156', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1175156 property:P50 ?o . ?o rdf:type ontology:Q502895 }
Sam Lake
Into Sam Lake authored Max Payne
Sam Lake
action filter_type
action find
entity Max Payne
relation author
type common name
['Max Payne', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Max_Payne property:author ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1065520
P21
Q290
USER
Which sex does that person possess ?
(Q1065520,P21,c(Q290))
action filter_type
action find
entity Q1065520
relation P21
type Q290
['Q1065520', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q1065520 property:P21 ?y . ?y rdf:type ontology:Q290 }
Sam Lake
action filter_type
action find
entity Sam Lake
relation gender
type sex
['Sam Lake', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Sam_Lake property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1065520,P21,c(Q290))
action filter_type
action find
entity Q1065520
relation P21
type Q290
That person possesses a [ANSWER]
['Q1065520', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q1065520 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Sam Lake
relation gender
type sex
['Sam Lake', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Sam_Lake property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1065520
P106
Q12737077
USER
What are the professions of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1065520
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1065520 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Sam Lake
action filter_type
action find
entity Sam Lake
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Sam_Lake property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q33999 Q36180
SYSTEM
actor, writer
Q33999 Q36180
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1065520
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1065520 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
actor writer
The professions of that person are actor and writer
actor writer
action filter_type
action find
entity Sam Lake
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Sam_Lake property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2660767
P106
Q502895
USER
Do Edward Stelder have those occupations as his/her means of employment ?
(Q2660767,P106,Q33999) (Q2660767,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q2660767
relation P106
['Q2660767', 'P106', 'Q33999'] ['Q2660767', 'P106', 'Q36180']
ASK WHERE { resource:Q2660767 property:P106 ?m . VALUES ( ?m ) { ( resource:Q33999 ) ( resource:Q36180 ) } }
Edward Stelder
action is_in
entity prev_answer
action find
entity Edward Stelder
relation occupation
['Edward Stelder', 'occupation', 'actor'] ['Edward Stelder', 'occupation', 'writer']
ASK WHERE { resource:Edward_Stelder property:occupation ?m . VALUES ( ?m ) { ( resource:actor ) ( resource:writer ) } }
[]
common name
SYSTEM
YES
(Q2660767,P106,Q33999) (Q2660767,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q2660767
relation P106
[ANSWER]
['Q2660767', 'P106', 'Q33999'] ['Q2660767', 'P106', 'Q36180']
ASK WHERE { resource:Q2660767 property:P106 ?m . VALUES ( ?m ) { ( resource:Q33999 ) ( resource:Q36180 ) } }
Yes
action is_in
entity prev_answer
action find
entity Edward Stelder
relation occupation
['Edward Stelder', 'occupation', 'actor'] ['Edward Stelder', 'occupation', 'writer']
ASK WHERE { resource:Edward_Stelder property:occupation ?m . VALUES ( ?m ) { ( resource:actor ) ( resource:writer ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1175156
P840
Q56061
USER
What location is Max Payne set in ?
(Q1175156,P840,c(Q56061))
action filter_type
action find
entity Q1175156
relation P840
type Q56061
['Q1175156', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q1175156 property:P840 ?e . ?e rdf:type ontology:Q56061 }
Max Payne
action filter_type
action find
entity Max Payne
relation narrative location
type administrative territorial entity
['Max Payne', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Max_Payne property:narrative_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q1175156,P840,c(Q56061))
action filter_type
action find
entity Q1175156
relation P840
type Q56061
Max Payne is set in [ANSWER]
['Q1175156', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q1175156 property:P840 ?e . ?e rdf:type ontology:Q56061 }
New York City
Max Payne is set in New York City
New York City
action filter_type
action find
entity Max Payne
relation narrative location
type administrative territorial entity
['Max Payne', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Max_Payne property:narrative_location ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1175156
P1441
Q6619679
USER
Which fictional humanoid is featured in that application ?
(c(Q6619679),P1441,Q60)
action filter_type
action find_reverse
entity Q1175156
relation P1441
type Q6619679
[{'concept': 'Q6619679'}, 'P1441', 'Q60']
SELECT DISTINCT ?b WHERE { ?b property:P1441 resource:Q1175156 . ?b rdf:type ontology:Q6619679 }
Max Payne
action filter_type
action find_reverse
entity Max Payne
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'New York City']
SELECT DISTINCT ?b WHERE { ?b property:present_in_work resource:Max_Payne . ?b rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q898615
SYSTEM
Max Payne (character)
Q898615
(c(Q6619679),P1441,Q60)
action filter_type
action find_reverse
entity Q1175156
relation P1441
type Q6619679
[ANSWER] is featured in that application
[{'concept': 'Q6619679'}, 'P1441', 'Q60']
SELECT DISTINCT ?b WHERE { ?b property:P1441 resource:Q1175156 . ?b rdf:type ontology:Q6619679 }
Max Payne (character)
Max Payne (character) is featured in that application
Max Payne (character)
action filter_type
action find_reverse
entity Max Payne
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'New York City']
SELECT DISTINCT ?b WHERE { ?b property:present_in_work resource:Max_Payne . ?b rdf:type ontology:fictional_humanoid }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2660767
P58
Q838948
USER
How many works of art are Edward Stelder a screenwriter of ?
(c(Q838948),P58,Q2660767)
action count
action filter_type
action find_reverse
entity Q2660767
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q2660767']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P58 resource:Q2660767 . ?z rdf:type ontology:Q838948 }
Edward Stelder
action count
action filter_type
action find_reverse
entity Edward Stelder
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Edward Stelder']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:screenwriter resource:Edward_Stelder . ?z rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
1
Q15876178
(c(Q838948),P58,Q2660767)
action count
action filter_type
action find_reverse
entity Q2660767
relation P58
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q2660767']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P58 resource:Q2660767 . ?z rdf:type ontology:Q838948 }
Hemel op Aarde
1
action count
action filter_type
action find_reverse
entity Edward Stelder
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Edward Stelder']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:screenwriter resource:Edward_Stelder . ?z rdf:type ontology:work_of_art }
[]