Simple Question (Direct)
Simple Question
Q5097145
P39
Q12737077
USER
Which occupation was a position held by Chieko Nohno ?
(Q5097145,P39,c(Q12737077))
action filter_type
action find
entity Q5097145
relation P39
type Q12737077
['Q5097145', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q5097145 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
Chieko Nohno
action filter_type
action find
entity Chieko Nohno
relation position held
type occupation
['Chieko Nohno', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Chieko_Nohno property:position_held ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q14552828
SYSTEM
member of the House of Councillors
Q14552828
(Q5097145,P39,c(Q12737077))
action filter_type
action find
entity Q5097145
relation P39
type Q12737077
The [ANSWER] was a position held by Chieko Nohno
['Q5097145', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q5097145 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
member of the House of Councillors
The member of the House of Councillors was a position held by Chieko Nohno
member of the House of Councillors
action filter_type
action find
entity Chieko Nohno
relation position held
type occupation
['Chieko Nohno', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Chieko_Nohno property:position_held ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5097145
P27
Q15617994
USER
Which administrative territory is the native country of Chieko Nohno ?
(Q5097145,P27,c(Q15617994))
action filter_type
action find
entity Q5097145
relation P27
type Q15617994
['Q5097145', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q5097145 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Chieko Nohno
action filter_type
action find
entity Chieko Nohno
relation country of citizenship
type designation for an administrative territorial entity
['Chieko Nohno', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Chieko_Nohno property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q5097145,P27,c(Q15617994))
action filter_type
action find
entity Q5097145
relation P27
type Q15617994
To [ANSWER] is the native country of Chieko Nohno
['Q5097145', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q5097145 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Japan
To Japan is the native country of Chieko Nohno
Japan
action filter_type
action find
entity Chieko Nohno
relation country of citizenship
type designation for an administrative territorial entity
['Chieko Nohno', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Chieko_Nohno property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17
P291
Q2342494
USER
Which collectables were published in that administrative territory ?
(c(Q2342494),P291,Q17)
action filter_type
action find_reverse
entity Q17
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q17']
SELECT DISTINCT ?e WHERE { ?e property:P291 resource:Q17 . ?e rdf:type ontology:Q2342494 }
Japan
action filter_type
action find_reverse
entity Japan
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Japan']
SELECT DISTINCT ?e WHERE { ?e property:place_of_publication resource:Japan . ?e rdf:type ontology:collectable }
[]
collectable
Q1047167 Q1077029 Q1052981
SYSTEM
Kokin Wakashū, Nihon kōki, Nihon Sandai Jitsuroku
Q1047167 Q1077029 Q1052905 Q611399 Q1041301 Q813935 Q1052981 Q813031
(c(Q2342494),P291,Q17)
action filter_type
action find_reverse
entity Q17
relation P291
type Q2342494
[ANSWERS] were published in that administrative territory
[{'concept': 'Q2342494'}, 'P291', 'Q17']
SELECT DISTINCT ?e WHERE { ?e property:P291 resource:Q17 . ?e rdf:type ontology:Q2342494 }
Kokin Wakashū Nihon kōki Nihon Montoku Tennō Jitsuroku Shoku Nihongi Shoku Nihon Kōki Nihon Shoki Nihon Sandai Jitsuroku Kojiki
Kokin Wakashū, Nihon kōki and Nihon Sandai Jitsuroku were published in that administrative territory
Kokin Wakashū Nihon kōki Nihon Sandai Jitsuroku
action filter_type
action find_reverse
entity Japan
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Japan']
SELECT DISTINCT ?e WHERE { ?e property:place_of_publication resource:Japan . ?e rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1047167 Q1077029 Q1052981
P50
Q502895
USER
Who were the writers of Kokin Wakashū, Nihon kōki and Nihon Sandai Jitsuroku ?
(Q1047167,P50,c(Q502895)) (Q1077029,P50,c(Q502895)) (Q1052981,P50,c(Q502895))
action union
action filter_type
action find
entity Q1047167
relation P50
type Q502895
action filter_type
action find
entity Q1077029
relation P50
type Q502895
action filter_type
action find
entity Q1052981
relation P50
type Q502895
['Q1047167', 'P50', {'concept': 'Q502895'}] ['Q1077029', 'P50', {'concept': 'Q502895'}] ['Q1052981', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:Q502895 . resource:Q1047167 property:P50 ?a } UNION { resource:Q1077029 property:P50 ?a . ?a rdf:type ontology:Q502895 } }
Kokin Wakashū Nihon kōki Nihon Sandai Jitsuroku
action union
action filter_type
action find
entity Kokin Wakashū
relation author
type common name
action filter_type
action find
entity Nihon kōki
relation author
type common name
action filter_type
action find
entity Nihon Sandai Jitsuroku
relation author
type common name
['Kokin Wakashū', 'author', {'concept': 'common name'}] ['Nihon kōki', 'author', {'concept': 'common name'}] ['Nihon Sandai Jitsuroku', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:common_name . resource:Kokin_Wakashū property:author ?a } UNION { resource:Nihon_kōki property:author ?a . ?a rdf:type ontology:common_name } }
[]
common name
Q11564071 Q2994735 Q960841
SYSTEM
Minamoto no Tokiwa, Fujiwara no Tokihira, Fujiwara no Yoshifusa
Q1092686 Q1886933 Q385896 Q468288 Q3090651 Q960841 Q11564071 Q2994735 Q382005
(Q1047167,P50,c(Q502895)) (Q1077029,P50,c(Q502895)) (Q1052981,P50,c(Q502895))
action union
action filter_type
action find
entity Q1047167
relation P50
type Q502895
action filter_type
action find
entity Q1077029
relation P50
type Q502895
action filter_type
action find
entity Q1052981
relation P50
type Q502895
The writers of Kokin Wakashū , Nihon kōki and Nihon Sandai Jitsuroku were [ANSWERS]
['Q1047167', 'P50', {'concept': 'Q502895'}] ['Q1077029', 'P50', {'concept': 'Q502895'}] ['Q1052981', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:Q502895 . resource:Q1047167 property:P50 ?a } UNION { resource:Q1077029 property:P50 ?a . ?a rdf:type ontology:Q502895 } }
Ki no Tomonori Mibu no Tadamine Ōshikōchi no Mitsune Ki no Tsurayuki Fujiwara no Otsugu Fujiwara no Yoshifusa Minamoto no Tokiwa Fujiwara no Tokihira Sugawara no Michizane
The writers of Kokin Wakashū , Nihon kōki and Nihon Sandai Jitsuroku were Minamoto no Tokiwa, Fujiwara no Tokihira and Fujiwara no Yoshifusa
Minamoto no Tokiwa Fujiwara no Tokihira Fujiwara no Yoshifusa
action union
action filter_type
action find
entity Kokin Wakashū
relation author
type common name
action filter_type
action find
entity Nihon kōki
relation author
type common name
action filter_type
action find
entity Nihon Sandai Jitsuroku
relation author
type common name
['Kokin Wakashū', 'author', {'concept': 'common name'}] ['Nihon kōki', 'author', {'concept': 'common name'}] ['Nihon Sandai Jitsuroku', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:common_name . resource:Kokin_Wakashū property:author ?a } UNION { resource:Nihon_kōki property:author ?a . ?a rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q11564071 Q2994735 Q960841
P21
Q290
USER
Which sexes do those people have ?
(Q11564071,P21,c(Q290)) (Q2994735,P21,c(Q290)) (Q960841,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q11564071', 'P21', {'concept': 'Q290'}] ['Q2994735', 'P21', {'concept': 'Q290'}] ['Q960841', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?j property:P21 ?x . ?x rdf:type ontology:Q290 . VALUES ( ?j ) { ( resource:Q1092686 ) ( resource:Q1886933 ) ( resource:Q385896 ) } }
Minamoto no Tokiwa Fujiwara no Tokihira Fujiwara no Yoshifusa
action filter_type
action find
entity prev_answer
relation gender
type sex
['Minamoto no Tokiwa', 'gender', {'concept': 'sex'}] ['Fujiwara no Tokihira', 'gender', {'concept': 'sex'}] ['Fujiwara no Yoshifusa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?j property:gender ?x . ?x rdf:type ontology:sex . VALUES ( ?j ) { ( resource:Ki_no_Tomonori ) ( resource:Mibu_no_Tadamine ) ( resource:Ōshikōchi_no_Mitsune ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q11564071,P21,c(Q290)) (Q2994735,P21,c(Q290)) (Q960841,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people have a [ANSWER], [ANSWER] and [ANSWER]
['Q11564071', 'P21', {'concept': 'Q290'}] ['Q2994735', 'P21', {'concept': 'Q290'}] ['Q960841', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?j property:P21 ?x . ?x rdf:type ontology:Q290 . VALUES ( ?j ) { ( resource:Q1092686 ) ( resource:Q1886933 ) ( resource:Q385896 ) } }
male male male
Those people have a male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Minamoto no Tokiwa', 'gender', {'concept': 'sex'}] ['Fujiwara no Tokihira', 'gender', {'concept': 'sex'}] ['Fujiwara no Yoshifusa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?j property:gender ?x . ?x rdf:type ontology:sex . VALUES ( ?j ) { ( resource:Ki_no_Tomonori ) ( resource:Mibu_no_Tadamine ) ( resource:Ōshikōchi_no_Mitsune ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2994735
P9
Q502895
USER
Who are Fujiwara no Tokihira a sibling of ?
(Q2994735,P9,c(Q502895))
action filter_type
action find
entity Q2994735
relation P9
type Q502895
['Q2994735', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q2994735 property:P9 ?h }
Fujiwara no Tokihira
action filter_type
action find
entity Fujiwara no Tokihira
relation sister
type common name
['Fujiwara no Tokihira', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Fujiwara_no_Tokihira property:sister ?h }
[]
common name
Q5507537 Q8765805
SYSTEM
Fujiwara no Onshi, Fujiwara no Onshi
Q5507537 Q8765805
(Q2994735,P9,c(Q502895))
action filter_type
action find
entity Q2994735
relation P9
type Q502895
Sibling of [ANSWERS] of Fujiwara no Tokihira are a
['Q2994735', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q2994735 property:P9 ?h }
Fujiwara no Onshi Fujiwara no Onshi
Sibling of Fujiwara no Onshi and Fujiwara no Onshi of Fujiwara no Tokihira are a
Fujiwara no Onshi Fujiwara no Onshi
action filter_type
action find
entity Fujiwara no Tokihira
relation sister
type common name
['Fujiwara no Tokihira', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Fujiwara_no_Tokihira property:sister ?h }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1810461
P725
Q502895 Q838948
USER
How many works of art had less number of people as the dubbing artist than Springtime with Roo ?
(c(Q838948),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q1810461
relation P725
type Q502895
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?f ) WHERE { ?m property:P725 ?l . ?m rdf:type ontology:Q838948 . ?l rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { resource:Q1810461 property:P725 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?f < ?s ) }
Springtime with Roo
action count
action less
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Springtime with Roo
relation voice actor
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?f ) WHERE { ?m property:voice_actor ?l . ?m rdf:type ontology:work_of_art . ?l rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { resource:Springtime_with_Roo property:voice_actor ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?f < ?s ) }
[]
common name work of art
SYSTEM
5
Q4346544 Q190145 Q4367569 Q4468674 Q4204793
(c(Q838948),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q1810461
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?f ) WHERE { ?m property:P725 ?l . ?m rdf:type ontology:Q838948 . ?l rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { resource:Q1810461 property:P725 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?f < ?s ) }
Passport Spider-Man 2 The Witches Cave To Kill a Dragon History of the Arkanar Massacre
5
action count
action less
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Springtime with Roo
relation voice actor
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?f ) WHERE { ?m property:voice_actor ?l . ?m rdf:type ontology:work_of_art . ?l rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { resource:Springtime_with_Roo property:voice_actor ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?f < ?s ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can around 795 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 795
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { FILTER ( ?i = 795 ) . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?x } }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 795
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { FILTER ( ?i = 795 ) . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?x } }
[]
musical instrument common name
SYSTEM
63
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 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 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 count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 795
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { FILTER ( ?i = 795 ) . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?x } }
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 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 drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
63
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 795
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { FILTER ( ?i = 795 ) . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?x } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P85
Q484692
USER
Which hymn is the anthem for Japan ?
(Q17,P85,c(Q484692))
action filter_type
action find
entity Q17
relation P85
type Q484692
['Q17', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q484692 . resource:Q17 property:P85 ?k }
Japan
action filter_type
action find
entity Japan
relation anthem
type hymn
['Japan', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:hymn . resource:Japan property:anthem ?k }
[]
hymn
Q81534
SYSTEM
Kimi Ga Yo
Q81534
(Q17,P85,c(Q484692))
action filter_type
action find
entity Q17
relation P85
type Q484692
[ANSWER] is the anthem for Japan
['Q17', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q484692 . resource:Q17 property:P85 ?k }
Kimi Ga Yo
Kimi Ga Yo is the anthem for Japan
Kimi Ga Yo
action filter_type
action find
entity Japan
relation anthem
type hymn
['Japan', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:hymn . resource:Japan property:anthem ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do approximately 3409 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3409
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?q = 3409 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3409
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?q = 3409 ) }
[]
musical instrument common name
SYSTEM
3
Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3409
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?q = 3409 ) }
violin organ drum kit
3
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3409
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?q = 3409 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q56061 Q15617994
USER
How many people are the names of the patron saint of atmost 29 administrative territories or administrative territories ?
(c(Q56061)|c(Q15617994),P417,c(Q502895))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
value 29
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { FILTER ( ?i <= 29 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?e WHERE { VALUES ( ?n ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } . ?z rdf:type ?n } GROUP BY ?e } }
action count
action atmost
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
value 29
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { FILTER ( ?i <= 29 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?e WHERE { VALUES ( ?n ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?z rdf:type ?n } GROUP BY ?e } }
[]
common name administrative territorial entity designation for an administrative territorial entity
SYSTEM
318
Q2366998 Q453698 Q561838 Q380092 Q129674 Q229190 Q43945 Q3922154 Q152457 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q328804 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q163900 Q31966 Q170547 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q42887 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q128538 Q37599 Q316599 Q232975 Q183240 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q48438 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q9200 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q192816 Q43982 Q58559 Q179718 Q445357 Q40662 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q43600 Q283447 Q26486 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q151967 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q17590 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q200895 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q56061)|c(Q15617994),P417,c(Q502895))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
value 29
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { FILTER ( ?i <= 29 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?e WHERE { VALUES ( ?n ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } . ?z rdf:type ?n } GROUP BY ?e } }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Catherine of Siena Jude the Apostle Prisco di Nocera Saint Roch Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus John the Evangelist Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Vitus Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Clare of Assisi Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Luke the Evangelist Theodore of Amasea Saint Maurice Anastasia of Sirmium Saint Lucy Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Saint George Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Andrew Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Saint Veronica Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus Paul Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Benedict of Nursia Martha Saint Barbara Bartholomew the Apostle Leo IX Catherine of Alexandria Henry John the Baptist Erasmus of Formiae Cyprian Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Matthew the Apostle Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Zita Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Saint Blaise Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Lawrence of Rome Sigismund of Burgundy Joseph of Arimathea Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Agatha of Sicily Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Jerome Saint Ninian Anthony of Apamea Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
318
action count
action atmost
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
value 29
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { FILTER ( ?i <= 29 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?e WHERE { VALUES ( ?n ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?z rdf:type ?n } GROUP BY ?e } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5507537
P25
Q502895
USER
Which people have Fujiwara no Onshi as a parent ?
(c(Q502895),P25,Q5507537)
action filter_type
action find_reverse
entity Q5507537
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q5507537']
SELECT DISTINCT ?r WHERE { ?r property:P25 resource:Q5507537 . ?r rdf:type ontology:Q502895 }
Fujiwara no Onshi
action filter_type
action find_reverse
entity Fujiwara no Onshi
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Fujiwara no Onshi']
SELECT DISTINCT ?r WHERE { ?r property:mother resource:Fujiwara_no_Onshi . ?r rdf:type ontology:common_name }
[]
common name
Q374015 Q361019 Q11385833
SYSTEM
Murakami, Suzaku, Yasuakira-shinnō
Q361019 Q11486251 Q11385833 Q374015
(c(Q502895),P25,Q5507537)
action filter_type
action find_reverse
entity Q5507537
relation P25
type Q502895
[ANSWERS] have Fujiwara no Onshi as a parent
[{'concept': 'Q502895'}, 'P25', 'Q5507537']
SELECT DISTINCT ?r WHERE { ?r property:P25 resource:Q5507537 . ?r rdf:type ontology:Q502895 }
Suzaku Kōshi-naishinnō Yasuakira-shinnō Murakami
Murakami, Suzaku and Yasuakira-shinnō have Fujiwara no Onshi as a parent
Murakami Suzaku Yasuakira-shinnō
action filter_type
action find_reverse
entity Fujiwara no Onshi
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Fujiwara no Onshi']
SELECT DISTINCT ?r WHERE { ?r property:mother resource:Fujiwara_no_Onshi . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q374015 Q361019 Q11385833
P40
Q502895
USER
Who have those ones as a child ?
(c(Q502895),P40,Q374015) (c(Q502895),P40,Q361019) (c(Q502895),P40,Q11385833)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q374015'] [{'concept': 'Q502895'}, 'P40', 'Q361019'] [{'concept': 'Q502895'}, 'P40', 'Q11385833']
SELECT DISTINCT ?r WHERE { VALUES ( ?t ) { ( resource:Q361019 ) ( resource:Q11486251 ) ( resource:Q11385833 ) } . ?r property:P40 ?t . ?r rdf:type ontology:Q502895 }
Murakami Suzaku Yasuakira-shinnō
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Murakami'] [{'concept': 'common name'}, 'child', 'Suzaku'] [{'concept': 'common name'}, 'child', 'Yasuakira-shinnō']
SELECT DISTINCT ?r WHERE { VALUES ( ?t ) { ( resource:Suzaku ) ( resource:Kōshi-naishinnō ) ( resource:Yasuakira-shinnō ) } . ?r property:child ?t . ?r rdf:type ontology:common_name }
[]
common name
Q329753 Q329753 Q329753
SYSTEM
Daigo
Q329753 Q5507537 Q329753 Q5507537 Q329753 Q5507537
(c(Q502895),P40,Q374015) (c(Q502895),P40,Q361019) (c(Q502895),P40,Q11385833)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWER], [ANSWER] and [ANSWER] have those ones as a child
[{'concept': 'Q502895'}, 'P40', 'Q374015'] [{'concept': 'Q502895'}, 'P40', 'Q361019'] [{'concept': 'Q502895'}, 'P40', 'Q11385833']
SELECT DISTINCT ?r WHERE { VALUES ( ?t ) { ( resource:Q361019 ) ( resource:Q11486251 ) ( resource:Q11385833 ) } . ?r property:P40 ?t . ?r rdf:type ontology:Q502895 }
Daigo Fujiwara no Onshi Daigo Fujiwara no Onshi Daigo Fujiwara no Onshi
Daigo, Daigo and Daigo have those ones as a child
Daigo Daigo Daigo
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Murakami'] [{'concept': 'common name'}, 'child', 'Suzaku'] [{'concept': 'common name'}, 'child', 'Yasuakira-shinnō']
SELECT DISTINCT ?r WHERE { VALUES ( ?t ) { ( resource:Suzaku ) ( resource:Kōshi-naishinnō ) ( resource:Yasuakira-shinnō ) } . ?r property:child ?t . ?r rdf:type ontology:common_name }
[]