Simple Question (Direct)
Simple Question
Q5408218
P97
Q618779
USER
Which award was held by Nils Oker-Blom ?
(Q5408218,P97,c(Q618779))
action filter_type
action find
entity Q5408218
relation P97
type Q618779
['Q5408218', 'P97', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q5408218 property:P97 ?w . ?w rdf:type ontology:Q618779 }
Nils Oker-Blom
action filter_type
action find
entity Nils Oker-Blom
relation noble title
type award
['Nils Oker-Blom', 'noble title', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Nils_Oker-Blom property:noble_title ?w . ?w rdf:type ontology:award }
[]
award
Q567971
SYSTEM
Archiater
Q567971
(Q5408218,P97,c(Q618779))
action filter_type
action find
entity Q5408218
relation P97
type Q618779
[ANSWER] was held by Nils Oker-Blom
['Q5408218', 'P97', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q5408218 property:P97 ?w . ?w rdf:type ontology:Q618779 }
Archiater
Archiater was held by Nils Oker-Blom
Archiater
action filter_type
action find
entity Nils Oker-Blom
relation noble title
type award
['Nils Oker-Blom', 'noble title', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Nils_Oker-Blom property:noble_title ?w . ?w rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5408218
P20
Q56061
USER
Which administrative territory is the place of death of Nils Oker-Blom ?
(Q5408218,P20,c(Q56061))
action filter_type
action find
entity Q5408218
relation P20
type Q56061
['Q5408218', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q5408218 property:P20 ?e }
Nils Oker-Blom
action filter_type
action find
entity Nils Oker-Blom
relation place of death
type administrative territorial entity
['Nils Oker-Blom', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Nils_Oker-Blom property:place_of_death ?e }
[]
administrative territorial entity
Q1757
SYSTEM
Helsinki
Q1757
(Q5408218,P20,c(Q56061))
action filter_type
action find
entity Q5408218
relation P20
type Q56061
[ANSWER] is the place of death of Nils Oker-Blom
['Q5408218', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q5408218 property:P20 ?e }
Helsinki
Helsinki is the place of death of Nils Oker-Blom
Helsinki
action filter_type
action find
entity Nils Oker-Blom
relation place of death
type administrative territorial entity
['Nils Oker-Blom', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Nils_Oker-Blom property:place_of_death ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5408218
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q1757,P27,c(Q15617994))
action filter_type
action find
entity Q5408218
relation P27
type Q15617994
['Q1757', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5408218 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Nils Oker-Blom
action filter_type
action find
entity Nils Oker-Blom
relation country of citizenship
type designation for an administrative territorial entity
['Helsinki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Nils_Oker-Blom property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q1757,P27,c(Q15617994))
action filter_type
action find
entity Q5408218
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q1757', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5408218 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Finland
The Finland is that person an inhabitant of
Finland
action filter_type
action find
entity Nils Oker-Blom
relation country of citizenship
type designation for an administrative territorial entity
['Helsinki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Nils_Oker-Blom property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q15617994 Q7275
USER
How many administrative territories and states share the border with that administrative territory ?
(Q33,P47,c(Q15617994)) (Q33,P47,c(Q7275)) (Q33,P47,c(Q15617994)) (Q33,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q33
relation P47
type Q15617994
action filter_type
action find
entity Q33
relation P47
type Q7275
['Q33', 'P47', {'concept': 'Q15617994'}] ['Q33', 'P47', {'concept': 'Q7275'}] ['Q33', 'P47', {'concept': 'Q15617994'}] ['Q33', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { resource:Q33 property:P47 ?r . ?r rdf:type ontology:Q15617994 } UNION { resource:Q33 property:P47 ?r . ?r rdf:type ontology:Q7275 } }
action count
action union
action filter_type
action find
entity Finland
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Finland
relation shares border with
type state
['Finland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Finland', 'shares border with', {'concept': 'state'}] ['Finland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Finland', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { resource:Finland property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Finland property:shares_border_with ?r . ?r rdf:type ontology:state } }
[]
designation for an administrative territorial entity state
SYSTEM
3 administrative territories and 1 states
Q20 Q159 Q15180 Q34
(Q33,P47,c(Q15617994)) (Q33,P47,c(Q7275)) (Q33,P47,c(Q15617994)) (Q33,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q33
relation P47
type Q15617994
action filter_type
action find
entity Q33
relation P47
type Q7275
[ANSWER]
['Q33', 'P47', {'concept': 'Q15617994'}] ['Q33', 'P47', {'concept': 'Q7275'}] ['Q33', 'P47', {'concept': 'Q15617994'}] ['Q33', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { resource:Q33 property:P47 ?r . ?r rdf:type ontology:Q15617994 } UNION { resource:Q33 property:P47 ?r . ?r rdf:type ontology:Q7275 } }
Norway Russia Soviet Union Sweden
3 administrative territories and 1 states
action count
action union
action filter_type
action find
entity Finland
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Finland
relation shares border with
type state
['Finland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Finland', 'shares border with', {'concept': 'state'}] ['Finland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Finland', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { { resource:Finland property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Finland property:shares_border_with ?r . ?r rdf:type ontology:state } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q502895 Q838948
USER
Which awards were exactly 59 people or works of art a recipient of ?
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action equal
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
value 59
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?c WHERE { { ?c rdf:type ontology:Q618779 . ?z rdf:type ontology:Q502895 . ?z property:P1411 ?c } UNION { ?z property:P1411 ?c . ?c rdf:type ontology:Q618779 . ?z rdf:type ontology:Q838948 } } GROUP BY ?c } . FILTER ( ?n = 59 ) }
action equal
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
value 59
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?c WHERE { { ?c rdf:type ontology:award . ?z rdf:type ontology:common_name . ?z property:nominated_for ?c } UNION { ?z property:nominated_for ?c . ?c rdf:type ontology:award . ?z rdf:type ontology:work_of_art } } GROUP BY ?c } . FILTER ( ?n = 59 ) }
[]
award common name work of art
Q1086189 Q5280675
SYSTEM
Nebula Award for Best Novella, Directors Guild of America Award for Outstanding Directing – Feature Film
Q1086189 Q5280675
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action equal
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
value 59
[ANSWERS] were exactly 59 people or works of art a recipient of
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?c WHERE { { ?c rdf:type ontology:Q618779 . ?z rdf:type ontology:Q502895 . ?z property:P1411 ?c } UNION { ?z property:P1411 ?c . ?c rdf:type ontology:Q618779 . ?z rdf:type ontology:Q838948 } } GROUP BY ?c } . FILTER ( ?n = 59 ) }
Nebula Award for Best Novella Directors Guild of America Award for Outstanding Directing – Feature Film
Nebula Award for Best Novella and Directors Guild of America Award for Outstanding Directing – Feature Film were exactly 59 people or works of art a recipient of
Nebula Award for Best Novella Directors Guild of America Award for Outstanding Directing – Feature Film
action equal
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
value 59
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?c WHERE { { ?c rdf:type ontology:award . ?z rdf:type ontology:common_name . ?z property:nominated_for ?c } UNION { ?z property:nominated_for ?c . ?c rdf:type ontology:award . ?z rdf:type ontology:work_of_art } } GROUP BY ?c } . FILTER ( ?n = 59 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23662651 Q5280675
P1346
Q502895
USER
Which people were the champions of Directors Guild of America Award for Outstanding Directing – Feature Film or 2016 Giro d'Italia Femminile ?
OR((Q5280675,P1346,c(Q502895)), (Q23662651,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q5280675
relation P1346
action find
entity Q23662651
relation P1346
type Q502895
{'OR': [['Q5280675', 'P1346', {'concept': 'Q502895'}], ['Q23662651', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?n ) { ( resource:Q5280675 ) ( resource:Q23662651 ) } . ?n property:P1346 ?b } . ?b rdf:type ontology:Q502895 }
2016 Giro d'Italia Femminile Directors Guild of America Award for Outstanding Directing – Feature Film
action filter_type
action union
action find
entity Directors Guild of America Award for Outstanding Directing – Feature Film
relation winner
action find
entity 2016 Giro d'Italia Femminile
relation winner
type common name
{'OR': [['Directors Guild of America Award for Outstanding Directing – Feature Film', 'winner', {'concept': 'common name'}], ["2016 Giro d'Italia Femminile", 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?n ) { ( resource:Directors_Guild_of_America_Award_for_Outstanding_Directing_–_Feature_Film ) ( resource:2016_Giro_d'Italia_Femminile ) } . ?n property:winner ?b } . ?b rdf:type ontology:common_name }
[]
common name
Q51570 Q48987 Q270038 Q51537 Q51583 Q160726 Q11930 Q95030 Q43203 Q188726
SYSTEM
Some of them are George Roy Hill, Jonathan Demme, Delbert Mann, Mike Nichols, Joseph L. Mankiewicz, Ang Lee, Kevin Costner, Warren Beatty, Clint Eastwood, Anthony Minghella
Q51525 Q11930 Q15531382 Q179497 Q51570 Q51114 Q42574 Q4465 Q52411 Q51547 Q160726 Q95125 Q41148 Q59129 Q55260 Q51506 Q56014 Q15014971 Q55215 Q53009 Q55420 Q13595531 Q269692 Q59085 Q28028 Q270038 Q72717 Q48987 Q353019 Q353501 Q59821 Q103646 Q433113 Q51535 Q288780 Q51537 Q8877 Q59215 Q188726 Q55303 Q25089 Q95030 Q563737 Q28556 Q51495 Q483118 Q43203 Q543124 Q13595311 Q223233 Q51503 Q134867 Q51490 Q34816 Q187364 Q295912 Q51582 Q51583 Q462480 Q260125 Q56094
OR((Q5280675,P1346,c(Q502895)), (Q23662651,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q5280675
relation P1346
action find
entity Q23662651
relation P1346
type Q502895
[ANSWERS] were the champions of Directors Guild of America Award for Outstanding Directing – Feature Film or 2016 Giro d'Italia Femminile
{'OR': [['Q5280675', 'P1346', {'concept': 'Q502895'}], ['Q23662651', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?n ) { ( resource:Q5280675 ) ( resource:Q23662651 ) } . ?n property:P1346 ?b } . ?b rdf:type ontology:Q502895 }
Miloš Forman Kevin Costner Katarzyna Niewiadoma Oliver Stone George Roy Hill John Ford James Cameron Peter Jackson Tony Richardson Billy Wilder Ang Lee James L. Brooks Martin Scorsese Michael Cimino David Lean Richard Attenborough George Cukor Megan Guarnier Alejandro González Iñárritu Bernardo Bertolucci Fred Zinnemann Ethan Coen Barry Levinson Robert Benton Alfonso Cuarón Delbert Mann Elia Kazan Jonathan Demme Jerome Robbins Rob Marshall Robert Wise Ron Howard Robert Rossen Vincente Minnelli Evelyn Stevens Mike Nichols Steven Spielberg Robert Redford Anthony Minghella John Schlesinger Woody Allen Warren Beatty Anna van der Breggen Michel Hazanavicius William Wyler Ben Affleck Clint Eastwood Anthony Harvey Joel Coen Sam Mendes Franklin J. Schaffner Danny Boyle George Stevens Kathryn Bigelow Robert Zemeckis Tom Hooper William Friedkin Joseph L. Mankiewicz Elisa Longo Borghini John G. Avildsen Francis Ford Coppola
George Roy Hill, Jonathan Demme, Delbert Mann, Mike Nichols, Joseph L. Mankiewicz, Ang Lee, Kevin Costner, Warren Beatty, Clint Eastwood and Anthony Minghella were the champions of Directors Guild of America Award for Outstanding Directing – Feature Film or 2016 Giro d'Italia Femminile
George Roy Hill Jonathan Demme Delbert Mann Mike Nichols Joseph L. Mankiewicz Ang Lee Kevin Costner Warren Beatty Clint Eastwood Anthony Minghella
action filter_type
action union
action find
entity Directors Guild of America Award for Outstanding Directing – Feature Film
relation winner
action find
entity 2016 Giro d'Italia Femminile
relation winner
type common name
{'OR': [['Directors Guild of America Award for Outstanding Directing – Feature Film', 'winner', {'concept': 'common name'}], ["2016 Giro d'Italia Femminile", 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?n ) { ( resource:Directors_Guild_of_America_Award_for_Outstanding_Directing_–_Feature_Film ) ( resource:2016_Giro_d'Italia_Femminile ) } . ?n property:winner ?b } . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q43203
P40
Q502895
USER
How many people are a successors of Clint Eastwood ?
(Q43203,P40,c(Q502895))
action count
action filter_type
action find
entity Q43203
relation P40
type Q502895
['Q43203', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Q43203 property:P40 ?x . ?x rdf:type ontology:Q502895 }
Clint Eastwood
action count
action filter_type
action find
entity Clint Eastwood
relation child
type common name
['Clint Eastwood', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Clint_Eastwood property:child ?x . ?x rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q976575 Q446468 Q5479089 Q1320494 Q3323973
(Q43203,P40,c(Q502895))
action count
action filter_type
action find
entity Q43203
relation P40
type Q502895
[ANSWER]
['Q43203', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Q43203 property:P40 ?x . ?x rdf:type ontology:Q502895 }
Kyle Eastwood Alison Eastwood Francesca Eastwood Scott Eastwood Morgan Eastwood
5
action count
action filter_type
action find
entity Clint Eastwood
relation child
type common name
['Clint Eastwood', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Clint_Eastwood property:child ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43203
P26
Q502895
USER
Which people are the life partner of that one ?
action filter_type
action find
entity Q43203
relation P26
type Q502895
SELECT DISTINCT ?i WHERE { resource:Q43203 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Clint Eastwood
action filter_type
action find
entity Clint Eastwood
relation spouse
type common name
SELECT DISTINCT ?i WHERE { resource:Clint_Eastwood property:spouse ?i . ?i rdf:type ontology:common_name }
[]
common name
Q18932313 Q3707814
SYSTEM
Maggie Johnson, Dina Eastwood
Q18932313 Q3707814
action filter_type
action find
entity Q43203
relation P26
type Q502895
[ANSWERS] are the life partner of that one
SELECT DISTINCT ?i WHERE { resource:Q43203 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Maggie Johnson Dina Eastwood
Maggie Johnson and Dina Eastwood are the life partner of that one
Maggie Johnson Dina Eastwood
action filter_type
action find
entity Clint Eastwood
relation spouse
type common name
SELECT DISTINCT ?i WHERE { resource:Clint_Eastwood property:spouse ?i . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by approximately 1131 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1131
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?p ) WHERE { ?s rdf:type ontology:Q502895 . ?i rdf:type ontology:Q34379 . ?s property:P1303 ?i } GROUP BY ?i } . FILTER ( ?p = 1131 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1131
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?p ) WHERE { ?s rdf:type ontology:common_name . ?i rdf:type ontology:musical_instrument . ?s property:instrument ?i } GROUP BY ?i } . FILTER ( ?p = 1131 ) }
[]
musical instrument common name
SYSTEM
64
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1131
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?p ) WHERE { ?s rdf:type ontology:Q502895 . ?i rdf:type ontology:Q34379 . ?s property:P1303 ?i } GROUP BY ?i } . FILTER ( ?p = 1131 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
64
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1131
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?p ) WHERE { ?s rdf:type ontology:common_name . ?i rdf:type ontology:musical_instrument . ?s property:instrument ?i } GROUP BY ?i } . FILTER ( ?p = 1131 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q43203
P166
Q618779 Q4220917
USER
How many awards or film awards were received by Clint Eastwood ?
(Q43203,P166,c(Q618779)) (Q43203,P166,c(Q4220917))
action count
action union
action filter_type
action find
entity Q43203
relation P166
type Q618779
action filter_type
action find
entity Q43203
relation P166
type Q4220917
['Q43203', 'P166', {'concept': 'Q618779'}] ['Q43203', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { { resource:Q43203 property:P166 ?s . ?s rdf:type ontology:Q618779 } UNION { resource:Q43203 property:P166 ?s . ?s rdf:type ontology:Q4220917 } }
Clint Eastwood
action count
action union
action filter_type
action find
entity Clint Eastwood
relation award received
type award
action filter_type
action find
entity Clint Eastwood
relation award received
type film award
['Clint Eastwood', 'award received', {'concept': 'award'}] ['Clint Eastwood', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { { resource:Clint_Eastwood property:award_received ?s . ?s rdf:type ontology:award } UNION { resource:Clint_Eastwood property:award_received ?s . ?s rdf:type ontology:film_award } }
[]
award film award
SYSTEM
4
Q13452531 Q775028 Q103360 Q102427
(Q43203,P166,c(Q618779)) (Q43203,P166,c(Q4220917))
action count
action union
action filter_type
action find
entity Q43203
relation P166
type Q618779
action filter_type
action find
entity Q43203
relation P166
type Q4220917
[ANSWER]
['Q43203', 'P166', {'concept': 'Q618779'}] ['Q43203', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { { resource:Q43203 property:P166 ?s . ?s rdf:type ontology:Q618779 } UNION { resource:Q43203 property:P166 ?s . ?s rdf:type ontology:Q4220917 } }
Commandeur des Arts et des Lettres‎ Carrosse d'or Academy Award for Best Director Academy Award for Best Picture
4
action count
action union
action filter_type
action find
entity Clint Eastwood
relation award received
type award
action filter_type
action find
entity Clint Eastwood
relation award received
type film award
['Clint Eastwood', 'award received', {'concept': 'award'}] ['Clint Eastwood', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { { resource:Clint_Eastwood property:award_received ?s . ?s rdf:type ontology:award } UNION { resource:Clint_Eastwood property:award_received ?s . ?s rdf:type ontology:film_award } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43203
P162
Q15416
USER
Which television program has been developed by Clint Eastwood ?
(c(Q15416),P162,Q43203)
action filter_type
action find_reverse
entity Q43203
relation P162
type Q15416
[{'concept': 'Q15416'}, 'P162', 'Q43203']
SELECT DISTINCT ?c WHERE { ?c property:P162 resource:Q43203 . ?c rdf:type ontology:Q15416 }
Clint Eastwood
action filter_type
action find_reverse
entity Clint Eastwood
relation producer
type television program
[{'concept': 'television program'}, 'producer', 'Clint Eastwood']
SELECT DISTINCT ?c WHERE { ?c property:producer resource:Clint_Eastwood . ?c rdf:type ontology:television_program }
[]
television program
Q5228429
SYSTEM
Dave Brubeck: In His Own Sweet Way
Q5228429
(c(Q15416),P162,Q43203)
action filter_type
action find_reverse
entity Q43203
relation P162
type Q15416
[ANSWER] has been developed by Clint Eastwood
[{'concept': 'Q15416'}, 'P162', 'Q43203']
SELECT DISTINCT ?c WHERE { ?c property:P162 resource:Q43203 . ?c rdf:type ontology:Q15416 }
Dave Brubeck: In His Own Sweet Way
Dave Brubeck: In His Own Sweet Way has been developed by Clint Eastwood
Dave Brubeck: In His Own Sweet Way
action filter_type
action find_reverse
entity Clint Eastwood
relation producer
type television program
[{'concept': 'television program'}, 'producer', 'Clint Eastwood']
SELECT DISTINCT ?c WHERE { ?c property:producer resource:Clint_Eastwood . ?c rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43203
P39
Q12737077
USER
Which occupations were the positions for which that person were appointed ?
(Q5228429,P39,c(Q12737077))
action filter_type
action find
entity Q43203
relation P39
type Q12737077
['Q5228429', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q43203 property:P39 ?a }
Clint Eastwood
action filter_type
action find
entity Clint Eastwood
relation position held
type occupation
['Dave Brubeck: In His Own Sweet Way', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Clint_Eastwood property:position_held ?a }
[]
occupation
Q23958341 Q30185
SYSTEM
President of the Jury at the Cannes Festival, mayor
Q23958341 Q30185
(Q5228429,P39,c(Q12737077))
action filter_type
action find
entity Q43203
relation P39
type Q12737077
The [ANSWERS] were the positions for which that person were appointed
['Q5228429', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q43203 property:P39 ?a }
President of the Jury at the Cannes Festival mayor
The President of the Jury at the Cannes Festival and mayor were the positions for which that person were appointed
President of the Jury at the Cannes Festival mayor
action filter_type
action find
entity Clint Eastwood
relation position held
type occupation
['Dave Brubeck: In His Own Sweet Way', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Clint_Eastwood property:position_held ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q43203
P86
Q838948
USER
How many works of art are Clint Eastwood a composer of ?
(c(Q838948),P86,Q43203)
action count
action filter_type
action find_reverse
entity Q43203
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q43203']
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ontology:Q838948 . ?b property:P86 resource:Q43203 }
Clint Eastwood
action count
action filter_type
action find_reverse
entity Clint Eastwood
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Clint Eastwood']
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ontology:work_of_art . ?b property:composer resource:Clint_Eastwood }
[]
work of art
SYSTEM
7
Q184255 Q1217752 Q221586 Q1137236 Q464951 Q275553 Q185490
(c(Q838948),P86,Q43203)
action count
action filter_type
action find_reverse
entity Q43203
relation P86
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P86', 'Q43203']
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ontology:Q838948 . ?b property:P86 resource:Q43203 }
Million Dollar Baby Grace Is Gone Mystic River J. Edgar Flags of Our Fathers Changeling Hereafter
7
action count
action filter_type
action find_reverse
entity Clint Eastwood
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Clint Eastwood']
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ontology:work_of_art . ?b property:composer resource:Clint_Eastwood }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43203
P22
Q502895
USER
Who have Clint Eastwood as a father ?
(c(Q502895),P22,Q43203)
action filter_type
action find_reverse
entity Q43203
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q43203']
SELECT DISTINCT ?k WHERE { ?k property:P22 resource:Q43203 . ?k rdf:type ontology:Q502895 }
Clint Eastwood
action filter_type
action find_reverse
entity Clint Eastwood
relation father
type common name
[{'concept': 'common name'}, 'father', 'Clint Eastwood']
SELECT DISTINCT ?k WHERE { ?k property:father resource:Clint_Eastwood . ?k rdf:type ontology:common_name }
[]
common name
Q976575 Q446468 Q5479089
SYSTEM
Kyle Eastwood, Alison Eastwood, Francesca Eastwood
Q976575 Q446468 Q5479089 Q1320494 Q3323973
(c(Q502895),P22,Q43203)
action filter_type
action find_reverse
entity Q43203
relation P22
type Q502895
So [ANSWERS] have Clint Eastwood as a father
[{'concept': 'Q502895'}, 'P22', 'Q43203']
SELECT DISTINCT ?k WHERE { ?k property:P22 resource:Q43203 . ?k rdf:type ontology:Q502895 }
Kyle Eastwood Alison Eastwood Francesca Eastwood Scott Eastwood Morgan Eastwood
So Kyle Eastwood, Alison Eastwood and Francesca Eastwood have Clint Eastwood as a father
Kyle Eastwood Alison Eastwood Francesca Eastwood
action filter_type
action find_reverse
entity Clint Eastwood
relation father
type common name
[{'concept': 'common name'}, 'father', 'Clint Eastwood']
SELECT DISTINCT ?k WHERE { ?k property:father resource:Clint_Eastwood . ?k rdf:type ontology:common_name }
[]