Simple Question (Direct)
Simple Question
Q366231
P734
Q82799
USER
Who has the surname Benjamin Samuel Williams ?
(Q366231,P734,c(Q82799))
action filter_type
action find
entity Q366231
relation P734
type Q82799
['Q366231', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q366231 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Benjamin Samuel Williams
action filter_type
action find
entity Benjamin Samuel Williams
relation family name
type name
['Benjamin Samuel Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Benjamin_Samuel_Williams property:family_name ?g . ?g rdf:type ontology:name }
[]
name
Q1688722
SYSTEM
Williams
Q1688722
(Q366231,P734,c(Q82799))
action filter_type
action find
entity Q366231
relation P734
type Q82799
[ANSWER] has the surname Benjamin Samuel [ANSWER]
['Q366231', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q366231 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Williams
Williams has the surname Benjamin Samuel Williams
Williams
action filter_type
action find
entity Benjamin Samuel Williams
relation family name
type name
['Benjamin Samuel Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Benjamin_Samuel_Williams property:family_name ?g . ?g rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q366231
P27
Q15617994
USER
Which administrative territory is Benjamin Samuel Williams a civilian of ?
(Q366231,P27,c(Q15617994))
action filter_type
action find
entity Q366231
relation P27
type Q15617994
['Q366231', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q366231 property:P27 ?x }
Benjamin Samuel Williams
action filter_type
action find
entity Benjamin Samuel Williams
relation country of citizenship
type designation for an administrative territorial entity
['Benjamin Samuel Williams', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Benjamin_Samuel_Williams property:country_of_citizenship ?x }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q366231,P27,c(Q15617994))
action filter_type
action find
entity Q366231
relation P27
type Q15617994
The [ANSWER] is Benjamin Samuel Williams a civilian of
['Q366231', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q366231 property:P27 ?x }
United Kingdom
The United Kingdom is Benjamin Samuel Williams a civilian of
United Kingdom
action filter_type
action find
entity Benjamin Samuel Williams
relation country of citizenship
type designation for an administrative territorial entity
['Benjamin Samuel Williams', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Benjamin_Samuel_Williams property:country_of_citizenship ?x }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17381784
Q15617994
USER
And what about Kalle Komulainen?
(Q17381784,P27,c(Q15617994))
action filter_type
action find
entity Q17381784
relation P27
type Q15617994
['Q17381784', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q17381784 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Kalle Komulainen
action filter_type
action find
entity Kalle Komulainen
relation country of citizenship
type designation for an administrative territorial entity
['Kalle Komulainen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Kalle_Komulainen property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q17381784,P27,c(Q15617994))
action filter_type
action find
entity Q17381784
relation P27
type Q15617994
[ANSWER]
['Q17381784', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q17381784 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Finland
Finland
action filter_type
action find
entity Kalle Komulainen
relation country of citizenship
type designation for an administrative territorial entity
['Kalle Komulainen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Kalle_Komulainen property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33
P530
Q1048835
USER
Which political territories have tactful political relations with that administrative territory ?
(c(Q1048835),P530,Q33)
action filter_type
action find
entity Q33
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q33']
SELECT DISTINCT ?c WHERE { resource:Q33 property:P530 ?c . ?c rdf:type ontology:Q1048835 }
Finland
action filter_type
action find
entity Finland
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Finland']
SELECT DISTINCT ?c WHERE { resource:Finland property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q408 Q183
SYSTEM
Canada, Australia, Germany
Q16 Q408 Q183
(c(Q1048835),P530,Q33)
action filter_type
action find
entity Q33
relation P530
type Q1048835
[ANSWERS] have tactful political relations with that administrative territory
[{'concept': 'Q1048835'}, 'P530', 'Q33']
SELECT DISTINCT ?c WHERE { resource:Q33 property:P530 ?c . ?c rdf:type ontology:Q1048835 }
Canada Australia Germany
Canada, Australia and Germany have tactful political relations with that administrative territory
Canada Australia Germany
action filter_type
action find
entity Finland
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Finland']
SELECT DISTINCT ?c WHERE { resource:Finland property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2743992 Q1688722
P364 P407
Q34770
USER
Which languages are the languages of work for Williams or were used originally for the creation of Anything Goes ?
OR((Q1688722,P407,c(Q34770)), (Q2743992,P364,c(Q34770)))
action filter_type
action union
action find
entity Q1688722
relation P407
action find
entity Q2743992
relation P364
type Q34770
{'OR': [['Q1688722', 'P407', {'concept': 'Q34770'}], ['Q2743992', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q1688722 property:P407 ?y } UNION { resource:Q2743992 property:P364 ?y } } . ?y rdf:type ontology:Q34770 }
Anything Goes Williams
action filter_type
action union
action find
entity Williams
relation language of work or name
action find
entity Anything Goes
relation original language of work
type language
{'OR': [['Williams', 'language of work or name', {'concept': 'language'}], ['Anything Goes', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Williams property:language_of_work_or_name ?y } UNION { resource:Anything_Goes property:original_language_of_work ?y } } . ?y rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
OR((Q1688722,P407,c(Q34770)), (Q2743992,P364,c(Q34770)))
action filter_type
action union
action find
entity Q1688722
relation P407
action find
entity Q2743992
relation P364
type Q34770
[ANSWER] is the languages of work for Williams or were used originally for the creation of Anything Goes
{'OR': [['Q1688722', 'P407', {'concept': 'Q34770'}], ['Q2743992', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q1688722 property:P407 ?y } UNION { resource:Q2743992 property:P364 ?y } } . ?y rdf:type ontology:Q34770 }
English
English is the languages of work for Williams or were used originally for the creation of Anything Goes
English
action filter_type
action union
action find
entity Williams
relation language of work or name
action find
entity Anything Goes
relation original language of work
type language
{'OR': [['Williams', 'language of work or name', {'concept': 'language'}], ['Anything Goes', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Williams property:language_of_work_or_name ?y } UNION { resource:Anything_Goes property:original_language_of_work ?y } } . ?y rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2743992
P58
Q502895
USER
Who were the screenwriters for that work of art ?
(Q1860,P58,c(Q502895))
action filter_type
action find
entity Q2743992
relation P58
type Q502895
['Q1860', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q2743992 property:P58 ?v . ?v rdf:type ontology:Q502895 }
Anything Goes
action filter_type
action find
entity Anything Goes
relation screenwriter
type common name
['English', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Anything_Goes property:screenwriter ?v . ?v rdf:type ontology:common_name }
[]
common name
Q1374517 Q1382872
SYSTEM
Howard Lindsay, Russel Crouse
Q1374517 Q1382872
(Q1860,P58,c(Q502895))
action filter_type
action find
entity Q2743992
relation P58
type Q502895
The screenwriters for that work of art were both [ANSWERS]
['Q1860', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q2743992 property:P58 ?v . ?v rdf:type ontology:Q502895 }
Howard Lindsay Russel Crouse
The screenwriters for that work of art were both Howard Lindsay and Russel Crouse
Howard Lindsay Russel Crouse
action filter_type
action find
entity Anything Goes
relation screenwriter
type common name
['English', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Anything_Goes property:screenwriter ?v . ?v rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q151885 Q28640
USER
How many concepts and professions are the job of that person ?
(Q1374517,P106,c(Q151885)) (Q1374517,P106,c(Q28640)) (Q1374517,P106,c(Q151885)) (Q1374517,P106,c(Q28640)) (Q1382872,P106,c(Q151885)) (Q1382872,P106,c(Q28640))
['Q1374517', 'P106', {'concept': 'Q151885'}] ['Q1374517', 'P106', {'concept': 'Q28640'}] ['Q1374517', 'P106', {'concept': 'Q151885'}] ['Q1374517', 'P106', {'concept': 'Q28640'}] ['Q1382872', 'P106', {'concept': 'Q151885'}] ['Q1382872', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q5920217 property:Q528892 ?z } UNION { resource:Q5920217 property:Q528892 ?y } UNION { resource:Q5920217 property:Q528892 ?z } UNION { resource:Q5920217 property:Q528892 ?y } UNION { resource:Q1382872 property:Q528892 ?z } UNION { resource:Q1382872 property:Q528892 ?y } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q28640 }
['Howard Lindsay', 'occupation', {'concept': 'concept'}] ['Howard Lindsay', 'occupation', {'concept': 'profession'}] ['Howard Lindsay', 'occupation', {'concept': 'concept'}] ['Howard Lindsay', 'occupation', {'concept': 'profession'}] ['Russel Crouse', 'occupation', {'concept': 'concept'}] ['Russel Crouse', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Howard_Lindsay property:occupation ?z } UNION { resource:Howard_Lindsay property:occupation ?y } UNION { resource:Howard_Lindsay property:occupation ?z } UNION { resource:Howard_Lindsay property:occupation ?y } UNION { resource:Russel_Crouse property:occupation ?z } UNION { resource:Russel_Crouse property:occupation ?y } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:profession }
[]
concept profession
Quantitative|Count|Mult. entity type|Clarification
Q1382872
SYSTEM
Did you mean Russel Crouse ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q5920217 property:Q528892 ?z } UNION { resource:Q5920217 property:Q528892 ?y } UNION { resource:Q5920217 property:Q528892 ?z } UNION { resource:Q5920217 property:Q528892 ?y } UNION { resource:Q1382872 property:Q528892 ?z } UNION { resource:Q1382872 property:Q528892 ?y } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q28640 }
Did you mean Russel Crouse ?
Russel Crouse
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Howard_Lindsay property:occupation ?z } UNION { resource:Howard_Lindsay property:occupation ?y } UNION { resource:Howard_Lindsay property:occupation ?z } UNION { resource:Howard_Lindsay property:occupation ?y } UNION { resource:Russel_Crouse property:occupation ?z } UNION { resource:Russel_Crouse property:occupation ?y } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:profession }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Howard Lindsay. Could you tell me the answer for that?
(Q1374517,P106,c(Q151885)) (Q1374517,P106,c(Q28640)) (Q1374517,P106,c(Q151885)) (Q1374517,P106,c(Q28640)) (Q1382872,P106,c(Q151885)) (Q1382872,P106,c(Q28640))
Q1374517
['Q1374517', 'P106', {'concept': 'Q151885'}] ['Q1374517', 'P106', {'concept': 'Q28640'}] ['Q1374517', 'P106', {'concept': 'Q151885'}] ['Q1374517', 'P106', {'concept': 'Q28640'}] ['Q1382872', 'P106', {'concept': 'Q151885'}] ['Q1382872', 'P106', {'concept': 'Q28640'}]
['Howard Lindsay', 'occupation', {'concept': 'concept'}] ['Howard Lindsay', 'occupation', {'concept': 'profession'}] ['Howard Lindsay', 'occupation', {'concept': 'concept'}] ['Howard Lindsay', 'occupation', {'concept': 'profession'}] ['Russel Crouse', 'occupation', {'concept': 'concept'}] ['Russel Crouse', 'occupation', {'concept': 'profession'}]
[]
SYSTEM
1 concepts and 2 professions
Q10800557 Q214917 Q28389
(Q1374517,P106,c(Q151885)) (Q1374517,P106,c(Q28640)) (Q1374517,P106,c(Q151885)) (Q1374517,P106,c(Q28640)) (Q1382872,P106,c(Q151885)) (Q1382872,P106,c(Q28640))
[ANSWER]
['Q1374517', 'P106', {'concept': 'Q151885'}] ['Q1374517', 'P106', {'concept': 'Q28640'}] ['Q1374517', 'P106', {'concept': 'Q151885'}] ['Q1374517', 'P106', {'concept': 'Q28640'}] ['Q1382872', 'P106', {'concept': 'Q151885'}] ['Q1382872', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q5920217 property:Q528892 ?z } UNION { resource:Q5920217 property:Q528892 ?y } UNION { resource:Q5920217 property:Q528892 ?z } UNION { resource:Q5920217 property:Q528892 ?y } UNION { resource:Q1382872 property:Q528892 ?z } UNION { resource:Q1382872 property:Q528892 ?y } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q28640 }
film actor playwright screenwriter
1 concepts and 2 professions
['Howard Lindsay', 'occupation', {'concept': 'concept'}] ['Howard Lindsay', 'occupation', {'concept': 'profession'}] ['Howard Lindsay', 'occupation', {'concept': 'concept'}] ['Howard Lindsay', 'occupation', {'concept': 'profession'}] ['Russel Crouse', 'occupation', {'concept': 'concept'}] ['Russel Crouse', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Howard_Lindsay property:occupation ?z } UNION { resource:Howard_Lindsay property:occupation ?y } UNION { resource:Howard_Lindsay property:occupation ?z } UNION { resource:Howard_Lindsay property:occupation ?y } UNION { resource:Russel_Crouse property:occupation ?z } UNION { resource:Russel_Crouse property:occupation ?y } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1374517
P162
Q838948
USER
Which work of art has been produced by Howard Lindsay ?
(c(Q838948),P162,Q1374517)
action filter_type
action find_reverse
entity Q1374517
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q1374517']
SELECT DISTINCT ?g WHERE { ?g property:P162 resource:Q1374517 . ?g rdf:type ontology:Q838948 }
Howard Lindsay
action filter_type
action find_reverse
entity Howard Lindsay
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Howard Lindsay']
SELECT DISTINCT ?g WHERE { ?g property:producer resource:Howard_Lindsay . ?g rdf:type ontology:work_of_art }
[]
work of art
Q1521238
SYSTEM
The Hasty Heart
Q1521238
(c(Q838948),P162,Q1374517)
action filter_type
action find_reverse
entity Q1374517
relation P162
type Q838948
[ANSWER] has been produced by Howard Lindsay
[{'concept': 'Q838948'}, 'P162', 'Q1374517']
SELECT DISTINCT ?g WHERE { ?g property:P162 resource:Q1374517 . ?g rdf:type ontology:Q838948 }
The Hasty Heart
The Hasty Heart has been produced by Howard Lindsay
The Hasty Heart
action filter_type
action find_reverse
entity Howard Lindsay
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Howard Lindsay']
SELECT DISTINCT ?g WHERE { ?g property:producer resource:Howard_Lindsay . ?g rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1374517
P26
Q502895
USER
Which person is the spouse of Howard Lindsay ?
(Q1374517,P26,c(Q502895))
action filter_type
action find
entity Q1374517
relation P26
type Q502895
['Q1374517', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1374517 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Howard Lindsay
action filter_type
action find
entity Howard Lindsay
relation spouse
type common name
['Howard Lindsay', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Howard_Lindsay property:spouse ?e . ?e rdf:type ontology:common_name }
[]
common name
Q1250344
SYSTEM
Dorothy Stickney
Q1250344
(Q1374517,P26,c(Q502895))
action filter_type
action find
entity Q1374517
relation P26
type Q502895
[ANSWER] is the spouse of Howard Lindsay
['Q1374517', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1374517 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Dorothy Stickney
Dorothy Stickney is the spouse of Howard Lindsay
Dorothy Stickney
action filter_type
action find
entity Howard Lindsay
relation spouse
type common name
['Howard Lindsay', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Howard_Lindsay property:spouse ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q295855
Q502895
USER
And how about Carlos Saura?
(Q295855,P26,c(Q502895))
action filter_type
action find
entity Q295855
relation P26
type Q502895
['Q295855', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q295855 property:P26 ?n }
Carlos Saura
action filter_type
action find
entity Carlos Saura
relation spouse
type common name
['Carlos Saura', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Carlos_Saura property:spouse ?n }
[]
common name
Q8846211
SYSTEM
Eulàlia Ramon
Q8846211
(Q295855,P26,c(Q502895))
action filter_type
action find
entity Q295855
relation P26
type Q502895
[ANSWER]
['Q295855', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q295855 property:P26 ?n }
Eulàlia Ramon
Eulàlia Ramon
action filter_type
action find
entity Carlos Saura
relation spouse
type common name
['Carlos Saura', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Carlos_Saura property:spouse ?n }
[]