Simple Question (Direct)
Simple Question
Q318330
P119
Q43229
USER
Where was Adolph Joffe buried ?
(Q318330,P119,c(Q43229))
action filter_type
action find
entity Q318330
relation P119
type Q43229
['Q318330', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?q WHERE { resource:Q318330 property:P119 ?q . ?q rdf:type ontology:Q43229 }
Adolph Joffe
action filter_type
action find
entity Adolph Joffe
relation place of burial
type organization
['Adolph Joffe', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?q WHERE { resource:Adolph_Joffe property:place_of_burial ?q . ?q rdf:type ontology:organization }
[]
organization
Q208175
SYSTEM
Novodevichy Cemetery
Q208175
(Q318330,P119,c(Q43229))
action filter_type
action find
entity Q318330
relation P119
type Q43229
Adolph Joffe was buried in [ANSWER]
['Q318330', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?q WHERE { resource:Q318330 property:P119 ?q . ?q rdf:type ontology:Q43229 }
Novodevichy Cemetery
Adolph Joffe was buried in Novodevichy Cemetery
Novodevichy Cemetery
action filter_type
action find
entity Adolph Joffe
relation place of burial
type organization
['Adolph Joffe', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?q WHERE { resource:Adolph_Joffe property:place_of_burial ?q . ?q rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q318330
P140
Q2712963
USER
What is the religion associated with Adolph Joffe ?
(Q318330,P140,c(Q2712963))
action filter_type
action find
entity Q318330
relation P140
type Q2712963
['Q318330', 'P140', {'concept': 'Q2712963'}]
SELECT DISTINCT ?g WHERE { resource:Q318330 property:P140 ?g . ?g rdf:type ontology:Q2712963 }
Adolph Joffe
action filter_type
action find
entity Adolph Joffe
relation religion
type abstract noun
['Adolph Joffe', 'religion', {'concept': 'abstract noun'}]
SELECT DISTINCT ?g WHERE { resource:Adolph_Joffe property:religion ?g . ?g rdf:type ontology:abstract_noun }
[]
abstract noun
Q7066
SYSTEM
atheism
Q7066
(Q318330,P140,c(Q2712963))
action filter_type
action find
entity Q318330
relation P140
type Q2712963
The religion associated with Adolph Joffe is a [ANSWER]
['Q318330', 'P140', {'concept': 'Q2712963'}]
SELECT DISTINCT ?g WHERE { resource:Q318330 property:P140 ?g . ?g rdf:type ontology:Q2712963 }
atheism
The religion associated with Adolph Joffe is a atheism
atheism
action filter_type
action find
entity Adolph Joffe
relation religion
type abstract noun
['Adolph Joffe', 'religion', {'concept': 'abstract noun'}]
SELECT DISTINCT ?g WHERE { resource:Adolph_Joffe property:religion ?g . ?g rdf:type ontology:abstract_noun }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7066 Q2607
P140
Q502895
USER
Is Erich Honecker religiously associated with that abstract noun ?
(Q2607,P140,Q7066)
action is_in
entity Q7066
action find
entity Q2607
relation P140
['Q2607', 'P140', 'Q7066']
ASK WHERE { resource:Q2607 property:P140 resource:Q7066 }
atheism Erich Honecker
action is_in
entity atheism
action find
entity Erich Honecker
relation religion
['Erich Honecker', 'religion', 'atheism']
ASK WHERE { resource:Erich_Honecker property:religion resource:atheism }
[]
common name
SYSTEM
YES
(Q2607,P140,Q7066)
action is_in
entity Q7066
action find
entity Q2607
relation P140
[ANSWER]
['Q2607', 'P140', 'Q7066']
ASK WHERE { resource:Q2607 property:P140 resource:Q7066 }
Yes
action is_in
entity atheism
action find
entity Erich Honecker
relation religion
['Erich Honecker', 'religion', 'atheism']
ASK WHERE { resource:Erich_Honecker property:religion resource:atheism }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q318330
P27
Q3024240 Q7275
USER
How many former countries or states are Adolph Joffe a civilian of ?
(Q318330,P27,c(Q3024240)) (Q318330,P27,c(Q7275))
action count
action union
action filter_type
action find
entity Q318330
relation P27
type Q3024240
action filter_type
action find
entity Q318330
relation P27
type Q7275
['Q318330', 'P27', {'concept': 'Q3024240'}] ['Q318330', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w rdf:type ?l . VALUES ( ?l ) { ( ontology:Q3024240 ) ( ontology:Q7275 ) } }
Adolph Joffe
action count
action union
action filter_type
action find
entity Adolph Joffe
relation country of citizenship
type former country
action filter_type
action find
entity Adolph Joffe
relation country of citizenship
type state
['Adolph Joffe', 'country of citizenship', {'concept': 'former country'}] ['Adolph Joffe', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w rdf:type ?l . VALUES ( ?l ) { ( ontology:former_country ) ( ontology:state ) } }
[]
former country state
SYSTEM
2
Q34266 Q15180
(Q318330,P27,c(Q3024240)) (Q318330,P27,c(Q7275))
action count
action union
action filter_type
action find
entity Q318330
relation P27
type Q3024240
action filter_type
action find
entity Q318330
relation P27
type Q7275
[ANSWER]
['Q318330', 'P27', {'concept': 'Q3024240'}] ['Q318330', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w rdf:type ?l . VALUES ( ?l ) { ( ontology:Q3024240 ) ( ontology:Q7275 ) } }
Russian Empire Soviet Union
2
action count
action union
action filter_type
action find
entity Adolph Joffe
relation country of citizenship
type former country
action filter_type
action find
entity Adolph Joffe
relation country of citizenship
type state
['Adolph Joffe', 'country of citizenship', {'concept': 'former country'}] ['Adolph Joffe', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w rdf:type ?l . VALUES ( ?l ) { ( ontology:former_country ) ( ontology:state ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q318330
P22
Q502895
USER
Which person has that one as a parent ?
action filter_type
action find_reverse
entity Q318330
relation P22
type Q502895
SELECT DISTINCT ?f WHERE { ?f property:P22 resource:Q318330 . ?f rdf:type ontology:Q502895 }
Adolph Joffe
action filter_type
action find_reverse
entity Adolph Joffe
relation father
type common name
SELECT DISTINCT ?f WHERE { ?f property:father resource:Adolph_Joffe . ?f rdf:type ontology:common_name }
[]
common name
Q2403824
SYSTEM
Nadezhda Joffe
Q2403824
action filter_type
action find_reverse
entity Q318330
relation P22
type Q502895
[ANSWER] has that one as a parent
SELECT DISTINCT ?f WHERE { ?f property:P22 resource:Q318330 . ?f rdf:type ontology:Q502895 }
Nadezhda Joffe
Nadezhda Joffe has that one as a parent
Nadezhda Joffe
action filter_type
action find_reverse
entity Adolph Joffe
relation father
type common name
SELECT DISTINCT ?f WHERE { ?f property:father resource:Adolph_Joffe . ?f rdf:type ontology:common_name }
[]