Simple Question (Direct)
Simple Question
Q23906788
P106
Q12737077
USER
What is the profession of Charles Regnaud ?
(Q23906788,P106,c(Q12737077))
action filter_type
action find
entity Q23906788
relation P106
type Q12737077
['Q23906788', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q23906788 property:P106 ?l }
Charles Regnaud
action filter_type
action find
entity Charles Regnaud
relation occupation
type occupation
['Charles Regnaud', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Charles_Regnaud property:occupation ?l }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q23906788,P106,c(Q12737077))
action filter_type
action find
entity Q23906788
relation P106
type Q12737077
The profession of Charles Regnaud is a [ANSWER]
['Q23906788', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q23906788 property:P106 ?l }
politician
The profession of Charles Regnaud is a politician
politician
action filter_type
action find
entity Charles Regnaud
relation occupation
type occupation
['Charles Regnaud', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Charles_Regnaud property:occupation ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P39
Q502895
USER
Which person was responsible for occupying the position of that occupation ?
(c(Q502895),P39,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P39 resource:Q82955 }
politician
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:position_held resource:politician }
[]
common name
Q26215129
SYSTEM
Morteza Azari
Q26215129
(c(Q502895),P39,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[ANSWER] was responsible for occupying the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P39 resource:Q82955 }
Morteza Azari
Morteza Azari was responsible for occupying the position of that occupation
Morteza Azari
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:position_held resource:politician }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26215129
P140
Q874405
USER
Which social group does that person relate to ?
(Q26215129,P140,c(Q874405))
action filter_type
action find
entity Q26215129
relation P140
type Q874405
['Q26215129', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?z WHERE { resource:Q26215129 property:P140 ?z . ?z rdf:type ontology:Q874405 }
Morteza Azari
action filter_type
action find
entity Morteza Azari
relation religion
type social group
['Morteza Azari', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?z WHERE { resource:Morteza_Azari property:religion ?z . ?z rdf:type ontology:social_group }
[]
social group
Q432
SYSTEM
Islam
Q432
(Q26215129,P140,c(Q874405))
action filter_type
action find
entity Q26215129
relation P140
type Q874405
That person relates to [ANSWER]
['Q26215129', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?z WHERE { resource:Q26215129 property:P140 ?z . ?z rdf:type ontology:Q874405 }
Islam
That person relates to Islam
Islam
action filter_type
action find
entity Morteza Azari
relation religion
type social group
['Morteza Azari', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?z WHERE { resource:Morteza_Azari property:religion ?z . ?z rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q432
P101
Q502895
USER
Which people work in the domain of that social group ?
(c(Q502895),P101,Q432)
action filter_type
action find_reverse
entity Q432
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q432']
SELECT DISTINCT ?y WHERE { ?y property:P101 resource:Q432 . ?y rdf:type ontology:Q502895 }
Islam
action filter_type
action find_reverse
entity Islam
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Islam']
SELECT DISTINCT ?y WHERE { ?y property:field_of_work resource:Islam . ?y rdf:type ontology:common_name }
[]
common name
Q307686 Q12034378
SYSTEM
Abdullah ibn Salam, Lukáš Lhoťan
Q307686 Q12034378
(c(Q502895),P101,Q432)
action filter_type
action find_reverse
entity Q432
relation P101
type Q502895
[ANSWERS] work in the domain of that social group
[{'concept': 'Q502895'}, 'P101', 'Q432']
SELECT DISTINCT ?y WHERE { ?y property:P101 resource:Q432 . ?y rdf:type ontology:Q502895 }
Abdullah ibn Salam Lukáš Lhoťan
Abdullah ibn Salam and Lukáš Lhoťan work in the domain of that social group
Abdullah ibn Salam Lukáš Lhoťan
action filter_type
action find_reverse
entity Islam
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Islam']
SELECT DISTINCT ?y WHERE { ?y property:field_of_work resource:Islam . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q862501
P1303
Q34379 Q502895
USER
Which musical instruments do approximately the same number of people know to play as ondes Martenot ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q862501
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:P1303 ?g . ?b rdf:type ontology:Q502895 . ?g rdf:type ontology:Q34379 } GROUP BY ?g } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z rdf:type ontology:Q34379 . resource:Q862501 property:P1303 ?z } } }
ondes Martenot
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity ondes Martenot
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:instrument ?g . ?b rdf:type ontology:common_name . ?g rdf:type ontology:musical_instrument } GROUP BY ?g } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z rdf:type ontology:musical_instrument . resource:ondes_Martenot property:instrument ?z } } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q862501
relation P1303
type Q34379
[ANSWERS] approximately the same number of people know to play as ondes Martenot
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:P1303 ?g . ?b rdf:type ontology:Q502895 . ?g rdf:type ontology:Q34379 } GROUP BY ?g } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z rdf:type ontology:Q34379 . resource:Q862501 property:P1303 ?z } } }
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
Davul, harpsichord and Wurlitzer electric piano approximately the same number of people know to play as ondes Martenot
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity ondes Martenot
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:instrument ?g . ?b rdf:type ontology:common_name . ?g rdf:type ontology:musical_instrument } GROUP BY ?g } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z rdf:type ontology:musical_instrument . resource:ondes_Martenot property:instrument ?z } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q20018619
P180
Q34379 Q386724
USER
How many works express approximately the same number of musical instruments as Procession of the Panathenaic festival ?
(c(Q386724),P180,c(Q34379))
action count
action approx
action find_tuple_counts
relation P180
type Q386724
type Q34379
action count
action filter_type
action find
entity Q20018619
relation P180
type Q386724
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?q ) WHERE { ?j rdf:type ontology:Q386724 . ?a rdf:type ontology:Q34379 . ?j property:P180 ?a } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q20018619 property:P180 ?i . ?i rdf:type ontology:Q386724 } } . FILTER ( ?q = ?n ) }
Procession of the Panathenaic festival
action count
action approx
action find_tuple_counts
relation depicts
type work
type musical instrument
action count
action filter_type
action find
entity Procession of the Panathenaic festival
relation depicts
type work
[{'concept': 'work'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?q ) WHERE { ?j rdf:type ontology:work . ?a rdf:type ontology:musical_instrument . ?j property:depicts ?a } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Procession_of_the_Panathenaic_festival property:depicts ?i . ?i rdf:type ontology:work } } . FILTER ( ?q = ?n ) }
[]
musical instrument work
SYSTEM
45
Q27266011 Q18818942 Q20018619 Q18822501 Q3227124 Q7604478 Q18822442 Q20655984 Q23301843 Q27245162 Q3842557 Q25351982 Q16961954 Q20668011 Q20668010 Q18760514 Q20667952 Q20018598 Q18350631 Q208120 Q7772874 Q20035907 Q20012212 Q20012204 Q20012272 Q20012219 Q577890 Q1638622 Q11725617 Q27783590 Q2410932 Q1684762 Q18602499 Q18676635 Q3000066 Q3387593 Q20667955 Q20655689 Q17986845 Q20667953 Q18397036 Q1213160 Q2619037 Q7884355 Q2908939
(c(Q386724),P180,c(Q34379))
action count
action approx
action find_tuple_counts
relation P180
type Q386724
type Q34379
action count
action filter_type
action find
entity Q20018619
relation P180
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?q ) WHERE { ?j rdf:type ontology:Q386724 . ?a rdf:type ontology:Q34379 . ?j property:P180 ?a } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q20018619 property:P180 ?i . ?i rdf:type ontology:Q386724 } } . FILTER ( ?q = ?n ) }
Robin Hood The Holy Family in a Landscape Procession of the Panathenaic festival Tarquinius and Lucretia le serment du jeu de paume Statue of Clement X Portrait of Gabriel-Charles Bidault Georgiana Spencer, Duchess of Devonshire La Trace du lièvre Hidalgo The Virgin and Child with Saint Andrew and Saint Peter Labyrinth Disney Partners Statue Funerary stele of Thalea Funerary banquet Entombment of Christ Hunt scene, known as "Alexander's hunt" Plaque of the Ergastines I'm too sad to tell you caryatid The Vision of Constantine Sacrifice of a goat Female head Banquet scene Panther Griffin Alexamenos graffito Adoration of the Magi George Washington Melancholy My God, Help Me to Survive This Deadly Love Manchester Madonna Mountain Stream, Yemen Valley, Palestine Splatter Analysis Lycurgus Cup Unfinished Portrait of General Bonaparte Funerary stele of Adea and Thrãson Unfinished painting Mae West Lips Sofa Apparition of the Dioscuri at a banquet Landscape with castle The Entombment Portrait of Madame Récamier Unfinished portrait of Franklin D. Roosevelt Bois Protat
45
action count
action approx
action find_tuple_counts
relation depicts
type work
type musical instrument
action count
action filter_type
action find
entity Procession of the Panathenaic festival
relation depicts
type work
[{'concept': 'work'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?q ) WHERE { ?j rdf:type ontology:work . ?a rdf:type ontology:musical_instrument . ?j property:depicts ?a } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Procession_of_the_Panathenaic_festival property:depicts ?i . ?i rdf:type ontology:work } } . FILTER ( ?q = ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q80019
P1303
Q34379 Q502895
USER
How many musical instruments are played by lesser number of people than double bass ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q80019
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:P1303 ?y . ?i rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P1303 resource:Q80019 . ?z rdf:type ontology:Q502895 } } . FILTER ( ?e < ?d ) }
double bass
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity double bass
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:instrument ?y . ?i rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:instrument resource:double_bass . ?z rdf:type ontology:common_name } } . FILTER ( ?e < ?d ) }
[]
musical instrument common name
SYSTEM
58
Q80284 Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 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 less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q80019
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:P1303 ?y . ?i rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P1303 resource:Q80019 . ?z rdf:type ontology:Q502895 } } . FILTER ( ?e < ?d ) }
viola lyre acoustic bass guitar Body percussion 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 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
58
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity double bass
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:instrument ?y . ?i rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:instrument resource:double_bass . ?z rdf:type ontology:common_name } } . FILTER ( ?e < ?d ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can exactly 3 people perform with ?
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P1303 ?e . ?x rdf:type ontology:Q502895 . ?e rdf:type ontology:Q34379 } GROUP BY ?e } . FILTER ( ?v = 3 ) }
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:instrument ?e . ?x rdf:type ontology:common_name . ?e rdf:type ontology:musical_instrument } GROUP BY ?e } . FILTER ( ?v = 3 ) }
[]
musical instrument common name
Q626035 Q726306
SYSTEM
glockenspiel, erhu
Q626035 Q726306
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P1303 ?e . ?x rdf:type ontology:Q502895 . ?e rdf:type ontology:Q34379 } GROUP BY ?e } . FILTER ( ?v = 3 ) }
glockenspiel erhu
Which musical instruments can exactly 3 people perform with
glockenspiel erhu
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:instrument ?e . ?x rdf:type ontology:common_name . ?e rdf:type ontology:musical_instrument } GROUP BY ?e } . FILTER ( ?v = 3 ) }
[]