Simple Question (Direct)
Simple Question
Q460847
P463
Q811430
USER
Which construction was Mary F. Lyon a member of ?
(Q460847,P463,c(Q811430))
action filter_type
action find
entity Q460847
relation P463
type Q811430
['Q460847', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q811430 . resource:Q460847 property:P463 ?c }
Mary F. Lyon
action filter_type
action find
entity Mary F. Lyon
relation member of
type construction
['Mary F. Lyon', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:construction . resource:Mary_F._Lyon property:member_of ?c }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q460847,P463,c(Q811430))
action filter_type
action find
entity Q460847
relation P463
type Q811430
The [ANSWER] was Mary F. Lyon a member of
['Q460847', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q811430 . resource:Q460847 property:P463 ?c }
American Academy of Arts and Sciences
The American Academy of Arts and Sciences was Mary F. Lyon a member of
American Academy of Arts and Sciences
action filter_type
action find
entity Mary F. Lyon
relation member of
type construction
['Mary F. Lyon', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:construction . resource:Mary_F._Lyon property:member_of ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q463303
P17
Q15617994
USER
Which administrative territory is that construction situated in ?
(Q463303,P17,c(Q15617994))
action filter_type
action find
entity Q463303
relation P17
type Q15617994
['Q463303', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q463303 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
American Academy of Arts and Sciences
action filter_type
action find
entity American Academy of Arts and Sciences
relation country
type designation for an administrative territorial entity
['American Academy of Arts and Sciences', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:American_Academy_of_Arts_and_Sciences property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q463303,P17,c(Q15617994))
action filter_type
action find
entity Q463303
relation P17
type Q15617994
That construction is situated in [ANSWER]
['Q463303', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q463303 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
That construction is situated in United States of America
United States of America
action filter_type
action find
entity American Academy of Arts and Sciences
relation country
type designation for an administrative territorial entity
['American Academy of Arts and Sciences', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:American_Academy_of_Arts_and_Sciences property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P163
Q14660
USER
What is associated with that administrative territory ?
(Q30,P163,c(Q14660))
action filter_type
action find
entity Q30
relation P163
type Q14660
['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { resource:Q30 property:P163 ?y . ?y rdf:type ontology:Q14660 }
United States of America
action filter_type
action find
entity United States of America
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { resource:United_States_of_America property:flag ?y . ?y rdf:type ontology:flag }
[]
flag
Q42537
SYSTEM
flag of the United States of America
Q42537
(Q30,P163,c(Q14660))
action filter_type
action find
entity Q30
relation P163
type Q14660
The [ANSWER] is associated with that administrative territory
['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { resource:Q30 property:P163 ?y . ?y rdf:type ontology:Q14660 }
flag of the United States of America
The flag of the United States of America is associated with that administrative territory
flag of the United States of America
action filter_type
action find
entity United States of America
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { resource:United_States_of_America property:flag ?y . ?y rdf:type ontology:flag }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P530
Q1048835 Q15617994
USER
How many political territories and administrative territories have diplomatic relationships with United States of America ?
(Q30,P530,c(Q1048835)) (Q30,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q30
relation P530
type Q1048835
action filter_type
action find
entity Q30
relation P530
type Q15617994
['Q30', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { ?j rdf:type ontology:Q15617994 . resource:Q30 property:P530 ?j } UNION { resource:Q30 property:P530 ?j . ?j rdf:type ontology:Q1048835 } }
United States of America
action count
action union
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_of_America property:diplomatic_relation ?j } UNION { resource:United_States_of_America property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
3 political territories and 17 administrative territories
Q805 Q38 Q159 Q222 Q801 Q155 Q148 Q183 Q796 Q17 Q408 Q16 Q37 Q889 Q668 Q403 Q1011 Q347 Q414 Q953
(Q30,P530,c(Q1048835)) (Q30,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q30
relation P530
type Q1048835
action filter_type
action find
entity Q30
relation P530
type Q15617994
[ANSWER]
['Q30', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { ?j rdf:type ontology:Q15617994 . resource:Q30 property:P530 ?j } UNION { resource:Q30 property:P530 ?j . ?j rdf:type ontology:Q1048835 } }
Yemen Italy Russia Albania Israel Brazil People's Republic of China Germany Iraq Japan Australia Canada Lithuania Afghanistan India Serbia Cape Verde Liechtenstein Argentina Zambia
3 political territories and 17 administrative territories
action count
action union
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_of_America property:diplomatic_relation ?j } UNION { resource:United_States_of_America property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18354954 Q30
P57 P6
Q502895
USER
Which people have United States of America as their heads of government or directed Santha Oru Devatha ?
OR((Q30,P6,c(Q502895)), (Q18354954,P57,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q18354954
relation P57
type Q502895
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q18354954', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q30 property:P6 ?n } UNION { resource:Q18354954 property:P57 ?n } } . ?n rdf:type ontology:Q502895 }
Santha Oru Devatha United States of America
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Santha Oru Devatha
relation director
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Santha Oru Devatha', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { { { resource:United_States_of_America property:head_of_government ?n } UNION { resource:Santha_Oru_Devatha property:director ?n } } . ?n rdf:type ontology:common_name }
[]
common name
Q11813 Q9640 Q23505 Q11812 Q33866 Q91 Q11869 Q9582 Q11820 Q9696
SYSTEM
Some of them are James Madison, Lyndon B. Johnson, George H. W. Bush, Thomas Jefferson, Theodore Roosevelt, Abraham Lincoln, William Henry Harrison, Gerald Ford, Martin Van Buren, John F. Kennedy
Q35171 Q11815 Q11816 Q11817 Q9588 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q35498 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q6712813 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
OR((Q30,P6,c(Q502895)), (Q18354954,P57,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q18354954
relation P57
type Q502895
[ANSWERS] have United States of America as their heads of government or directed Santha Oru Devatha
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q18354954', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q30 property:P6 ?n } UNION { resource:Q18354954 property:P57 ?n } } . ?n 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 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 M. Krishnan Nair 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
James Madison, Lyndon B. Johnson, George H. W. Bush, Thomas Jefferson, Theodore Roosevelt, Abraham Lincoln, William Henry Harrison, Gerald Ford, Martin Van Buren and John F. Kennedy have United States of America as their heads of government or directed Santha Oru Devatha
James Madison Lyndon B. Johnson George H. W. Bush Thomas Jefferson Theodore Roosevelt Abraham Lincoln William Henry Harrison Gerald Ford Martin Van Buren John F. Kennedy
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Santha Oru Devatha
relation director
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Santha Oru Devatha', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { { { resource:United_States_of_America property:head_of_government ?n } UNION { resource:Santha_Oru_Devatha property:director ?n } } . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atmost 5112 people ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5112
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?a ) WHERE { ?t property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?a <= 5112 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5112
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?a ) WHERE { ?t property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?a <= 5112 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 Q8355 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 atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5112
[ANSWERS] are played by atmost 5112 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?a ) WHERE { ?t property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?a <= 5112 ) }
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 violin 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
Davul, harpsichord and Wurlitzer electric piano are played by atmost 5112 people
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5112
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?a ) WHERE { ?t property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?a <= 5112 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q9696
P1050
Q12136 Q2057971
USER
How many diseases or health problems do John F. Kennedy suffer from ?
(Q9696,P1050,c(Q12136)) (Q9696,P1050,c(Q2057971))
action count
action union
action filter_type
action find
entity Q9696
relation P1050
type Q12136
action filter_type
action find
entity Q9696
relation P1050
type Q2057971
['Q9696', 'P1050', {'concept': 'Q12136'}] ['Q9696', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2057971 ) ( ontology:Q12136 ) } }
John F. Kennedy
action count
action union
action filter_type
action find
entity John F. Kennedy
relation medical condition
type disease
action filter_type
action find
entity John F. Kennedy
relation medical condition
type health problem
['John F. Kennedy', 'medical condition', {'concept': 'disease'}] ['John F. Kennedy', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:health_problem ) ( ontology:disease ) } }
[]
disease health problem
SYSTEM
4
Q852163 Q16501 Q4117241 Q12195
(Q9696,P1050,c(Q12136)) (Q9696,P1050,c(Q2057971))
action count
action union
action filter_type
action find
entity Q9696
relation P1050
type Q12136
action filter_type
action find
entity Q9696
relation P1050
type Q2057971
[ANSWER]
['Q9696', 'P1050', {'concept': 'Q12136'}] ['Q9696', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2057971 ) ( ontology:Q12136 ) } }
lower back pain hypothyroidisms autoimmune polyendocrine syndrome type 2 poliomyelitis
4
action count
action union
action filter_type
action find
entity John F. Kennedy
relation medical condition
type disease
action filter_type
action find
entity John F. Kennedy
relation medical condition
type health problem
['John F. Kennedy', 'medical condition', {'concept': 'disease'}] ['John F. Kennedy', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:health_problem ) ( ontology:disease ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q9696
P1050
Q2057971 Q12136
USER
How many health problems and diseases have John F. Kennedy contracted ?
(Q9696,P1050,c(Q2057971)) (Q9696,P1050,c(Q12136))
action count
action union
action filter_type
action find
entity Q9696
relation P1050
type Q2057971
action filter_type
action find
entity Q9696
relation P1050
type Q12136
['Q9696', 'P1050', {'concept': 'Q2057971'}] ['Q9696', 'P1050', {'concept': 'Q12136'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2057971 ) ( ontology:Q12136 ) } }
John F. Kennedy
action count
action union
action filter_type
action find
entity John F. Kennedy
relation medical condition
type health problem
action filter_type
action find
entity John F. Kennedy
relation medical condition
type disease
['John F. Kennedy', 'medical condition', {'concept': 'health problem'}] ['John F. Kennedy', 'medical condition', {'concept': 'disease'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:health_problem ) ( ontology:disease ) } }
[]
health problem disease
SYSTEM
3 health problems and 1 diseases
Q12195 Q16501 Q852163 Q4117241
(Q9696,P1050,c(Q2057971)) (Q9696,P1050,c(Q12136))
action count
action union
action filter_type
action find
entity Q9696
relation P1050
type Q2057971
action filter_type
action find
entity Q9696
relation P1050
type Q12136
[ANSWER]
['Q9696', 'P1050', {'concept': 'Q2057971'}] ['Q9696', 'P1050', {'concept': 'Q12136'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2057971 ) ( ontology:Q12136 ) } }
poliomyelitis hypothyroidisms lower back pain autoimmune polyendocrine syndrome type 2
3 health problems and 1 diseases
action count
action union
action filter_type
action find
entity John F. Kennedy
relation medical condition
type health problem
action filter_type
action find
entity John F. Kennedy
relation medical condition
type disease
['John F. Kennedy', 'medical condition', {'concept': 'health problem'}] ['John F. Kennedy', 'medical condition', {'concept': 'disease'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:health_problem ) ( ontology:disease ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q11812
P40
Q502895
USER
How many people have Thomas Jefferson as a child ?
(c(Q502895),P40,Q11812)
action count
action filter_type
action find_reverse
entity Q11812
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q11812']
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P40 resource:Q11812 . ?x rdf:type ontology:Q502895 }
Thomas Jefferson
action count
action filter_type
action find_reverse
entity Thomas Jefferson
relation child
type common name
[{'concept': 'common name'}, 'child', 'Thomas Jefferson']
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:child resource:Thomas_Jefferson . ?x rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q3376670 Q3161892
(c(Q502895),P40,Q11812)
action count
action filter_type
action find_reverse
entity Q11812
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q11812']
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P40 resource:Q11812 . ?x rdf:type ontology:Q502895 }
Peter Jefferson Jane Randolph Jefferson
2
action count
action filter_type
action find_reverse
entity Thomas Jefferson
relation child
type common name
[{'concept': 'common name'}, 'child', 'Thomas Jefferson']
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:child resource:Thomas_Jefferson . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1673545
P40
Q502895
USER
And also tell me about Isabel Karajan?
(c(Q502895),P40,Q1673545)
action count
action filter_type
action find_reverse
entity Q1673545
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1673545']
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { ?c property:P40 resource:Q1673545 . ?c rdf:type ontology:Q502895 }
Isabel Karajan
action count
action filter_type
action find_reverse
entity Isabel Karajan
relation child
type common name
[{'concept': 'common name'}, 'child', 'Isabel Karajan']
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { ?c property:child resource:Isabel_Karajan . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q1329299 Q154895
(c(Q502895),P40,Q1673545)
action count
action filter_type
action find_reverse
entity Q1673545
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q1673545']
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { ?c property:P40 resource:Q1673545 . ?c rdf:type ontology:Q502895 }
Eliette von Karajan Herbert von Karajan
2
action count
action filter_type
action find_reverse
entity Isabel Karajan
relation child
type common name
[{'concept': 'common name'}, 'child', 'Isabel Karajan']
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { ?c property:child resource:Isabel_Karajan . ?c rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q816793
P1303
Q34379 Q502895
USER
Which musical instruments are played by more number of people than Bendir ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q816793
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s rdf:type ontology:Q34379 . resource:Q816793 property:P1303 ?s } } . FILTER ( ?q > ?h ) . { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?w } }
Bendir
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Bendir
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s rdf:type ontology:musical_instrument . resource:Bendir property:instrument ?s } } . FILTER ( ?q > ?h ) . { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?w } }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q816793
relation P1303
type Q34379
[ANSWERS] are played by more number of people than Bendir
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s rdf:type ontology:Q34379 . resource:Q816793 property:P1303 ?s } } . FILTER ( ?q > ?h ) . { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?w } }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
Piano, harpsichord and ondes Martenot are played by more number of people than Bendir
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Bendir
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s rdf:type ontology:musical_instrument . resource:Bendir property:instrument ?s } } . FILTER ( ?q > ?h ) . { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?w } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2563510
P1303
Q34379 Q502895
USER
And how about steel-string acoustic guitar?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q2563510
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?p ) WHERE { ?v rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 . ?n property:P1303 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:Q2563510 property:P1303 ?c . ?c rdf:type ontology:Q34379 } } . FILTER ( ?p > ?e ) }
steel-string acoustic guitar
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity steel-string acoustic guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?p ) WHERE { ?v rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name . ?n property:instrument ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:steel-string_acoustic_guitar property:instrument ?c . ?c rdf:type ontology:musical_instrument } } . FILTER ( ?p > ?e ) }
[]
musical instrument common name
Q5994 Q81982 Q80284
SYSTEM
piano, harpsichord, viola
Q80284 Q46185 Q80019 Q5994 Q81982 Q206987 Q8338 Q8371 Q8355 Q3382191 Q742180 Q1444 Q220971 Q128309 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q2563510
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?p ) WHERE { ?v rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 . ?n property:P1303 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:Q2563510 property:P1303 ?c . ?c rdf:type ontology:Q34379 } } . FILTER ( ?p > ?e ) }
viola bass guitar double bass piano harpsichord vibraphone trumpet cello violin upright piano viola d'amore organ marimba drum kit electronic keyboard drum
piano harpsichord viola
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity steel-string acoustic guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?p ) WHERE { ?v rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name . ?n property:instrument ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:steel-string_acoustic_guitar property:instrument ?c . ?c rdf:type ontology:musical_instrument } } . FILTER ( ?p > ?e ) }
[]