Simple Question (Direct)
Simple Question
Q353822
P735
Q82799
USER
What is the firstname of Maynard Ferguson ?
(Q353822,P735,c(Q82799))
action filter_type
action find
entity Q353822
relation P735
type Q82799
['Q353822', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q82799 . resource:Q353822 property:P735 ?i }
Maynard Ferguson
action filter_type
action find
entity Maynard Ferguson
relation given name
type name
['Maynard Ferguson', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:name . resource:Maynard_Ferguson property:given_name ?i }
[]
name
Q16290674
SYSTEM
Maynard
Q16290674
(Q353822,P735,c(Q82799))
action filter_type
action find
entity Q353822
relation P735
type Q82799
The firstname of [ANSWER] Ferguson is of [ANSWER]
['Q353822', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q82799 . resource:Q353822 property:P735 ?i }
Maynard
The firstname of Maynard Ferguson is of Maynard
Maynard
action filter_type
action find
entity Maynard Ferguson
relation given name
type name
['Maynard Ferguson', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:name . resource:Maynard_Ferguson property:given_name ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q353822
P1303
Q34379
USER
Which musical instruments can that person perform with ?
(Q16290674,P1303,c(Q34379))
action filter_type
action find
entity Q353822
relation P1303
type Q34379
['Q16290674', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { resource:Q353822 property:P1303 ?a . ?a rdf:type ontology:Q34379 }
Maynard Ferguson
action filter_type
action find
entity Maynard Ferguson
relation instrument
type musical instrument
['Maynard', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { resource:Maynard_Ferguson property:instrument ?a . ?a rdf:type ontology:musical_instrument }
[]
musical instrument
Q790468 Q8338
SYSTEM
baritone horn, trumpet
Q790468 Q8338
(Q16290674,P1303,c(Q34379))
action filter_type
action find
entity Q353822
relation P1303
type Q34379
That person can perform a [ANSWERS]
['Q16290674', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { resource:Q353822 property:P1303 ?a . ?a rdf:type ontology:Q34379 }
baritone horn trumpet
That person can perform a baritone horn and trumpet
baritone horn trumpet
action filter_type
action find
entity Maynard Ferguson
relation instrument
type musical instrument
['Maynard', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { resource:Maynard_Ferguson property:instrument ?a . ?a rdf:type ontology:musical_instrument }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q6135462 Q353822
P1303
Q34379
USER
Or James Hamilton Howe?
OR((Q353822,P1303,c(Q34379)), (Q6135462,P1303,c(Q34379)))
action filter_type
action union
action find
entity Q353822
relation P1303
action find
entity Q6135462
relation P1303
type Q34379
{'OR': [['Q353822', 'P1303', {'concept': 'Q34379'}], ['Q6135462', 'P1303', {'concept': 'Q34379'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?r ) { ( resource:Q353822 ) ( resource:Q6135462 ) } . ?r property:P1303 ?b } . ?b rdf:type ontology:Q34379 }
James Hamilton Howe Maynard Ferguson
action filter_type
action union
action find
entity Maynard Ferguson
relation instrument
action find
entity James Hamilton Howe
relation instrument
type musical instrument
{'OR': [['Maynard Ferguson', 'instrument', {'concept': 'musical instrument'}], ['James Hamilton Howe', 'instrument', {'concept': 'musical instrument'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?r ) { ( resource:Maynard_Ferguson ) ( resource:James_Hamilton_Howe ) } . ?r property:instrument ?b } . ?b rdf:type ontology:musical_instrument }
[]
musical instrument
Q790468 Q5994 Q8338
SYSTEM
baritone horn, piano, trumpet
Q790468 Q5994 Q8338
OR((Q353822,P1303,c(Q34379)), (Q6135462,P1303,c(Q34379)))
action filter_type
action union
action find
entity Q353822
relation P1303
action find
entity Q6135462
relation P1303
type Q34379
[ANSWERS]
{'OR': [['Q353822', 'P1303', {'concept': 'Q34379'}], ['Q6135462', 'P1303', {'concept': 'Q34379'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?r ) { ( resource:Q353822 ) ( resource:Q6135462 ) } . ?r property:P1303 ?b } . ?b rdf:type ontology:Q34379 }
baritone horn piano trumpet
baritone horn piano trumpet
action filter_type
action union
action find
entity Maynard Ferguson
relation instrument
action find
entity James Hamilton Howe
relation instrument
type musical instrument
{'OR': [['Maynard Ferguson', 'instrument', {'concept': 'musical instrument'}], ['James Hamilton Howe', 'instrument', {'concept': 'musical instrument'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?r ) { ( resource:Maynard_Ferguson ) ( resource:James_Hamilton_Howe ) } . ?r property:instrument ?b } . ?b rdf:type ontology:musical_instrument }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q34379 Q386724 Q838948
USER
How many musical instruments are depicted in atmost 5 works or works of art ?
(c(Q386724)|c(Q838948),P180,c(Q34379))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q386724
action find_reverse_tuple_counts
relation P180
type Q34379
type Q838948
value 5
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) ?z WHERE { { ?i property:P180 ?z . ?z rdf:type ontology:Q34379 . ?i rdf:type ontology:Q838948 } UNION { ?i property:P180 ?z . ?z rdf:type ontology:Q34379 . ?i rdf:type ontology:Q386724 } } GROUP BY ?z } . FILTER ( ?a <= 5 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work of art
value 5
[[{'concept': 'work'}, {'concept': 'work of art'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) ?z WHERE { { ?i property:depicts ?z . ?z rdf:type ontology:musical_instrument . ?i rdf:type ontology:work_of_art } UNION { ?i property:depicts ?z . ?z rdf:type ontology:musical_instrument . ?i rdf:type ontology:work } } GROUP BY ?z } . FILTER ( ?a <= 5 ) }
[]
musical instrument work work of art
SYSTEM
19
Q8371 Q3382191 Q5994 Q7933058 Q81982 Q190172 Q218547 Q8338 Q1444 Q173453 Q1148709 Q1141589 Q426948 Q871633 Q3500690 Q80019 Q8355 Q11404 Q1798603
(c(Q386724)|c(Q838948),P180,c(Q34379))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q386724
action find_reverse_tuple_counts
relation P180
type Q34379
type Q838948
value 5
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) ?z WHERE { { ?i property:P180 ?z . ?z rdf:type ontology:Q34379 . ?i rdf:type ontology:Q838948 } UNION { ?i property:P180 ?z . ?z rdf:type ontology:Q34379 . ?i rdf:type ontology:Q386724 } } GROUP BY ?z } . FILTER ( ?a <= 5 ) }
cello upright piano piano Viola caipira harpsichord cymbal Sigismund Bell trumpet organ wind instrument grand piano Crotales sistrum Handbell Church bell double bass violin drum string instrument
19
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work of art
value 5
[[{'concept': 'work'}, {'concept': 'work of art'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) ?z WHERE { { ?i property:depicts ?z . ?z rdf:type ontology:musical_instrument . ?i rdf:type ontology:work_of_art } UNION { ?i property:depicts ?z . ?z rdf:type ontology:musical_instrument . ?i rdf:type ontology:work } } GROUP BY ?z } . FILTER ( ?a <= 5 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q353822
P1346
Q618779
USER
Which award was won by Maynard Ferguson ?
(c(Q618779),P1346,Q353822)
action filter_type
action find_reverse
entity Q353822
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q353822']
SELECT DISTINCT ?z WHERE { ?z property:P1346 resource:Q353822 . ?z rdf:type ontology:Q618779 }
Maynard Ferguson
action filter_type
action find_reverse
entity Maynard Ferguson
relation winner
type award
[{'concept': 'award'}, 'winner', 'Maynard Ferguson']
SELECT DISTINCT ?z WHERE { ?z property:winner resource:Maynard_Ferguson . ?z rdf:type ontology:award }
[]
award
Q3362499
SYSTEM
Canadian Music Hall of Fame
Q3362499
(c(Q618779),P1346,Q353822)
action filter_type
action find_reverse
entity Q353822
relation P1346
type Q618779
[ANSWER] was won by Maynard Ferguson
[{'concept': 'Q618779'}, 'P1346', 'Q353822']
SELECT DISTINCT ?z WHERE { ?z property:P1346 resource:Q353822 . ?z rdf:type ontology:Q618779 }
Canadian Music Hall of Fame
Canadian Music Hall of Fame was won by Maynard Ferguson
Canadian Music Hall of Fame
action filter_type
action find_reverse
entity Maynard Ferguson
relation winner
type award
[{'concept': 'award'}, 'winner', 'Maynard Ferguson']
SELECT DISTINCT ?z WHERE { ?z property:winner resource:Maynard_Ferguson . ?z rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q353822
P551
Q56061
USER
What was the place of residence of Maynard Ferguson ?
(Q353822,P551,c(Q56061))
action filter_type
action find
entity Q353822
relation P551
type Q56061
['Q353822', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q353822 property:P551 ?o . ?o rdf:type ontology:Q56061 }
Maynard Ferguson
action filter_type
action find
entity Maynard Ferguson
relation residence
type administrative territorial entity
['Maynard Ferguson', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Maynard_Ferguson property:residence ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q340
SYSTEM
Montreal
Q340
(Q353822,P551,c(Q56061))
action filter_type
action find
entity Q353822
relation P551
type Q56061
The place of residence of Maynard Ferguson was in [ANSWER]
['Q353822', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q353822 property:P551 ?o . ?o rdf:type ontology:Q56061 }
Montreal
The place of residence of Maynard Ferguson was in Montreal
Montreal
action filter_type
action find
entity Maynard Ferguson
relation residence
type administrative territorial entity
['Maynard Ferguson', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Maynard_Ferguson property:residence ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q353822
P175
Q2031291
USER
Which releases presented Maynard Ferguson ?
(c(Q2031291),P175,Q353822)
action filter_type
action find_reverse
entity Q353822
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q353822']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2031291 . ?b property:P175 resource:Q353822 }
Maynard Ferguson
action filter_type
action find_reverse
entity Maynard Ferguson
relation performer
type release
[{'concept': 'release'}, 'performer', 'Maynard Ferguson']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:release . ?b property:performer resource:Maynard_Ferguson }
[]
release
Q1572104 Q6797403 Q5069742
SYSTEM
Dimensions, Maynard Ferguson Octet, Chameleon
Q20813692 Q5069742 Q24077803 Q1572104 Q20686030 Q6797400 Q6797402 Q6797403 Q24076723 Q6127103 Q19873792 Q24077808 Q24077806 Q6712184 Q20813717
(c(Q2031291),P175,Q353822)
action filter_type
action find_reverse
entity Q353822
relation P175
type Q2031291
The [ANSWERS] presented Maynard Ferguson
[{'concept': 'Q2031291'}, 'P175', 'Q353822']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2031291 . ?b property:P175 resource:Q353822 }
M.F. Horn Chameleon A Message from Newport Dimensions The Best of Maynard Ferguson Maynard Ferguson's Hollywood Party Maynard Ferguson Maynard Ferguson Octet Newport Suite Jam Session featuring Maynard Ferguson Boy with Lots of Brass Swingin' My Way Through College Around the Horn with Maynard Ferguson M.F. Horn Two Maynard
The Dimensions, Maynard Ferguson Octet and Chameleon presented Maynard Ferguson
Dimensions Maynard Ferguson Octet Chameleon
action filter_type
action find_reverse
entity Maynard Ferguson
relation performer
type release
[{'concept': 'release'}, 'performer', 'Maynard Ferguson']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:release . ?b property:performer resource:Maynard_Ferguson }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1572104
P264
Q334453
USER
Which division is the record label of that release ?
(Q1572104,P264,c(Q334453))
action filter_type
action find
entity Q1572104
relation P264
type Q334453
['Q1572104', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?e WHERE { resource:Q1572104 property:P264 ?e . ?e rdf:type ontology:Q334453 }
Dimensions
action filter_type
action find
entity Dimensions
relation record label
type division
['Dimensions', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?e WHERE { resource:Dimensions property:record_label ?e . ?e rdf:type ontology:division }
[]
division
Clarification for simple ques.
Q5069742
SYSTEM
Did you mean Chameleon ?
Q1572104 Q6797403 Q5069742
(Q1572104,P264,c(Q334453)) (Q6797403,P264,c(Q334453)) (Q5069742,P264,c(Q334453))
[ANSWER]
['Q1572104', 'P264', {'concept': 'Q334453'}] ['Q6797403', 'P264', {'concept': 'Q334453'}] ['Q5069742', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?e WHERE { resource:Q1572104 property:P264 ?e . ?e rdf:type ontology:Q334453 }
Dimensions Maynard Ferguson Octet Chameleon
Did you mean Chameleon ?
Chameleon
['Dimensions', 'record label', {'concept': 'division'}] ['Maynard Ferguson Octet', 'record label', {'concept': 'division'}] ['Chameleon', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?e WHERE { resource:Dimensions property:record_label ?e . ?e rdf:type ontology:division }
[]
Simple Question (Coreferenced)
USER
No, I meant Dimensions. Could you tell me the answer for that?
(Q1572104,P264,c(Q334453))
Q1572104
['Q1572104', 'P264', {'concept': 'Q334453'}]
['Dimensions', 'record label', {'concept': 'division'}]
[]
Q2749562
SYSTEM
EmArcy Records
Q2749562
(Q1572104,P264,c(Q334453))
action filter_type
action find
entity Q1572104
relation P264
type Q334453
The [ANSWER] is the record label of that release
['Q1572104', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?e WHERE { resource:Q1572104 property:P264 ?e . ?e rdf:type ontology:Q334453 }
EmArcy Records
The EmArcy Records is the record label of that release
EmArcy Records
action filter_type
action find
entity Dimensions
relation record label
type division
['Dimensions', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?e WHERE { resource:Dimensions property:record_label ?e . ?e rdf:type ontology:division }
[]