Simple Question (Direct)
Simple Question
Q2645467
P86
Q502895
USER
Who composed Memories of Underdevelopment ?
(Q2645467,P86,c(Q502895))
action filter_type
action find
entity Q2645467
relation P86
type Q502895
['Q2645467', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q2645467 property:P86 ?a }
Memories of Underdevelopment
action filter_type
action find
entity Memories of Underdevelopment
relation composer
type common name
['Memories of Underdevelopment', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Memories_of_Underdevelopment property:composer ?a }
[]
common name
Q454933
SYSTEM
Leo Brouwer
Q454933
(Q2645467,P86,c(Q502895))
action filter_type
action find
entity Q2645467
relation P86
type Q502895
[ANSWER] composed Memories of Underdevelopment
['Q2645467', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q2645467 property:P86 ?a }
Leo Brouwer
Leo Brouwer composed Memories of Underdevelopment
Leo Brouwer
action filter_type
action find
entity Memories of Underdevelopment
relation composer
type common name
['Memories of Underdevelopment', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Memories_of_Underdevelopment property:composer ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2645467
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
(Q454933,P364,c(Q34770))
action filter_type
action find
entity Q2645467
relation P364
type Q34770
['Q454933', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34770 . resource:Q2645467 property:P364 ?p }
Memories of Underdevelopment
action filter_type
action find
entity Memories of Underdevelopment
relation original language of work
type language
['Leo Brouwer', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:language . resource:Memories_of_Underdevelopment property:original_language_of_work ?p }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q454933,P364,c(Q34770))
action filter_type
action find
entity Q2645467
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
['Q454933', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34770 . resource:Q2645467 property:P364 ?p }
Spanish
Spanish was used originally for the creation of that work of art
Spanish
action filter_type
action find
entity Memories of Underdevelopment
relation original language of work
type language
['Leo Brouwer', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:language . resource:Memories_of_Underdevelopment property:original_language_of_work ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1321 Q15846008
P1412
Q502895
USER
Does Luis Castro Obregón write that language ?
(Q15846008,P1412,Q1321)
action is_in
entity Q1321
action find
entity Q15846008
relation P1412
['Q15846008', 'P1412', 'Q1321']
ASK WHERE { resource:Q15846008 property:P1412 resource:Q1321 }
Spanish Luis Castro Obregón
action is_in
entity Spanish
action find
entity Luis Castro Obregón
relation languages spoken, written or signed
['Luis Castro Obregón', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Luis_Castro_Obregón property:languages_spoken,_written_or_signed resource:Spanish }
[]
common name
SYSTEM
YES
(Q15846008,P1412,Q1321)
action is_in
entity Q1321
action find
entity Q15846008
relation P1412
[ANSWER]
['Q15846008', 'P1412', 'Q1321']
ASK WHERE { resource:Q15846008 property:P1412 resource:Q1321 }
Yes
action is_in
entity Spanish
action find
entity Luis Castro Obregón
relation languages spoken, written or signed
['Luis Castro Obregón', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Luis_Castro_Obregón property:languages_spoken,_written_or_signed resource:Spanish }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q397
P407
Q34770 Q482994 Q2031291
USER
How many languages are lesser number of albums or releases composed in than Latin ?
(c(Q482994)|c(Q2031291),P407,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q482994
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q397
relation P407
type Q482994
type Q2031291
[[{'concept': 'Q482994'}, {'concept': 'Q2031291'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:P407 ?u . ?u rdf:type ontology:Q34770 . ?h rdf:type ontology:Q482994 } UNION { ?h property:P407 ?u . ?u rdf:type ontology:Q34770 . ?h rdf:type ontology:Q2031291 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:P407 resource:Q397 . { VALUES ( ?m ) { ( ontology:Q482994 ) ( ontology:Q2031291 ) } . ?f rdf:type ?m } } } . FILTER ( ?r < ?n ) }
Latin
action count
action less
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type album
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_multi_types
action find_reverse
entity Latin
relation language of work or name
type album
type release
[[{'concept': 'album'}, {'concept': 'release'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:language_of_work_or_name ?u . ?u rdf:type ontology:language . ?h rdf:type ontology:album } UNION { ?h property:language_of_work_or_name ?u . ?u rdf:type ontology:language . ?h rdf:type ontology:release } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:language_of_work_or_name resource:Latin . { VALUES ( ?m ) { ( ontology:album ) ( ontology:release ) } . ?f rdf:type ?m } } } . FILTER ( ?r < ?n ) }
[]
language album release
SYSTEM
24
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q8752 Q37041 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q482994)|c(Q2031291),P407,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q482994
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q397
relation P407
type Q482994
type Q2031291
[ANSWER]
[[{'concept': 'Q482994'}, {'concept': 'Q2031291'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:P407 ?u . ?u rdf:type ontology:Q34770 . ?h rdf:type ontology:Q482994 } UNION { ?h property:P407 ?u . ?u rdf:type ontology:Q34770 . ?h rdf:type ontology:Q2031291 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:P407 resource:Q397 . { VALUES ( ?m ) { ( ontology:Q482994 ) ( ontology:Q2031291 ) } . ?f rdf:type ?m } } } . FILTER ( ?r < ?n ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse Basque classical Chinese Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
24
action count
action less
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type album
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_multi_types
action find_reverse
entity Latin
relation language of work or name
type album
type release
[[{'concept': 'album'}, {'concept': 'release'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:language_of_work_or_name ?u . ?u rdf:type ontology:language . ?h rdf:type ontology:album } UNION { ?h property:language_of_work_or_name ?u . ?u rdf:type ontology:language . ?h rdf:type ontology:release } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:language_of_work_or_name resource:Latin . { VALUES ( ?m ) { ( ontology:album ) ( ontology:release ) } . ?f rdf:type ?m } } } . FILTER ( ?r < ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q454933
P1303
Q34379
USER
Which musical instrument does Leo Brouwer know to play ?
(Q454933,P1303,c(Q34379))
action filter_type
action find
entity Q454933
relation P1303
type Q34379
['Q454933', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { resource:Q454933 property:P1303 ?e . ?e rdf:type ontology:Q34379 }
Leo Brouwer
action filter_type
action find
entity Leo Brouwer
relation instrument
type musical instrument
['Leo Brouwer', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { resource:Leo_Brouwer property:instrument ?e . ?e rdf:type ontology:musical_instrument }
[]
musical instrument
Q8355
SYSTEM
violin
Q8355
(Q454933,P1303,c(Q34379))
action filter_type
action find
entity Q454933
relation P1303
type Q34379
Leo Brouwer knows the [ANSWER]
['Q454933', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { resource:Q454933 property:P1303 ?e . ?e rdf:type ontology:Q34379 }
violin
Leo Brouwer knows the violin
violin
action filter_type
action find
entity Leo Brouwer
relation instrument
type musical instrument
['Leo Brouwer', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { resource:Leo_Brouwer property:instrument ?e . ?e rdf:type ontology:musical_instrument }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q454933
P264
Q334453
USER
Which divisions are the record labels of that person ?
(Q8355,P264,c(Q334453))
action filter_type
action find
entity Q454933
relation P264
type Q334453
['Q8355', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?l WHERE { resource:Q454933 property:P264 ?l . ?l rdf:type ontology:Q334453 }
Leo Brouwer
action filter_type
action find
entity Leo Brouwer
relation record label
type division
['violin', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?l WHERE { resource:Leo_Brouwer property:record_label ?l . ?l rdf:type ontology:division }
[]
division
Q168407 Q1274618
SYSTEM
Deutsche Grammophon, EGREM
Q168407 Q1274618
(Q8355,P264,c(Q334453))
action filter_type
action find
entity Q454933
relation P264
type Q334453
[ANSWERS] are the record labels of that person
['Q8355', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?l WHERE { resource:Q454933 property:P264 ?l . ?l rdf:type ontology:Q334453 }
Deutsche Grammophon EGREM
Deutsche Grammophon and EGREM are the record labels of that person
Deutsche Grammophon EGREM
action filter_type
action find
entity Leo Brouwer
relation record label
type division
['violin', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?l WHERE { resource:Leo_Brouwer property:record_label ?l . ?l rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q168407 Q1274618
P159
Q56061
USER
Where are the head office for those divisions located ?
(Q168407,P159,c(Q56061)) (Q1274618,P159,c(Q56061))
action filter_type
action find
entity prev_answer
relation P159
type Q56061
['Q168407', 'P159', {'concept': 'Q56061'}] ['Q1274618', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?q ) { ( resource:Q168407 ) ( resource:Q1274618 ) } . ?c rdf:type ontology:Q56061 . ?q property:P159 ?c }
Deutsche Grammophon EGREM
action filter_type
action find
entity prev_answer
relation headquarters location
type administrative territorial entity
['Deutsche Grammophon', 'headquarters location', {'concept': 'administrative territorial entity'}] ['EGREM', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?q ) { ( resource:Deutsche_Grammophon ) ( resource:EGREM ) } . ?c rdf:type ontology:administrative_territorial_entity . ?q property:headquarters_location ?c }
[]
administrative territorial entity
Q1715 Q1563
SYSTEM
Hanover, Havana
Q1715 Q1563
(Q168407,P159,c(Q56061)) (Q1274618,P159,c(Q56061))
action filter_type
action find
entity prev_answer
relation P159
type Q56061
Are the head office for those divisions located in [ANSWERS]
['Q168407', 'P159', {'concept': 'Q56061'}] ['Q1274618', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?q ) { ( resource:Q168407 ) ( resource:Q1274618 ) } . ?c rdf:type ontology:Q56061 . ?q property:P159 ?c }
Hanover Havana
Are the head office for those divisions located in Hanover and Havana
Hanover Havana
action filter_type
action find
entity prev_answer
relation headquarters location
type administrative territorial entity
['Deutsche Grammophon', 'headquarters location', {'concept': 'administrative territorial entity'}] ['EGREM', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?q ) { ( resource:Deutsche_Grammophon ) ( resource:EGREM ) } . ?c rdf:type ontology:administrative_territorial_entity . ?q property:headquarters_location ?c }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1715 Q1563
P206
Q355304
USER
Which watercourses are situated nearby Hanover and Havana ?
(Q1715,P206,c(Q355304)) (Q1563,P206,c(Q355304))
action union
action filter_type
action find
entity Q1715
relation P206
type Q355304
action filter_type
action find
entity Q1563
relation P206
type Q355304
['Q1715', 'P206', {'concept': 'Q355304'}] ['Q1563', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?j WHERE { { resource:Q1715 property:P206 ?j . ?j rdf:type ontology:Q355304 } UNION { resource:Q1563 property:P206 ?j . ?j rdf:type ontology:Q355304 } }
Hanover Havana
action union
action filter_type
action find
entity Hanover
relation located next to body of water
type watercourse
action filter_type
action find
entity Havana
relation located next to body of water
type watercourse
['Hanover', 'located next to body of water', {'concept': 'watercourse'}] ['Havana', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?j WHERE { { resource:Hanover property:located_next_to_body_of_water ?j . ?j rdf:type ontology:watercourse } UNION { resource:Havana property:located_next_to_body_of_water ?j . ?j rdf:type ontology:watercourse } }
[]
watercourse
Q161051 Q464568 Q48480
SYSTEM
Leine, Ihme, Mittelland Canal
Q161051 Q48480 Q464568 Q2592558
(Q1715,P206,c(Q355304)) (Q1563,P206,c(Q355304))
action union
action filter_type
action find
entity Q1715
relation P206
type Q355304
action filter_type
action find
entity Q1563
relation P206
type Q355304
[ANSWERS] are situated nearby Hanover and Havana
['Q1715', 'P206', {'concept': 'Q355304'}] ['Q1563', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?j WHERE { { resource:Q1715 property:P206 ?j . ?j rdf:type ontology:Q355304 } UNION { resource:Q1563 property:P206 ?j . ?j rdf:type ontology:Q355304 } }
Leine Mittelland Canal Ihme Almendares River
Leine, Ihme and Mittelland Canal are situated nearby Hanover and Havana
Leine Ihme Mittelland Canal
action union
action filter_type
action find
entity Hanover
relation located next to body of water
type watercourse
action filter_type
action find
entity Havana
relation located next to body of water
type watercourse
['Hanover', 'located next to body of water', {'concept': 'watercourse'}] ['Havana', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?j WHERE { { resource:Hanover property:located_next_to_body_of_water ?j . ?j rdf:type ontology:watercourse } UNION { resource:Havana property:located_next_to_body_of_water ?j . ?j rdf:type ontology:watercourse } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q161051 Q464568 Q48480
P17
Q1048835
USER
Which political territories do those watercourses belong to ?
(Q161051,P17,c(Q1048835)) (Q464568,P17,c(Q1048835)) (Q48480,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
['Q161051', 'P17', {'concept': 'Q1048835'}] ['Q464568', 'P17', {'concept': 'Q1048835'}] ['Q48480', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { ?b property:P17 ?w . ?w rdf:type ontology:Q1048835 . VALUES ( ?b ) { ( resource:Q161051 ) ( resource:Q48480 ) ( resource:Q464568 ) } }
Leine Ihme Mittelland Canal
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Leine', 'country', {'concept': 'political territorial entity'}] ['Ihme', 'country', {'concept': 'political territorial entity'}] ['Mittelland Canal', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { ?b property:country ?w . ?w rdf:type ontology:political_territorial_entity . VALUES ( ?b ) { ( resource:Leine ) ( resource:Mittelland_Canal ) ( resource:Ihme ) } }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q183 Q183 Q183
(Q161051,P17,c(Q1048835)) (Q464568,P17,c(Q1048835)) (Q48480,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
Those watercourses belong to [ANSWER] [ANSWER], [ANSWER] and [ANSWER]
['Q161051', 'P17', {'concept': 'Q1048835'}] ['Q464568', 'P17', {'concept': 'Q1048835'}] ['Q48480', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { ?b property:P17 ?w . ?w rdf:type ontology:Q1048835 . VALUES ( ?b ) { ( resource:Q161051 ) ( resource:Q48480 ) ( resource:Q464568 ) } }
Germany Germany Germany
Those watercourses belong to Germany Germany, Germany and Germany
Germany Germany Germany
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Leine', 'country', {'concept': 'political territorial entity'}] ['Ihme', 'country', {'concept': 'political territorial entity'}] ['Mittelland Canal', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { ?b property:country ?w . ?w rdf:type ontology:political_territorial_entity . VALUES ( ?b ) { ( resource:Leine ) ( resource:Mittelland_Canal ) ( resource:Ihme ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1563
P36
Q15617994
USER
Which administrative territory contains Havana as its capital ?
(c(Q15617994),P36,Q1563)
action filter_type
action find_reverse
entity Q1563
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q1563']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . ?l property:P36 resource:Q1563 }
Havana
action filter_type
action find_reverse
entity Havana
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Havana']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:capital resource:Havana }
[]
designation for an administrative territorial entity
Q241
SYSTEM
Cuba
Q241
(c(Q15617994),P36,Q1563)
action filter_type
action find_reverse
entity Q1563
relation P36
type Q15617994
To [ANSWER] contains Havana as its capital
[{'concept': 'Q15617994'}, 'P36', 'Q1563']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . ?l property:P36 resource:Q1563 }
Cuba
To Cuba contains Havana as its capital
Cuba
action filter_type
action find_reverse
entity Havana
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Havana']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:capital resource:Havana }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1563
P180
Q838948
USER
Which work of art expresses Havana ?
(c(Q838948),P180,Q1563)
action filter_type
action find_reverse
entity Q1563
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q1563']
SELECT DISTINCT ?x WHERE { ?x property:P180 resource:Q1563 . ?x rdf:type ontology:Q838948 }
Havana
action filter_type
action find_reverse
entity Havana
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Havana']
SELECT DISTINCT ?x WHERE { ?x property:depicts resource:Havana . ?x rdf:type ontology:work_of_art }
[]
work of art
Q19851210
SYSTEM
Watson and the Shark
Q19851210
(c(Q838948),P180,Q1563)
action filter_type
action find_reverse
entity Q1563
relation P180
type Q838948
[ANSWER] expresses Havana
[{'concept': 'Q838948'}, 'P180', 'Q1563']
SELECT DISTINCT ?x WHERE { ?x property:P180 resource:Q1563 . ?x rdf:type ontology:Q838948 }
Watson and the Shark
Watson and the Shark expresses Havana
Watson and the Shark
action filter_type
action find_reverse
entity Havana
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Havana']
SELECT DISTINCT ?x WHERE { ?x property:depicts resource:Havana . ?x rdf:type ontology:work_of_art }
[]