Simple Question (Direct)
Simple Question
Q13423778
P58
Q502895
USER
Which people wrote the script for Let's Get a Divorce ?
(Q13423778,P58,c(Q502895))
action filter_type
action find
entity Q13423778
relation P58
type Q502895
['Q13423778', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q13423778 property:P58 ?g . ?g rdf:type ontology:Q502895 }
Let's Get a Divorce
action filter_type
action find
entity Let's Get a Divorce
relation screenwriter
type common name
["Let's Get a Divorce", 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Let's_Get_a_Divorce property:screenwriter ?g . ?g rdf:type ontology:common_name }
[]
common name
Q3809247 Q272088
SYSTEM
John Emerson, Anita Loos
Q3809247 Q272088
(Q13423778,P58,c(Q502895))
action filter_type
action find
entity Q13423778
relation P58
type Q502895
[ANSWERS] wrote the script for Let's Get a Divorce
['Q13423778', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q13423778 property:P58 ?g . ?g rdf:type ontology:Q502895 }
John Emerson Anita Loos
John Emerson and Anita Loos wrote the script for Let's Get a Divorce
John Emerson Anita Loos
action filter_type
action find
entity Let's Get a Divorce
relation screenwriter
type common name
["Let's Get a Divorce", 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Let's_Get_a_Divorce property:screenwriter ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3809247 Q272088
P26
Q502895
USER
Which people are married to those ones ?
(Q3809247,P26,c(Q502895)) (Q272088,P26,c(Q502895))
action filter_type
action find
entity prev_answer
relation P26
type Q502895
['Q3809247', 'P26', {'concept': 'Q502895'}] ['Q272088', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?x property:P26 ?n . VALUES ( ?x ) { ( resource:Q3809247 ) ( resource:Q272088 ) } }
John Emerson Anita Loos
action filter_type
action find
entity prev_answer
relation spouse
type common name
['John Emerson', 'spouse', {'concept': 'common name'}] ['Anita Loos', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?x property:spouse ?n . VALUES ( ?x ) { ( resource:John_Emerson ) ( resource:Anita_Loos ) } }
[]
common name
Q272088 Q3809247
SYSTEM
Anita Loos, John Emerson
Q272088 Q3809247
(Q3809247,P26,c(Q502895)) (Q272088,P26,c(Q502895))
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWERS] are married to those ones
['Q3809247', 'P26', {'concept': 'Q502895'}] ['Q272088', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?x property:P26 ?n . VALUES ( ?x ) { ( resource:Q3809247 ) ( resource:Q272088 ) } }
Anita Loos John Emerson
Anita Loos and John Emerson are married to those ones
Anita Loos John Emerson
action filter_type
action find
entity prev_answer
relation spouse
type common name
['John Emerson', 'spouse', {'concept': 'common name'}] ['Anita Loos', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?x property:spouse ?n . VALUES ( ?x ) { ( resource:John_Emerson ) ( resource:Anita_Loos ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q272088
P1412
Q34770
USER
Which language is spoken by Anita Loos ?
(Q272088,P1412,c(Q34770)) (Q3809247,P1412,c(Q34770))
action filter_type
action find
entity Q272088
relation P1412
type Q34770
['Q272088', 'P1412', {'concept': 'Q34770'}] ['Q3809247', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q272088 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Anita Loos
action filter_type
action find
entity Anita Loos
relation languages spoken, written or signed
type language
['Anita Loos', 'languages spoken, written or signed', {'concept': 'language'}] ['John Emerson', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Anita_Loos property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q272088,P1412,c(Q34770)) (Q3809247,P1412,c(Q34770))
action filter_type
action find
entity Q272088
relation P1412
type Q34770
Is [ANSWER] is spoken by Anita Loos
['Q272088', 'P1412', {'concept': 'Q34770'}] ['Q3809247', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q272088 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
English
Is English is spoken by Anita Loos
English
action filter_type
action find
entity Anita Loos
relation languages spoken, written or signed
type language
['Anita Loos', 'languages spoken, written or signed', {'concept': 'language'}] ['John Emerson', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Anita_Loos property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q16026552
P1412
Q502895
USER
Does Albert Thiery write that language ?
(Q16026552,P1412,Q1860)
action is_in
entity Q16026552
action find
entity Q1860
relation P1412
['Q16026552', 'P1412', 'Q1860']
ASK WHERE { resource:Q1860 property:P1412 resource:Q16026552 }
English Albert Thiery
action is_in
entity Albert Thiery
action find
entity English
relation languages spoken, written or signed
['Albert Thiery', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:English property:languages_spoken,_written_or_signed resource:Albert_Thiery }
[]
common name
SYSTEM
NO
(Q16026552,P1412,Q1860)
action is_in
entity Q16026552
action find
entity Q1860
relation P1412
[ANSWER]
['Q16026552', 'P1412', 'Q1860']
ASK WHERE { resource:Q1860 property:P1412 resource:Q16026552 }
No
action is_in
entity Albert Thiery
action find
entity English
relation languages spoken, written or signed
['Albert Thiery', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:English property:languages_spoken,_written_or_signed resource:Albert_Thiery }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13423778
P793
Q838948
USER
Which work of art is a significant event associated with Let's Get a Divorce ?
(Q13423778,P793,c(Q838948))
action filter_type
action find
entity Q13423778
relation P793
type Q838948
['Q13423778', 'P793', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { resource:Q13423778 property:P793 ?k . ?k rdf:type ontology:Q838948 }
Let's Get a Divorce
action filter_type
action find
entity Let's Get a Divorce
relation significant event
type work of art
["Let's Get a Divorce", 'significant event', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { resource:Let's_Get_a_Divorce property:significant_event ?k . ?k rdf:type ontology:work_of_art }
[]
work of art
Q1268687
SYSTEM
lost film
Q1268687
(Q13423778,P793,c(Q838948))
action filter_type
action find
entity Q13423778
relation P793
type Q838948
The [ANSWER] is a significant event associated with Let's Get a Divorce
['Q13423778', 'P793', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { resource:Q13423778 property:P793 ?k . ?k rdf:type ontology:Q838948 }
lost film
The lost film is a significant event associated with Let's Get a Divorce
lost film
action filter_type
action find
entity Let's Get a Divorce
relation significant event
type work of art
["Let's Get a Divorce", 'significant event', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { resource:Let's_Get_a_Divorce property:significant_event ?k . ?k rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q272088
P162
Q201658
USER
Which film genres have been developed by Anita Loos ?
(c(Q201658),P162,Q272088)
action filter_type
action find_reverse
entity Q272088
relation P162
type Q201658
[{'concept': 'Q201658'}, 'P162', 'Q272088']
SELECT DISTINCT ?q WHERE { ?q property:P162 resource:Q272088 . ?q rdf:type ontology:Q201658 }
Anita Loos
action filter_type
action find_reverse
entity Anita Loos
relation producer
type film genre
[{'concept': 'film genre'}, 'producer', 'Anita Loos']
SELECT DISTINCT ?q WHERE { ?q property:producer resource:Anita_Loos . ?q rdf:type ontology:film_genre }
[]
film genre
Q3602826 Q13455250 Q3602790
SYSTEM
A Virtuous Vamp, Come on In, A Temperamental Wife
Q3602790 Q7304358 Q13455250 Q3602826
(c(Q201658),P162,Q272088)
action filter_type
action find_reverse
entity Q272088
relation P162
type Q201658
A Virtuous Vamp, come on In and A Temperamental Wife have been developed by Anita Loos
[{'concept': 'Q201658'}, 'P162', 'Q272088']
SELECT DISTINCT ?q WHERE { ?q property:P162 resource:Q272088 . ?q rdf:type ontology:Q201658 }
A Temperamental Wife Red Hot Romance Come on In A Virtuous Vamp
A Virtuous Vamp, come on In and A Temperamental Wife have been developed by Anita Loos
A Virtuous Vamp Come on In A Temperamental Wife
action filter_type
action find_reverse
entity Anita Loos
relation producer
type film genre
[{'concept': 'film genre'}, 'producer', 'Anita Loos']
SELECT DISTINCT ?q WHERE { ?q property:producer resource:Anita_Loos . ?q rdf:type ontology:film_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a part of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?g WHERE { resource:Q1860 property:P361 ?g . ?g rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?g WHERE { resource:English property:part_of ?g . ?g rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a part of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?g WHERE { resource:Q1860 property:P361 ?g . ?g rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a part of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?g WHERE { resource:English property:part_of ?g . ?g rdf:type ontology:classification_scheme }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q36880
Q5962346
USER
And also tell me about Bulgar language?
(Q36880,P361,c(Q5962346))
action filter_type
action find
entity Q36880
relation P361
type Q5962346
['Q36880', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?l WHERE { resource:Q36880 property:P361 ?l . ?l rdf:type ontology:Q5962346 }
Bulgar language
action filter_type
action find
entity Bulgar language
relation part of
type classification scheme
['Bulgar language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?l WHERE { resource:Bulgar_language property:part_of ?l . ?l rdf:type ontology:classification_scheme }
[]
classification scheme
Q1422731
SYSTEM
Oghur languages
Q1422731
(Q36880,P361,c(Q5962346))
action filter_type
action find
entity Q36880
relation P361
type Q5962346
[ANSWER]
['Q36880', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?l WHERE { resource:Q36880 property:P361 ?l . ?l rdf:type ontology:Q5962346 }
Oghur languages
Oghur languages
action filter_type
action find
entity Bulgar language
relation part of
type classification scheme
['Bulgar language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?l WHERE { resource:Bulgar_language property:part_of ?l . ?l rdf:type ontology:classification_scheme }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1422731 Q5306791 Q902978
P361
Q5962346
USER
Is that classification scheme a component of United States B-class submarine and Muskogean languages ?
(Q1422731,P361,Q5306791) (Q1422731,P361,Q902978)
action is_in
entity Q1422731
action intersection
action find_reverse
entity Q5306791
relation P361
action find_reverse
entity Q902978
relation P361
['Q1422731', 'P361', 'Q5306791'] ['Q1422731', 'P361', 'Q902978']
ASK WHERE { resource:Q1422731 property:P361 resource:Q5306791 . resource:Q1422731 property:P361 resource:Q902978 }
Oghur languages United States B-class submarine Muskogean languages
action is_in
entity Oghur languages
action intersection
action find_reverse
entity United States B-class submarine
relation part of
action find_reverse
entity Muskogean languages
relation part of
['Oghur languages', 'part of', 'United States B-class submarine'] ['Oghur languages', 'part of', 'Muskogean languages']
ASK WHERE { resource:Oghur_languages property:part_of resource:United_States_B-class_submarine . resource:Oghur_languages property:part_of resource:Muskogean_languages }
[]
classification scheme
SYSTEM
NO
(Q1422731,P361,Q5306791) (Q1422731,P361,Q902978)
action is_in
entity Q1422731
action intersection
action find_reverse
entity Q5306791
relation P361
action find_reverse
entity Q902978
relation P361
[ANSWER]
['Q1422731', 'P361', 'Q5306791'] ['Q1422731', 'P361', 'Q902978']
ASK WHERE { resource:Q1422731 property:P361 resource:Q5306791 . resource:Q1422731 property:P361 resource:Q902978 }
No
action is_in
entity Oghur languages
action intersection
action find_reverse
entity United States B-class submarine
relation part of
action find_reverse
entity Muskogean languages
relation part of
['Oghur languages', 'part of', 'United States B-class submarine'] ['Oghur languages', 'part of', 'Muskogean languages']
ASK WHERE { resource:Oghur_languages property:part_of resource:United_States_B-class_submarine . resource:Oghur_languages property:part_of resource:Muskogean_languages }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5329170 Q4649708 Q26721
P361
Q5962346
USER
Is Anglo-Frisian languages a part of AA-1-class submarine and West Germanic languages ?
(Q5329170,P361,Q4649708) (Q5329170,P361,Q26721)
action is_in
entity Q5329170
action intersection
action find_reverse
entity Q4649708
relation P361
action find_reverse
entity Q26721
relation P361
['Q5329170', 'P361', 'Q4649708'] ['Q5329170', 'P361', 'Q26721']
ASK WHERE { resource:Q5329170 property:P361 resource:Q4649708 . resource:Q5329170 property:P361 resource:Q26721 }
Anglo-Frisian languages AA-1-class submarine West Germanic languages
action is_in
entity Anglo-Frisian languages
action intersection
action find_reverse
entity AA-1-class submarine
relation part of
action find_reverse
entity West Germanic languages
relation part of
['Anglo-Frisian languages', 'part of', 'AA-1-class submarine'] ['Anglo-Frisian languages', 'part of', 'West Germanic languages']
ASK WHERE { resource:Anglo-Frisian_languages property:part_of resource:AA-1-class_submarine . resource:Anglo-Frisian_languages property:part_of resource:West_Germanic_languages }
[]
classification scheme
SYSTEM
NO and YES respectively
(Q5329170,P361,Q4649708) (Q5329170,P361,Q26721)
action is_in
entity Q5329170
action intersection
action find_reverse
entity Q4649708
relation P361
action find_reverse
entity Q26721
relation P361
[ANSWER]
['Q5329170', 'P361', 'Q4649708'] ['Q5329170', 'P361', 'Q26721']
ASK WHERE { resource:Q5329170 property:P361 resource:Q4649708 . resource:Q5329170 property:P361 resource:Q26721 }
NO and YES respectively
action is_in
entity Anglo-Frisian languages
action intersection
action find_reverse
entity AA-1-class submarine
relation part of
action find_reverse
entity West Germanic languages
relation part of
['Anglo-Frisian languages', 'part of', 'AA-1-class submarine'] ['Anglo-Frisian languages', 'part of', 'West Germanic languages']
ASK WHERE { resource:Anglo-Frisian_languages property:part_of resource:AA-1-class_submarine . resource:Anglo-Frisian_languages property:part_of resource:West_Germanic_languages }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q272088
P58
Q201658 Q838948
USER
How many film genres and works of art are Anita Loos a screenwriter of ?
(c(Q201658),P58,Q272088) (c(Q838948),P58,Q272088)
action count
action union
action filter_type
action find_reverse
entity Q272088
relation P58
type Q201658
action filter_type
action find_reverse
entity Q272088
relation P58
type Q838948
[{'concept': 'Q201658'}, 'P58', 'Q272088'] [{'concept': 'Q838948'}, 'P58', 'Q272088']
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { VALUES ( ?r ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } . ?h rdf:type ?r }
Anita Loos
action count
action union
action filter_type
action find_reverse
entity Anita Loos
relation screenwriter
type film genre
action filter_type
action find_reverse
entity Anita Loos
relation screenwriter
type work of art
[{'concept': 'film genre'}, 'screenwriter', 'Anita Loos'] [{'concept': 'work of art'}, 'screenwriter', 'Anita Loos']
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { VALUES ( ?r ) { ( ontology:film_genre ) ( ontology:work_of_art ) } . ?h rdf:type ?r }
[]
film genre work of art
SYSTEM
15 film genres and 23 works of art
Q3907623 Q3785824 Q2061328 Q1424899 Q383355 Q1479652 Q887227 Q1304320 Q1425575 Q13460291 Q2656127 Q1753876 Q3640149 Q3221022 Q1760854 Q2322476 Q3602826 Q1111819 Q305151 Q3797076 Q1932023 Q130769 Q1219922 Q1409564 Q3519771 Q4019790 Q2453955 Q348678 Q867804 Q7621264 Q3602790 Q1758747 Q3714789 Q13455250 Q13423778 Q192206 Q13423775 Q1755087
(c(Q201658),P58,Q272088) (c(Q838948),P58,Q272088)
action count
action union
action filter_type
action find_reverse
entity Q272088
relation P58
type Q201658
action filter_type
action find_reverse
entity Q272088
relation P58
type Q838948
[ANSWER]
[{'concept': 'Q201658'}, 'P58', 'Q272088'] [{'concept': 'Q838948'}, 'P58', 'Q272088']
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { VALUES ( ?r ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } . ?h rdf:type ?r }
Polly of the Follies His Picture in the Papers Susan and God The Cat and the Fiddle Gentlemen Prefer Blondes When Ladies Meet Blossoms in the Dust A Tree Grows in Brooklyn I Married an Angel Good-Bye The Telephone Girl and the Lady The Girl from Missouri Biography of a Bachelor Girl The Barbarian Gentlemen Marry Brunettes The Mystery of the Leaping Fish A Virtuous Vamp Dulcy Saratoga In Again Midnight Mary San Francisco Strange Cargo Red-Headed Woman The Americano Wild and Woolly The Musketeers of Pig Alley The Women The New York Hat Stranded A Temperamental Wife Hold Your Man Down to Earth Come on In Let's Get a Divorce Intolerance Hit-The-Trail Holliday Riffraff
15 film genres and 23 works of art
action count
action union
action filter_type
action find_reverse
entity Anita Loos
relation screenwriter
type film genre
action filter_type
action find_reverse
entity Anita Loos
relation screenwriter
type work of art
[{'concept': 'film genre'}, 'screenwriter', 'Anita Loos'] [{'concept': 'work of art'}, 'screenwriter', 'Anita Loos']
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { VALUES ( ?r ) { ( ontology:film_genre ) ( ontology:work_of_art ) } . ?h rdf:type ?r }
[]