Simple Question (Direct)
Simple Question
Q366856
P1303
Q34379
USER
Which musical instrument is played by Heikki Sarmanto ?
(Q366856,P1303,c(Q34379))
action filter_type
action find
entity Q366856
relation P1303
type Q34379
['Q366856', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { resource:Q366856 property:P1303 ?s . ?s rdf:type ontology:Q34379 }
Heikki Sarmanto
action filter_type
action find
entity Heikki Sarmanto
relation instrument
type musical instrument
['Heikki Sarmanto', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { resource:Heikki_Sarmanto property:instrument ?s . ?s rdf:type ontology:musical_instrument }
[]
musical instrument
Q5994
SYSTEM
piano
Q5994
(Q366856,P1303,c(Q34379))
action filter_type
action find
entity Q366856
relation P1303
type Q34379
[ANSWER] is played by Heikki Sarmanto
['Q366856', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { resource:Q366856 property:P1303 ?s . ?s rdf:type ontology:Q34379 }
piano
Piano is played by Heikki Sarmanto
piano
action filter_type
action find
entity Heikki Sarmanto
relation instrument
type musical instrument
['Heikki Sarmanto', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { resource:Heikki_Sarmanto property:instrument ?s . ?s rdf:type ontology:musical_instrument }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q366856
P21
Q290
USER
What is the sex of that person ?
(Q5994,P21,c(Q290))
action filter_type
action find
entity Q366856
relation P21
type Q290
['Q5994', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q366856 property:P21 ?q . ?q rdf:type ontology:Q290 }
Heikki Sarmanto
action filter_type
action find
entity Heikki Sarmanto
relation gender
type sex
['piano', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Heikki_Sarmanto property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5994,P21,c(Q290))
action filter_type
action find
entity Q366856
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q5994', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q366856 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Heikki Sarmanto
relation gender
type sex
['piano', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Heikki_Sarmanto property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q366856
P136
Q151885
USER
Which concept is the genre for that person ?
(Q6581097,P136,c(Q151885))
action filter_type
action find
entity Q366856
relation P136
type Q151885
['Q6581097', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q151885 . resource:Q366856 property:P136 ?b }
Heikki Sarmanto
action filter_type
action find
entity Heikki Sarmanto
relation genre
type concept
['male', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:concept . resource:Heikki_Sarmanto property:genre ?b }
[]
concept
Q8341
SYSTEM
jazz
Q8341
(Q6581097,P136,c(Q151885))
action filter_type
action find
entity Q366856
relation P136
type Q151885
[ANSWER] is the genre for that person
['Q6581097', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q151885 . resource:Q366856 property:P136 ?b }
jazz
Jazz is the genre for that person
jazz
action filter_type
action find
entity Heikki Sarmanto
relation genre
type concept
['male', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:concept . resource:Heikki_Sarmanto property:genre ?b }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q151885 Q2088357
USER
Which musical ensembles come from atleast 1 concept ?
(c(Q2088357),P138,c(Q151885))
action atleast
action find_tuple_counts
relation P138
type Q2088357
type Q151885
value 1
[{'concept': 'Q2088357'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?a ) WHERE { ?y property:P138 ?w . ?y rdf:type ontology:Q2088357 . ?w rdf:type ontology:Q151885 } GROUP BY ?y } . FILTER ( ?a >= 1 ) }
action atleast
action find_tuple_counts
relation named after
type musical ensemble
type concept
value 1
[{'concept': 'musical ensemble'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?a ) WHERE { ?y property:named_after ?w . ?y rdf:type ontology:musical_ensemble . ?w rdf:type ontology:concept } GROUP BY ?y } . FILTER ( ?a >= 1 ) }
[]
concept musical ensemble
Q159497
SYSTEM
Destruction
Q159497
(c(Q2088357),P138,c(Q151885))
action atleast
action find_tuple_counts
relation P138
type Q2088357
type Q151885
value 1
[ANSWER] come from atleast 1 concept
[{'concept': 'Q2088357'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?a ) WHERE { ?y property:P138 ?w . ?y rdf:type ontology:Q2088357 . ?w rdf:type ontology:Q151885 } GROUP BY ?y } . FILTER ( ?a >= 1 ) }
Destruction
Destruction come from atleast 1 concept
Destruction
action atleast
action find_tuple_counts
relation named after
type musical ensemble
type concept
value 1
[{'concept': 'musical ensemble'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?a ) WHERE { ?y property:named_after ?w . ?y rdf:type ontology:musical_ensemble . ?w rdf:type ontology:concept } GROUP BY ?y } . FILTER ( ?a >= 1 ) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q159497 Q3522759 Q5189457
P264
Q334453
USER
Does Destruction have The Social Registry and Crown Records as its record label ?
(Q159497,P264,Q3522759) (Q159497,P264,Q5189457)
action is_in
entity Q159497
action intersection
action find_reverse
entity Q3522759
relation P264
action find_reverse
entity Q5189457
relation P264
['Q159497', 'P264', 'Q3522759'] ['Q159497', 'P264', 'Q5189457']
ASK WHERE { resource:Q159497 property:P264 resource:Q3522759 . resource:Q159497 property:P264 resource:Q5189457 }
Destruction The Social Registry Crown Records
action is_in
entity Destruction
action intersection
action find_reverse
entity The Social Registry
relation record label
action find_reverse
entity Crown Records
relation record label
['Destruction', 'record label', 'The Social Registry'] ['Destruction', 'record label', 'Crown Records']
ASK WHERE { resource:Destruction property:record_label resource:The_Social_Registry . resource:Destruction property:record_label resource:Crown_Records }
[]
division
SYSTEM
NO
(Q159497,P264,Q3522759) (Q159497,P264,Q5189457)
action is_in
entity Q159497
action intersection
action find_reverse
entity Q3522759
relation P264
action find_reverse
entity Q5189457
relation P264
[ANSWER]
['Q159497', 'P264', 'Q3522759'] ['Q159497', 'P264', 'Q5189457']
ASK WHERE { resource:Q159497 property:P264 resource:Q3522759 . resource:Q159497 property:P264 resource:Q5189457 }
No
action is_in
entity Destruction
action intersection
action find_reverse
entity The Social Registry
relation record label
action find_reverse
entity Crown Records
relation record label
['Destruction', 'record label', 'The Social Registry'] ['Destruction', 'record label', 'Crown Records']
ASK WHERE { resource:Destruction property:record_label resource:The_Social_Registry . resource:Destruction property:record_label resource:Crown_Records }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q366856
P175
Q2031291
USER
Which release gave the performance of Heikki Sarmanto ?
(c(Q2031291),P175,Q366856)
action filter_type
action find_reverse
entity Q366856
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q366856']
SELECT DISTINCT ?w WHERE { ?w property:P175 resource:Q366856 . ?w rdf:type ontology:Q2031291 }
Heikki Sarmanto
action filter_type
action find_reverse
entity Heikki Sarmanto
relation performer
type release
[{'concept': 'release'}, 'performer', 'Heikki Sarmanto']
SELECT DISTINCT ?w WHERE { ?w property:performer resource:Heikki_Sarmanto . ?w rdf:type ontology:release }
[]
release
Q20253069
SYSTEM
Suomi – A Symphonic Poem for Orchestra
Q20253069
(c(Q2031291),P175,Q366856)
action filter_type
action find_reverse
entity Q366856
relation P175
type Q2031291
[ANSWER] gave the performance of Heikki Sarmanto
[{'concept': 'Q2031291'}, 'P175', 'Q366856']
SELECT DISTINCT ?w WHERE { ?w property:P175 resource:Q366856 . ?w rdf:type ontology:Q2031291 }
Suomi – A Symphonic Poem for Orchestra
Suomi – A Symphonic Poem for Orchestra gave the performance of Heikki Sarmanto
Suomi – A Symphonic Poem for Orchestra
action filter_type
action find_reverse
entity Heikki Sarmanto
relation performer
type release
[{'concept': 'release'}, 'performer', 'Heikki Sarmanto']
SELECT DISTINCT ?w WHERE { ?w property:performer resource:Heikki_Sarmanto . ?w rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q366856
P106
Q12737077
USER
What are the professions of that person ?
(Q20253069,P106,c(Q12737077))
action filter_type
action find
entity Q366856
relation P106
type Q12737077
['Q20253069', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q366856 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Heikki Sarmanto
action filter_type
action find
entity Heikki Sarmanto
relation occupation
type occupation
['Suomi – A Symphonic Poem for Orchestra', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Heikki_Sarmanto property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q15981151 Q36834 Q486748
SYSTEM
jazz musician, composer, pianist
Q15981151 Q36834 Q486748
(Q20253069,P106,c(Q12737077))
action filter_type
action find
entity Q366856
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q20253069', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q366856 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
jazz musician composer pianist
The professions of that person are jazz musician, composer and pianist
jazz musician composer pianist
action filter_type
action find
entity Heikki Sarmanto
relation occupation
type occupation
['Suomi – A Symphonic Poem for Orchestra', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Heikki_Sarmanto property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P101
Q12737077 Q502895 Q43229
USER
Which occupations do more number of people or organizations belong to than that occupation ?
(c(Q502895)|c(Q43229),P101,c(Q12737077))
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
occupation common name organization
Comparative|More/Less|Mult. entity type|Clarification
Q486748
SYSTEM
Did you mean pianist ?
(c(Q502895)|c(Q43229),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
Did you mean pianist ?
pianist
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
Comparative Reasoning (All)
USER
No, I meant composer. Could you tell me the answer for that?
(c(Q502895)|c(Q43229),P101,c(Q12737077))
Q36834
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
[]
Q16009483 Q201788 Q1028181
SYSTEM
sideshow performer, historian, painter
Q6625963 Q177220 Q39631 Q17156912 Q81096 Q170790 Q2405480 Q1172458 Q169470 Q201788 Q1114448 Q1028181 Q16009483 Q1607826 Q639669 Q11774891
(c(Q502895)|c(Q43229),P101,c(Q12737077))
[ANSWERS] more number of people or organizations belong to than that occupation
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
novelist singer physician malariologist engineer mathematician voice actor muhaddith physicist historian cartoonist painter sideshow performer editor musician ice hockey player
Sideshow performer, historian and painter more number of people or organizations belong to than that occupation
sideshow performer historian painter
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q16009483 Q201788 Q1028181
P101
Q502895
USER
Who works in the domain of those occupations ?
(c(Q502895),P101,Q16009483) (c(Q502895),P101,Q201788) (c(Q502895),P101,Q1028181)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q16009483'] [{'concept': 'Q502895'}, 'P101', 'Q201788'] [{'concept': 'Q502895'}, 'P101', 'Q1028181']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P101 ?a . VALUES ( ?a ) { ( resource:Q6625963 ) ( resource:Q177220 ) ( resource:Q39631 ) } }
sideshow performer historian painter
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'sideshow performer'] [{'concept': 'common name'}, 'field of work', 'historian'] [{'concept': 'common name'}, 'field of work', 'painter']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:field_of_work ?a . VALUES ( ?a ) { ( resource:novelist ) ( resource:singer ) ( resource:physician ) } }
[]
common name
Q352 Q5582 Q102139
SYSTEM
Adolf Hitler, Vincent van Gogh, Margrethe II of Denmark
Q4704888 Q2411092 Q5399386 Q7334232 Q5902093 Q5591288 Q2865029 Q3897730 Q3617713 Q6990109 Q16193032 Q358065 Q4683667 Q3113178 Q232041 Q4071196 Q2073529 Q456470 Q4943545 Q301293 Q1226368 Q22919929 Q5036609 Q918691 Q1401745 Q1463212 Q1118864 Q7508468 Q6548152 Q6077273 Q1320616 Q6267740 Q598900 Q6775983 Q598914 Q3724904 Q5176699 Q5208974 Q5196607 Q4980637 Q16066604 Q12410564 Q7440647 Q2375673 Q3810294 Q7572318 Q1798389 Q1063865 Q4328388 Q3805576 Q5542271 Q4838230 Q8017961 Q449213 Q4134822 Q7377695 Q6430481 Q16232974 Q348223 Q97507 Q5717201 Q4769326 Q4105717 Q240912 Q4921789 Q16221670 Q8005835 Q16728260 Q21592088 Q368744 Q8065902 Q5481549 Q5075338 Q6261333 Q2248415 Q5484833 Q16185346 Q5360182 Q981839 Q14436716 Q2408608 Q15432799 Q21042244 Q101339 Q60217 Q75371 Q61648 Q352 Q102139 Q5582
(c(Q502895),P101,Q16009483) (c(Q502895),P101,Q201788) (c(Q502895),P101,Q1028181)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] work in the domain of those occupations
[{'concept': 'Q502895'}, 'P101', 'Q16009483'] [{'concept': 'Q502895'}, 'P101', 'Q201788'] [{'concept': 'Q502895'}, 'P101', 'Q1028181']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P101 ?a . VALUES ( ?a ) { ( resource:Q6625963 ) ( resource:Q177220 ) ( resource:Q39631 ) } }
Al Tomaini The Enigma Zip the Pinhead Riley Schillaci Horace Ridler Grace McDaniels Middlebush Giant Patrick Cotter Anna Haining Bates Nellie Keeler Brad Byers Schlitzie Admiral Dot Grady Stiles Sarah Baartman Jesús Aceves Edouard Beaupré Lavinia Warren Caroline Crachami Minnie Warren Prince Randian Mattie Lee Price Captain Costentenus General Tom Thumb Oofty Goofty Johnny Eck The Lizardman Sideshow Bennie Lillian La France Isaac W. Sprague Myrtle Corbin Johnny Strange Elizabeth Green the Stork Woman Martin Laurello Jane Barnell Pasqual Pinon Count Primo Magri Dai Andrews Sarah Biffen Stor-Stina Nala Damajanti Peter Robinson Sealo Fedor Jeftichew Josephine Joseph Space Cowboy Robert Earl Hughes Charles Byrne Edmund Newell Jack Earle George McArthur Baby Bunny Smith William S. Hutchings Frances O'Connor Celesta Geyer Rudy Santos Koo-Koo the Bird Girl Alex Zander Morrow Stephan Bibrowski Violetta Henry Alexander Cooper Annie Jones Mary Ann Bevan Julia Pastrana Black Scorpion Roslyn Walker William Bradley Carl Crew Melvin Burkhart Charles Atlas Zamora the Torture King Francis Joseph Flynn Charles B. Tripp John Trunley Lucia Zarate Frank "Cannonball" Richards Johnny Fox Eli Bowen Frederick Copleston Knut Mykland Patrick Cabanel Hugo Weczerka Vicent Baydal Gustav Adolf Harald Stenzel Johann Gustav Droysen Johannes Fallati Georg Gottfried Gervinus Adolf Hitler Margrethe II of Denmark Vincent van Gogh
Adolf Hitler, Vincent van Gogh and Margrethe II of Denmark work in the domain of those occupations
Adolf Hitler Vincent van Gogh Margrethe II of Denmark
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'sideshow performer'] [{'concept': 'common name'}, 'field of work', 'historian'] [{'concept': 'common name'}, 'field of work', 'painter']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:field_of_work ?a . VALUES ( ?a ) { ( resource:novelist ) ( resource:singer ) ( resource:physician ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q352
P937
Q811430
USER
What is the work location of Adolf Hitler ?
(Q352,P937,c(Q811430))
action filter_type
action find
entity Q352
relation P937
type Q811430
['Q352', 'P937', {'concept': 'Q811430'}]
SELECT DISTINCT ?q WHERE { resource:Q352 property:P937 ?q . ?q rdf:type ontology:Q811430 }
Adolf Hitler
action filter_type
action find
entity Adolf Hitler
relation work location
type construction
['Adolf Hitler', 'work location', {'concept': 'construction'}]
SELECT DISTINCT ?q WHERE { resource:Adolf_Hitler property:work_location ?q . ?q rdf:type ontology:construction }
[]
construction
Q157153
SYSTEM
Wolf's Lair
Q157153
(Q352,P937,c(Q811430))
action filter_type
action find
entity Q352
relation P937
type Q811430
The work location of Adolf Hitler is in [ANSWER]
['Q352', 'P937', {'concept': 'Q811430'}]
SELECT DISTINCT ?q WHERE { resource:Q352 property:P937 ?q . ?q rdf:type ontology:Q811430 }
Wolf's Lair
The work location of Adolf Hitler is in Wolf's Lair
Wolf's Lair
action filter_type
action find
entity Adolf Hitler
relation work location
type construction
['Adolf Hitler', 'work location', {'concept': 'construction'}]
SELECT DISTINCT ?q WHERE { resource:Adolf_Hitler property:work_location ?q . ?q rdf:type ontology:construction }
[]