Simple Question (Direct)
Simple Question
Q2903159
P20
Q486972
USER
Where did the demise of Bill Chadwick occur ?
(Q2903159,P20,c(Q486972))
action filter_type
action find
entity Q2903159
relation P20
type Q486972
['Q2903159', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?t WHERE { resource:Q2903159 property:P20 ?t . ?t rdf:type ontology:Q486972 }
Bill Chadwick
action filter_type
action find
entity Bill Chadwick
relation place of death
type human settlement
['Bill Chadwick', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?t WHERE { resource:Bill_Chadwick property:place_of_death ?t . ?t rdf:type ontology:human_settlement }
[]
human settlement
Q614676
SYSTEM
Cutchogue
Q614676
(Q2903159,P20,c(Q486972))
action filter_type
action find
entity Q2903159
relation P20
type Q486972
The demise of Bill Chadwick occurred in [ANSWER]
['Q2903159', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?t WHERE { resource:Q2903159 property:P20 ?t . ?t rdf:type ontology:Q486972 }
Cutchogue
The demise of Bill Chadwick occurred in Cutchogue
Cutchogue
action filter_type
action find
entity Bill Chadwick
relation place of death
type human settlement
['Bill Chadwick', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?t WHERE { resource:Bill_Chadwick property:place_of_death ?t . ?t rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q614676
P19
Q502895
USER
Which people were born at that human settlement ?
(c(Q502895),P19,Q614676)
action filter_type
action find_reverse
entity Q614676
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q614676']
SELECT DISTINCT ?l WHERE { ?l property:P19 resource:Q614676 . ?l rdf:type ontology:Q502895 }
Cutchogue
action filter_type
action find_reverse
entity Cutchogue
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Cutchogue']
SELECT DISTINCT ?l WHERE { ?l property:place_of_birth resource:Cutchogue . ?l rdf:type ontology:common_name }
[]
common name
Q6263939 Q2794120
SYSTEM
John Wickham, Billy Kimball
Q6263939 Q2794120
(c(Q502895),P19,Q614676)
action filter_type
action find_reverse
entity Q614676
relation P19
type Q502895
[ANSWERS] were born at that human settlement
[{'concept': 'Q502895'}, 'P19', 'Q614676']
SELECT DISTINCT ?l WHERE { ?l property:P19 resource:Q614676 . ?l rdf:type ontology:Q502895 }
John Wickham Billy Kimball
John Wickham and Billy Kimball were born at that human settlement
John Wickham Billy Kimball
action filter_type
action find_reverse
entity Cutchogue
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Cutchogue']
SELECT DISTINCT ?l WHERE { ?l property:place_of_birth resource:Cutchogue . ?l rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q81982
P1303
Q34379 Q502895
USER
How many musical instruments are played by approximately the same number of people as harpsichord ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q81982
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q81982 property:P1303 ?b . ?b rdf:type ontology:Q34379 } } . FILTER ( ?o = ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?o ) WHERE { ?i rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 . ?y property:P1303 ?i } GROUP BY ?i } }
harpsichord
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity harpsichord
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:harpsichord property:instrument ?b . ?b rdf:type ontology:musical_instrument } } . FILTER ( ?o = ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?o ) WHERE { ?i rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name . ?y property:instrument ?i } GROUP BY ?i } }
[]
musical instrument common name
SYSTEM
61
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 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 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
action count
action filter_type
action find
entity Q81982
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q81982 property:P1303 ?b . ?b rdf:type ontology:Q34379 } } . FILTER ( ?o = ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?o ) WHERE { ?i rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 . ?y property:P1303 ?i } GROUP BY ?i } }
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 Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
61
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity harpsichord
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:harpsichord property:instrument ?b . ?b rdf:type ontology:musical_instrument } } . FILTER ( ?o = ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?o ) WHERE { ?i rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name . ?y property:instrument ?i } GROUP BY ?i } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q2342494
USER
Which collectables had their voice dubbing done by max number of people ?
(c(Q2342494),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q2342494
type Q502895
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?j = ?z ) . { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?j ) WHERE { ?b property:P725 ?t . ?b rdf:type ontology:Q2342494 . ?t rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( MAX ( ?d ) AS ?z ) { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?d ) WHERE { ?v property:P725 ?w . ?v rdf:type ontology:Q2342494 . ?w rdf:type ontology:Q502895 } GROUP BY ?v } } }
action argmax
action find_tuple_counts
relation voice actor
type collectable
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?j = ?z ) . { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?j ) WHERE { ?b property:voice_actor ?t . ?b rdf:type ontology:collectable . ?t rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( MAX ( ?d ) AS ?z ) { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?d ) WHERE { ?v property:voice_actor ?w . ?v rdf:type ontology:collectable . ?w rdf:type ontology:common_name } GROUP BY ?v } } }
[]
common name collectable
Q53351
SYSTEM
Accel World
Q53351
(c(Q2342494),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q2342494
type Q502895
[ANSWER] had their voice dubbing done by max number of people
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?j = ?z ) . { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?j ) WHERE { ?b property:P725 ?t . ?b rdf:type ontology:Q2342494 . ?t rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( MAX ( ?d ) AS ?z ) { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?d ) WHERE { ?v property:P725 ?w . ?v rdf:type ontology:Q2342494 . ?w rdf:type ontology:Q502895 } GROUP BY ?v } } }
Accel World
Accel World had their voice dubbing done by max number of people
Accel World
action argmax
action find_tuple_counts
relation voice actor
type collectable
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?j = ?z ) . { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?j ) WHERE { ?b property:voice_actor ?t . ?b rdf:type ontology:collectable . ?t rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( MAX ( ?d ) AS ?z ) { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?d ) WHERE { ?v property:voice_actor ?w . ?v rdf:type ontology:collectable . ?w rdf:type ontology:common_name } GROUP BY ?v } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q53351 Q2544513
P800
Q502895
USER
Does Walter Gronemann have that collectable as a notable work ?
(Q2544513,P800,Q53351)
action is_in
entity Q2544513
action find
entity Q53351
relation P800
['Q2544513', 'P800', 'Q53351']
ASK WHERE { resource:Q53351 property:P800 resource:Q2544513 }
Accel World Walter Gronemann
action is_in
entity Walter Gronemann
action find
entity Accel World
relation notable work
['Walter Gronemann', 'notable work', 'Accel World']
ASK WHERE { resource:Accel_World property:notable_work resource:Walter_Gronemann }
[]
common name
SYSTEM
NO
(Q2544513,P800,Q53351)
action is_in
entity Q2544513
action find
entity Q53351
relation P800
[ANSWER]
['Q2544513', 'P800', 'Q53351']
ASK WHERE { resource:Q53351 property:P800 resource:Q2544513 }
No
action is_in
entity Walter Gronemann
action find
entity Accel World
relation notable work
['Walter Gronemann', 'notable work', 'Accel World']
ASK WHERE { resource:Accel_World property:notable_work resource:Walter_Gronemann }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6028372 Q2903159
P27
Q15617994
USER
Which administrative territories are the native countriesof Bill Chadwick or Ineke Ran ?
OR((Q2903159,P27,c(Q15617994)), (Q6028372,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2903159
relation P27
action find
entity Q6028372
relation P27
type Q15617994
{'OR': [['Q2903159', 'P27', {'concept': 'Q15617994'}], ['Q6028372', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q2903159 property:P27 ?h } UNION { resource:Q6028372 property:P27 ?h } } }
Ineke Ran Bill Chadwick
action filter_type
action union
action find
entity Bill Chadwick
relation country of citizenship
action find
entity Ineke Ran
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bill Chadwick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ineke Ran', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Bill_Chadwick property:country_of_citizenship ?h } UNION { resource:Ineke_Ran property:country_of_citizenship ?h } } }
[]
designation for an administrative territorial entity
Q30 Q29999
SYSTEM
United States of America, Kingdom of the Netherlands
Q30 Q29999
OR((Q2903159,P27,c(Q15617994)), (Q6028372,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2903159
relation P27
action find
entity Q6028372
relation P27
type Q15617994
[ANSWERS] are the native countriesof Bill Chadwick or Ineke Ran
{'OR': [['Q2903159', 'P27', {'concept': 'Q15617994'}], ['Q6028372', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q2903159 property:P27 ?h } UNION { resource:Q6028372 property:P27 ?h } } }
United States of America Kingdom of the Netherlands
United States of America and Kingdom of the Netherlands are the native countriesof Bill Chadwick or Ineke Ran
United States of America Kingdom of the Netherlands
action filter_type
action union
action find
entity Bill Chadwick
relation country of citizenship
action find
entity Ineke Ran
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bill Chadwick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ineke Ran', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Bill_Chadwick property:country_of_citizenship ?h } UNION { resource:Ineke_Ran property:country_of_citizenship ?h } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q18124504
P6
Q502895
USER
How many people have United States of America or Digital India as their heads of government ?
(Q30,P6,c(Q502895)) (Q18124504,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q30
relation P6
type Q502895
action filter_type
action find
entity Q18124504
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}] ['Q18124504', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { resource:Q30 property:P6 ?d . ?d rdf:type ontology:Q502895 } UNION { resource:Q18124504 property:P6 ?d . ?d rdf:type ontology:Q502895 } }
United States of America Digital India
action count
action union
action filter_type
action find
entity United States of America
relation head of government
type common name
action filter_type
action find
entity Digital India
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}] ['Digital India', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { resource:United_States_of_America property:head_of_government ?d . ?d rdf:type ontology:common_name } UNION { resource:Digital_India property:head_of_government ?d . ?d rdf:type ontology:common_name } }
[]
common name
SYSTEM
45
Q35171 Q11815 Q11816 Q11817 Q9588 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q35498 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q1058 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895)) (Q18124504,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q30
relation P6
type Q502895
action filter_type
action find
entity Q18124504
relation P6
type Q502895
[ANSWER]
['Q30', 'P6', {'concept': 'Q502895'}] ['Q18124504', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { resource:Q30 property:P6 ?d . ?d rdf:type ontology:Q502895 } UNION { resource:Q18124504 property:P6 ?d . ?d rdf:type ontology:Q502895 } }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Richard Nixon Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Chester A. Arthur Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Narendra Modi Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
45
action count
action union
action filter_type
action find
entity United States of America
relation head of government
type common name
action filter_type
action find
entity Digital India
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}] ['Digital India', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { resource:United_States_of_America property:head_of_government ?d . ?d rdf:type ontology:common_name } UNION { resource:Digital_India property:head_of_government ?d . ?d rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P162
Q838948
USER
Which work of art has been produced by that administrative territory ?
action filter_type
action find_reverse
entity Q30
relation P162
type Q838948
SELECT DISTINCT ?q WHERE { ?q property:P162 resource:Q30 . ?q rdf:type ontology:Q838948 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation producer
type work of art
SELECT DISTINCT ?q WHERE { ?q property:producer resource:United_States_of_America . ?q rdf:type ontology:work_of_art }
[]
work of art
Q1193742
SYSTEM
The Thief of Bagdad
Q1193742
action filter_type
action find_reverse
entity Q30
relation P162
type Q838948
[ANSWER] has been produced by that administrative territory
SELECT DISTINCT ?q WHERE { ?q property:P162 resource:Q30 . ?q rdf:type ontology:Q838948 }
The Thief of Bagdad
The Thief of Bagdad has been produced by that administrative territory
The Thief of Bagdad
action filter_type
action find_reverse
entity United States of America
relation producer
type work of art
SELECT DISTINCT ?q WHERE { ?q property:producer resource:United_States_of_America . ?q rdf:type ontology:work_of_art }
[]