Simple Question (Direct)
Simple Question
Q12392604
P1412
Q34770
USER
Which language does Maite Dono speak in ?
(Q12392604,P1412,c(Q34770))
action filter_type
action find
entity Q12392604
relation P1412
type Q34770
['Q12392604', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q34770 . resource:Q12392604 property:P1412 ?i }
Maite Dono
action filter_type
action find
entity Maite Dono
relation languages spoken, written or signed
type language
['Maite Dono', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:language . resource:Maite_Dono property:languages_spoken,_written_or_signed ?i }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q12392604,P1412,c(Q34770))
action filter_type
action find
entity Q12392604
relation P1412
type Q34770
Maite Dono speaks in [ANSWER]
['Q12392604', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q34770 . resource:Q12392604 property:P1412 ?i }
Spanish
Maite Dono speaks in Spanish
Spanish
action filter_type
action find
entity Maite Dono
relation languages spoken, written or signed
type language
['Maite Dono', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:language . resource:Maite_Dono property:languages_spoken,_written_or_signed ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12392604
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q1321,P106,c(Q12737077))
action filter_type
action find
entity Q12392604
relation P106
type Q12737077
['Q1321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q12392604 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Maite Dono
action filter_type
action find
entity Maite Dono
relation occupation
type occupation
['Spanish', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Maite_Dono property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q33999 Q488205 Q49757
SYSTEM
actor, singer-songwriter, poet
Q33999 Q488205 Q49757
(Q1321,P106,c(Q12737077))
action filter_type
action find
entity Q12392604
relation P106
type Q12737077
[ANSWERS] have that person as his/her 's career
['Q1321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q12392604 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
actor singer-songwriter poet
Actor, singer-songwriter and poet have that person as his/her 's career
actor singer-songwriter poet
action filter_type
action find
entity Maite Dono
relation occupation
type occupation
['Spanish', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Maite_Dono property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q9012072
P106
Q502895
USER
Do Joan Sebastian have a job as those occupations ?
(Q9012072,P106,Q33999) (Q9012072,P106,Q488205) (Q9012072,P106,Q49757)
action is_in
entity prev_answer
action find
entity Q9012072
relation P106
['Q9012072', 'P106', 'Q33999'] ['Q9012072', 'P106', 'Q488205'] ['Q9012072', 'P106', 'Q49757']
ASK WHERE { VALUES ( ?r ) { ( resource:Q33999 ) ( resource:Q488205 ) ( resource:Q49757 ) } . resource:Q9012072 property:P106 ?r }
Joan Sebastian
action is_in
entity prev_answer
action find
entity Joan Sebastian
relation occupation
['Joan Sebastian', 'occupation', 'actor'] ['Joan Sebastian', 'occupation', 'singer-songwriter'] ['Joan Sebastian', 'occupation', 'poet']
ASK WHERE { VALUES ( ?r ) { ( resource:actor ) ( resource:singer-songwriter ) ( resource:poet ) } . resource:Joan_Sebastian property:occupation ?r }
[]
common name
SYSTEM
YES
(Q9012072,P106,Q33999) (Q9012072,P106,Q488205) (Q9012072,P106,Q49757)
action is_in
entity prev_answer
action find
entity Q9012072
relation P106
[ANSWER]
['Q9012072', 'P106', 'Q33999'] ['Q9012072', 'P106', 'Q488205'] ['Q9012072', 'P106', 'Q49757']
ASK WHERE { VALUES ( ?r ) { ( resource:Q33999 ) ( resource:Q488205 ) ( resource:Q49757 ) } . resource:Q9012072 property:P106 ?r }
Yes
action is_in
entity prev_answer
action find
entity Joan Sebastian
relation occupation
['Joan Sebastian', 'occupation', 'actor'] ['Joan Sebastian', 'occupation', 'singer-songwriter'] ['Joan Sebastian', 'occupation', 'poet']
ASK WHERE { VALUES ( ?r ) { ( resource:actor ) ( resource:singer-songwriter ) ( resource:poet ) } . resource:Joan_Sebastian property:occupation ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49757
P921
Q2342494
USER
Which collectable was mainly based on poet ?
(c(Q2342494),P921,Q49757)
action filter_type
action find_reverse
entity Q49757
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q49757']
SELECT DISTINCT ?g WHERE { ?g property:P921 resource:Q49757 . ?g rdf:type ontology:Q2342494 }
poet
action filter_type
action find_reverse
entity poet
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'poet']
SELECT DISTINCT ?g WHERE { ?g property:main_subject resource:poet . ?g rdf:type ontology:collectable }
[]
collectable
Q966732
SYSTEM
Life Is Elsewhere
Q966732
(c(Q2342494),P921,Q49757)
action filter_type
action find_reverse
entity Q49757
relation P921
type Q2342494
The [ANSWER] was mainly based on poet
[{'concept': 'Q2342494'}, 'P921', 'Q49757']
SELECT DISTINCT ?g WHERE { ?g property:P921 resource:Q49757 . ?g rdf:type ontology:Q2342494 }
Life Is Elsewhere
The Life Is Elsewhere was mainly based on poet
Life Is Elsewhere
action filter_type
action find_reverse
entity poet
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'poet']
SELECT DISTINCT ?g WHERE { ?g property:main_subject resource:poet . ?g rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q966732
P840
Q7275
USER
What location is that collectable set in ?
(Q966732,P840,c(Q7275))
action filter_type
action find
entity Q966732
relation P840
type Q7275
['Q966732', 'P840', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q966732 property:P840 ?v . ?v rdf:type ontology:Q7275 }
Life Is Elsewhere
action filter_type
action find
entity Life Is Elsewhere
relation narrative location
type state
['Life Is Elsewhere', 'narrative location', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:Life_Is_Elsewhere property:narrative_location ?v . ?v rdf:type ontology:state }
[]
state
Q33946
SYSTEM
Czechoslovakia
Q33946
(Q966732,P840,c(Q7275))
action filter_type
action find
entity Q966732
relation P840
type Q7275
That collectable is set in [ANSWER]
['Q966732', 'P840', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q966732 property:P840 ?v . ?v rdf:type ontology:Q7275 }
Czechoslovakia
That collectable is set in Czechoslovakia
Czechoslovakia
action filter_type
action find
entity Life Is Elsewhere
relation narrative location
type state
['Life Is Elsewhere', 'narrative location', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:Life_Is_Elsewhere property:narrative_location ?v . ?v rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q966732
P136
Q1792379
USER
What can be considered as category for Life Is Elsewhere ?
(Q966732,P136,c(Q1792379))
action filter_type
action find
entity Q966732
relation P136
type Q1792379
['Q966732', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?v WHERE { resource:Q966732 property:P136 ?v . ?v rdf:type ontology:Q1792379 }
Life Is Elsewhere
action filter_type
action find
entity Life Is Elsewhere
relation genre
type art genre
['Life Is Elsewhere', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?v WHERE { resource:Life_Is_Elsewhere property:genre ?v . ?v rdf:type ontology:art_genre }
[]
art genre
Q8261
SYSTEM
novel
Q8261
(Q966732,P136,c(Q1792379))
action filter_type
action find
entity Q966732
relation P136
type Q1792379
The [ANSWER] can be considered as category for Life Is Elsewhere
['Q966732', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?v WHERE { resource:Q966732 property:P136 ?v . ?v rdf:type ontology:Q1792379 }
novel
The novel can be considered as category for Life Is Elsewhere
novel
action filter_type
action find
entity Life Is Elsewhere
relation genre
type art genre
['Life Is Elsewhere', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?v WHERE { resource:Life_Is_Elsewhere property:genre ?v . ?v rdf:type ontology:art_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7712692
Q1792379
USER
And also tell me about The Adventures of the Red Airplane?
(Q7712692,P136,c(Q1792379))
action filter_type
action find
entity Q7712692
relation P136
type Q1792379
['Q7712692', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q7712692 property:P136 ?d . ?d rdf:type ontology:Q1792379 }
The Adventures of the Red Airplane
action filter_type
action find
entity The Adventures of the Red Airplane
relation genre
type art genre
['The Adventures of the Red Airplane', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:The_Adventures_of_the_Red_Airplane property:genre ?d . ?d rdf:type ontology:art_genre }
[]
art genre
Q2143665 Q157394
SYSTEM
children's film, fantasy film
Q2143665 Q157394
(Q7712692,P136,c(Q1792379))
action filter_type
action find
entity Q7712692
relation P136
type Q1792379
[ANSWERS]
['Q7712692', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q7712692 property:P136 ?d . ?d rdf:type ontology:Q1792379 }
children's film fantasy film
children's film fantasy film
action filter_type
action find
entity The Adventures of the Red Airplane
relation genre
type art genre
['The Adventures of the Red Airplane', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:The_Adventures_of_the_Red_Airplane property:genre ?d . ?d rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q33946
P47
Q15617994 Q7275
USER
How many administrative territories and states are adjacent to Czechoslovakia ?
(Q33946,P47,c(Q15617994)) (Q33946,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q33946
relation P47
type Q15617994
action filter_type
action find
entity Q33946
relation P47
type Q7275
['Q33946', 'P47', {'concept': 'Q15617994'}] ['Q33946', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } }
Czechoslovakia
action count
action union
action filter_type
action find
entity Czechoslovakia
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Czechoslovakia
relation shares border with
type state
['Czechoslovakia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Czechoslovakia', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
designation for an administrative territorial entity state
SYSTEM
4 administrative territories and 2 states
Q212 Q218 Q36 Q15180 Q28 Q16957
(Q33946,P47,c(Q15617994)) (Q33946,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q33946
relation P47
type Q15617994
action filter_type
action find
entity Q33946
relation P47
type Q7275
[ANSWER]
['Q33946', 'P47', {'concept': 'Q15617994'}] ['Q33946', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } }
Ukraine Romania Poland Soviet Union Hungary East Germany
4 administrative territories and 2 states
action count
action union
action filter_type
action find
entity Czechoslovakia
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Czechoslovakia
relation shares border with
type state
['Czechoslovakia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Czechoslovakia', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { ?t rdf:type ?f . VALUES ( ?f ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33946
P35
Q502895
USER
Who are elected as the head of state of that one ?
action filter_type
action find
entity Q33946
relation P35
type Q502895
SELECT DISTINCT ?v WHERE { resource:Q33946 property:P35 ?v . ?v rdf:type ontology:Q502895 }
Czechoslovakia
action filter_type
action find
entity Czechoslovakia
relation head of state
type common name
SELECT DISTINCT ?v WHERE { resource:Czechoslovakia property:head_of_state ?v . ?v rdf:type ontology:common_name }
[]
common name
Q36233 Q78492 Q152274
SYSTEM
Václav Havel, Tomáš Garrigue Masaryk, Edvard Beneš
Q296054 Q156494 Q310000 Q157651 Q78492 Q371854 Q152274 Q36233 Q156502
action filter_type
action find
entity Q33946
relation P35
type Q502895
[ANSWERS] are elected as the head of state of that one
SELECT DISTINCT ?v WHERE { resource:Q33946 property:P35 ?v . ?v rdf:type ontology:Q502895 }
Klement Gottwald Antonín Novotný Ludvík Svoboda Gustáv Husák Tomáš Garrigue Masaryk Antonín Zápotocký Edvard Beneš Václav Havel Emil Hácha
Václav Havel, Tomáš Garrigue Masaryk and Edvard Beneš are elected as the head of state of that one
Václav Havel Tomáš Garrigue Masaryk Edvard Beneš
action filter_type
action find
entity Czechoslovakia
relation head of state
type common name
SELECT DISTINCT ?v WHERE { resource:Czechoslovakia property:head_of_state ?v . ?v rdf:type ontology:common_name }
[]