Simple Question (Direct)
Simple Question
Q3161245
P21
Q290
USER
Which sex does James Kiplagat Magut have ?
(Q3161245,P21,c(Q290))
action filter_type
action find
entity Q3161245
relation P21
type Q290
['Q3161245', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q3161245 property:P21 ?l . ?l rdf:type ontology:Q290 }
James Kiplagat Magut
action filter_type
action find
entity James Kiplagat Magut
relation gender
type sex
['James Kiplagat Magut', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:James_Kiplagat_Magut property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3161245,P21,c(Q290))
action filter_type
action find
entity Q3161245
relation P21
type Q290
James Kiplagat Magut has 1 [ANSWER]
['Q3161245', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q3161245 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
James Kiplagat Magut has 1 male
male
action filter_type
action find
entity James Kiplagat Magut
relation gender
type sex
['James Kiplagat Magut', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:James_Kiplagat_Magut property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3161245
P641
Q31629
USER
Which type of sport was James Kiplagat Magut a part of ?
(Q3161245,P641,c(Q31629))
action filter_type
action find
entity Q3161245
relation P641
type Q31629
['Q3161245', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?v WHERE { resource:Q3161245 property:P641 ?v . ?v rdf:type ontology:Q31629 }
James Kiplagat Magut
action filter_type
action find
entity James Kiplagat Magut
relation sport
type type of sport
['James Kiplagat Magut', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?v WHERE { resource:James_Kiplagat_Magut property:sport ?v . ?v rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q3161245,P641,c(Q31629))
action filter_type
action find
entity Q3161245
relation P641
type Q31629
The [ANSWER] was James Kiplagat Magut a part of
['Q3161245', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?v WHERE { resource:Q3161245 property:P641 ?v . ?v rdf:type ontology:Q31629 }
athletics
The athletics was James Kiplagat Magut a part of
athletics
action filter_type
action find
entity James Kiplagat Magut
relation sport
type type of sport
['James Kiplagat Magut', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?v WHERE { resource:James_Kiplagat_Magut property:sport ?v . ?v rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3161245
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q542,P27,c(Q15617994))
action filter_type
action find
entity Q3161245
relation P27
type Q15617994
['Q542', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3161245 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
James Kiplagat Magut
action filter_type
action find
entity James Kiplagat Magut
relation country of citizenship
type designation for an administrative territorial entity
['athletics', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:James_Kiplagat_Magut property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q114
SYSTEM
Kenya
Q114
(Q542,P27,c(Q15617994))
action filter_type
action find
entity Q3161245
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q542', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3161245 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Kenya
Kenya is the native country of that person
Kenya
action filter_type
action find
entity James Kiplagat Magut
relation country of citizenship
type designation for an administrative territorial entity
['athletics', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:James_Kiplagat_Magut property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q114
P183
Q16521
USER
Which taxon is native to that administrative territory ?
(c(Q16521),P183,Q114)
action filter_type
action find_reverse
entity Q114
relation P183
type Q16521
[{'concept': 'Q16521'}, 'P183', 'Q114']
SELECT DISTINCT ?g WHERE { ?g property:P183 resource:Q114 . ?g rdf:type ontology:Q16521 }
Kenya
action filter_type
action find_reverse
entity Kenya
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'Kenya']
SELECT DISTINCT ?g WHERE { ?g property:endemic_to resource:Kenya . ?g rdf:type ontology:taxon }
[]
taxon
Q15152697
SYSTEM
Doryphoribius maasaimarensis
Q15152697
(c(Q16521),P183,Q114)
action filter_type
action find_reverse
entity Q114
relation P183
type Q16521
[ANSWER] is native to that administrative territory
[{'concept': 'Q16521'}, 'P183', 'Q114']
SELECT DISTINCT ?g WHERE { ?g property:P183 resource:Q114 . ?g rdf:type ontology:Q16521 }
Doryphoribius maasaimarensis
Doryphoribius maasaimarensis is native to that administrative territory
Doryphoribius maasaimarensis
action filter_type
action find_reverse
entity Kenya
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'Kenya']
SELECT DISTINCT ?g WHERE { ?g property:endemic_to resource:Kenya . ?g rdf:type ontology:taxon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q114
P6
Q502895
USER
Which person is Kenya the head of goverment of ?
(Q114,P6,c(Q502895))
action filter_type
action find
entity Q114
relation P6
type Q502895
['Q114', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q114 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Kenya
action filter_type
action find
entity Kenya
relation head of government
type common name
['Kenya', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Kenya property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
common name
Q57657
SYSTEM
Raila Odinga
Q57657
(Q114,P6,c(Q502895))
action filter_type
action find
entity Q114
relation P6
type Q502895
[ANSWER] is Kenya the head of goverment of
['Q114', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q114 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Raila Odinga
Raila Odinga is Kenya the head of goverment of
Raila Odinga
action filter_type
action find
entity Kenya
relation head of government
type common name
['Kenya', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Kenya property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5479370 Q3161245
P106
Q151885
USER
Which concepts have James Kiplagat Magut and Francesco Galdenzi as his/her as a career ?
AND((Q3161245,P106,c(Q151885)), (Q5479370,P106,c(Q151885)))
action filter_type
action intersection
action find
entity Q3161245
relation P106
action find
entity Q5479370
relation P106
type Q151885
{'AND': [['Q3161245', 'P106', {'concept': 'Q151885'}], ['Q5479370', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q151885 . resource:Q3161245 property:P106 ?v . resource:Q5479370 property:P106 ?v }
Francesco Galdenzi James Kiplagat Magut
action filter_type
action intersection
action find
entity James Kiplagat Magut
relation occupation
action find
entity Francesco Galdenzi
relation occupation
type concept
{'AND': [['James Kiplagat Magut', 'occupation', {'concept': 'concept'}], ['Francesco Galdenzi', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:concept . resource:James_Kiplagat_Magut property:occupation ?v . resource:Francesco_Galdenzi property:occupation ?v }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
AND((Q3161245,P106,c(Q151885)), (Q5479370,P106,c(Q151885)))
action filter_type
action intersection
action find
entity Q3161245
relation P106
action find
entity Q5479370
relation P106
type Q151885
The [ANSWER] have James Kiplagat Magut and Francesco Galdenzi as his/her as a career
{'AND': [['Q3161245', 'P106', {'concept': 'Q151885'}], ['Q5479370', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q151885 . resource:Q3161245 property:P106 ?v . resource:Q5479370 property:P106 ?v }
athletics competitor
The athletics competitor have James Kiplagat Magut and Francesco Galdenzi as his/her as a career
athletics competitor
action filter_type
action intersection
action find
entity James Kiplagat Magut
relation occupation
action find
entity Francesco Galdenzi
relation occupation
type concept
{'AND': [['James Kiplagat Magut', 'occupation', {'concept': 'concept'}], ['Francesco Galdenzi', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:concept . resource:James_Kiplagat_Magut property:occupation ?v . resource:Francesco_Galdenzi property:occupation ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q11513337 Q934849
P180
Q838948
USER
How many works of art express athletics competitor and headband ?
(c(Q838948),P180,Q11513337) (c(Q838948),P180,Q934849)
action count
action intersection
action filter_type
action find_reverse
entity Q11513337
relation P180
type Q838948
action filter_type
action find_reverse
entity Q934849
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q11513337'] [{'concept': 'Q838948'}, 'P180', 'Q934849']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:P180 resource:Q934849 . ?b rdf:type ontology:Q838948 . ?b rdf:type ontology:Q838948 . ?b property:P180 resource:Q11513337 }
athletics competitor headband
action count
action intersection
action filter_type
action find_reverse
entity athletics competitor
relation depicts
type work of art
action filter_type
action find_reverse
entity headband
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'athletics competitor'] [{'concept': 'work of art'}, 'depicts', 'headband']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:depicts resource:headband . ?b rdf:type ontology:work_of_art . ?b rdf:type ontology:work_of_art . ?b property:depicts resource:athletics_competitor }
[]
work of art
SYSTEM
2
Q2667065 Q20669488
(c(Q838948),P180,Q11513337) (c(Q838948),P180,Q934849)
action count
action intersection
action filter_type
action find_reverse
entity Q11513337
relation P180
type Q838948
action filter_type
action find_reverse
entity Q934849
relation P180
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P180', 'Q11513337'] [{'concept': 'Q838948'}, 'P180', 'Q934849']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:P180 resource:Q934849 . ?b rdf:type ontology:Q838948 . ?b rdf:type ontology:Q838948 . ?b property:P180 resource:Q11513337 }
Marathon Boy Head, Diadumenos type
2
action count
action intersection
action filter_type
action find_reverse
entity athletics competitor
relation depicts
type work of art
action filter_type
action find_reverse
entity headband
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'athletics competitor'] [{'concept': 'work of art'}, 'depicts', 'headband']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:depicts resource:headband . ?b rdf:type ontology:work_of_art . ?b rdf:type ontology:work_of_art . ?b property:depicts resource:athletics_competitor }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P138
Q151885 Q271669
USER
Which landforms are the eponym of max number of concepts ?
(c(Q271669),P138,c(Q151885))
action argmax
action find_tuple_counts
relation P138
type Q271669
type Q151885
[{'concept': 'Q271669'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?m ) { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?h ) WHERE { ?y property:P138 ?o . ?y rdf:type ontology:Q271669 . ?o rdf:type ontology:Q151885 } GROUP BY ?y } } . { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?u ) WHERE { ?c property:P138 ?t . ?t rdf:type ontology:Q151885 . ?c rdf:type ontology:Q271669 } GROUP BY ?c } . FILTER ( ?u = ?m ) }
action argmax
action find_tuple_counts
relation named after
type landform
type concept
[{'concept': 'landform'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?m ) { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?h ) WHERE { ?y property:named_after ?o . ?y rdf:type ontology:landform . ?o rdf:type ontology:concept } GROUP BY ?y } } . { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?u ) WHERE { ?c property:named_after ?t . ?t rdf:type ontology:concept . ?c rdf:type ontology:landform } GROUP BY ?c } . FILTER ( ?u = ?m ) }
[]
concept landform
Q2368025
SYSTEM
Lakshmi Planum
Q2368025
(c(Q271669),P138,c(Q151885))
action argmax
action find_tuple_counts
relation P138
type Q271669
type Q151885
[ANSWER] is the eponym of max number of concepts
[{'concept': 'Q271669'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?m ) { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?h ) WHERE { ?y property:P138 ?o . ?y rdf:type ontology:Q271669 . ?o rdf:type ontology:Q151885 } GROUP BY ?y } } . { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?u ) WHERE { ?c property:P138 ?t . ?t rdf:type ontology:Q151885 . ?c rdf:type ontology:Q271669 } GROUP BY ?c } . FILTER ( ?u = ?m ) }
Lakshmi Planum
Lakshmi Planum is the eponym of max number of concepts
Lakshmi Planum
action argmax
action find_tuple_counts
relation named after
type landform
type concept
[{'concept': 'landform'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?m ) { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?h ) WHERE { ?y property:named_after ?o . ?y rdf:type ontology:landform . ?o rdf:type ontology:concept } GROUP BY ?y } } . { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?u ) WHERE { ?c property:named_after ?t . ?t rdf:type ontology:concept . ?c rdf:type ontology:landform } GROUP BY ?c } . FILTER ( ?u = ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3609
P641
Q31629 Q12973014 Q500834
USER
How many types of sport were less number of sports teams or tournaments a part of than road bicycle racing ?
(c(Q12973014)|c(Q500834),P641,c(Q31629))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q3609
relation P641
type Q12973014
type Q500834
[[{'concept': 'Q12973014'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) ?d WHERE { VALUES ( ?e ) { ( ontology:Q12973014 ) ( ontology:Q500834 ) } . ?x rdf:type ?e } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:P641 resource:Q3609 . { { ?h rdf:type ontology:Q12973014 } UNION { ?h rdf:type ontology:Q500834 } } } } . FILTER ( ?b < ?s ) }
road bicycle racing
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
action count
action filter_multi_types
action find_reverse
entity road bicycle racing
relation sport
type sports team
type tournament
[[{'concept': 'sports team'}, {'concept': 'tournament'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) ?d WHERE { VALUES ( ?e ) { ( ontology:sports_team ) ( ontology:tournament ) } . ?x rdf:type ?e } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:sport resource:road_bicycle_racing . { { ?h rdf:type ontology:sports_team } UNION { ?h rdf:type ontology:tournament } } } } . FILTER ( ?b < ?s ) }
[]
type of sport sports team tournament
SYSTEM
84
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q10980 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q29358 Q211155 Q191691 Q3817372 Q166788 Q326827 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q216613 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q542 Q1798044 Q718 Q1209037 Q179687 Q1707432 Q352749 Q272460 Q1075998 Q1141850 Q774176 Q159354 Q1629556 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q1423069 Q465014 Q186222 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q1128216 Q7735 Q11015 Q428242 Q48890 Q162883 Q5300110
(c(Q12973014)|c(Q500834),P641,c(Q31629))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q3609
relation P641
type Q12973014
type Q500834
[ANSWER]
[[{'concept': 'Q12973014'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) ?d WHERE { VALUES ( ?e ) { ( ontology:Q12973014 ) ( ontology:Q500834 ) } . ?x rdf:type ?e } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:P641 resource:Q3609 . { { ?h rdf:type ontology:Q12973014 } UNION { ?h rdf:type ontology:Q500834 } } } } . FILTER ( ?b < ?s ) }
800 metres grass skiing 110 metres hurdles International rules football rock climbing heptathlon waterskiing triathlon airsoft 100 metres hurdles sprinting sailing open water swimming downhill mountain biking draughts orienteering 200 metres 1500 metres beach run biathlon artistic gymnastics snowboarding horse racing Ice yachting bicycle motocross cross-country cycling kite surfing modern pentathlon nine-pin bowling sporting clays Nordic skiing rafting kayaking stadion Flag football freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting roller sport carom billiards 100 metres athletics Olympic skeet chess Modern competitive archery cross-country skiing roller skating sprint Pilates ski mountaineering canoe racing Keirin rowing 1000 metres marathon competitive fencing ten-pin bowling Mixed Doubles mountain biking cyclo-cross canoe camping trampolining alpine skiing para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism wheelchair basketball diving snooker ski-orienteering college basketball free climbing double trap
84
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
action count
action filter_multi_types
action find_reverse
entity road bicycle racing
relation sport
type sports team
type tournament
[[{'concept': 'sports team'}, {'concept': 'tournament'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) ?d WHERE { VALUES ( ?e ) { ( ontology:sports_team ) ( ontology:tournament ) } . ?x rdf:type ?e } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:sport resource:road_bicycle_racing . { { ?h rdf:type ontology:sports_team } UNION { ?h rdf:type ontology:tournament } } } } . FILTER ( ?b < ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q179687
P641
Q31629 Q12973014 Q500834
USER
And also tell me about cross-country skiing?
(c(Q12973014)|c(Q500834),P641,c(Q31629))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q179687
relation P641
type Q12973014
type Q500834
[[{'concept': 'Q12973014'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { { ?d rdf:type ontology:Q500834 } UNION { ?d rdf:type ontology:Q12973014 } } . ?d property:P641 resource:Q179687 } } . FILTER ( ?a < ?m ) . { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?a ) WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:Q12973014 ) ( ontology:Q500834 ) } } GROUP BY ?t } }
cross-country skiing
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
action count
action filter_multi_types
action find_reverse
entity cross-country skiing
relation sport
type sports team
type tournament
[[{'concept': 'sports team'}, {'concept': 'tournament'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { { ?d rdf:type ontology:tournament } UNION { ?d rdf:type ontology:sports_team } } . ?d property:sport resource:cross-country_skiing } } . FILTER ( ?a < ?m ) . { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?a ) WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:sports_team ) ( ontology:tournament ) } } GROUP BY ?t } }
[]
type of sport sports team tournament
SYSTEM
77
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q10980 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q29358 Q211155 Q191691 Q3817372 Q166788 Q326827 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q216613 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q1798044 Q1209037 Q1707432 Q352749 Q272460 Q1075998 Q1141850 Q774176 Q159354 Q1629556 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q1423069 Q465014 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q7735 Q428242 Q162883 Q5300110
(c(Q12973014)|c(Q500834),P641,c(Q31629))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q179687
relation P641
type Q12973014
type Q500834
[ANSWER]
[[{'concept': 'Q12973014'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { { ?d rdf:type ontology:Q500834 } UNION { ?d rdf:type ontology:Q12973014 } } . ?d property:P641 resource:Q179687 } } . FILTER ( ?a < ?m ) . { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?a ) WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:Q12973014 ) ( ontology:Q500834 ) } } GROUP BY ?t } }
800 metres grass skiing 110 metres hurdles International rules football rock climbing heptathlon waterskiing triathlon airsoft 100 metres hurdles sprinting sailing open water swimming downhill mountain biking draughts orienteering 200 metres 1500 metres beach run biathlon artistic gymnastics snowboarding horse racing Ice yachting bicycle motocross cross-country cycling kite surfing modern pentathlon nine-pin bowling sporting clays Nordic skiing rafting kayaking stadion Flag football freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting roller sport carom billiards 100 metres Olympic skeet Modern competitive archery roller skating sprint Pilates ski mountaineering canoe racing Keirin rowing 1000 metres marathon competitive fencing ten-pin bowling Mixed Doubles mountain biking cyclo-cross canoe camping trampolining para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism diving ski-orienteering free climbing double trap
77
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
action count
action filter_multi_types
action find_reverse
entity cross-country skiing
relation sport
type sports team
type tournament
[[{'concept': 'sports team'}, {'concept': 'tournament'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { { ?d rdf:type ontology:tournament } UNION { ?d rdf:type ontology:sports_team } } . ?d property:sport resource:cross-country_skiing } } . FILTER ( ?a < ?m ) . { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?a ) WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:sports_team ) ( ontology:tournament ) } } GROUP BY ?t } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q8065394 Q15152697
P183 P17
Q15617994
USER
Which administrative territories are Doryphoribius maasaimarensis native to or are Zalesie, Kutno County present in ?
OR((Q15152697,P183,c(Q15617994)), (Q8065394,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q15152697
relation P183
action find
entity Q8065394
relation P17
type Q15617994
{'OR': [['Q15152697', 'P183', {'concept': 'Q15617994'}], ['Q8065394', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q8065394 property:P17 ?e } UNION { resource:Q15152697 property:P183 ?e } } . ?e rdf:type ontology:Q15617994 }
Zalesie, Kutno County Doryphoribius maasaimarensis
action filter_type
action union
action find
entity Doryphoribius maasaimarensis
relation endemic to
action find
entity Zalesie, Kutno County
relation country
type designation for an administrative territorial entity
{'OR': [['Doryphoribius maasaimarensis', 'endemic to', {'concept': 'designation for an administrative territorial entity'}], ['Zalesie, Kutno County', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Zalesie,_Kutno_County property:country ?e } UNION { resource:Doryphoribius_maasaimarensis property:endemic_to ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q114 Q36
SYSTEM
Kenya, Poland
Q114 Q36
OR((Q15152697,P183,c(Q15617994)), (Q8065394,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q15152697
relation P183
action find
entity Q8065394
relation P17
type Q15617994
[ANSWERS] are Doryphoribius maasaimarensis native to or are Zalesie, Kutno County present in
{'OR': [['Q15152697', 'P183', {'concept': 'Q15617994'}], ['Q8065394', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q8065394 property:P17 ?e } UNION { resource:Q15152697 property:P183 ?e } } . ?e rdf:type ontology:Q15617994 }
Kenya Poland
Kenya and Poland are Doryphoribius maasaimarensis native to or are Zalesie, Kutno County present in
Kenya Poland
action filter_type
action union
action find
entity Doryphoribius maasaimarensis
relation endemic to
action find
entity Zalesie, Kutno County
relation country
type designation for an administrative territorial entity
{'OR': [['Doryphoribius maasaimarensis', 'endemic to', {'concept': 'designation for an administrative territorial entity'}], ['Zalesie, Kutno County', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Zalesie,_Kutno_County property:country ?e } UNION { resource:Doryphoribius_maasaimarensis property:endemic_to ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16027431 Q3161245
P106
Q12737077
USER
Which occupations have James Kiplagat Magut or Odo of Scarpone as his/her as a career ?
OR((Q3161245,P106,c(Q12737077)), (Q16027431,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3161245
relation P106
action find
entity Q16027431
relation P106
type Q12737077
{'OR': [['Q3161245', 'P106', {'concept': 'Q12737077'}], ['Q16027431', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?p ) { ( resource:Q3161245 ) ( resource:Q16027431 ) } . ?p property:P106 ?w } . ?w rdf:type ontology:Q12737077 }
Odo of Scarpone James Kiplagat Magut
action filter_type
action union
action find
entity James Kiplagat Magut
relation occupation
action find
entity Odo of Scarpone
relation occupation
type occupation
{'OR': [['James Kiplagat Magut', 'occupation', {'concept': 'occupation'}], ['Odo of Scarpone', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?p ) { ( resource:James_Kiplagat_Magut ) ( resource:Odo_of_Scarpone ) } . ?p property:occupation ?w } . ?w rdf:type ontology:occupation }
[]
occupation
Q45722 Q29182 Q182436 Q13381753
SYSTEM
cardinal, bishop, librarian, middle-distance runner
Q45722 Q29182 Q182436 Q13381753
OR((Q3161245,P106,c(Q12737077)), (Q16027431,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3161245
relation P106
action find
entity Q16027431
relation P106
type Q12737077
[ANSWERS] have James Kiplagat Magut or Odo of Scarpone as his/her as a career
{'OR': [['Q3161245', 'P106', {'concept': 'Q12737077'}], ['Q16027431', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?p ) { ( resource:Q3161245 ) ( resource:Q16027431 ) } . ?p property:P106 ?w } . ?w rdf:type ontology:Q12737077 }
cardinal bishop librarian middle-distance runner
Cardinal, bishop, librarian and middle-distance runner have James Kiplagat Magut or Odo of Scarpone as his/her as a career
cardinal bishop librarian middle-distance runner
action filter_type
action union
action find
entity James Kiplagat Magut
relation occupation
action find
entity Odo of Scarpone
relation occupation
type occupation
{'OR': [['James Kiplagat Magut', 'occupation', {'concept': 'occupation'}], ['Odo of Scarpone', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?p ) { ( resource:James_Kiplagat_Magut ) ( resource:Odo_of_Scarpone ) } . ?p property:occupation ?w } . ?w rdf:type ontology:occupation }
[]