Simple Question (Direct)
Simple Question
Q3220689
P364
Q34770
USER
Which language was used originally for the creation of That's My Man ?
(Q3220689,P364,c(Q34770))
action filter_type
action find
entity Q3220689
relation P364
type Q34770
['Q3220689', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q3220689 property:P364 ?j }
That's My Man
action filter_type
action find
entity That's My Man
relation original language of work
type language
["That's My Man", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:That's_My_Man property:original_language_of_work ?j }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3220689,P364,c(Q34770))
action filter_type
action find
entity Q3220689
relation P364
type Q34770
In [ANSWER] was used originally for the creation of That's My Man
['Q3220689', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q3220689 property:P364 ?j }
English
In English was used originally for the creation of That's My Man
English
action filter_type
action find
entity That's My Man
relation original language of work
type language
["That's My Man", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:That's_My_Man property:original_language_of_work ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3220689
P161
Q502895
USER
Which people were casted in that work of art ?
(Q1860,P161,c(Q502895))
action filter_type
action find
entity Q3220689
relation P161
type Q502895
['Q1860', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3220689 property:P161 ?w . ?w rdf:type ontology:Q502895 }
That's My Man
action filter_type
action find
entity That's My Man
relation cast member
type common name
['English', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:That's_My_Man property:cast_member ?w . ?w rdf:type ontology:common_name }
[]
common name
Q310413 Q3182366 Q3037157
SYSTEM
Don Ameche, John Ridgely, Dorothy Adams
Q3037157 Q3182366 Q310413 Q1263798 Q2166695 Q1445069
(Q1860,P161,c(Q502895))
action filter_type
action find
entity Q3220689
relation P161
type Q502895
[ANSWERS] were casted in that work of art
['Q1860', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3220689 property:P161 ?w . ?w rdf:type ontology:Q502895 }
Dorothy Adams John Ridgely Don Ameche John Miljan Roscoe Karns Frankie Darro
Don Ameche, John Ridgely and Dorothy Adams were casted in that work of art
Don Ameche John Ridgely Dorothy Adams
action filter_type
action find
entity That's My Man
relation cast member
type common name
['English', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:That's_My_Man property:cast_member ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q310413 Q3182366 Q3037157
P21
Q290
USER
What are the sex of Don Ameche, John Ridgely and Dorothy Adams ?
(Q310413,P21,c(Q290)) (Q3182366,P21,c(Q290)) (Q3037157,P21,c(Q290))
action union
action filter_type
action find
entity Q310413
relation P21
type Q290
action filter_type
action find
entity Q3182366
relation P21
type Q290
action filter_type
action find
entity Q3037157
relation P21
type Q290
['Q310413', 'P21', {'concept': 'Q290'}] ['Q3182366', 'P21', {'concept': 'Q290'}] ['Q3037157', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { { resource:Q3182366 property:P21 ?j . ?j rdf:type ontology:Q290 } UNION { resource:Q310413 property:P21 ?j . ?j rdf:type ontology:Q290 } }
Don Ameche John Ridgely Dorothy Adams
action union
action filter_type
action find
entity Don Ameche
relation gender
type sex
action filter_type
action find
entity John Ridgely
relation gender
type sex
action filter_type
action find
entity Dorothy Adams
relation gender
type sex
['Don Ameche', 'gender', {'concept': 'sex'}] ['John Ridgely', 'gender', {'concept': 'sex'}] ['Dorothy Adams', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { { resource:John_Ridgely property:gender ?j . ?j rdf:type ontology:sex } UNION { resource:Don_Ameche property:gender ?j . ?j rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097 Q6581072
SYSTEM
male for 1st, 2nd, female for 3rd
Q6581097 Q6581097 Q6581072
(Q310413,P21,c(Q290)) (Q3182366,P21,c(Q290)) (Q3037157,P21,c(Q290))
action union
action filter_type
action find
entity Q310413
relation P21
type Q290
action filter_type
action find
entity Q3182366
relation P21
type Q290
action filter_type
action find
entity Q3037157
relation P21
type Q290
[ANSWERS]
['Q310413', 'P21', {'concept': 'Q290'}] ['Q3182366', 'P21', {'concept': 'Q290'}] ['Q3037157', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { { resource:Q3182366 property:P21 ?j . ?j rdf:type ontology:Q290 } UNION { resource:Q310413 property:P21 ?j . ?j rdf:type ontology:Q290 } }
male male female
The sex of Don Ameche , John Ridgely and Dorothy Adams are the male, male and female
male male female
action union
action filter_type
action find
entity Don Ameche
relation gender
type sex
action filter_type
action find
entity John Ridgely
relation gender
type sex
action filter_type
action find
entity Dorothy Adams
relation gender
type sex
['Don Ameche', 'gender', {'concept': 'sex'}] ['John Ridgely', 'gender', {'concept': 'sex'}] ['Dorothy Adams', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { { resource:John_Ridgely property:gender ?j . ?j rdf:type ontology:sex } UNION { resource:Don_Ameche property:gender ?j . ?j rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q310413
P1196
Q1931388
USER
What manner did Don Ameche die ?
(Q310413,P1196,c(Q1931388))
action filter_type
action find
entity Q310413
relation P1196
type Q1931388
['Q310413', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1931388 . resource:Q310413 property:P1196 ?o }
Don Ameche
action filter_type
action find
entity Don Ameche
relation manner of death
type cause of death
['Don Ameche', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:cause_of_death . resource:Don_Ameche property:manner_of_death ?o }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q310413,P1196,c(Q1931388))
action filter_type
action find
entity Q310413
relation P1196
type Q1931388
Don Ameche died of [ANSWER]
['Q310413', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1931388 . resource:Q310413 property:P1196 ?o }
natural causes
Don Ameche died of natural causes
natural causes
action filter_type
action find
entity Don Ameche
relation manner of death
type cause of death
['Don Ameche', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:cause_of_death . resource:Don_Ameche property:manner_of_death ?o }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3189068
Q1931388
USER
And also tell me about Julia V. Taft?
(Q3189068,P1196,c(Q1931388))
action filter_type
action find
entity Q3189068
relation P1196
type Q1931388
['Q3189068', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q3189068 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
Julia V. Taft
action filter_type
action find
entity Julia V. Taft
relation manner of death
type cause of death
['Julia V. Taft', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Julia_V._Taft property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q3189068,P1196,c(Q1931388))
action filter_type
action find
entity Q3189068
relation P1196
type Q1931388
[ANSWER]
['Q3189068', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q3189068 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action find
entity Julia V. Taft
relation manner of death
type cause of death
['Julia V. Taft', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Julia_V._Taft property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1196
Q82799 Q11424
USER
How many names or films died with that cause of death as their reason ?
(c(Q82799),P1196,Q3739104) (c(Q11424),P1196,Q3739104) (c(Q82799),P1196,Q3739104) (c(Q11424),P1196,Q3739104)
action count
action union
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q82799
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q11424
[{'concept': 'Q82799'}, 'P1196', 'Q3739104'] [{'concept': 'Q11424'}, 'P1196', 'Q3739104'] [{'concept': 'Q82799'}, 'P1196', 'Q3739104'] [{'concept': 'Q11424'}, 'P1196', 'Q3739104']
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:Q82799 ) ( ontology:Q11424 ) } }
action count
action union
action filter_type
action find_reverse
entity natural causes
relation manner of death
type name
action filter_type
action find_reverse
entity natural causes
relation manner of death
type film
[{'concept': 'name'}, 'manner of death', 'natural causes'] [{'concept': 'film'}, 'manner of death', 'natural causes'] [{'concept': 'name'}, 'manner of death', 'natural causes'] [{'concept': 'film'}, 'manner of death', 'natural causes']
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:name ) ( ontology:film ) } }
[]
name film
SYSTEM
4
Q11536769 Q11357459 Q11357498 Q200661
(c(Q82799),P1196,Q3739104) (c(Q11424),P1196,Q3739104) (c(Q82799),P1196,Q3739104) (c(Q11424),P1196,Q3739104)
action count
action union
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q82799
action filter_type
action find_reverse
entity Q3739104
relation P1196
type Q11424
[ANSWER]
[{'concept': 'Q82799'}, 'P1196', 'Q3739104'] [{'concept': 'Q11424'}, 'P1196', 'Q3739104'] [{'concept': 'Q82799'}, 'P1196', 'Q3739104'] [{'concept': 'Q11424'}, 'P1196', 'Q3739104']
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:Q82799 ) ( ontology:Q11424 ) } }
Harukoma Katsura Umesuke San'yūtei Enjaku San'yūtei Juan Rulfo
4
action count
action union
action filter_type
action find_reverse
entity natural causes
relation manner of death
type name
action filter_type
action find_reverse
entity natural causes
relation manner of death
type film
[{'concept': 'name'}, 'manner of death', 'natural causes'] [{'concept': 'film'}, 'manner of death', 'natural causes'] [{'concept': 'name'}, 'manner of death', 'natural causes'] [{'concept': 'film'}, 'manner of death', 'natural causes']
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f rdf:type ?e . VALUES ( ?e ) { ( ontology:name ) ( ontology:film ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P264
Q2031291
USER
Which release has English as its record brand ?
(c(Q2031291),P264,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q1860']
SELECT DISTINCT ?w WHERE { ?w property:P264 resource:Q1860 . ?w rdf:type ontology:Q2031291 }
English
action filter_type
action find_reverse
entity English
relation record label
type release
[{'concept': 'release'}, 'record label', 'English']
SELECT DISTINCT ?w WHERE { ?w property:record_label resource:English . ?w rdf:type ontology:release }
[]
release
Q7281317
SYSTEM
Radiosurgery
Q7281317
(c(Q2031291),P264,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P264
type Q2031291
[ANSWER] has English as its record brand
[{'concept': 'Q2031291'}, 'P264', 'Q1860']
SELECT DISTINCT ?w WHERE { ?w property:P264 resource:Q1860 . ?w rdf:type ontology:Q2031291 }
Radiosurgery
Radiosurgery has English as its record brand
Radiosurgery
action filter_type
action find_reverse
entity English
relation record label
type release
[{'concept': 'release'}, 'record label', 'English']
SELECT DISTINCT ?w WHERE { ?w property:record_label resource:English . ?w rdf:type ontology:release }
[]