Simple Question (Direct)
Simple Question
Q8017311
P102
Q7210356
USER
Which party does William R. Wilcox belong to ?
(Q8017311,P102,c(Q7210356))
action filter_type
action find
entity Q8017311
relation P102
type Q7210356
['Q8017311', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q8017311 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
William R. Wilcox
action filter_type
action find
entity William R. Wilcox
relation member of political party
type political organization
['William R. Wilcox', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:William_R._Wilcox property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q8017311,P102,c(Q7210356))
action filter_type
action find
entity Q8017311
relation P102
type Q7210356
William R. Wilcox belongs to the [ANSWER]
['Q8017311', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q8017311 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Republican Party
William R. Wilcox belongs to the Republican Party
Republican Party
action filter_type
action find
entity William R. Wilcox
relation member of political party
type political organization
['William R. Wilcox', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:William_R._Wilcox property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29468
P463
Q502895
USER
Which person has a membership of that political organization ?
(c(Q502895),P463,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q29468']
SELECT DISTINCT ?c WHERE { ?c property:P463 resource:Q29468 . ?c rdf:type ontology:Q502895 }
Republican Party
action filter_type
action find_reverse
entity Republican Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Republican Party']
SELECT DISTINCT ?c WHERE { ?c property:member_of resource:Republican_Party . ?c rdf:type ontology:common_name }
[]
common name
Q2522486
SYSTEM
Victor Murdock
Q2522486
(c(Q502895),P463,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P463
type Q502895
[ANSWER] has a membership of that political organization
[{'concept': 'Q502895'}, 'P463', 'Q29468']
SELECT DISTINCT ?c WHERE { ?c property:P463 resource:Q29468 . ?c rdf:type ontology:Q502895 }
Victor Murdock
Victor Murdock has a membership of that political organization
Victor Murdock
action filter_type
action find_reverse
entity Republican Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Republican Party']
SELECT DISTINCT ?c WHERE { ?c property:member_of resource:Republican_Party . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29468
P710
Q40231
USER
What event was that political organization a participant of ?
(c(Q40231),P710,Q2522486)
action filter_type
action find_reverse
entity Q29468
relation P710
type Q40231
[{'concept': 'Q40231'}, 'P710', 'Q2522486']
SELECT DISTINCT ?g WHERE { ?g property:P710 resource:Q29468 . ?g rdf:type ontology:Q40231 }
Republican Party
action filter_type
action find_reverse
entity Republican Party
relation participant
type election
[{'concept': 'election'}, 'participant', 'Victor Murdock']
SELECT DISTINCT ?g WHERE { ?g property:participant resource:Republican_Party . ?g rdf:type ontology:election }
[]
election
Q17092711
SYSTEM
Republican Party presidential primaries, 2016
Q17092711
(c(Q40231),P710,Q2522486)
action filter_type
action find_reverse
entity Q29468
relation P710
type Q40231
What event was that political organization a participant of
[{'concept': 'Q40231'}, 'P710', 'Q2522486']
SELECT DISTINCT ?g WHERE { ?g property:P710 resource:Q29468 . ?g rdf:type ontology:Q40231 }
Republican Party presidential primaries, 2016
What event was that political organization a participant of
Republican Party presidential primaries, 2016
action filter_type
action find_reverse
entity Republican Party
relation participant
type election
[{'concept': 'election'}, 'participant', 'Victor Murdock']
SELECT DISTINCT ?g WHERE { ?g property:participant resource:Republican_Party . ?g rdf:type ontology:election }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P248
Q11032 Q2342494 Q502895
USER
How many people have been referred in approximately 1 newspapers and collectables ?
(c(Q502895),P248,c(Q11032)|c(Q2342494))
action count
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q11032
action find_tuple_counts
relation P248
type Q502895
type Q2342494
value 1
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q11032'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?n ) WHERE { { ?f property:P248 ?k . ?f rdf:type ontology:Q502895 . ?k rdf:type ontology:Q11032 } UNION { ?f property:P248 ?k . ?f rdf:type ontology:Q502895 . ?k rdf:type ontology:Q2342494 } } GROUP BY ?f } . FILTER ( ?n = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation stated in
type common name
type newspaper
action find_tuple_counts
relation stated in
type common name
type collectable
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'newspaper'}, {'concept': 'collectable'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?n ) WHERE { { ?f property:stated_in ?k . ?f rdf:type ontology:common_name . ?k rdf:type ontology:newspaper } UNION { ?f property:stated_in ?k . ?f rdf:type ontology:common_name . ?k rdf:type ontology:collectable } } GROUP BY ?f } . FILTER ( ?n = 1 ) }
[]
newspaper collectable common name
SYSTEM
33
Q7342716 Q6237321 Q16859511 Q6249889 Q6249883 Q6236088 Q9069823 Q22936292 Q6255172 Q7351128 Q16908903 Q8018837 Q6145020 Q15990337 Q16850547 Q6262713 Q8020385 Q5239881 Q8019902 Q15637844 Q15452052 Q5537315 Q5233457 Q6239258 Q8020394 Q8020390 Q5241196 Q6257915 Q5233462 Q9311159 Q6246961 Q8020402 Q15990004
(c(Q502895),P248,c(Q11032)|c(Q2342494))
action count
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q11032
action find_tuple_counts
relation P248
type Q502895
type Q2342494
value 1
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q11032'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?n ) WHERE { { ?f property:P248 ?k . ?f rdf:type ontology:Q502895 . ?k rdf:type ontology:Q11032 } UNION { ?f property:P248 ?k . ?f rdf:type ontology:Q502895 . ?k rdf:type ontology:Q2342494 } } GROUP BY ?f } . FILTER ( ?n = 1 ) }
Robert Campbell John Hall John Robinson John Murphy John Murphy John Gray Robert Williams Gilles De Haes John Roberts Robert Williams William Walker William Stewart James Walker James Walker John Martin John Walker William Williams David Smith William Walker David Smith John Rogers George Brown David Evans John Hill William Williams William Williams David Wilson John Simpson David Evans Robert Williams John Martin William Williams John Gray
33
action count
action approx
action union
action find_tuple_counts
relation stated in
type common name
type newspaper
action find_tuple_counts
relation stated in
type common name
type collectable
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'newspaper'}, {'concept': 'collectable'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?n ) WHERE { { ?f property:stated_in ?k . ?f rdf:type ontology:common_name . ?k rdf:type ontology:newspaper } UNION { ?f property:stated_in ?k . ?f rdf:type ontology:common_name . ?k rdf:type ontology:collectable } } GROUP BY ?f } . FILTER ( ?n = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29468 Q13033799
P921
Q191067
USER
How many articles are Republican Party or March equinox a main subject of ?
(c(Q191067),P921,Q29468) (c(Q191067),P921,Q13033799)
action count
action union
action filter_type
action find_reverse
entity Q29468
relation P921
type Q191067
action filter_type
action find_reverse
entity Q13033799
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q29468'] [{'concept': 'Q191067'}, 'P921', 'Q13033799']
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { VALUES ( ?i ) { ( resource:Q29468 ) ( resource:Q13033799 ) } . ?v property:P921 ?i }
Republican Party March equinox
action count
action union
action filter_type
action find_reverse
entity Republican Party
relation main subject
type article
action filter_type
action find_reverse
entity March equinox
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Republican Party'] [{'concept': 'article'}, 'main subject', 'March equinox']
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { VALUES ( ?i ) { ( resource:Republican_Party ) ( resource:March_equinox ) } . ?v property:main_subject ?i }
[]
article
SYSTEM
2
Q24360804 Q24795789
(c(Q191067),P921,Q29468) (c(Q191067),P921,Q13033799)
action count
action union
action filter_type
action find_reverse
entity Q29468
relation P921
type Q191067
action filter_type
action find_reverse
entity Q13033799
relation P921
type Q191067
[ANSWER]
[{'concept': 'Q191067'}, 'P921', 'Q29468'] [{'concept': 'Q191067'}, 'P921', 'Q13033799']
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { VALUES ( ?i ) { ( resource:Q29468 ) ( resource:Q13033799 ) } . ?v property:P921 ?i }
spring equinox spring equinox
2
action count
action union
action filter_type
action find_reverse
entity Republican Party
relation main subject
type article
action filter_type
action find_reverse
entity March equinox
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Republican Party'] [{'concept': 'article'}, 'main subject', 'March equinox']
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { VALUES ( ?i ) { ( resource:Republican_Party ) ( resource:March_equinox ) } . ?v property:main_subject ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q95074
USER
How many fictional characters did atleast 2 people do the dubbing for ?
(c(Q95074),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 2
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?x ) WHERE { ?n property:P725 ?f . ?n rdf:type ontology:Q95074 . ?f rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?x >= 2 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 2
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?x ) WHERE { ?n property:voice_actor ?f . ?n rdf:type ontology:fictional_character . ?f rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?x >= 2 ) }
[]
common name fictional character
SYSTEM
26
Q16027672 Q21837832 Q21847058 Q21847115 Q15710873 Q21847074 Q21837038 Q2570349 Q21847089 Q21847086 Q11623287 Q17349786 Q21847215 Q3256697 Q21837905 Q21837397 Q1621656 Q2544561 Q21837021 Q21837027 Q1984009 Q21847105 Q3471289 Q21847103 Q12400 Q2340460
(c(Q95074),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 2
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?x ) WHERE { ?n property:P725 ?f . ?n rdf:type ontology:Q95074 . ?f rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?x >= 2 ) }
Dr. Stewart Kyōichi Sudō Yūichi Tachibana Fumihiro Princess Celestia Kōichirō Iketani Keisuke Takahashi Spike Spiegel Kenji Natsuki Mogi Takumi Fujiwara Shulk Seiji Iwaki Little Mac Itsuki Takeuchi Takeshi Nakazato Solid Snake Ike Bunta Fujiwara Ryōsuke Takahashi Death Kenta Nakamura Samurai Goroh Shingo Shōji Samus Aran Captain Falcon
26
action count
action atleast
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 2
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?x ) WHERE { ?n property:voice_actor ?f . ?n rdf:type ontology:fictional_character . ?f rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?x >= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q166142
USER
Which applications had max number of people as the dubbing artist ?
(c(Q166142),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q166142
type Q502895
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?m ) { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?k ) WHERE { ?t rdf:type ontology:Q166142 . ?i rdf:type ontology:Q502895 . ?t property:P725 ?i } GROUP BY ?t } } . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?s ) WHERE { ?j property:P725 ?f . ?f rdf:type ontology:Q502895 . ?j rdf:type ontology:Q166142 } GROUP BY ?j } . FILTER ( ?s = ?m ) }
action argmax
action find_tuple_counts
relation voice actor
type application
type common name
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?m ) { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?k ) WHERE { ?t rdf:type ontology:application . ?i rdf:type ontology:common_name . ?t property:voice_actor ?i } GROUP BY ?t } } . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?s ) WHERE { ?j property:voice_actor ?f . ?f rdf:type ontology:common_name . ?j rdf:type ontology:application } GROUP BY ?j } . FILTER ( ?s = ?m ) }
[]
common name application
Q843131
SYSTEM
Super Smash Bros. Brawl
Q843131
(c(Q166142),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q166142
type Q502895
[ANSWER] had max number of people as the dubbing artist
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?m ) { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?k ) WHERE { ?t rdf:type ontology:Q166142 . ?i rdf:type ontology:Q502895 . ?t property:P725 ?i } GROUP BY ?t } } . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?s ) WHERE { ?j property:P725 ?f . ?f rdf:type ontology:Q502895 . ?j rdf:type ontology:Q166142 } GROUP BY ?j } . FILTER ( ?s = ?m ) }
Super Smash Bros. Brawl
Super Smash Bros. Brawl had max number of people as the dubbing artist
Super Smash Bros. Brawl
action argmax
action find_tuple_counts
relation voice actor
type application
type common name
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?m ) { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?k ) WHERE { ?t rdf:type ontology:application . ?i rdf:type ontology:common_name . ?t property:voice_actor ?i } GROUP BY ?t } } . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?s ) WHERE { ?j property:voice_actor ?f . ?f rdf:type ontology:common_name . ?j rdf:type ontology:application } GROUP BY ?j } . FILTER ( ?s = ?m ) }
[]