Simple Question (Direct)
Simple Question
Q7976296
P106
Q12737077
USER
Which occupation is the profession of Wayne Hammond ?
(Q7976296,P106,c(Q12737077))
action filter_type
action find
entity Q7976296
relation P106
type Q12737077
['Q7976296', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q7976296 property:P106 ?v }
Wayne Hammond
action filter_type
action find
entity Wayne Hammond
relation occupation
type occupation
['Wayne Hammond', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Wayne_Hammond property:occupation ?v }
[]
occupation
Q10843263
SYSTEM
field hockey player
Q10843263
(Q7976296,P106,c(Q12737077))
action filter_type
action find
entity Q7976296
relation P106
type Q12737077
[ANSWER]
['Q7976296', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q7976296 property:P106 ?v }
field hockey player
field hockey player
action filter_type
action find
entity Wayne Hammond
relation occupation
type occupation
['Wayne Hammond', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Wayne_Hammond property:occupation ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7976296
P641
Q349
USER
Which sport was Wayne Hammond a part of ?
(Q7976296,P641,c(Q349))
action filter_type
action find
entity Q7976296
relation P641
type Q349
['Q7976296', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q7976296 property:P641 ?d . ?d rdf:type ontology:Q349 }
Wayne Hammond
action filter_type
action find
entity Wayne Hammond
relation sport
type sport
['Wayne Hammond', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Wayne_Hammond property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q1455
SYSTEM
field hockey
Q1455
(Q7976296,P641,c(Q349))
action filter_type
action find
entity Q7976296
relation P641
type Q349
[ANSWER]
['Q7976296', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q7976296 property:P641 ?d . ?d rdf:type ontology:Q349 }
field hockey
field hockey
action filter_type
action find
entity Wayne Hammond
relation sport
type sport
['Wayne Hammond', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Wayne_Hammond property:sport ?d . ?d rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2330103
Q349
USER
And how about Willy Senders?
(Q2330103,P641,c(Q349))
action filter_type
action find
entity Q2330103
relation P641
type Q349
['Q2330103', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q2330103 property:P641 ?p . ?p rdf:type ontology:Q349 }
Willy Senders
action filter_type
action find
entity Willy Senders
relation sport
type sport
['Willy Senders', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Willy_Senders property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2330103,P641,c(Q349))
action filter_type
action find
entity Q2330103
relation P641
type Q349
[ANSWER]
['Q2330103', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q2330103 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Willy Senders
relation sport
type sport
['Willy Senders', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Willy_Senders property:sport ?p . ?p rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2348250
P641
Q349 Q18608583 Q502895
USER
How many sports did more number of recurring sporting events and people participate in than team time trial ?
(c(Q18608583)|c(Q502895),P641,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q2348250
relation P641
type Q18608583
type Q502895
[[{'concept': 'Q18608583'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:P641 ?j . ?j rdf:type ontology:Q349 . ?r rdf:type ontology:Q502895 } UNION { ?r property:P641 ?j . ?j rdf:type ontology:Q349 . ?r rdf:type ontology:Q18608583 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P641 resource:Q2348250 . { VALUES ( ?n ) { ( ontology:Q18608583 ) ( ontology:Q502895 ) } . ?l rdf:type ?n } } } . FILTER ( ?v > ?c ) }
team time trial
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity team time trial
relation sport
type recurring sporting event
type common name
[[{'concept': 'recurring sporting event'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:sport ?j . ?j rdf:type ontology:sport . ?r rdf:type ontology:common_name } UNION { ?r property:sport ?j . ?j rdf:type ontology:sport . ?r rdf:type ontology:recurring_sporting_event } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:sport resource:team_time_trial . { VALUES ( ?n ) { ( ontology:recurring_sporting_event ) ( ontology:common_name ) } . ?l rdf:type ?n } } } . FILTER ( ?v > ?c ) }
[]
sport recurring sporting event common name
SYSTEM
137
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q3337306 Q7707 Q108429 Q171038 Q191051 Q17163326 Q1575010 Q206763 Q133201 Q847 Q902378 Q1761866 Q1148620 Q46241 Q83462 Q3372565 Q208607 Q961015 Q328716 Q131359 Q22857 Q657196 Q11420 Q41323 Q7291 Q738622 Q136851 Q7856 Q599204 Q5372 Q5375 Q5377 Q206989 Q5369 Q690676 Q8418 Q31897 Q74542 Q1758324 Q1457676 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q41466 Q850256 Q204632 Q627165 Q393808 Q213796 Q182570 Q989473 Q1194269 Q2497700 Q105674 Q215862 Q212845 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q2284014 Q221635 Q2413978 Q13108218 Q4851143 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q624161 Q327742 Q213711 Q271277 Q376040 Q5465793 Q3930 Q797108 Q963312 Q130949 Q2360406 Q20856109 Q16996906 Q213934 Q838781 Q26787631 Q201965 Q647559 Q1541373 Q606060 Q1150656 Q134211 Q1734 Q31920 Q6140386 Q207703 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q2736 Q178678 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q18608583)|c(Q502895),P641,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q2348250
relation P641
type Q18608583
type Q502895
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:P641 ?j . ?j rdf:type ontology:Q349 . ?r rdf:type ontology:Q502895 } UNION { ?r property:P641 ?j . ?j rdf:type ontology:Q349 . ?r rdf:type ontology:Q18608583 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P641 resource:Q2348250 . { VALUES ( ?n ) { ( ontology:Q18608583 ) ( ontology:Q502895 ) } . ?l rdf:type ?n } } } . FILTER ( ?v > ?c ) }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running yachting water polo archery softball windsurfing motorcycle racing para rowing floorball squash tennis equestrian sport puroresu Finswimming drag racing weightlifting Kettlebell lifting kung fu women's boxing motorcycle sport professional wrestling climbing medley swimming judo American football badminton dancesport curling rallying rallycross basketball cricket golf shooting sport baseball canoe polo handball natural track luge para-alpine skiing stock car racing rackets tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque ice hockey shinty Gaelic football Harri-jasotze Dog agility powerlifting discus throw international draughts harness racing Aizkolaritza running motocross Basque pelota paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training Contact sport track cycling paralympic swimming gymnastics balkline and straight rail field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse gliding relay race hurling Savate wakeboarding CP football table tennis jeu de paume Sledge hockey skiing real tennis canoeing Indoor American football canoeing and kayaking eventing K-1 Nordic combined Goalball sport climbing women's association football wheelchair curling polo volleyball swimming Kitō-ryū rodeo speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing association football kick boxing Kalari surfing combined track and field events cue sports beach soccer Kart racing winter sport pallone bodybuilding wheelchair fencing Duathlon
137
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity team time trial
relation sport
type recurring sporting event
type common name
[[{'concept': 'recurring sporting event'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:sport ?j . ?j rdf:type ontology:sport . ?r rdf:type ontology:common_name } UNION { ?r property:sport ?j . ?j rdf:type ontology:sport . ?r rdf:type ontology:recurring_sporting_event } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:sport resource:team_time_trial . { VALUES ( ?n ) { ( ontology:recurring_sporting_event ) ( ontology:common_name ) } . ?l rdf:type ?n } } } . FILTER ( ?v > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q17163326
P641
Q349 Q18608583 Q502895
USER
And what about motorcycle racing?
(c(Q18608583)|c(Q502895),P641,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q17163326
relation P641
type Q18608583
type Q502895
[[{'concept': 'Q18608583'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?b ) WHERE { { ?h property:P641 ?u . ?u rdf:type ontology:Q349 . ?h rdf:type ontology:Q18608583 } UNION { ?h property:P641 ?u . ?u rdf:type ontology:Q349 . ?h rdf:type ontology:Q502895 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { ?l rdf:type ?r . VALUES ( ?r ) { ( ontology:Q18608583 ) ( ontology:Q502895 ) } } . ?l property:P641 resource:Q17163326 } } . FILTER ( ?b > ?o ) }
motorcycle racing
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity motorcycle racing
relation sport
type recurring sporting event
type common name
[[{'concept': 'recurring sporting event'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?b ) WHERE { { ?h property:sport ?u . ?u rdf:type ontology:sport . ?h rdf:type ontology:recurring_sporting_event } UNION { ?h property:sport ?u . ?u rdf:type ontology:sport . ?h rdf:type ontology:common_name } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { ?l rdf:type ?r . VALUES ( ?r ) { ( ontology:recurring_sporting_event ) ( ontology:common_name ) } } . ?l property:sport resource:motorcycle_racing } } . FILTER ( ?b > ?o ) }
[]
sport recurring sporting event common name
SYSTEM
78
Q10962 Q4543 Q170737 Q114466 Q12100 Q500050 Q7707 Q108429 Q171038 Q191051 Q206763 Q133201 Q847 Q902378 Q83462 Q328716 Q131359 Q22857 Q11420 Q41323 Q7291 Q136851 Q7856 Q5372 Q5375 Q5377 Q206989 Q5369 Q8418 Q74542 Q1758324 Q40561 Q42486 Q2483334 Q2922870 Q41466 Q204632 Q627165 Q213796 Q182570 Q989473 Q215862 Q212845 Q43450 Q2284014 Q221635 Q2413978 Q1455 Q2215841 Q36908 Q389654 Q61465 Q185851 Q213711 Q5465793 Q3930 Q130949 Q20856109 Q213934 Q838781 Q26787631 Q201965 Q1541373 Q134211 Q1734 Q31920 Q1358925 Q1748406 Q183018 Q1622659 Q1421697 Q177275 Q32112 Q2736 Q159992 Q3341285 Q210778 Q124100
(c(Q18608583)|c(Q502895),P641,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q17163326
relation P641
type Q18608583
type Q502895
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?b ) WHERE { { ?h property:P641 ?u . ?u rdf:type ontology:Q349 . ?h rdf:type ontology:Q18608583 } UNION { ?h property:P641 ?u . ?u rdf:type ontology:Q349 . ?h rdf:type ontology:Q502895 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { ?l rdf:type ?r . VALUES ( ?r ) { ( ontology:Q18608583 ) ( ontology:Q502895 ) } } . ?l property:P641 resource:Q17163326 } } . FILTER ( ?b > ?o ) }
rugby league beach volleyball long jump mixed martial arts fencing cross country running water polo archery softball windsurfing floorball squash tennis equestrian sport weightlifting motorcycle sport professional wrestling climbing judo American football badminton curling rallying basketball cricket golf shooting sport baseball handball para-alpine skiing stock car racing sumo wrestling Valencian pilota boxe ice hockey Gaelic football Harri-jasotze powerlifting discus throw international draughts motocross Basque pelota gymnastics Contact sport track cycling paralympic swimming field hockey cycle sport mountaineering Greco-Roman wrestling rhythmic gymnastics lacrosse hurling CP football table tennis skiing canoeing canoeing and kayaking eventing K-1 Nordic combined sport climbing polo volleyball swimming speed skiing roller hockey (quad) bandy hockey Chilean rodeo bobsleigh boxing association football surfing cue sports beach soccer bodybuilding
78
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity motorcycle racing
relation sport
type recurring sporting event
type common name
[[{'concept': 'recurring sporting event'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?b ) WHERE { { ?h property:sport ?u . ?u rdf:type ontology:sport . ?h rdf:type ontology:recurring_sporting_event } UNION { ?h property:sport ?u . ?u rdf:type ontology:sport . ?h rdf:type ontology:common_name } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { ?l rdf:type ?r . VALUES ( ?r ) { ( ontology:recurring_sporting_event ) ( ontology:common_name ) } } . ?l property:sport resource:motorcycle_racing } } . FILTER ( ?b > ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1455
P361
Q13406554
USER
Which sport competitions are a portion of field hockey ?
(c(Q13406554),P361,Q1455)
action filter_type
action find_reverse
entity Q1455
relation P361
type Q13406554
[{'concept': 'Q13406554'}, 'P361', 'Q1455']
SELECT DISTINCT ?q WHERE { ?q property:P361 resource:Q1455 . ?q rdf:type ontology:Q13406554 }
field hockey
action filter_type
action find_reverse
entity field hockey
relation part of
type sport competition
[{'concept': 'sport competition'}, 'part of', 'field hockey']
SELECT DISTINCT ?q WHERE { ?q property:part_of resource:field_hockey . ?q rdf:type ontology:sport_competition }
[]
sport competition
Q4609057 Q2404861
SYSTEM
2007 Oceania Cup, Oceania Cup
Q4609057 Q2404861
(c(Q13406554),P361,Q1455)
action filter_type
action find_reverse
entity Q1455
relation P361
type Q13406554
[ANSWERS]
[{'concept': 'Q13406554'}, 'P361', 'Q1455']
SELECT DISTINCT ?q WHERE { ?q property:P361 resource:Q1455 . ?q rdf:type ontology:Q13406554 }
2007 Oceania Cup Oceania Cup
2007 Oceania Cup Oceania Cup
action filter_type
action find_reverse
entity field hockey
relation part of
type sport competition
[{'concept': 'sport competition'}, 'part of', 'field hockey']
SELECT DISTINCT ?q WHERE { ?q property:part_of resource:field_hockey . ?q rdf:type ontology:sport_competition }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4609057 Q2404861
P641
Q349
USER
Which sports were 2007 Oceania Cup and Oceania Cup a part of ?
(Q4609057,P641,c(Q349)) (Q2404861,P641,c(Q349))
action union
action filter_type
action find
entity Q4609057
relation P641
type Q349
action filter_type
action find
entity Q2404861
relation P641
type Q349
['Q4609057', 'P641', {'concept': 'Q349'}] ['Q2404861', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { { resource:Q4609057 property:P641 ?s . ?s rdf:type ontology:Q349 } UNION { resource:Q2404861 property:P641 ?s . ?s rdf:type ontology:Q349 } }
2007 Oceania Cup Oceania Cup
action union
action filter_type
action find
entity 2007 Oceania Cup
relation sport
type sport
action filter_type
action find
entity Oceania Cup
relation sport
type sport
['2007 Oceania Cup', 'sport', {'concept': 'sport'}] ['Oceania Cup', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { { resource:2007_Oceania_Cup property:sport ?s . ?s rdf:type ontology:sport } UNION { resource:Oceania_Cup property:sport ?s . ?s rdf:type ontology:sport } }
[]
sport
Q1455 Q1455
SYSTEM
field hockey
Q1455 Q1455
(Q4609057,P641,c(Q349)) (Q2404861,P641,c(Q349))
action union
action filter_type
action find
entity Q4609057
relation P641
type Q349
action filter_type
action find
entity Q2404861
relation P641
type Q349
[ANSWER]
['Q4609057', 'P641', {'concept': 'Q349'}] ['Q2404861', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { { resource:Q4609057 property:P641 ?s . ?s rdf:type ontology:Q349 } UNION { resource:Q2404861 property:P641 ?s . ?s rdf:type ontology:Q349 } }
field hockey field hockey
field hockey field hockey
action union
action filter_type
action find
entity 2007 Oceania Cup
relation sport
type sport
action filter_type
action find
entity Oceania Cup
relation sport
type sport
['2007 Oceania Cup', 'sport', {'concept': 'sport'}] ['Oceania Cup', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { { resource:2007_Oceania_Cup property:sport ?s . ?s rdf:type ontology:sport } UNION { resource:Oceania_Cup property:sport ?s . ?s rdf:type ontology:sport } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7976296
P21
Q290
USER
Which sex does Wayne Hammond possess ?
(Q7976296,P21,c(Q290))
action filter_type
action find
entity Q7976296
relation P21
type Q290
['Q7976296', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q7976296 property:P21 ?v }
Wayne Hammond
action filter_type
action find
entity Wayne Hammond
relation gender
type sex
['Wayne Hammond', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Wayne_Hammond property:gender ?v }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7976296,P21,c(Q290))
action filter_type
action find
entity Q7976296
relation P21
type Q290
[ANSWER]
['Q7976296', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q7976296 property:P21 ?v }
male
male
action filter_type
action find
entity Wayne Hammond
relation gender
type sex
['Wayne Hammond', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Wayne_Hammond property:gender ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q811979 Q1875621
USER
How many sports represent the main use of atleast 1 architectural structures or aircraft classes ?
(c(Q811979)|c(Q1875621),P366,c(Q349))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
value 1
[[{'concept': 'Q811979'}, {'concept': 'Q1875621'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?a WHERE { { ?k property:P366 ?a . ?a rdf:type ontology:Q349 . ?k rdf:type ontology:Q811979 } UNION { ?k property:P366 ?a . ?a rdf:type ontology:Q349 . ?k rdf:type ontology:Q1875621 } } GROUP BY ?a } . FILTER ( ?r >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
value 1
[[{'concept': 'architectural structure'}, {'concept': 'aircraft class'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?a WHERE { { ?k property:use ?a . ?a rdf:type ontology:sport . ?k rdf:type ontology:architectural_structure } UNION { ?k property:use ?a . ?a rdf:type ontology:sport . ?k rdf:type ontology:aircraft_class } } GROUP BY ?a } . FILTER ( ?r >= 1 ) }
[]
sport architectural structure aircraft class
SYSTEM
7
Q5372 Q8418 Q1734 Q1875777 Q624161 Q1345388 Q206763
(c(Q811979)|c(Q1875621),P366,c(Q349))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
value 1
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q1875621'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?a WHERE { { ?k property:P366 ?a . ?a rdf:type ontology:Q349 . ?k rdf:type ontology:Q811979 } UNION { ?k property:P366 ?a . ?a rdf:type ontology:Q349 . ?k rdf:type ontology:Q1875621 } } GROUP BY ?a } . FILTER ( ?r >= 1 ) }
basketball handball volleyball air racing gliding greyhound racing floorball
7
action count
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
value 1
[[{'concept': 'architectural structure'}, {'concept': 'aircraft class'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?a WHERE { { ?k property:use ?a . ?a rdf:type ontology:sport . ?k rdf:type ontology:architectural_structure } UNION { ?k property:use ?a . ?a rdf:type ontology:sport . ?k rdf:type ontology:aircraft_class } } GROUP BY ?a } . FILTER ( ?r >= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P641
Q349 Q13406554
USER
Which sports were min number of sport competitions a part of ?
(c(Q13406554),P641,Q429006)
action argmin
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
[{'concept': 'Q13406554'}, 'P641', 'Q429006']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?g ) { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?z ) WHERE { ?r rdf:type ontology:Q349 . ?b rdf:type ontology:Q13406554 . ?b property:P641 ?r } GROUP BY ?r } } . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:P641 ?l . ?w rdf:type ontology:Q13406554 . ?l rdf:type ontology:Q349 } GROUP BY ?l } . FILTER ( ?v = ?g ) }
action argmin
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
[{'concept': 'sport competition'}, 'sport', 'Duathlon']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?g ) { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?z ) WHERE { ?r rdf:type ontology:sport . ?b rdf:type ontology:sport_competition . ?b property:sport ?r } GROUP BY ?r } } . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:sport ?l . ?w rdf:type ontology:sport_competition . ?l rdf:type ontology:sport } GROUP BY ?l } . FILTER ( ?v = ?g ) }
[]
sport sport competition
Q809831 Q1295867 Q1148620
SYSTEM
BASE jumping, pesäpallo, Finswimming
Q4543 Q170737 Q2348250 Q3337306 Q193387 Q108429 Q191051 Q4808504 Q3844480 Q809831 Q1575010 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q27672886 Q22857 Q657196 Q338208 Q738622 Q148636 Q599204 Q206989 Q690676 Q31897 Q74542 Q1050588 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q989473 Q1194269 Q2497700 Q990637 Q105674 Q215862 Q212845 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q4245261 Q624161 Q327742 Q271277 Q376040 Q4347112 Q5465793 Q797108 Q963312 Q130949 Q535116 Q2360406 Q20856109 Q1078835 Q838781 Q26787631 Q1899731 Q943526 Q647559 Q1541373 Q1150656 Q1063445 Q134211 Q6140386 Q3325635 Q207703 Q1358925 Q667692 Q1622659 Q1421697 Q201252 Q177275 Q14405929 Q1129021 Q1199515 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q13406554),P641,Q429006)
action argmin
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
[ANSWERS]
[{'concept': 'Q13406554'}, 'P641', 'Q429006']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?g ) { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?z ) WHERE { ?r rdf:type ontology:Q349 . ?b rdf:type ontology:Q13406554 . ?b property:P641 ?r } GROUP BY ?r } } . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:P641 ?l . ?w rdf:type ontology:Q13406554 . ?l rdf:type ontology:Q349 } GROUP BY ?l } . FILTER ( ?v = ?g ) }
beach volleyball long jump team time trial yachting croquet archery windsurfing snocross rink bandy BASE jumping para rowing Ultimate memory sport equestrian sport puroresu paintball Finswimming weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing Flying disc games climbing medley swimming giant slalom skiing dancesport Kabaddi rallycross shooting sport canoe polo natural track luge para-alpine skiing fistball rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw international draughts harness racing Aizkolaritza Broomball running motocross Basque pelota paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport competition aerobatics paralympic swimming gymnastics balkline and straight rail skating cycle sport mountaineering football parkour Greco-Roman wrestling touring car racing gliding relay race Savate wakeboarding strength athletics CP football jeu de paume Sledge hockey skiing beach handball real tennis canoeing Powerchair Football eventing K-1 Frisian handball Castell Goalball sport climbing wheelchair curling nine-ball polo Kitō-ryū Valencian trinquet rodeo speed skiing Nordic walking hockey Chilean rodeo pankration bobsleigh high diving super giant slalom skiing formula racing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
BASE jumping pesäpallo Finswimming
action argmin
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
[{'concept': 'sport competition'}, 'sport', 'Duathlon']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?g ) { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?z ) WHERE { ?r rdf:type ontology:sport . ?b rdf:type ontology:sport_competition . ?b property:sport ?r } GROUP BY ?r } } . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:sport ?l . ?w rdf:type ontology:sport_competition . ?l rdf:type ontology:sport } GROUP BY ?l } . FILTER ( ?v = ?g ) }
[]