Simple Question (Direct)
Simple Question
Q7475995
P364
Q11028
USER
What is the original language of creation of The Voice of Passion ?
(Q7475995,P364,c(Q11028))
action filter_type
action find
entity Q7475995
relation P364
type Q11028
['Q7475995', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?u WHERE { resource:Q7475995 property:P364 ?u . ?u rdf:type ontology:Q11028 }
The Voice of Passion
action filter_type
action find
entity The Voice of Passion
relation original language of work
type information
['The Voice of Passion', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?u WHERE { resource:The_Voice_of_Passion property:original_language_of_work ?u . ?u rdf:type ontology:information }
[]
information
Q21686005
SYSTEM
n/a (silent film)
Q21686005
(Q7475995,P364,c(Q11028))
action filter_type
action find
entity Q7475995
relation P364
type Q11028
The original language of creation of is [ANSWER]
['Q7475995', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?u WHERE { resource:Q7475995 property:P364 ?u . ?u rdf:type ontology:Q11028 }
n/a (silent film)
The original language of creation of is n/a (silent film)
n/a (silent film)
action filter_type
action find
entity The Voice of Passion
relation original language of work
type information
['The Voice of Passion', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?u WHERE { resource:The_Voice_of_Passion property:original_language_of_work ?u . ?u rdf:type ontology:information }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7475995
P161
Q502895
USER
Which people were casted in The Voice of Passion ?
(Q7475995,P161,c(Q502895))
action filter_type
action find
entity Q7475995
relation P161
type Q502895
['Q7475995', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q7475995 property:P161 ?l . ?l rdf:type ontology:Q502895 }
The Voice of Passion
action filter_type
action find
entity The Voice of Passion
relation cast member
type common name
['The Voice of Passion', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:The_Voice_of_Passion property:cast_member ?l . ?l rdf:type ontology:common_name }
[]
common name
Q55170 Q5965577 Q5630627
SYSTEM
Victor Sjöström, Richard Lund, John Ekman
Q5965577 Q4935245 Q5630627 Q4587326 Q55170
(Q7475995,P161,c(Q502895))
action filter_type
action find
entity Q7475995
relation P161
type Q502895
[ANSWERS] were casted in The Voice of Passion
['Q7475995', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q7475995 property:P161 ?l . ?l rdf:type ontology:Q502895 }
Richard Lund Greta Almroth John Ekman Ragna Wettergreen Victor Sjöström
Victor Sjöström, Richard Lund and John Ekman were casted in The Voice of Passion
Victor Sjöström Richard Lund John Ekman
action filter_type
action find
entity The Voice of Passion
relation cast member
type common name
['The Voice of Passion', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:The_Voice_of_Passion property:cast_member ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3647124
Q502895
USER
And also tell me about Buonanotte... avvocato!?
(Q3647124,P161,c(Q502895))
action filter_type
action find
entity Q3647124
relation P161
type Q502895
['Q3647124', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q3647124 property:P161 ?m }
Buonanotte... avvocato!
action filter_type
action find
entity Buonanotte... avvocato!
relation cast member
type common name
['Buonanotte... avvocato!', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Buonanotte..._avvocato! property:cast_member ?m }
[]
common name
Q106907 Q691515 Q50003
SYSTEM
Giulietta Masina, Vittorio Caprioli, Alberto Sordi
Q50003 Q493631 Q3870105 Q691515 Q106907 Q3542300 Q3848923 Q3629284 Q1657583 Q696857 Q3845237
(Q3647124,P161,c(Q502895))
action filter_type
action find
entity Q3647124
relation P161
type Q502895
[ANSWERS]
['Q3647124', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q3647124 property:P161 ?m }
Alberto Sordi Andrea Checchi Nanda Primavera Vittorio Caprioli Giulietta Masina Turi Pandolfini Mario Passante Attilio Rapisarda Ignazio Balsamo Tina Pica Mara Berni
Giulietta Masina Vittorio Caprioli Alberto Sordi
action filter_type
action find
entity Buonanotte... avvocato!
relation cast member
type common name
['Buonanotte... avvocato!', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Buonanotte..._avvocato! property:cast_member ?m }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q220971
P1303
Q34379 Q502895
USER
How many musical instruments can approximately the same number of people perform with as marimba ?
(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 Q220971
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?a = ?i ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { resource:Q220971 property:P1303 ?m . ?m rdf:type ontology:Q34379 } } }
marimba
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 marimba
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?a = ?i ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { resource:marimba property:instrument ?m . ?m rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
SYSTEM
60
Q80284 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 Q220971
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?a = ?i ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { resource:Q220971 property:P1303 ?m . ?m rdf:type ontology:Q34379 } } }
viola 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
60
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 marimba
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?a = ?i ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { resource:marimba property:instrument ?m . ?m rdf:type ontology:musical_instrument } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q173804
P915
Q56061
USER
Which city was Sunshine filmed on ?
(Q173804,P915,c(Q56061))
action filter_type
action find
entity Q173804
relation P915
type Q56061
['Q173804', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q173804 property:P915 ?k . ?k rdf:type ontology:Q56061 }
Sunshine
action filter_type
action find
entity Sunshine
relation filming location
type administrative territorial entity
['Sunshine', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Sunshine property:filming_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q173804,P915,c(Q56061))
action filter_type
action find
entity Q173804
relation P915
type Q56061
Sunshine was filmed in [ANSWER]
['Q173804', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q173804 property:P915 ?k . ?k rdf:type ontology:Q56061 }
Budapest
Sunshine was filmed in Budapest
Budapest
action filter_type
action find
entity Sunshine
relation filming location
type administrative territorial entity
['Sunshine', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Sunshine property:filming_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q165394
Q56061
USER
And also tell me about Bowling for Columbine?
(Q165394,P915,c(Q56061))
action filter_type
action find
entity Q165394
relation P915
type Q56061
['Q165394', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q165394 property:P915 ?r }
Bowling for Columbine
action filter_type
action find
entity Bowling for Columbine
relation filming location
type administrative territorial entity
['Bowling for Columbine', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Bowling_for_Columbine property:filming_location ?r }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q165394,P915,c(Q56061))
action filter_type
action find
entity Q165394
relation P915
type Q56061
[ANSWER]
['Q165394', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q165394 property:P915 ?r }
New York City
New York City
action filter_type
action find
entity Bowling for Columbine
relation filming location
type administrative territorial entity
['Bowling for Columbine', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Bowling_for_Columbine property:filming_location ?r }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q60 Q439156 Q704620
P6
Q502895
USER
Is Robert F. Wagner and Heinz Christian Pander the head of the goverment of Q60 ?
(Q60,P6,Q439156) (Q60,P6,Q704620)
action is_in
entity Q60
action intersection
action find_reverse
entity Q439156
relation P6
action find_reverse
entity Q704620
relation P6
['Q60', 'P6', 'Q439156'] ['Q60', 'P6', 'Q704620']
ASK WHERE { resource:Q60 property:P6 resource:Q704620 . resource:Q60 property:P6 resource:Q439156 }
New York City Robert F. Wagner Heinz Christian Pander
action is_in
entity New York City
action intersection
action find_reverse
entity Robert F. Wagner
relation head of government
action find_reverse
entity Heinz Christian Pander
relation head of government
['New York City', 'head of government', 'Robert F. Wagner'] ['New York City', 'head of government', 'Heinz Christian Pander']
ASK WHERE { resource:New_York_City property:head_of_government resource:Heinz_Christian_Pander . resource:New_York_City property:head_of_government resource:Robert_F._Wagner }
[]
common name
SYSTEM
YES and NO respectively
(Q60,P6,Q439156) (Q60,P6,Q704620)
action is_in
entity Q60
action intersection
action find_reverse
entity Q439156
relation P6
action find_reverse
entity Q704620
relation P6
[ANSWER]
['Q60', 'P6', 'Q439156'] ['Q60', 'P6', 'Q704620']
ASK WHERE { resource:Q60 property:P6 resource:Q704620 . resource:Q60 property:P6 resource:Q439156 }
YES and NO respectively
action is_in
entity New York City
action intersection
action find_reverse
entity Robert F. Wagner
relation head of government
action find_reverse
entity Heinz Christian Pander
relation head of government
['New York City', 'head of government', 'Robert F. Wagner'] ['New York City', 'head of government', 'Heinz Christian Pander']
ASK WHERE { resource:New_York_City property:head_of_government resource:Heinz_Christian_Pander . resource:New_York_City property:head_of_government resource:Robert_F._Wagner }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q60
P36
Q15617994
USER
Which administrative territory contains that administrative territory as its capital ?
action filter_type
action find_reverse
entity Q60
relation P36
type Q15617994
SELECT DISTINCT ?d WHERE { ?d property:P36 resource:Q60 . ?d rdf:type ontology:Q15617994 }
New York City
action filter_type
action find_reverse
entity New York City
relation capital
type designation for an administrative territorial entity
SELECT DISTINCT ?d WHERE { ?d property:capital resource:New_York_City . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
action filter_type
action find_reverse
entity Q60
relation P36
type Q15617994
[ANSWER] contains that administrative territory as its capital
SELECT DISTINCT ?d WHERE { ?d property:P36 resource:Q60 . ?d rdf:type ontology:Q15617994 }
United States of America
United States of America contains that administrative territory as its capital
United States of America
action filter_type
action find_reverse
entity New York City
relation capital
type designation for an administrative territorial entity
SELECT DISTINCT ?d WHERE { ?d property:capital resource:New_York_City . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P6
Q502895
USER
How many people are that administrative territory the head of goverment of ?
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q30 property:P6 ?c . ?c rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:United_States_of_America property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
44
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 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))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
[ANSWER]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q30 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield 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
44
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:United_States_of_America property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]