Simple Question (Direct)
Simple Question
Q3811380
P641
Q349
USER
What was the sport that Jure Balažič was a part of ?
(Q3811380,P641,c(Q349))
action filter_type
action find
entity Q3811380
relation P641
type Q349
['Q3811380', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . resource:Q3811380 property:P641 ?d }
Jure Balažič
action filter_type
action find
entity Jure Balažič
relation sport
type sport
['Jure Balažič', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . resource:Jure_Balažič property:sport ?d }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q3811380,P641,c(Q349))
action filter_type
action find
entity Q3811380
relation P641
type Q349
The sport that Jure Balažič was a part of was h [ANSWER]
['Q3811380', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . resource:Q3811380 property:P641 ?d }
basketball
The sport that Jure Balažič was a part of was h basketball
basketball
action filter_type
action find
entity Jure Balažič
relation sport
type sport
['Jure Balažič', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . resource:Jure_Balažič property:sport ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3811380
P54
Q12973014
USER
Which sports teams are Jure Balažič a member of ?
(Q3811380,P54,c(Q12973014))
action filter_type
action find
entity Q3811380
relation P54
type Q12973014
['Q3811380', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { resource:Q3811380 property:P54 ?r . ?r rdf:type ontology:Q12973014 }
Jure Balažič
action filter_type
action find
entity Jure Balažič
relation member of sports team
type sports team
['Jure Balažič', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { resource:Jure_Balažič property:member_of_sports_team ?r . ?r rdf:type ontology:sports_team }
[]
sports team
Q2082288 Q656406 Q2819337
SYSTEM
Erdemirspor, KK Zagreb, APOEL B.C.
Q2082288 Q656406 Q2819337 Q955141
(Q3811380,P54,c(Q12973014))
action filter_type
action find
entity Q3811380
relation P54
type Q12973014
[ANSWERS] are Jure Balažič a member of
['Q3811380', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { resource:Q3811380 property:P54 ?r . ?r rdf:type ontology:Q12973014 }
Erdemirspor KK Zagreb APOEL B.C. BC Krka
Erdemirspor, KK Zagreb and APOEL B.C. are Jure Balažič a member of
Erdemirspor KK Zagreb APOEL B.C.
action filter_type
action find
entity Jure Balažič
relation member of sports team
type sports team
['Jure Balažič', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { resource:Jure_Balažič property:member_of_sports_team ?r . ?r rdf:type ontology:sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q519909
Q12973014
USER
And also tell me about Kevin Sinfield?
(Q519909,P54,c(Q12973014))
action filter_type
action find
entity Q519909
relation P54
type Q12973014
['Q519909', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { resource:Q519909 property:P54 ?x . ?x rdf:type ontology:Q12973014 }
Kevin Sinfield
action filter_type
action find
entity Kevin Sinfield
relation member of sports team
type sports team
['Kevin Sinfield', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { resource:Kevin_Sinfield property:member_of_sports_team ?x . ?x rdf:type ontology:sports_team }
[]
sports team
Q3590223 Q3589698
SYSTEM
Great Britain national rugby league team, England national rugby league team
Q3590223 Q3589698
(Q519909,P54,c(Q12973014))
action filter_type
action find
entity Q519909
relation P54
type Q12973014
[ANSWERS]
['Q519909', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { resource:Q519909 property:P54 ?x . ?x rdf:type ontology:Q12973014 }
Great Britain national rugby league team England national rugby league team
Great Britain national rugby league team England national rugby league team
action filter_type
action find
entity Kevin Sinfield
relation member of sports team
type sports team
['Kevin Sinfield', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { resource:Kevin_Sinfield property:member_of_sports_team ?x . ?x rdf:type ontology:sports_team }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P110
Q502895 Q26971562 Q2342494
USER
Which people illustrated max number of comic formats and collectables ?
(c(Q26971562)|c(Q2342494),P110,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
[[{'concept': 'Q26971562'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?z ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?r ) WHERE { ?f rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q26971562 ) } } GROUP BY ?j } } . FILTER ( ?x = ?z ) . { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?x ) WHERE { { ?a property:P110 ?b . ?b rdf:type ontology:Q502895 . ?a rdf:type ontology:Q26971562 } UNION { ?a rdf:type ontology:Q2342494 . ?b rdf:type ontology:Q502895 . ?a property:P110 ?b } } GROUP BY ?b } }
action argmax
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
[[{'concept': 'comic format'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?z ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?r ) WHERE { ?f rdf:type ?o . VALUES ( ?o ) { ( ontology:collectable ) ( ontology:comic_format ) } } GROUP BY ?j } } . FILTER ( ?x = ?z ) . { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?x ) WHERE { { ?a property:illustrator ?b . ?b rdf:type ontology:common_name . ?a rdf:type ontology:comic_format } UNION { ?a rdf:type ontology:collectable . ?b rdf:type ontology:common_name . ?a property:illustrator ?b } } GROUP BY ?b } }
[]
common name comic format collectable
Q2831042
SYSTEM
Albert Chazelle
Q2831042
(c(Q26971562)|c(Q2342494),P110,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
[ANSWER] illustrated max number of comic formats and collectables
[[{'concept': 'Q26971562'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?z ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?r ) WHERE { ?f rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q26971562 ) } } GROUP BY ?j } } . FILTER ( ?x = ?z ) . { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?x ) WHERE { { ?a property:P110 ?b . ?b rdf:type ontology:Q502895 . ?a rdf:type ontology:Q26971562 } UNION { ?a rdf:type ontology:Q2342494 . ?b rdf:type ontology:Q502895 . ?a property:P110 ?b } } GROUP BY ?b } }
Albert Chazelle
Albert Chazelle illustrated max number of comic formats and collectables
Albert Chazelle
action argmax
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
[[{'concept': 'comic format'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?z ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?r ) WHERE { ?f rdf:type ?o . VALUES ( ?o ) { ( ontology:collectable ) ( ontology:comic_format ) } } GROUP BY ?j } } . FILTER ( ?x = ?z ) . { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?x ) WHERE { { ?a property:illustrator ?b . ?b rdf:type ontology:common_name . ?a rdf:type ontology:comic_format } UNION { ?a rdf:type ontology:collectable . ?b rdf:type ontology:common_name . ?a property:illustrator ?b } } GROUP BY ?b } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2831042 Q665777 Q142
P27
Q15617994
USER
Is Albert Chazelle a civilian of Westhausen and France ?
(Q2831042,P27,Q665777) (Q2831042,P27,Q142)
action is_in
entity Q2831042
action intersection
action find_reverse
entity Q665777
relation P27
action find_reverse
entity Q142
relation P27
['Q2831042', 'P27', 'Q665777'] ['Q2831042', 'P27', 'Q142']
ASK WHERE { resource:Q2831042 property:P27 resource:Q665777 . resource:Q2831042 property:P27 resource:Q142 }
Albert Chazelle Westhausen France
action is_in
entity Albert Chazelle
action intersection
action find_reverse
entity Westhausen
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
['Albert Chazelle', 'country of citizenship', 'Westhausen'] ['Albert Chazelle', 'country of citizenship', 'France']
ASK WHERE { resource:Albert_Chazelle property:country_of_citizenship resource:Westhausen . resource:Albert_Chazelle property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q2831042,P27,Q665777) (Q2831042,P27,Q142)
action is_in
entity Q2831042
action intersection
action find_reverse
entity Q665777
relation P27
action find_reverse
entity Q142
relation P27
[ANSWER]
['Q2831042', 'P27', 'Q665777'] ['Q2831042', 'P27', 'Q142']
ASK WHERE { resource:Q2831042 property:P27 resource:Q665777 . resource:Q2831042 property:P27 resource:Q142 }
NO and YES respectively
action is_in
entity Albert Chazelle
action intersection
action find_reverse
entity Westhausen
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
['Albert Chazelle', 'country of citizenship', 'Westhausen'] ['Albert Chazelle', 'country of citizenship', 'France']
ASK WHERE { resource:Albert_Chazelle property:country_of_citizenship resource:Westhausen . resource:Albert_Chazelle property:country_of_citizenship resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2831042 Q1057172
P110
Q2342494
USER
How many collectables had an illustration done by Albert Chazelle or fantasy literature ?
(c(Q2342494),P110,Q2831042) (c(Q2342494),P110,Q1057172)
action count
action union
action filter_type
action find_reverse
entity Q2831042
relation P110
type Q2342494
action filter_type
action find_reverse
entity Q1057172
relation P110
type Q2342494
[{'concept': 'Q2342494'}, 'P110', 'Q2831042'] [{'concept': 'Q2342494'}, 'P110', 'Q1057172']
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { { ?p property:P110 resource:Q2831042 . ?p rdf:type ontology:Q2342494 } UNION { ?p property:P110 resource:Q1057172 . ?p rdf:type ontology:Q2342494 } }
Albert Chazelle fantasy literature
action count
action union
action filter_type
action find_reverse
entity Albert Chazelle
relation illustrator
type collectable
action filter_type
action find_reverse
entity fantasy literature
relation illustrator
type collectable
[{'concept': 'collectable'}, 'illustrator', 'Albert Chazelle'] [{'concept': 'collectable'}, 'illustrator', 'fantasy literature']
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { { ?p property:illustrator resource:Albert_Chazelle . ?p rdf:type ontology:collectable } UNION { ?p property:illustrator resource:fantasy_literature . ?p rdf:type ontology:collectable } }
[]
collectable
SYSTEM
43
Q7726502 Q7726504 Q7728149 Q7759061 Q7752904 Q7739025 Q7765842 Q7752910 Q7723545 Q7723544 Q7723542 Q2836695 Q7751136 Q2836696 Q7760816 Q7752878 Q2836694 Q7726508 Q2836717 Q7736318 Q7739568 Q2836719 Q3793676 Q7763163 Q7763121 Q7774440 Q7752900 Q7723550 Q7723538 Q7723539 Q7762452 Q7756854 Q8199988 Q3794610 Q7752847 Q2836721 Q2836720 Q7775282 Q3412860 Q482740 Q7752196 Q3814670 Q7739000
(c(Q2342494),P110,Q2831042) (c(Q2342494),P110,Q1057172)
action count
action union
action filter_type
action find_reverse
entity Q2831042
relation P110
type Q2342494
action filter_type
action find_reverse
entity Q1057172
relation P110
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P110', 'Q2831042'] [{'concept': 'Q2342494'}, 'P110', 'Q1057172']
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { { ?p property:P110 resource:Q2831042 . ?p rdf:type ontology:Q2342494 } UNION { ?p property:P110 resource:Q1057172 . ?p rdf:type ontology:Q2342494 } }
The Clue of the Velvet Mask The Clue of the Whistling Bagpipes The Crooked Banister The Quest of the Missing Map The Mystery of the Brass Bound Trunk The Haunted Showboat The Spider Sapphire Mystery The Mystery of the Fire Dragon The Clue of the Black Keys The Clue in the Old Stagecoach The Clue in the Jewel Box The Hidden Staircase The Message in the Hollow Oak The Secret at Shadow Ranch The Ringmaster's Secret The Mystery at the Ski Jump The Bungalow Mystery The Clue of the Tapping Heels The Sign of the Twisted Candles The Ghost of Blackwood Hall The Hidden Window Mystery The Mystery of the Tolling Bell The Password to Larkspur Lane The Secret of the Golden Pavilion The Secret in the Old Attic The Whispering Statue The Mystery of the 99 Steps The Clue of the Leaning Chimney The Clue in the Crossword Cipher The Clue in the Crumbling Wall The Scarlet Slipper Mystery The Phantom of Pine Hill The Clue in the Diary The Clue of the Broken Locket The Mysterious Mannequin The Secret of Red Gate Farm The Mystery at Lilac Inn The Witch Tree Symbol Nancy's Mysterious Letter Dragon Raja The Moonstone Castle Mystery The Mystery of the Ivory Charm The Haunted Bridge
43
action count
action union
action filter_type
action find_reverse
entity Albert Chazelle
relation illustrator
type collectable
action filter_type
action find_reverse
entity fantasy literature
relation illustrator
type collectable
[{'concept': 'collectable'}, 'illustrator', 'Albert Chazelle'] [{'concept': 'collectable'}, 'illustrator', 'fantasy literature']
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { { ?p property:illustrator resource:Albert_Chazelle . ?p rdf:type ontology:collectable } UNION { ?p property:illustrator resource:fantasy_literature . ?p rdf:type ontology:collectable } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q726306
P1303
Q34379 Q502895
USER
How many musical instruments can more number of people perform with than erhu ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q726306
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Q726306 property:P1303 ?k . ?k rdf:type ontology:Q34379 } } . FILTER ( ?i > ?f ) }
erhu
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity erhu
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:erhu property:instrument ?k . ?k rdf:type ontology:musical_instrument } } . FILTER ( ?i > ?f ) }
[]
musical instrument common name
SYSTEM
20
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q742180 Q1444 Q220971 Q128309 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q726306
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:Q726306 property:P1303 ?k . ?k rdf:type ontology:Q34379 } } . FILTER ( ?i > ?f ) }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla viola d'amore organ marimba drum kit electronic keyboard drum
20
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity erhu
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { resource:erhu property:instrument ?k . ?k rdf:type ontology:musical_instrument } } . FILTER ( ?i > ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1129422
P1303
Q34379 Q502895
USER
And how about morin khuur?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1129422
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?j ) WHERE { ?b property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?j > ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { resource:Q1129422 property:P1303 ?o . ?o rdf:type ontology:Q34379 } } }
morin khuur
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity morin khuur
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?j ) WHERE { ?b property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?j > ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { resource:morin_khuur property:instrument ?o . ?o rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1129422
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?j ) WHERE { ?b property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?j > ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { resource:Q1129422 property:P1303 ?o . ?o rdf:type ontology:Q34379 } } }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity morin khuur
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?j ) WHERE { ?b property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?j > ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { resource:morin_khuur property:instrument ?o . ?o rdf:type ontology:musical_instrument } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q3084961 Q8205328
USER
Which sports are recognized as the main use of atleast 1 product linings or artefacts ?
(c(Q3084961)|c(Q8205328),P366,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
value 1
[[{'concept': 'Q3084961'}, {'concept': 'Q8205328'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?n ) WHERE { { ?x rdf:type ontology:Q349 . ?j rdf:type ontology:Q8205328 . ?j property:P366 ?x } UNION { ?j property:P366 ?x . ?x rdf:type ontology:Q349 . ?j rdf:type ontology:Q3084961 } } GROUP BY ?x } . FILTER ( ?n >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type artefact
value 1
[[{'concept': 'product lining'}, {'concept': 'artefact'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?n ) WHERE { { ?x rdf:type ontology:sport . ?j rdf:type ontology:artefact . ?j property:use ?x } UNION { ?j property:use ?x . ?x rdf:type ontology:sport . ?j rdf:type ontology:product_lining } } GROUP BY ?x } . FILTER ( ?n >= 1 ) }
[]
sport product lining artefact
Q14300548 Q1875777 Q108429
SYSTEM
skating, air racing, archery
Q14300548 Q1875777 Q108429
(c(Q3084961)|c(Q8205328),P366,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
value 1
[ANSWERS] are recognized as the main use of atleast 1 product linings or artefacts
[[{'concept': 'Q3084961'}, {'concept': 'Q8205328'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?n ) WHERE { { ?x rdf:type ontology:Q349 . ?j rdf:type ontology:Q8205328 . ?j property:P366 ?x } UNION { ?j property:P366 ?x . ?x rdf:type ontology:Q349 . ?j rdf:type ontology:Q3084961 } } GROUP BY ?x } . FILTER ( ?n >= 1 ) }
skating air racing archery
Skating, air racing and archery are recognized as the main use of atleast 1 product linings or artefacts
skating air racing archery
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type artefact
value 1
[[{'concept': 'product lining'}, {'concept': 'artefact'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?n ) WHERE { { ?x rdf:type ontology:sport . ?j rdf:type ontology:artefact . ?j property:use ?x } UNION { ?j property:use ?x . ?x rdf:type ontology:sport . ?j rdf:type ontology:product_lining } } GROUP BY ?x } . FILTER ( ?n >= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P3091
Q3745054 Q502895 Q502895
USER
Which people use max number of horse breeds and people as steed ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action argmax
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?e WHERE { { ?e property:P3091 ?i . ?e rdf:type ontology:Q502895 . ?i rdf:type ontology:Q3745054 } UNION { ?e property:P3091 ?i . ?e rdf:type ontology:Q502895 . ?i rdf:type ontology:Q502895 } } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?a WHERE { { ?a rdf:type ontology:Q502895 . ?u rdf:type ontology:Q3745054 . ?a property:P3091 ?u } UNION { ?a property:P3091 ?u . ?u rdf:type ontology:Q502895 . ?a rdf:type ontology:Q502895 } } GROUP BY ?a } . FILTER ( ?f = ?t ) }
action argmax
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?e WHERE { { ?e property:mount ?i . ?e rdf:type ontology:common_name . ?i rdf:type ontology:horse_breed } UNION { ?e property:mount ?i . ?e rdf:type ontology:common_name . ?i rdf:type ontology:common_name } } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?a WHERE { { ?a rdf:type ontology:common_name . ?u rdf:type ontology:horse_breed . ?a property:mount ?u } UNION { ?a property:mount ?u . ?u rdf:type ontology:common_name . ?a rdf:type ontology:common_name } } GROUP BY ?a } . FILTER ( ?f = ?t ) }
[]
horse breed common name common name
Q724288
SYSTEM
Rodrigo Pessoa
Q724288
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action argmax
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
[ANSWER] use max number of horse breeds and people as steed
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?e WHERE { { ?e property:P3091 ?i . ?e rdf:type ontology:Q502895 . ?i rdf:type ontology:Q3745054 } UNION { ?e property:P3091 ?i . ?e rdf:type ontology:Q502895 . ?i rdf:type ontology:Q502895 } } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?a WHERE { { ?a rdf:type ontology:Q502895 . ?u rdf:type ontology:Q3745054 . ?a property:P3091 ?u } UNION { ?a property:P3091 ?u . ?u rdf:type ontology:Q502895 . ?a rdf:type ontology:Q502895 } } GROUP BY ?a } . FILTER ( ?f = ?t ) }
Rodrigo Pessoa
Rodrigo Pessoa use max number of horse breeds and people as steed
Rodrigo Pessoa
action argmax
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?e WHERE { { ?e property:mount ?i . ?e rdf:type ontology:common_name . ?i rdf:type ontology:horse_breed } UNION { ?e property:mount ?i . ?e rdf:type ontology:common_name . ?i rdf:type ontology:common_name } } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?a WHERE { { ?a rdf:type ontology:common_name . ?u rdf:type ontology:horse_breed . ?a property:mount ?u } UNION { ?a property:mount ?u . ?u rdf:type ontology:common_name . ?a rdf:type ontology:common_name } } GROUP BY ?a } . FILTER ( ?f = ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by around 2808 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2808
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:P1303 ?g . ?h rdf:type ontology:Q502895 . ?g rdf:type ontology:Q34379 } GROUP BY ?g } . FILTER ( ?s = 2808 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2808
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:instrument ?g . ?h rdf:type ontology:common_name . ?g rdf:type ontology:musical_instrument } GROUP BY ?g } . FILTER ( ?s = 2808 ) }
[]
musical instrument common name
SYSTEM
4
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2808
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:P1303 ?g . ?h rdf:type ontology:Q502895 . ?g rdf:type ontology:Q34379 } GROUP BY ?g } . FILTER ( ?s = 2808 ) }
bass guitar trumpet organ drum kit
4
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2808
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:instrument ?g . ?h rdf:type ontology:common_name . ?g rdf:type ontology:musical_instrument } GROUP BY ?g } . FILTER ( ?s = 2808 ) }
[]