Simple Question (Direct)
Simple Question
Q7143176
P364
Q34770
USER
Which language was used originally for the creation of Pasťák ?
(Q7143176,P364,c(Q34770))
action filter_type
action find
entity Q7143176
relation P364
type Q34770
['Q7143176', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q7143176 property:P364 ?a . ?a rdf:type ontology:Q34770 }
Pasťák
action filter_type
action find
entity Pasťák
relation original language of work
type language
['Pasťák', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Pasťák property:original_language_of_work ?a . ?a rdf:type ontology:language }
[]
language
Q9056
SYSTEM
Czech
Q9056
(Q7143176,P364,c(Q34770))
action filter_type
action find
entity Q7143176
relation P364
type Q34770
[ANSWER] was used originally for the creation of Pasťák
['Q7143176', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q7143176 property:P364 ?a . ?a rdf:type ontology:Q34770 }
Czech
Czech was used originally for the creation of Pasťák
Czech
action filter_type
action find
entity Pasťák
relation original language of work
type language
['Pasťák', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Pasťák property:original_language_of_work ?a . ?a rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7143176
P58
Q502895
USER
Who wrote the screenplay for that work of art ?
(Q9056,P58,c(Q502895))
action filter_type
action find
entity Q7143176
relation P58
type Q502895
['Q9056', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q7143176 property:P58 ?l . ?l rdf:type ontology:Q502895 }
Pasťák
action filter_type
action find
entity Pasťák
relation screenwriter
type common name
['Czech', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Pasťák property:screenwriter ?l . ?l rdf:type ontology:common_name }
[]
common name
Q12021121
SYSTEM
Hynek Bočan
Q12021121
(Q9056,P58,c(Q502895))
action filter_type
action find
entity Q7143176
relation P58
type Q502895
[ANSWER] wrote the screenplay for that work of art
['Q9056', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q7143176 property:P58 ?l . ?l rdf:type ontology:Q502895 }
Hynek Bočan
Hynek Bočan wrote the screenplay for that work of art
Hynek Bočan
action filter_type
action find
entity Pasťák
relation screenwriter
type common name
['Czech', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Pasťák property:screenwriter ?l . ?l rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q12021121 Q5189015 Q247702
P19
Q56061
USER
Does that person have place of birth as Crouch, California and Ciuntești ?
(Q12021121,P19,Q5189015) (Q12021121,P19,Q247702)
action is_in
entity Q12021121
action intersection
action find_reverse
entity Q5189015
relation P19
action find_reverse
entity Q247702
relation P19
['Q12021121', 'P19', 'Q5189015'] ['Q12021121', 'P19', 'Q247702']
ASK WHERE { resource:Q12021121 property:P19 resource:Q5189015 . resource:Q12021121 property:P19 resource:Q247702 }
Hynek Bočan Crouch, California Ciuntești
action is_in
entity Hynek Bočan
action intersection
action find_reverse
entity Crouch, California
relation place of birth
action find_reverse
entity Ciuntești
relation place of birth
['Hynek Bočan', 'place of birth', 'Crouch, California'] ['Hynek Bočan', 'place of birth', 'Ciuntești']
ASK WHERE { resource:Hynek_Bočan property:place_of_birth resource:Crouch,_California . resource:Hynek_Bočan property:place_of_birth resource:Ciuntești }
[]
administrative territorial entity
SYSTEM
NO
(Q12021121,P19,Q5189015) (Q12021121,P19,Q247702)
action is_in
entity Q12021121
action intersection
action find_reverse
entity Q5189015
relation P19
action find_reverse
entity Q247702
relation P19
[ANSWER]
['Q12021121', 'P19', 'Q5189015'] ['Q12021121', 'P19', 'Q247702']
ASK WHERE { resource:Q12021121 property:P19 resource:Q5189015 . resource:Q12021121 property:P19 resource:Q247702 }
No
action is_in
entity Hynek Bočan
action intersection
action find_reverse
entity Crouch, California
relation place of birth
action find_reverse
entity Ciuntești
relation place of birth
['Hynek Bočan', 'place of birth', 'Crouch, California'] ['Hynek Bočan', 'place of birth', 'Ciuntești']
ASK WHERE { resource:Hynek_Bočan property:place_of_birth resource:Crouch,_California . resource:Hynek_Bočan property:place_of_birth resource:Ciuntești }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q7143176 Q12021121
P57
Q502895
USER
Did Hynek Bočan direct that work of art ?
(Q7143176,P57,Q12021121)
action is_in
entity Q12021121
action find
entity Q7143176
relation P57
['Q7143176', 'P57', 'Q12021121']
ASK WHERE { resource:Q7143176 property:P57 resource:Q12021121 }
Pasťák Hynek Bočan
action is_in
entity Hynek Bočan
action find
entity Pasťák
relation director
['Pasťák', 'director', 'Hynek Bočan']
ASK WHERE { resource:Pasťák property:director resource:Hynek_Bočan }
[]
common name
SYSTEM
YES
(Q7143176,P57,Q12021121)
action is_in
entity Q12021121
action find
entity Q7143176
relation P57
[ANSWER]
['Q7143176', 'P57', 'Q12021121']
ASK WHERE { resource:Q7143176 property:P57 resource:Q12021121 }
Yes
action is_in
entity Hynek Bočan
action find
entity Pasťák
relation director
['Pasťák', 'director', 'Hynek Bočan']
ASK WHERE { resource:Pasťák property:director resource:Hynek_Bočan }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12021121 Q1085
P19
Q56061
USER
Was Hynek Bočan born in Prague ?
(Q12021121,P19,Q1085)
action is_in
entity Q1085
action find
entity Q12021121
relation P19
['Q12021121', 'P19', 'Q1085']
ASK WHERE { resource:Q12021121 property:P19 resource:Q1085 }
Hynek Bočan Prague
action is_in
entity Prague
action find
entity Hynek Bočan
relation place of birth
['Hynek Bočan', 'place of birth', 'Prague']
ASK WHERE { resource:Hynek_Bočan property:place_of_birth resource:Prague }
[]
administrative territorial entity
SYSTEM
YES
(Q12021121,P19,Q1085)
action is_in
entity Q1085
action find
entity Q12021121
relation P19
[ANSWER]
['Q12021121', 'P19', 'Q1085']
ASK WHERE { resource:Q12021121 property:P19 resource:Q1085 }
Yes
action is_in
entity Prague
action find
entity Hynek Bočan
relation place of birth
['Hynek Bočan', 'place of birth', 'Prague']
ASK WHERE { resource:Hynek_Bočan property:place_of_birth resource:Prague }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q12021121 Q8704
P57
Q838948
USER
How many works of art are Hynek Bočan or Walt Disney a director of ?
(c(Q838948),P57,Q12021121) (c(Q838948),P57,Q8704)
action count
action union
action filter_type
action find_reverse
entity Q12021121
relation P57
type Q838948
action filter_type
action find_reverse
entity Q8704
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q12021121'] [{'concept': 'Q838948'}, 'P57', 'Q8704']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P57 ?l . VALUES ( ?l ) { ( resource:Q8704 ) ( resource:Q12021121 ) } }
Hynek Bočan Walt Disney
action count
action union
action filter_type
action find_reverse
entity Hynek Bočan
relation director
type work of art
action filter_type
action find_reverse
entity Walt Disney
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Hynek Bočan'] [{'concept': 'work of art'}, 'director', 'Walt Disney']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:director ?l . VALUES ( ?l ) { ( resource:Walt_Disney ) ( resource:Hynek_Bočan ) } }
[]
work of art
SYSTEM
28
Q6774313 Q2836491 Q2836545 Q2836486 Q2826146 Q3520959 Q2836503 Q3411014 Q3531362 Q3141074 Q3521307 Q7143176 Q580054 Q2836480 Q3110116 Q3143330 Q3569397 Q1939384 Q2972716 Q2381354 Q2836511 Q3667548 Q2836643 Q7546807 Q2836748 Q2836733 Q2836606 Q3486629
(c(Q838948),P57,Q12021121) (c(Q838948),P57,Q8704)
action count
action union
action filter_type
action find_reverse
entity Q12021121
relation P57
type Q838948
action filter_type
action find_reverse
entity Q8704
relation P57
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q12021121'] [{'concept': 'Q838948'}, 'P57', 'Q8704']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P57 ?l . VALUES ( ?l ) { ( resource:Q8704 ) ( resource:Q12021121 ) } }
Martha Alice's Little Parade Alice Cans the Cannibals Alice's Day at Sea Africa Before Dark The Four Musicians of Bremen Alice's Spanish Guitar Puss in Boots Tommy Tucker's Tooth Hot Dog Hot Chocolate Soldiers Pasťák Alice Solves the Puzzle egg plant Goldie Locks and the Three Bears Hungry Hoboes Winter Give the Devil His Due Cinderella Little Red Riding Hood Alice's Spooky Adventure Servants' Entrance Alice Rattled by Rats Smích se lepí na paty Alice the Toreador Alice on the Farm Alice Loses Out Sleigh Bells
28
action count
action union
action filter_type
action find_reverse
entity Hynek Bočan
relation director
type work of art
action filter_type
action find_reverse
entity Walt Disney
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Hynek Bočan'] [{'concept': 'work of art'}, 'director', 'Walt Disney']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:director ?l . VALUES ( ?l ) { ( resource:Walt_Disney ) ( resource:Hynek_Bočan ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12021121
P27
Q15617994
USER
Which administrative territory is Hynek Bočan an inhabitant of ?
(Q12021121,P27,c(Q15617994))
action filter_type
action find
entity Q12021121
relation P27
type Q15617994
['Q12021121', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q12021121 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Hynek Bočan
action filter_type
action find
entity Hynek Bočan
relation country of citizenship
type designation for an administrative territorial entity
['Hynek Bočan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Hynek_Bočan property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q12021121,P27,c(Q15617994))
action filter_type
action find
entity Q12021121
relation P27
type Q15617994
[ANSWER] is Hynek Bočan an inhabitant of
['Q12021121', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q12021121 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Czech Republic
Czech Republic is Hynek Bočan an inhabitant of
Czech Republic
action filter_type
action find
entity Hynek Bočan
relation country of citizenship
type designation for an administrative territorial entity
['Hynek Bočan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Hynek_Bočan property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q215834
Q15617994
USER
And also tell me about Peter Blau?
(Q215834,P27,c(Q15617994))
action filter_type
action find
entity Q215834
relation P27
type Q15617994
['Q215834', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q215834 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Peter Blau
action filter_type
action find
entity Peter Blau
relation country of citizenship
type designation for an administrative territorial entity
['Peter Blau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Peter_Blau property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q215834,P27,c(Q15617994))
action filter_type
action find
entity Q215834
relation P27
type Q15617994
[ANSWER]
['Q215834', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q215834 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Peter Blau
relation country of citizenship
type designation for an administrative territorial entity
['Peter Blau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Peter_Blau property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q35286 Q4973807
P6
Q502895
USER
Does United States of America have a government lead by Warren G. Harding and Bronagh Waugh ?
(Q30,P6,Q35286) (Q30,P6,Q4973807)
action is_in
entity Q30
action intersection
action find_reverse
entity Q35286
relation P6
action find_reverse
entity Q4973807
relation P6
['Q30', 'P6', 'Q35286'] ['Q30', 'P6', 'Q4973807']
ASK WHERE { resource:Q30 property:P6 resource:Q35286 . resource:Q30 property:P6 resource:Q4973807 }
United States of America Warren G. Harding Bronagh Waugh
action is_in
entity United States of America
action intersection
action find_reverse
entity Warren G. Harding
relation head of government
action find_reverse
entity Bronagh Waugh
relation head of government
['United States of America', 'head of government', 'Warren G. Harding'] ['United States of America', 'head of government', 'Bronagh Waugh']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Warren_G._Harding . resource:United_States_of_America property:head_of_government resource:Bronagh_Waugh }
[]
common name
SYSTEM
YES and NO respectively
(Q30,P6,Q35286) (Q30,P6,Q4973807)
action is_in
entity Q30
action intersection
action find_reverse
entity Q35286
relation P6
action find_reverse
entity Q4973807
relation P6
[ANSWER]
['Q30', 'P6', 'Q35286'] ['Q30', 'P6', 'Q4973807']
ASK WHERE { resource:Q30 property:P6 resource:Q35286 . resource:Q30 property:P6 resource:Q4973807 }
YES and NO respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Warren G. Harding
relation head of government
action find_reverse
entity Bronagh Waugh
relation head of government
['United States of America', 'head of government', 'Warren G. Harding'] ['United States of America', 'head of government', 'Bronagh Waugh']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Warren_G._Harding . resource:United_States_of_America property:head_of_government resource:Bronagh_Waugh }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9056
P407
Q7725634
USER
Which literary works were done in Czech language ?
(c(Q7725634),P407,Q9056)
action filter_type
action find_reverse
entity Q9056
relation P407
type Q7725634
[{'concept': 'Q7725634'}, 'P407', 'Q9056']
SELECT DISTINCT ?l WHERE { ?l property:P407 resource:Q9056 . ?l rdf:type ontology:Q7725634 }
Czech
action filter_type
action find_reverse
entity Czech
relation language of work or name
type literary work
[{'concept': 'literary work'}, 'language of work or name', 'Czech']
SELECT DISTINCT ?l WHERE { ?l property:language_of_work_or_name resource:Czech . ?l rdf:type ontology:literary_work }
[]
literary work
Q27313478 Q5065652 Q19526620
SYSTEM
Marseilléza, Tisíckráte pozdravujem Tebe, John Brown na šibenici
Q5065652 Q19526620 Q27313478 Q5201754
(c(Q7725634),P407,Q9056)
action filter_type
action find_reverse
entity Q9056
relation P407
type Q7725634
[ANSWERS] were done in Czech language
[{'concept': 'Q7725634'}, 'P407', 'Q9056']
SELECT DISTINCT ?l WHERE { ?l property:P407 resource:Q9056 . ?l rdf:type ontology:Q7725634 }
Tisíckráte pozdravujem Tebe John Brown na šibenici Marseilléza Czech Lute
Marseilléza, Tisíckráte pozdravujem Tebe and John Brown na šibenici were done in Czech language
Marseilléza Tisíckráte pozdravujem Tebe John Brown na šibenici
action filter_type
action find_reverse
entity Czech
relation language of work or name
type literary work
[{'concept': 'literary work'}, 'language of work or name', 'Czech']
SELECT DISTINCT ?l WHERE { ?l property:language_of_work_or_name resource:Czech . ?l rdf:type ontology:literary_work }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q27313478 Q5065652 Q19526620
P407
Q34770
USER
What are the languages of work for Marseilléza, Tisíckráte pozdravujem Tebe and John Brown na šibenici ?
(Q27313478,P407,c(Q34770)) (Q5065652,P407,c(Q34770)) (Q19526620,P407,c(Q34770))
action union
action filter_type
action find
entity Q27313478
relation P407
type Q34770
action filter_type
action find
entity Q5065652
relation P407
type Q34770
action filter_type
action find
entity Q19526620
relation P407
type Q34770
['Q27313478', 'P407', {'concept': 'Q34770'}] ['Q5065652', 'P407', {'concept': 'Q34770'}] ['Q19526620', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:Q34770 . resource:Q5065652 property:P407 ?n } UNION { ?n rdf:type ontology:Q34770 . resource:Q27313478 property:P407 ?n } }
Marseilléza Tisíckráte pozdravujem Tebe John Brown na šibenici
action union
action filter_type
action find
entity Marseilléza
relation language of work or name
type language
action filter_type
action find
entity Tisíckráte pozdravujem Tebe
relation language of work or name
type language
action filter_type
action find
entity John Brown na šibenici
relation language of work or name
type language
['Marseilléza', 'language of work or name', {'concept': 'language'}] ['Tisíckráte pozdravujem Tebe', 'language of work or name', {'concept': 'language'}] ['John Brown na šibenici', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:language . resource:Tisíckráte_pozdravujem_Tebe property:language_of_work_or_name ?n } UNION { ?n rdf:type ontology:language . resource:Marseilléza property:language_of_work_or_name ?n } }
[]
language
Q9056 Q9056 Q9056
SYSTEM
Czech
Q9056 Q9056 Q9056
(Q27313478,P407,c(Q34770)) (Q5065652,P407,c(Q34770)) (Q19526620,P407,c(Q34770))
action union
action filter_type
action find
entity Q27313478
relation P407
type Q34770
action filter_type
action find
entity Q5065652
relation P407
type Q34770
action filter_type
action find
entity Q19526620
relation P407
type Q34770
The languages of work for Marseilléza are pozdravujem [ANSWER], [ANSWER] and [ANSWER]
['Q27313478', 'P407', {'concept': 'Q34770'}] ['Q5065652', 'P407', {'concept': 'Q34770'}] ['Q19526620', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:Q34770 . resource:Q5065652 property:P407 ?n } UNION { ?n rdf:type ontology:Q34770 . resource:Q27313478 property:P407 ?n } }
Czech Czech Czech
The languages of work for Marseilléza are pozdravujem Czech, Czech and Czech
Czech Czech Czech
action union
action filter_type
action find
entity Marseilléza
relation language of work or name
type language
action filter_type
action find
entity Tisíckráte pozdravujem Tebe
relation language of work or name
type language
action filter_type
action find
entity John Brown na šibenici
relation language of work or name
type language
['Marseilléza', 'language of work or name', {'concept': 'language'}] ['Tisíckráte pozdravujem Tebe', 'language of work or name', {'concept': 'language'}] ['John Brown na šibenici', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:language . resource:Tisíckráte_pozdravujem_Tebe property:language_of_work_or_name ?n } UNION { ?n rdf:type ontology:language . resource:Marseilléza property:language_of_work_or_name ?n } }
[]