Simple Question (Direct)
Simple Question
Q1064429
P106
Q12737077
USER
What do Charles Fraser do for a living ?
(Q1064429,P106,c(Q12737077))
action filter_type
action find
entity Q1064429
relation P106
type Q12737077
['Q1064429', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1064429 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Charles Fraser
action filter_type
action find
entity Charles Fraser
relation occupation
type occupation
['Charles Fraser', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Charles_Fraser property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q11900058 Q2374149
SYSTEM
explorer, botanist
Q11900058 Q2374149
(Q1064429,P106,c(Q12737077))
action filter_type
action find
entity Q1064429
relation P106
type Q12737077
[ANSWERS] Charles Fraser do for a living
['Q1064429', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1064429 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
explorer botanist
Explorer and botanist Charles Fraser do for a living
explorer botanist
action filter_type
action find
entity Charles Fraser
relation occupation
type occupation
['Charles Fraser', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Charles_Fraser property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1064429
P1412
Q34770
USER
Which language is Charles Fraser capable of writing ?
(Q1064429,P1412,c(Q34770))
action filter_type
action find
entity Q1064429
relation P1412
type Q34770
['Q1064429', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q1064429 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Charles Fraser
action filter_type
action find
entity Charles Fraser
relation languages spoken, written or signed
type language
['Charles Fraser', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Charles_Fraser property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1064429,P1412,c(Q34770))
action filter_type
action find
entity Q1064429
relation P1412
type Q34770
Is [ANSWER] is Charles Fraser capable of writing
['Q1064429', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q1064429 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
English
Is English is Charles Fraser capable of writing
English
action filter_type
action find
entity Charles Fraser
relation languages spoken, written or signed
type language
['Charles Fraser', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Charles_Fraser property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3066599
Q34770
USER
And how about John Kessel?
(Q3066599,P1412,c(Q34770))
action filter_type
action find
entity Q3066599
relation P1412
type Q34770
['Q3066599', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q3066599 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
John Kessel
action filter_type
action find
entity John Kessel
relation languages spoken, written or signed
type language
['John Kessel', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:John_Kessel property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3066599,P1412,c(Q34770))
action filter_type
action find
entity Q3066599
relation P1412
type Q34770
[ANSWER]
['Q3066599', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q3066599 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity John Kessel
relation languages spoken, written or signed
type language
['John Kessel', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:John_Kessel property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3066599
P166
Q618779
USER
Which award was that person awarded with ?
(Q1860,P166,c(Q618779))
action filter_type
action find
entity Q3066599
relation P166
type Q618779
['Q1860', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { resource:Q3066599 property:P166 ?g . ?g rdf:type ontology:Q618779 }
John Kessel
action filter_type
action find
entity John Kessel
relation award received
type award
['English', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { resource:John_Kessel property:award_received ?g . ?g rdf:type ontology:award }
[]
award
Q194285
SYSTEM
Nebula Award
Q194285
(Q1860,P166,c(Q618779))
action filter_type
action find
entity Q3066599
relation P166
type Q618779
That person was awarded a [ANSWER]
['Q1860', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { resource:Q3066599 property:P166 ?g . ?g rdf:type ontology:Q618779 }
Nebula Award
That person was awarded a Nebula Award
Nebula Award
action filter_type
action find
entity John Kessel
relation award received
type award
['English', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { resource:John_Kessel property:award_received ?g . ?g rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3066599
P27
Q15617994
USER
How many administrative territories do John Kessel belong to ?
(Q3066599,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3066599
relation P27
type Q15617994
['Q3066599', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q3066599 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
John Kessel
action count
action filter_type
action find
entity John Kessel
relation country of citizenship
type designation for an administrative territorial entity
['John Kessel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:John_Kessel property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q3066599,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3066599
relation P27
type Q15617994
[ANSWER]
['Q3066599', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q3066599 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity John Kessel
relation country of citizenship
type designation for an administrative territorial entity
['John Kessel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:John_Kessel property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q5018125
P27
Q15617994
USER
And also tell me about Cal Browning?
(Q5018125,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5018125
relation P27
type Q15617994
['Q5018125', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q5018125 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Cal Browning
action count
action filter_type
action find
entity Cal Browning
relation country of citizenship
type designation for an administrative territorial entity
['Cal Browning', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Cal_Browning property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q5018125,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5018125
relation P27
type Q15617994
[ANSWER]
['Q5018125', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q5018125 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Cal Browning
relation country of citizenship
type designation for an administrative territorial entity
['Cal Browning', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Cal_Browning property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6179143
Q15617994
USER
And also tell me about Jenny Allard?
(Q6179143,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6179143
relation P27
type Q15617994
['Q6179143', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Q6179143 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Jenny Allard
action count
action filter_type
action find
entity Jenny Allard
relation country of citizenship
type designation for an administrative territorial entity
['Jenny Allard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Jenny_Allard property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q6179143,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6179143
relation P27
type Q15617994
[ANSWER]
['Q6179143', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Q6179143 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Jenny Allard
relation country of citizenship
type designation for an administrative territorial entity
['Jenny Allard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Jenny_Allard property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1571 Q1860
P364
Q838948
USER
Which works of art were done in English and Marathi language during their inception ?
AND((c(Q838948),P364,Q1860), (c(Q838948),P364,Q1571))
action filter_type
action intersection
action find_reverse
entity Q1860
relation P364
action find_reverse
entity Q1571
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P364', 'Q1860'], [{'concept': 'Q838948'}, 'P364', 'Q1571']]}
SELECT DISTINCT ?n WHERE { ?n property:P364 resource:Q1860 . ?n property:P364 resource:Q1571 . ?n rdf:type ontology:Q838948 }
Marathi English
action filter_type
action intersection
action find_reverse
entity English
relation original language of work
action find_reverse
entity Marathi
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'original language of work', 'English'], [{'concept': 'work of art'}, 'original language of work', 'Marathi']]}
SELECT DISTINCT ?n WHERE { ?n property:original_language_of_work resource:English . ?n property:original_language_of_work resource:Marathi . ?n rdf:type ontology:work_of_art }
[]
work of art
Q7271433 Q6123392 Q1122756
SYSTEM
Quest, Jai Jagannatha, Comrades In Dreams
Q7271433 Q6123392 Q1122756
AND((c(Q838948),P364,Q1860), (c(Q838948),P364,Q1571))
action filter_type
action intersection
action find_reverse
entity Q1860
relation P364
action find_reverse
entity Q1571
relation P364
type Q838948
[ANSWERS] were done in English and Marathi language during their inception
{'AND': [[{'concept': 'Q838948'}, 'P364', 'Q1860'], [{'concept': 'Q838948'}, 'P364', 'Q1571']]}
SELECT DISTINCT ?n WHERE { ?n property:P364 resource:Q1860 . ?n property:P364 resource:Q1571 . ?n rdf:type ontology:Q838948 }
Quest Jai Jagannatha Comrades In Dreams
Quest, Jai Jagannatha and Comrades In Dreams were done in English and Marathi language during their inception
Quest Jai Jagannatha Comrades In Dreams
action filter_type
action intersection
action find_reverse
entity English
relation original language of work
action find_reverse
entity Marathi
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'original language of work', 'English'], [{'concept': 'work of art'}, 'original language of work', 'Marathi']]}
SELECT DISTINCT ?n WHERE { ?n property:original_language_of_work resource:English . ?n property:original_language_of_work resource:Marathi . ?n rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7271433
P495
Q15617994
USER
What is the country of origin of that work of art ?
(Q7271433,P495,c(Q15617994))
action filter_type
action find
entity Q7271433
relation P495
type Q15617994
['Q7271433', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q7271433 property:P495 ?t . ?t rdf:type ontology:Q15617994 }
Quest
action filter_type
action find
entity Quest
relation country of origin
type designation for an administrative territorial entity
['Quest', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Quest property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1122756
SYSTEM
Did you mean Comrades In Dreams ?
Q7271433 Q6123392 Q1122756
(Q7271433,P495,c(Q15617994)) (Q6123392,P495,c(Q15617994)) (Q1122756,P495,c(Q15617994))
[ANSWER]
['Q7271433', 'P495', {'concept': 'Q15617994'}] ['Q6123392', 'P495', {'concept': 'Q15617994'}] ['Q1122756', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q7271433 property:P495 ?t . ?t rdf:type ontology:Q15617994 }
Quest Jai Jagannatha Comrades In Dreams
Did you mean Comrades In Dreams ?
Comrades In Dreams
['Quest', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Jai Jagannatha', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Comrades In Dreams', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Quest property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Quest. Could you tell me the answer for that?
(Q7271433,P495,c(Q15617994))
Q7271433
['Q7271433', 'P495', {'concept': 'Q15617994'}]
['Quest', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q668
SYSTEM
India
Q668
(Q7271433,P495,c(Q15617994))
action filter_type
action find
entity Q7271433
relation P495
type Q15617994
The country of origin of that work of art is from [ANSWER]
['Q7271433', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q7271433 property:P495 ?t . ?t rdf:type ontology:Q15617994 }
India
The country of origin of that work of art is from India
India
action filter_type
action find
entity Quest
relation country of origin
type designation for an administrative territorial entity
['Quest', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Quest property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P463
Q484652 Q35749
USER
How many international organizations or parliaments were that administrative territory a member of ?
(Q668,P463,c(Q484652)) (Q668,P463,c(Q35749)) (Q668,P463,c(Q484652)) (Q668,P463,c(Q35749))
action count
action union
action filter_type
action find
entity Q668
relation P463
type Q484652
action filter_type
action find
entity Q668
relation P463
type Q35749
['Q668', 'P463', {'concept': 'Q484652'}] ['Q668', 'P463', {'concept': 'Q35749'}] ['Q668', 'P463', {'concept': 'Q484652'}] ['Q668', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { resource:Q668 property:P463 ?y . ?y rdf:type ontology:Q484652 } UNION { resource:Q668 property:P463 ?y . ?y rdf:type ontology:Q35749 } }
action count
action union
action filter_type
action find
entity India
relation member of
type international organization
action filter_type
action find
entity India
relation member of
type parliament
['India', 'member of', {'concept': 'international organization'}] ['India', 'member of', {'concept': 'parliament'}] ['India', 'member of', {'concept': 'international organization'}] ['India', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { resource:India property:member_of ?y . ?y rdf:type ontology:international_organization } UNION { resource:India property:member_of ?y . ?y rdf:type ontology:parliament } }
[]
international organization parliament
SYSTEM
8
Q795985 Q145700 Q37470 Q7785 Q19771 Q188822 Q1065 Q1043527
(Q668,P463,c(Q484652)) (Q668,P463,c(Q35749)) (Q668,P463,c(Q484652)) (Q668,P463,c(Q35749))
action count
action union
action filter_type
action find
entity Q668
relation P463
type Q484652
action filter_type
action find
entity Q668
relation P463
type Q35749
[ANSWER]
['Q668', 'P463', {'concept': 'Q484652'}] ['Q668', 'P463', {'concept': 'Q35749'}] ['Q668', 'P463', {'concept': 'Q484652'}] ['Q668', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { resource:Q668 property:P463 ?y . ?y rdf:type ontology:Q484652 } UNION { resource:Q668 property:P463 ?y . ?y rdf:type ontology:Q35749 } }
Bay of Bengal Initiative for Multi-Sectoral Technical and Economic Cooperation njj South Asian Association for Regional Cooperation United Nations Security Council Commonwealth of Nations G20 Asian Development Bank United Nations Multilateral Investment Guarantee Agency
8
action count
action union
action filter_type
action find
entity India
relation member of
type international organization
action filter_type
action find
entity India
relation member of
type parliament
['India', 'member of', {'concept': 'international organization'}] ['India', 'member of', {'concept': 'parliament'}] ['India', 'member of', {'concept': 'international organization'}] ['India', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { resource:India property:member_of ?y . ?y rdf:type ontology:international_organization } UNION { resource:India property:member_of ?y . ?y rdf:type ontology:parliament } }
[]