Simple Question (Direct)
Simple Question
Q1694884
P27
Q15617994
USER
Which administrative territory is Johann Jakob Hottinger an inhabitant of ?
(Q1694884,P27,c(Q15617994))
action filter_type
action find
entity Q1694884
relation P27
type Q15617994
['Q1694884', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q1694884 property:P27 ?b }
Johann Jakob Hottinger
action filter_type
action find
entity Johann Jakob Hottinger
relation country of citizenship
type designation for an administrative territorial entity
['Johann Jakob Hottinger', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Johann_Jakob_Hottinger property:country_of_citizenship ?b }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q1694884,P27,c(Q15617994))
action filter_type
action find
entity Q1694884
relation P27
type Q15617994
[ANSWER] is Johann Jakob Hottinger an inhabitant of
['Q1694884', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q1694884 property:P27 ?b }
Switzerland
Switzerland is Johann Jakob Hottinger an inhabitant of
Switzerland
action filter_type
action find
entity Johann Jakob Hottinger
relation country of citizenship
type designation for an administrative territorial entity
['Johann Jakob Hottinger', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Johann_Jakob_Hottinger property:country_of_citizenship ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1694884
P106
Q151885
USER
What does Johann Jakob Hottinger do for a living ?
(Q1694884,P106,c(Q151885))
action filter_type
action find
entity Q1694884
relation P106
type Q151885
['Q1694884', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q151885 . resource:Q1694884 property:P106 ?x }
Johann Jakob Hottinger
action filter_type
action find
entity Johann Jakob Hottinger
relation occupation
type concept
['Johann Jakob Hottinger', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:concept . resource:Johann_Jakob_Hottinger property:occupation ?x }
[]
concept
Q482980
SYSTEM
author
Q482980
(Q1694884,P106,c(Q151885))
action filter_type
action find
entity Q1694884
relation P106
type Q151885
Johann Jakob Hottinger does for a living an [ANSWER]
['Q1694884', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q151885 . resource:Q1694884 property:P106 ?x }
author
Johann Jakob Hottinger does for a living an author
author
action filter_type
action find
entity Johann Jakob Hottinger
relation occupation
type concept
['Johann Jakob Hottinger', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:concept . resource:Johann_Jakob_Hottinger property:occupation ?x }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1694884
Q12737077
USER
And which occupation?
(Q1694884,P106,c(Q12737077))
action filter_type
action find
entity Q1694884
relation P106
type Q12737077
['Q1694884', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1694884 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Johann Jakob Hottinger
action filter_type
action find
entity Johann Jakob Hottinger
relation occupation
type occupation
['Johann Jakob Hottinger', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Johann_Jakob_Hottinger property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q1694884,P106,c(Q12737077))
action filter_type
action find
entity Q1694884
relation P106
type Q12737077
[ANSWER]
['Q1694884', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1694884 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
writer
writer
action filter_type
action find
entity Johann Jakob Hottinger
relation occupation
type occupation
['Johann Jakob Hottinger', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Johann_Jakob_Hottinger property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P112
Q484652
USER
Which international organization was founded by Switzerland ?
(c(Q484652),P112,Q39)
action filter_type
action find_reverse
entity Q39
relation P112
type Q484652
[{'concept': 'Q484652'}, 'P112', 'Q39']
SELECT DISTINCT ?u WHERE { ?u property:P112 resource:Q39 . ?u rdf:type ontology:Q484652 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation founder
type international organization
[{'concept': 'international organization'}, 'founder', 'Switzerland']
SELECT DISTINCT ?u WHERE { ?u property:founder resource:Switzerland . ?u rdf:type ontology:international_organization }
[]
international organization
Q42262
SYSTEM
European Space Agency
Q42262
(c(Q484652),P112,Q39)
action filter_type
action find_reverse
entity Q39
relation P112
type Q484652
[ANSWER] was founded by Switzerland
[{'concept': 'Q484652'}, 'P112', 'Q39']
SELECT DISTINCT ?u WHERE { ?u property:P112 resource:Q39 . ?u rdf:type ontology:Q484652 }
European Space Agency
European Space Agency was founded by Switzerland
European Space Agency
action filter_type
action find_reverse
entity Switzerland
relation founder
type international organization
[{'concept': 'international organization'}, 'founder', 'Switzerland']
SELECT DISTINCT ?u WHERE { ?u property:founder resource:Switzerland . ?u rdf:type ontology:international_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39
P551
Q502895
USER
Which people have residence at that administrative territory ?
(c(Q502895),P551,Q42262)
action filter_type
action find_reverse
entity Q39
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q42262']
SELECT DISTINCT ?o WHERE { ?o property:P551 resource:Q39 . ?o rdf:type ontology:Q502895 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'European Space Agency']
SELECT DISTINCT ?o WHERE { ?o property:residence resource:Switzerland . ?o rdf:type ontology:common_name }
[]
common name
Q131433 Q5040332 Q7604
SYSTEM
Shania Twain, Carl Holty, Leonhard Euler
Q333713 Q9014784 Q2977245 Q116960 Q117008 Q9673 Q16615183 Q1554682 Q2976979 Q1512497 Q131433 Q12036655 Q125458 Q3617481 Q5040332 Q18642388 Q13360671 Q3087670 Q26922710 Q17486002 Q8960746 Q23759321 Q17319976 Q374118 Q2249757 Q2221144 Q1065156 Q11192 Q549886 Q7604 Q26820934 Q12007399 Q3218950 Q16016263 Q1078090 Q2545899 Q12296038
(c(Q502895),P551,Q42262)
action filter_type
action find_reverse
entity Q39
relation P551
type Q502895
[ANSWERS] have residence at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q42262']
SELECT DISTINCT ?o WHERE { ?o property:P551 resource:Q39 . ?o rdf:type ontology:Q502895 }
Alistair MacLean José Ruiz Santaella Claude Dauphin Albert Eschenmoser Michael Grätzel Lewis Hamilton Wiktoria Padlewska Gunild Feigenwinter Claude Berda Koichi Sugimura Shania Twain Michaela Bakala Jürgen Theobaldy Anilda Ibrahimi Carl Holty Martin Koenig Ivo Werner Frieda Rossel Aline Gohard-Radenkovic HJ Lim Facundo Agudin Martial Knaebel Alfred Aeppli Adrian Scheidegger Damyan Velchev Sandra Wöhe Charles Kessler Kimi Räikkönen Anita Lenti Leonhard Euler Jean-Pierre Masclet Trent Herbst Laurence Vidal Ruth Leach Amonette Christa Kanitz Walter Rebell Tania Schellhorn
Shania Twain, Carl Holty and Leonhard Euler have residence at that administrative territory
Shania Twain Carl Holty Leonhard Euler
action filter_type
action find_reverse
entity Switzerland
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'European Space Agency']
SELECT DISTINCT ?o WHERE { ?o property:residence resource:Switzerland . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q131433 Q5040332 Q7604
P551
Q15617994
USER
What were the places of residence of those people ?
(Q131433,P551,c(Q15617994)) (Q5040332,P551,c(Q15617994)) (Q7604,P551,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P551
type Q15617994
['Q131433', 'P551', {'concept': 'Q15617994'}] ['Q5040332', 'P551', {'concept': 'Q15617994'}] ['Q7604', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . VALUES ( ?j ) { ( resource:Q333713 ) ( resource:Q9014784 ) ( resource:Q2977245 ) } . ?j property:P551 ?p }
Shania Twain Carl Holty Leonhard Euler
action filter_type
action find
entity prev_answer
relation residence
type designation for an administrative territorial entity
['Shania Twain', 'residence', {'concept': 'designation for an administrative territorial entity'}] ['Carl Holty', 'residence', {'concept': 'designation for an administrative territorial entity'}] ['Leonhard Euler', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?j ) { ( resource:Alistair_MacLean ) ( resource:José_Ruiz_Santaella ) ( resource:Claude_Dauphin ) } . ?j property:residence ?p }
[]
designation for an administrative territorial entity
Q39 Q39 Q39
SYSTEM
Switzerland
Q39 Q39 Q39
(Q131433,P551,c(Q15617994)) (Q5040332,P551,c(Q15617994)) (Q7604,P551,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P551
type Q15617994
The places of residence of those people were in [ANSWER], [ANSWER] and [ANSWER]
['Q131433', 'P551', {'concept': 'Q15617994'}] ['Q5040332', 'P551', {'concept': 'Q15617994'}] ['Q7604', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . VALUES ( ?j ) { ( resource:Q333713 ) ( resource:Q9014784 ) ( resource:Q2977245 ) } . ?j property:P551 ?p }
Switzerland Switzerland Switzerland
The places of residence of those people were in Switzerland, Switzerland and Switzerland
Switzerland Switzerland Switzerland
action filter_type
action find
entity prev_answer
relation residence
type designation for an administrative territorial entity
['Shania Twain', 'residence', {'concept': 'designation for an administrative territorial entity'}] ['Carl Holty', 'residence', {'concept': 'designation for an administrative territorial entity'}] ['Leonhard Euler', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?j ) { ( resource:Alistair_MacLean ) ( resource:José_Ruiz_Santaella ) ( resource:Claude_Dauphin ) } . ?j property:residence ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7604
P22
Q502895
USER
Who has Leonhard Euler as a father ?
(c(Q502895),P22,Q7604)
action filter_type
action find_reverse
entity Q7604
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q7604']
SELECT DISTINCT ?b WHERE { ?b property:P22 resource:Q7604 . ?b rdf:type ontology:Q502895 }
Leonhard Euler
action filter_type
action find_reverse
entity Leonhard Euler
relation father
type common name
[{'concept': 'common name'}, 'father', 'Leonhard Euler']
SELECT DISTINCT ?b WHERE { ?b property:father resource:Leonhard_Euler . ?b rdf:type ontology:common_name }
[]
common name
Q556346
SYSTEM
Johann Euler
Q556346
(c(Q502895),P22,Q7604)
action filter_type
action find_reverse
entity Q7604
relation P22
type Q502895
[ANSWER] has Leonhard Euler as a father
[{'concept': 'Q502895'}, 'P22', 'Q7604']
SELECT DISTINCT ?b WHERE { ?b property:P22 resource:Q7604 . ?b rdf:type ontology:Q502895 }
Johann Euler
Johann Euler has Leonhard Euler as a father
Johann Euler
action filter_type
action find_reverse
entity Leonhard Euler
relation father
type common name
[{'concept': 'common name'}, 'father', 'Leonhard Euler']
SELECT DISTINCT ?b WHERE { ?b property:father resource:Leonhard_Euler . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7604
P184
Q502895
USER
Which person was the doctoral superviser of Leonhard Euler ?
(Q7604,P184,c(Q502895))
action filter_type
action find
entity Q7604
relation P184
type Q502895
['Q7604', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q7604 property:P184 ?b . ?b rdf:type ontology:Q502895 }
Leonhard Euler
action filter_type
action find
entity Leonhard Euler
relation doctoral advisor
type common name
['Leonhard Euler', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Leonhard_Euler property:doctoral_advisor ?b . ?b rdf:type ontology:common_name }
[]
common name
Q227897
SYSTEM
Johann Bernoulli
Q227897
(Q7604,P184,c(Q502895))
action filter_type
action find
entity Q7604
relation P184
type Q502895
[ANSWER] was the doctoral superviser of Leonhard Euler
['Q7604', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q7604 property:P184 ?b . ?b rdf:type ontology:Q502895 }
Johann Bernoulli
Johann Bernoulli was the doctoral superviser of Leonhard Euler
Johann Bernoulli
action filter_type
action find
entity Leonhard Euler
relation doctoral advisor
type common name
['Leonhard Euler', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Leonhard_Euler property:doctoral_advisor ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q227897
P1066
Q502895
USER
Who is a pupil of that one ?
(c(Q502895),P1066,Q227897)
action filter_type
action find_reverse
entity Q227897
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q227897']
SELECT DISTINCT ?f WHERE { ?f property:P1066 resource:Q227897 . ?f rdf:type ontology:Q502895 }
Johann Bernoulli
action filter_type
action find_reverse
entity Johann Bernoulli
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Johann Bernoulli']
SELECT DISTINCT ?f WHERE { ?f property:student_of resource:Johann_Bernoulli . ?f rdf:type ontology:common_name }
[]
common name
Q7604
SYSTEM
Leonhard Euler
Q7604
(c(Q502895),P1066,Q227897)
action filter_type
action find_reverse
entity Q227897
relation P1066
type Q502895
A pupil of that one is named [ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q227897']
SELECT DISTINCT ?f WHERE { ?f property:P1066 resource:Q227897 . ?f rdf:type ontology:Q502895 }
Leonhard Euler
A pupil of that one is named Leonhard Euler
Leonhard Euler
action filter_type
action find_reverse
entity Johann Bernoulli
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Johann Bernoulli']
SELECT DISTINCT ?f WHERE { ?f property:student_of resource:Johann_Bernoulli . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q39 Q21
P840
Q838948
USER
How many works of art have their setting located at Switzerland and England ?
(c(Q838948),P840,Q39) (c(Q838948),P840,Q21)
action count
action intersection
action filter_type
action find_reverse
entity Q39
relation P840
type Q838948
action filter_type
action find_reverse
entity Q21
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q39'] [{'concept': 'Q838948'}, 'P840', 'Q21']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:P840 resource:Q21 . ?b rdf:type ontology:Q838948 . ?b property:P840 resource:Q39 . ?b rdf:type ontology:Q838948 }
Switzerland England
action count
action intersection
action filter_type
action find_reverse
entity Switzerland
relation narrative location
type work of art
action filter_type
action find_reverse
entity England
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Switzerland'] [{'concept': 'work of art'}, 'narrative location', 'England']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:narrative_location resource:England . ?b rdf:type ontology:work_of_art . ?b property:narrative_location resource:Switzerland . ?b rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
4
Q7722011 Q243643 Q14949827 Q4947288
(c(Q838948),P840,Q39) (c(Q838948),P840,Q21)
action count
action intersection
action filter_type
action find_reverse
entity Q39
relation P840
type Q838948
action filter_type
action find_reverse
entity Q21
relation P840
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P840', 'Q39'] [{'concept': 'Q838948'}, 'P840', 'Q21']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:P840 resource:Q21 . ?b rdf:type ontology:Q838948 . ?b property:P840 resource:Q39 . ?b rdf:type ontology:Q838948 }
The Challenge Sherlock Holmes: A Game of Shadows Dusty Ermine Bosko's Picture Show
4
action count
action intersection
action filter_type
action find_reverse
entity Switzerland
relation narrative location
type work of art
action filter_type
action find_reverse
entity England
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Switzerland'] [{'concept': 'work of art'}, 'narrative location', 'England']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:narrative_location resource:England . ?b rdf:type ontology:work_of_art . ?b property:narrative_location resource:Switzerland . ?b rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q213461
P1303
Q34379 Q502895
USER
Which musical instruments are played by less number of people than harmonium ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q213461
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?u ) WHERE { ?c property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { ?w property:P1303 resource:Q213461 . ?w rdf:type ontology:Q502895 } } . FILTER ( ?u < ?y ) }
harmonium
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity harmonium
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?u ) WHERE { ?c property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { ?w property:instrument resource:harmonium . ?w rdf:type ontology:common_name } } . FILTER ( ?u < ?y ) }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q201129 Q424017 Q890073 Q1178361 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q862501 Q244976 Q537750 Q626035 Q1179017 Q320341 Q1300012 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q213461
relation P1303
type Q502895
[ANSWERS] are played by less number of people than harmonium
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?u ) WHERE { ?c property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { ?w property:P1303 resource:Q213461 . ?w rdf:type ontology:Q502895 } } . FILTER ( ?u < ?y ) }
lyre acoustic bass guitar Body percussion davul Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir ondes Martenot bodhrán Djembe glockenspiel Daxophone celesta toy piano cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
Davul, Wurlitzer electric piano and Bendir are played by less number of people than harmonium
davul Wurlitzer electric piano Bendir
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity harmonium
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?u ) WHERE { ?c property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { ?w property:instrument resource:harmonium . ?w rdf:type ontology:common_name } } . FILTER ( ?u < ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2660670
P1303
Q34379 Q502895
USER
And also tell me about Irish bouzouki?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q2660670
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:P1303 ?j . ?n rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P1303 resource:Q2660670 . ?q rdf:type ontology:Q502895 } } . FILTER ( ?d < ?k ) }
Irish bouzouki
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Irish bouzouki
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:instrument ?j . ?n rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:instrument resource:Irish_bouzouki . ?q rdf:type ontology:common_name } } . FILTER ( ?d < ?k ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q2660670
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:P1303 ?j . ?n rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P1303 resource:Q2660670 . ?q rdf:type ontology:Q502895 } } . FILTER ( ?d < ?k ) }
spoon cajón wind instrument
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Irish bouzouki
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:instrument ?j . ?n rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:instrument resource:Irish_bouzouki . ?q rdf:type ontology:common_name } } . FILTER ( ?d < ?k ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q173453
P361
Q15989253
USER
Which part is a component of that musical instrument ?
(c(Q15989253),P361,Q173453)
action filter_type
action find_reverse
entity Q173453
relation P361
type Q15989253
[{'concept': 'Q15989253'}, 'P361', 'Q173453']
SELECT DISTINCT ?m WHERE { ?m property:P361 resource:Q173453 . ?m rdf:type ontology:Q15989253 }
wind instrument
action filter_type
action find_reverse
entity wind instrument
relation part of
type part
[{'concept': 'part'}, 'part of', 'wind instrument']
SELECT DISTINCT ?m WHERE { ?m property:part_of resource:wind_instrument . ?m rdf:type ontology:part }
[]
part
Clarification for simple ques.
Q173453
SYSTEM
Did you mean wind instrument ?
Q1879664 Q748455 Q173453
(c(Q15989253),P361,Q1879664) (c(Q15989253),P361,Q748455) (c(Q15989253),P361,Q173453)
[ANSWER]
[{'concept': 'Q15989253'}, 'P361', 'Q1879664'] [{'concept': 'Q15989253'}, 'P361', 'Q748455'] [{'concept': 'Q15989253'}, 'P361', 'Q173453']
SELECT DISTINCT ?m WHERE { ?m property:P361 resource:Q173453 . ?m rdf:type ontology:Q15989253 }
spoon cajón wind instrument
Did you mean wind instrument ?
wind instrument
[{'concept': 'part'}, 'part of', 'spoon'] [{'concept': 'part'}, 'part of', 'cajón'] [{'concept': 'part'}, 'part of', 'wind instrument']
SELECT DISTINCT ?m WHERE { ?m property:part_of resource:wind_instrument . ?m rdf:type ontology:part }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q15989253),P361,Q173453)
[{'concept': 'Q15989253'}, 'P361', 'Q173453']
[{'concept': 'part'}, 'part of', 'wind instrument']
[]
Q26823384
SYSTEM
mouthpiece
Q26823384
(c(Q15989253),P361,Q173453)
action filter_type
action find_reverse
entity Q173453
relation P361
type Q15989253
[ANSWER] is a component of that musical instrument
[{'concept': 'Q15989253'}, 'P361', 'Q173453']
SELECT DISTINCT ?m WHERE { ?m property:P361 resource:Q173453 . ?m rdf:type ontology:Q15989253 }
mouthpiece
Mouthpiece is a component of that musical instrument
mouthpiece
action filter_type
action find_reverse
entity wind instrument
relation part of
type part
[{'concept': 'part'}, 'part of', 'wind instrument']
SELECT DISTINCT ?m WHERE { ?m property:part_of resource:wind_instrument . ?m rdf:type ontology:part }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7604
P138
Q17444909
USER
How many astronomical object types have Leonhard Euler as their namesake ?
(c(Q17444909),P138,Q7604)
action count
action filter_type
action find_reverse
entity Q7604
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q7604']
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:P138 resource:Q7604 . ?o rdf:type ontology:Q17444909 }
Leonhard Euler
action count
action filter_type
action find_reverse
entity Leonhard Euler
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Leonhard Euler']
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:named_after resource:Leonhard_Euler . ?o rdf:type ontology:astronomical_object_type }
[]
astronomical object type
SYSTEM
1
Q146741
(c(Q17444909),P138,Q7604)
action count
action filter_type
action find_reverse
entity Q7604
relation P138
type Q17444909
[ANSWER]
[{'concept': 'Q17444909'}, 'P138', 'Q7604']
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:P138 resource:Q7604 . ?o rdf:type ontology:Q17444909 }
2002 Euler
1
action count
action filter_type
action find_reverse
entity Leonhard Euler
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Leonhard Euler']
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:named_after resource:Leonhard_Euler . ?o rdf:type ontology:astronomical_object_type }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1860397
P138
Q17444909
USER
And how about Henk Terlingen?
(c(Q17444909),P138,Q1860397)
action count
action filter_type
action find_reverse
entity Q1860397
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q1860397']
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P138 resource:Q1860397 . ?x rdf:type ontology:Q17444909 }
Henk Terlingen
action count
action filter_type
action find_reverse
entity Henk Terlingen
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Henk Terlingen']
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:named_after resource:Henk_Terlingen . ?x rdf:type ontology:astronomical_object_type }
[]
astronomical object type
SYSTEM
1
Q1039496
(c(Q17444909),P138,Q1860397)
action count
action filter_type
action find_reverse
entity Q1860397
relation P138
type Q17444909
[ANSWER]
[{'concept': 'Q17444909'}, 'P138', 'Q1860397']
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P138 resource:Q1860397 . ?x rdf:type ontology:Q17444909 }
12135 Terlingen
1
action count
action filter_type
action find_reverse
entity Henk Terlingen
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Henk Terlingen']
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:named_after resource:Henk_Terlingen . ?x rdf:type ontology:astronomical_object_type }
[]