Simple Question (Direct)
Simple Question
Q1012900
P20
Q56061
USER
Where did Wanda Gág expire ?
(Q1012900,P20,c(Q56061))
action filter_type
action find
entity Q1012900
relation P20
type Q56061
['Q1012900', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q1012900 property:P20 ?d }
Wanda Gág
action filter_type
action find
entity Wanda Gág
relation place of death
type administrative territorial entity
['Wanda Gág', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Wanda_Gág property:place_of_death ?d }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q1012900,P20,c(Q56061))
action filter_type
action find
entity Q1012900
relation P20
type Q56061
Wanda Gág expired in [ANSWER]
['Q1012900', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q1012900 property:P20 ?d }
New York City
Wanda Gág expired in New York City
New York City
action filter_type
action find
entity Wanda Gág
relation place of death
type administrative territorial entity
['Wanda Gág', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Wanda_Gág property:place_of_death ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1012900
P40
Q502895
USER
Whose child is that one ?
(c(Q502895),P40,Q60)
action filter_type
action find_reverse
entity Q1012900
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q60']
SELECT DISTINCT ?q WHERE { ?q property:P40 resource:Q1012900 . ?q rdf:type ontology:Q502895 }
Wanda Gág
action filter_type
action find_reverse
entity Wanda Gág
relation child
type common name
[{'concept': 'common name'}, 'child', 'New York City']
SELECT DISTINCT ?q WHERE { ?q property:child resource:Wanda_Gág . ?q rdf:type ontology:common_name }
[]
common name
Q4775787
SYSTEM
Anton Gág
Q4775787
(c(Q502895),P40,Q60)
action filter_type
action find_reverse
entity Q1012900
relation P40
type Q502895
[ANSWER] is that one
[{'concept': 'Q502895'}, 'P40', 'Q60']
SELECT DISTINCT ?q WHERE { ?q property:P40 resource:Q1012900 . ?q rdf:type ontology:Q502895 }
Anton Gág
Anton Gág is that one
Anton Gág
action filter_type
action find_reverse
entity Wanda Gág
relation child
type common name
[{'concept': 'common name'}, 'child', 'New York City']
SELECT DISTINCT ?q WHERE { ?q property:child resource:Wanda_Gág . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4775787 Q4074902 Q4495489
P27
Q15617994
USER
Is Anton Gág a citizen of Baday, Russia and Khankala ?
(Q4775787,P27,Q4074902) (Q4775787,P27,Q4495489)
action is_in
entity Q4775787
action intersection
action find_reverse
entity Q4074902
relation P27
action find_reverse
entity Q4495489
relation P27
['Q4775787', 'P27', 'Q4074902'] ['Q4775787', 'P27', 'Q4495489']
ASK WHERE { resource:Q4775787 property:P27 resource:Q4074902 . resource:Q4775787 property:P27 resource:Q4495489 }
Anton Gág Baday, Russia Khankala
action is_in
entity Anton Gág
action intersection
action find_reverse
entity Baday, Russia
relation country of citizenship
action find_reverse
entity Khankala
relation country of citizenship
['Anton Gág', 'country of citizenship', 'Baday, Russia'] ['Anton Gág', 'country of citizenship', 'Khankala']
ASK WHERE { resource:Anton_Gág property:country_of_citizenship resource:Baday,_Russia . resource:Anton_Gág property:country_of_citizenship resource:Khankala }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4775787,P27,Q4074902) (Q4775787,P27,Q4495489)
action is_in
entity Q4775787
action intersection
action find_reverse
entity Q4074902
relation P27
action find_reverse
entity Q4495489
relation P27
[ANSWER]
['Q4775787', 'P27', 'Q4074902'] ['Q4775787', 'P27', 'Q4495489']
ASK WHERE { resource:Q4775787 property:P27 resource:Q4074902 . resource:Q4775787 property:P27 resource:Q4495489 }
No
action is_in
entity Anton Gág
action intersection
action find_reverse
entity Baday, Russia
relation country of citizenship
action find_reverse
entity Khankala
relation country of citizenship
['Anton Gág', 'country of citizenship', 'Baday, Russia'] ['Anton Gág', 'country of citizenship', 'Khankala']
ASK WHERE { resource:Anton_Gág property:country_of_citizenship resource:Baday,_Russia . resource:Anton_Gág property:country_of_citizenship resource:Khankala }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1012900 Q30
P27
Q15617994
USER
Is Wanda Gág an inhabitant of United States of America ?
(Q1012900,P27,Q30)
action is_in
entity Q30
action find
entity Q1012900
relation P27
['Q1012900', 'P27', 'Q30']
ASK WHERE { resource:Q1012900 property:P27 resource:Q30 }
Wanda Gág United States of America
action is_in
entity United States of America
action find
entity Wanda Gág
relation country of citizenship
['Wanda Gág', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Wanda_Gág property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1012900,P27,Q30)
action is_in
entity Q30
action find
entity Q1012900
relation P27
[ANSWER]
['Q1012900', 'P27', 'Q30']
ASK WHERE { resource:Q1012900 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Wanda Gág
relation country of citizenship
['Wanda Gág', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Wanda_Gág property:country_of_citizenship resource:United_States_of_America }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1012900
P50
Q2342494
USER
Which collectables have that person as their author ?
action filter_type
action find_reverse
entity Q1012900
relation P50
type Q2342494
SELECT DISTINCT ?l WHERE { ?l property:P50 resource:Q1012900 . ?l rdf:type ontology:Q2342494 }
Wanda Gág
action filter_type
action find_reverse
entity Wanda Gág
relation author
type collectable
SELECT DISTINCT ?l WHERE { ?l property:author resource:Wanda_Gág . ?l rdf:type ontology:collectable }
[]
collectable
Q23307497 Q6859849 Q4650133
SYSTEM
Snow White and the Seven Dwarfs, Millions of Cats, ABC Bunny
Q23307497 Q6859849 Q4650133
action filter_type
action find_reverse
entity Q1012900
relation P50
type Q2342494
[ANSWERS] have that person as their author
SELECT DISTINCT ?l WHERE { ?l property:P50 resource:Q1012900 . ?l rdf:type ontology:Q2342494 }
Snow White and the Seven Dwarfs Millions of Cats ABC Bunny
Snow White and the Seven Dwarfs, Millions of Cats and ABC Bunny have that person as their author
Snow White and the Seven Dwarfs Millions of Cats ABC Bunny
action filter_type
action find_reverse
entity Wanda Gág
relation author
type collectable
SELECT DISTINCT ?l WHERE { ?l property:author resource:Wanda_Gág . ?l rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q23307497 Q6859849 Q4650133
P50
Q502895
USER
Who were the writers of Snow White and the Seven Dwarfs, Millions of Cats and ABC Bunny ?
(Q23307497,P50,c(Q502895)) (Q6859849,P50,c(Q502895)) (Q4650133,P50,c(Q502895))
action union
action filter_type
action find
entity Q23307497
relation P50
type Q502895
action filter_type
action find
entity Q6859849
relation P50
type Q502895
action filter_type
action find
entity Q4650133
relation P50
type Q502895
['Q23307497', 'P50', {'concept': 'Q502895'}] ['Q6859849', 'P50', {'concept': 'Q502895'}] ['Q4650133', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { resource:Q6859849 property:P50 ?m . ?m rdf:type ontology:Q502895 } UNION { resource:Q23307497 property:P50 ?m . ?m rdf:type ontology:Q502895 } }
Snow White and the Seven Dwarfs Millions of Cats ABC Bunny
action union
action filter_type
action find
entity Snow White and the Seven Dwarfs
relation author
type common name
action filter_type
action find
entity Millions of Cats
relation author
type common name
action filter_type
action find
entity ABC Bunny
relation author
type common name
['Snow White and the Seven Dwarfs', 'author', {'concept': 'common name'}] ['Millions of Cats', 'author', {'concept': 'common name'}] ['ABC Bunny', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { resource:Millions_of_Cats property:author ?m . ?m rdf:type ontology:common_name } UNION { resource:Snow_White_and_the_Seven_Dwarfs property:author ?m . ?m rdf:type ontology:common_name } }
[]
common name
Q1012900 Q1012900 Q1012900
SYSTEM
Wanda Gág
Q1012900 Q1012900 Q1012900
(Q23307497,P50,c(Q502895)) (Q6859849,P50,c(Q502895)) (Q4650133,P50,c(Q502895))
action union
action filter_type
action find
entity Q23307497
relation P50
type Q502895
action filter_type
action find
entity Q6859849
relation P50
type Q502895
action filter_type
action find
entity Q4650133
relation P50
type Q502895
The writers of Snow White and the Seven Dwarfs , Millions of Cats and ABC Bunny were named [ANSWER], [ANSWER] and [ANSWER]
['Q23307497', 'P50', {'concept': 'Q502895'}] ['Q6859849', 'P50', {'concept': 'Q502895'}] ['Q4650133', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { resource:Q6859849 property:P50 ?m . ?m rdf:type ontology:Q502895 } UNION { resource:Q23307497 property:P50 ?m . ?m rdf:type ontology:Q502895 } }
Wanda Gág Wanda Gág Wanda Gág
The writers of Snow White and the Seven Dwarfs , Millions of Cats and ABC Bunny were named Wanda Gág, Wanda Gág and Wanda Gág
Wanda Gág Wanda Gág Wanda Gág
action union
action filter_type
action find
entity Snow White and the Seven Dwarfs
relation author
type common name
action filter_type
action find
entity Millions of Cats
relation author
type common name
action filter_type
action find
entity ABC Bunny
relation author
type common name
['Snow White and the Seven Dwarfs', 'author', {'concept': 'common name'}] ['Millions of Cats', 'author', {'concept': 'common name'}] ['ABC Bunny', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { resource:Millions_of_Cats property:author ?m . ?m rdf:type ontology:common_name } UNION { resource:Snow_White_and_the_Seven_Dwarfs property:author ?m . ?m rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1012900
P1196
Q1931388
USER
What manner did that person die ?
(Q1012900,P1196,c(Q1931388)) (Q1012900,P1196,c(Q1931388)) (Q1012900,P1196,c(Q1931388))
action filter_type
action find
entity Q1012900
relation P1196
type Q1931388
['Q1012900', 'P1196', {'concept': 'Q1931388'}] ['Q1012900', 'P1196', {'concept': 'Q1931388'}] ['Q1012900', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1931388 . resource:Q1012900 property:P1196 ?j }
Wanda Gág
action filter_type
action find
entity Wanda Gág
relation manner of death
type cause of death
['Wanda Gág', 'manner of death', {'concept': 'cause of death'}] ['Wanda Gág', 'manner of death', {'concept': 'cause of death'}] ['Wanda Gág', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:cause_of_death . resource:Wanda_Gág property:manner_of_death ?j }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1012900,P1196,c(Q1931388)) (Q1012900,P1196,c(Q1931388)) (Q1012900,P1196,c(Q1931388))
action filter_type
action find
entity Q1012900
relation P1196
type Q1931388
That person died in [ANSWER]
['Q1012900', 'P1196', {'concept': 'Q1931388'}] ['Q1012900', 'P1196', {'concept': 'Q1931388'}] ['Q1012900', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1931388 . resource:Q1012900 property:P1196 ?j }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Wanda Gág
relation manner of death
type cause of death
['Wanda Gág', 'manner of death', {'concept': 'cause of death'}] ['Wanda Gág', 'manner of death', {'concept': 'cause of death'}] ['Wanda Gág', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:cause_of_death . resource:Wanda_Gág property:manner_of_death ?j }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1320640 Q1012900
P1196
Q1931388
USER
Or Ken Howard?
OR((Q1012900,P1196,c(Q1931388)), (Q1320640,P1196,c(Q1931388)))
action filter_type
action union
action find
entity Q1012900
relation P1196
action find
entity Q1320640
relation P1196
type Q1931388
{'OR': [['Q1012900', 'P1196', {'concept': 'Q1931388'}], ['Q1320640', 'P1196', {'concept': 'Q1931388'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?y ) { ( resource:Q1012900 ) ( resource:Q1320640 ) } . ?y property:P1196 ?m } . ?m rdf:type ontology:Q1931388 }
Ken Howard Wanda Gág
action filter_type
action union
action find
entity Wanda Gág
relation manner of death
action find
entity Ken Howard
relation manner of death
type cause of death
{'OR': [['Wanda Gág', 'manner of death', {'concept': 'cause of death'}], ['Ken Howard', 'manner of death', {'concept': 'cause of death'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?y ) { ( resource:Wanda_Gág ) ( resource:Ken_Howard ) } . ?y property:manner_of_death ?m } . ?m rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
OR((Q1012900,P1196,c(Q1931388)), (Q1320640,P1196,c(Q1931388)))
action filter_type
action union
action find
entity Q1012900
relation P1196
action find
entity Q1320640
relation P1196
type Q1931388
[ANSWER]
{'OR': [['Q1012900', 'P1196', {'concept': 'Q1931388'}], ['Q1320640', 'P1196', {'concept': 'Q1931388'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?y ) { ( resource:Q1012900 ) ( resource:Q1320640 ) } . ?y property:P1196 ?m } . ?m rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action union
action find
entity Wanda Gág
relation manner of death
action find
entity Ken Howard
relation manner of death
type cause of death
{'OR': [['Wanda Gág', 'manner of death', {'concept': 'cause of death'}], ['Ken Howard', 'manner of death', {'concept': 'cause of death'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?y ) { ( resource:Wanda_Gág ) ( resource:Ken_Howard ) } . ?y property:manner_of_death ?m } . ?m rdf:type ontology:cause_of_death }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q4775787
P21 P22
Q502895
USER
Which people have Anton Gág as a parent and are a female ?
AND((c(Q502895),P22,Q4775787), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q4775787
relation P22
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q4775787'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P22 resource:Q4775787 . ?j property:P21 resource:Q6581072 }
female Anton Gág
action filter_type
action intersection
action find_reverse
entity Anton Gág
relation father
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Anton Gág'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:father resource:Anton_Gág . ?j property:gender resource:female }
[]
common name
Q1012900
SYSTEM
Wanda Gág
Q1012900
AND((c(Q502895),P22,Q4775787), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q4775787
relation P22
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] have Anton Gág as a parent and are a female
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q4775787'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P22 resource:Q4775787 . ?j property:P21 resource:Q6581072 }
Wanda Gág
Wanda Gág have Anton Gág as a parent and are a female
Wanda Gág
action filter_type
action intersection
action find_reverse
entity Anton Gág
relation father
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Anton Gág'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:father resource:Anton_Gág . ?j property:gender resource:female }
[]