Simple Question (Direct)
Simple Question
Q713600
P106
Q151885
USER
What does Pat Matzdorf do for a living ?
(Q713600,P106,c(Q151885))
action filter_type
action find
entity Q713600
relation P106
type Q151885
['Q713600', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q713600 property:P106 ?z . ?z rdf:type ontology:Q151885 }
Pat Matzdorf
action filter_type
action find
entity Pat Matzdorf
relation occupation
type concept
['Pat Matzdorf', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Pat_Matzdorf property:occupation ?z . ?z rdf:type ontology:concept }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
(Q713600,P106,c(Q151885))
action filter_type
action find
entity Q713600
relation P106
type Q151885
Pat Matzdorf does for a living as [ANSWER]
['Q713600', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q713600 property:P106 ?z . ?z rdf:type ontology:Q151885 }
athletics competitor
Pat Matzdorf does for a living as athletics competitor
athletics competitor
action filter_type
action find
entity Pat Matzdorf
relation occupation
type concept
['Pat Matzdorf', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Pat_Matzdorf property:occupation ?z . ?z rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q713600
P2416
Q31629
USER
Which type of sport did Pat Matzdorf participate in ?
(Q713600,P2416,c(Q31629))
action filter_type
action find
entity Q713600
relation P2416
type Q31629
['Q713600', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?g WHERE { resource:Q713600 property:P2416 ?g . ?g rdf:type ontology:Q31629 }
Pat Matzdorf
action filter_type
action find
entity Pat Matzdorf
relation sports discipline competed in
type type of sport
['Pat Matzdorf', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?g WHERE { resource:Pat_Matzdorf property:sports_discipline_competed_in ?g . ?g rdf:type ontology:type_of_sport }
[]
type of sport
Q165704
SYSTEM
high jump
Q165704
(Q713600,P2416,c(Q31629))
action filter_type
action find
entity Q713600
relation P2416
type Q31629
Pat Matzdorf participated in [ANSWER]
['Q713600', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?g WHERE { resource:Q713600 property:P2416 ?g . ?g rdf:type ontology:Q31629 }
high jump
Pat Matzdorf participated in high jump
high jump
action filter_type
action find
entity Pat Matzdorf
relation sports discipline competed in
type type of sport
['Pat Matzdorf', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?g WHERE { resource:Pat_Matzdorf property:sports_discipline_competed_in ?g . ?g rdf:type ontology:type_of_sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P641
Q31629 Q13406554 Q12973014
USER
Which types of sport did more number of sport competitions or sports teams participate in than that type of sport ?
(c(Q13406554)|c(Q12973014),P641,c(Q31629))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q165704
relation P641
type Q13406554
type Q12973014
[[{'concept': 'Q13406554'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P641 resource:Q165704 . { { ?j rdf:type ontology:Q12973014 } UNION { ?j rdf:type ontology:Q13406554 } } } } . FILTER ( ?k > ?o ) . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:P641 ?y . ?y rdf:type ontology:Q31629 . ?t rdf:type ontology:Q13406554 } UNION { ?t property:P641 ?y . ?y rdf:type ontology:Q31629 . ?t rdf:type ontology:Q12973014 } } GROUP BY ?y } }
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_multi_types
action find_reverse
entity high jump
relation sport
type sport competition
type sports team
[[{'concept': 'sport competition'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:sport resource:high_jump . { { ?j rdf:type ontology:sports_team } UNION { ?j rdf:type ontology:sport_competition } } } } . FILTER ( ?k > ?o ) . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:sport ?y . ?y rdf:type ontology:type_of_sport . ?t rdf:type ontology:sport_competition } UNION { ?t property:sport ?y . ?y rdf:type ontology:type_of_sport . ?t rdf:type ontology:sports_team } } GROUP BY ?y } }
[]
type of sport sport competition sports team
Q216613 Q40244 Q326827
SYSTEM
Nordic skiing, marathon, artistic gymnastics
Q14085739 Q1293 Q29358 Q166788 Q326827 Q32485 Q216613 Q327223 Q542 Q718 Q179687 Q272460 Q159354 Q3609 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q465014 Q186222 Q11020 Q1128216 Q7735 Q11015 Q48890
(c(Q13406554)|c(Q12973014),P641,c(Q31629))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q165704
relation P641
type Q13406554
type Q12973014
[ANSWERS] more number of sport competitions or sports teams participated in than that type of sport
[[{'concept': 'Q13406554'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P641 resource:Q165704 . { { ?j rdf:type ontology:Q12973014 } UNION { ?j rdf:type ontology:Q13406554 } } } } . FILTER ( ?k > ?o ) . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:P641 ?y . ?y rdf:type ontology:Q31629 . ?t rdf:type ontology:Q13406554 } UNION { ?t property:P641 ?y . ?y rdf:type ontology:Q31629 . ?t rdf:type ontology:Q12973014 } } GROUP BY ?y } }
sailing draughts orienteering biathlon artistic gymnastics modern pentathlon Nordic skiing freestyle wrestling athletics chess cross-country skiing Pilates rowing road bicycle racing marathon competitive fencing ten-pin bowling Mixed Doubles mountain biking cyclo-cross trampolining alpine skiing pool wheelchair basketball diving snooker college basketball
Nordic skiing, marathon and artistic gymnastics more number of sport competitions or sports teams participated in than that type of sport
Nordic skiing marathon artistic gymnastics
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_multi_types
action find_reverse
entity high jump
relation sport
type sport competition
type sports team
[[{'concept': 'sport competition'}, {'concept': 'sports team'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:sport resource:high_jump . { { ?j rdf:type ontology:sports_team } UNION { ?j rdf:type ontology:sport_competition } } } } . FILTER ( ?k > ?o ) . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:sport ?y . ?y rdf:type ontology:type_of_sport . ?t rdf:type ontology:sport_competition } UNION { ?t property:sport ?y . ?y rdf:type ontology:type_of_sport . ?t rdf:type ontology:sports_team } } GROUP BY ?y } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q172809
P641
Q31629 Q13406554 Q18608583
USER
How many types of sport were greater number of sport competitions and recurring sporting events a part of than ten-pin bowling ?
(c(Q13406554)|c(Q18608583),P641,c(Q31629))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q172809
relation P641
type Q13406554
type Q18608583
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P641 resource:Q172809 . { { ?e rdf:type ontology:Q18608583 } UNION { ?e rdf:type ontology:Q13406554 } } } } . FILTER ( ?z > ?l ) . { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?z ) WHERE { VALUES ( ?d ) { ( ontology:Q18608583 ) ( ontology:Q13406554 ) } . ?n rdf:type ?d } GROUP BY ?b } }
ten-pin bowling
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity ten-pin bowling
relation sport
type sport competition
type recurring sporting event
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:sport resource:ten-pin_bowling . { { ?e rdf:type ontology:recurring_sporting_event } UNION { ?e rdf:type ontology:sport_competition } } } } . FILTER ( ?z > ?l ) . { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?z ) WHERE { VALUES ( ?d ) { ( ontology:recurring_sporting_event ) ( ontology:sport_competition ) } . ?n rdf:type ?d } GROUP BY ?b } }
[]
type of sport sport competition recurring sporting event
SYSTEM
18
Q10980 Q1293 Q166788 Q326827 Q32485 Q216613 Q542 Q718 Q179687 Q159354 Q3609 Q40244 Q520611 Q335638 Q465014 Q1128216 Q11015 Q48890
(c(Q13406554)|c(Q18608583),P641,c(Q31629))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q172809
relation P641
type Q13406554
type Q18608583
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P641 resource:Q172809 . { { ?e rdf:type ontology:Q18608583 } UNION { ?e rdf:type ontology:Q13406554 } } } } . FILTER ( ?z > ?l ) . { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?z ) WHERE { VALUES ( ?d ) { ( ontology:Q18608583 ) ( ontology:Q13406554 ) } . ?n rdf:type ?d } GROUP BY ?b } }
triathlon draughts biathlon artistic gymnastics modern pentathlon Nordic skiing athletics chess cross-country skiing rowing road bicycle racing marathon mountain biking cyclo-cross trampolining wheelchair basketball snooker college basketball
18
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity ten-pin bowling
relation sport
type sport competition
type recurring sporting event
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:sport resource:ten-pin_bowling . { { ?e rdf:type ontology:recurring_sporting_event } UNION { ?e rdf:type ontology:sport_competition } } } } . FILTER ( ?z > ?l ) . { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?z ) WHERE { VALUES ( ?d ) { ( ontology:recurring_sporting_event ) ( ontology:sport_competition ) } . ?n rdf:type ?d } GROUP BY ?b } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q178131
P641
Q31629 Q13406554 Q18608583
USER
And how about snowboarding?
(c(Q13406554)|c(Q18608583),P641,c(Q31629))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q178131
relation P641
type Q13406554
type Q18608583
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?r WHERE { VALUES ( ?t ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } . ?x rdf:type ?t } GROUP BY ?r } . FILTER ( ?s > ?v ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:P641 resource:Q178131 . { { ?g rdf:type ontology:Q13406554 } UNION { ?g rdf:type ontology:Q18608583 } } } } }
snowboarding
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity snowboarding
relation sport
type sport competition
type recurring sporting event
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?r WHERE { VALUES ( ?t ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } . ?x rdf:type ?t } GROUP BY ?r } . FILTER ( ?s > ?v ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:sport resource:snowboarding . { { ?g rdf:type ontology:sport_competition } UNION { ?g rdf:type ontology:recurring_sporting_event } } } } }
[]
type of sport sport competition recurring sporting event
SYSTEM
24
Q10980 Q14085739 Q1293 Q166788 Q326827 Q32485 Q216613 Q327223 Q542 Q718 Q179687 Q159354 Q3609 Q40244 Q172809 Q16629853 Q520611 Q335638 Q465014 Q186222 Q11020 Q1128216 Q11015 Q48890
(c(Q13406554)|c(Q18608583),P641,c(Q31629))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q178131
relation P641
type Q13406554
type Q18608583
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?r WHERE { VALUES ( ?t ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } . ?x rdf:type ?t } GROUP BY ?r } . FILTER ( ?s > ?v ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:P641 resource:Q178131 . { { ?g rdf:type ontology:Q13406554 } UNION { ?g rdf:type ontology:Q18608583 } } } } }
triathlon sailing draughts biathlon artistic gymnastics modern pentathlon Nordic skiing freestyle wrestling athletics chess cross-country skiing rowing road bicycle racing marathon ten-pin bowling Mixed Doubles mountain biking cyclo-cross trampolining alpine skiing pool wheelchair basketball snooker college basketball
24
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity snowboarding
relation sport
type sport competition
type recurring sporting event
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?r WHERE { VALUES ( ?t ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } . ?x rdf:type ?t } GROUP BY ?r } . FILTER ( ?s > ?v ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:sport resource:snowboarding . { { ?g rdf:type ontology:sport_competition } UNION { ?g rdf:type ontology:recurring_sporting_event } } } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q178131
P425
Q151885
USER
Which concept does that type of sport belong to ?
action filter_type
action find_reverse
entity Q178131
relation P425
type Q151885
SELECT DISTINCT ?e WHERE { ?e property:P425 resource:Q178131 . ?e rdf:type ontology:Q151885 }
snowboarding
action filter_type
action find_reverse
entity snowboarding
relation field of this occupation
type concept
SELECT DISTINCT ?e WHERE { ?e property:field_of_this_occupation resource:snowboarding . ?e rdf:type ontology:concept }
[]
concept
Q15709642
SYSTEM
snowboarder
Q15709642
action filter_type
action find_reverse
entity Q178131
relation P425
type Q151885
That type of sport belongs to [ANSWER]
SELECT DISTINCT ?e WHERE { ?e property:P425 resource:Q178131 . ?e rdf:type ontology:Q151885 }
snowboarder
That type of sport belongs to snowboarder
snowboarder
action filter_type
action find_reverse
entity snowboarding
relation field of this occupation
type concept
SELECT DISTINCT ?e WHERE { ?e property:field_of_this_occupation resource:snowboarding . ?e rdf:type ontology:concept }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P641
Q31629 Q12973014 Q13406554
USER
Which types of sport were max number of sports teams or sport competitions a part of ?
(c(Q12973014)|c(Q13406554),P641,c(Q31629))
action argmax
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
[[{'concept': 'Q12973014'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?a WHERE { ?s rdf:type ?z . VALUES ( ?z ) { ( ontology:Q12973014 ) ( ontology:Q13406554 ) } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?t WHERE { { ?g property:P641 ?t . ?t rdf:type ontology:Q31629 . ?g rdf:type ontology:Q12973014 } UNION { ?g property:P641 ?t . ?g rdf:type ontology:Q13406554 . ?t rdf:type ontology:Q31629 } } GROUP BY ?t } . FILTER ( ?m = ?w ) }
action argmax
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 sport competition
[[{'concept': 'sports team'}, {'concept': 'sport competition'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?a WHERE { ?s rdf:type ?z . VALUES ( ?z ) { ( ontology:sports_team ) ( ontology:sport_competition ) } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?t WHERE { { ?g property:sport ?t . ?t rdf:type ontology:type_of_sport . ?g rdf:type ontology:sports_team } UNION { ?g property:sport ?t . ?g rdf:type ontology:sport_competition . ?t rdf:type ontology:type_of_sport } } GROUP BY ?t } . FILTER ( ?m = ?w ) }
[]
type of sport sports team sport competition
Q3609
SYSTEM
road bicycle racing
Q3609
(c(Q12973014)|c(Q13406554),P641,c(Q31629))
action argmax
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
And [ANSWER] was max number of sports teams or sport competitions a part of
[[{'concept': 'Q12973014'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?a WHERE { ?s rdf:type ?z . VALUES ( ?z ) { ( ontology:Q12973014 ) ( ontology:Q13406554 ) } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?t WHERE { { ?g property:P641 ?t . ?t rdf:type ontology:Q31629 . ?g rdf:type ontology:Q12973014 } UNION { ?g property:P641 ?t . ?g rdf:type ontology:Q13406554 . ?t rdf:type ontology:Q31629 } } GROUP BY ?t } . FILTER ( ?m = ?w ) }
road bicycle racing
And road bicycle racing was max number of sports teams or sport competitions a part of
road bicycle racing
action argmax
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 sport competition
[[{'concept': 'sports team'}, {'concept': 'sport competition'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?a WHERE { ?s rdf:type ?z . VALUES ( ?z ) { ( ontology:sports_team ) ( ontology:sport_competition ) } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?t WHERE { { ?g property:sport ?t . ?t rdf:type ontology:type_of_sport . ?g rdf:type ontology:sports_team } UNION { ?g property:sport ?t . ?g rdf:type ontology:sport_competition . ?t rdf:type ontology:type_of_sport } } GROUP BY ?t } . FILTER ( ?m = ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q79529 Q2221906 Q151885
USER
Which concepts come from atmost 1 chemical substances or geographic locations ?
(c(Q151885),P138,c(Q79529)|c(Q2221906))
action atmost
action union
action find_tuple_counts
relation P138
type Q151885
type Q79529
action find_tuple_counts
relation P138
type Q151885
type Q2221906
value 1
[{'concept': 'Q151885'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?l WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:Q79529 ) ( ontology:Q2221906 ) } } GROUP BY ?l } . FILTER ( ?n <= 1 ) }
action atmost
action union
action find_tuple_counts
relation named after
type concept
type chemical substance
action find_tuple_counts
relation named after
type concept
type geographic location
value 1
[{'concept': 'concept'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?l WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:chemical_substance ) ( ontology:geographic_location ) } } GROUP BY ?l } . FILTER ( ?n <= 1 ) }
[]
chemical substance geographic location concept
Q48584 Q611017 Q2379716
SYSTEM
Rosetta Stone, Lusatian culture, Sögel-Wohlde culture
Q1154021 Q402743 Q367704 Q314639 Q7202432 Q207182 Q13409799 Q2332687 Q575396 Q2064825 Q17125263 Q2379716 Q2036267 Q1536466 Q15472169 Q182324 Q7996763 Q1154017 Q1127723 Q831336 Q318756 Q911141 Q1816952 Q8066794 Q6797944 Q1053997 Q687230 Q693549 Q1121344 Q6535335 Q1508613 Q211188 Q1187191 Q21042436 Q2624476 Q1540562 Q139965 Q1816967 Q3229348 Q700039 Q2478141 Q1041623 Q10363580 Q2625916 Q855546 Q11660484 Q3007186 Q1282276 Q4181995 Q1859432 Q5588468 Q1728968 Q6354030 Q773818 Q896513 Q6914275 Q570798 Q571515 Q2710557 Q378100 Q3229339 Q3229352 Q1688286 Q169349 Q2732554 Q7974787 Q169451 Q203549 Q785653 Q2115578 Q259118 Q127455 Q1090851 Q672010 Q871703 Q2896863 Q1137778 Q5266831 Q3115494 Q113965 Q3485378 Q2126650 Q6401692 Q739604 Q1886212 Q202165 Q1503556 Q134178 Q1473758 Q2216194 Q1088939 Q2252048 Q1207347 Q1707076 Q1759091 Q4508563 Q1423912 Q668742 Q1421436 Q1002169 Q775614 Q916387 Q7540131 Q5967435 Q6268577 Q20830227 Q624580 Q3115519 Q1703597 Q961596 Q862203 Q1586067 Q5319218 Q556036 Q2226746 Q1017984 Q2526246 Q5876138 Q1808482 Q1062400 Q2061755 Q1234153 Q5638607 Q1139760 Q1208706 Q1241067 Q6552215 Q208247 Q3258351 Q1816937 Q2995537 Q1816932 Q746287 Q221901 Q1755265 Q48584 Q6868046 Q38433 Q309187 Q675717 Q82029 Q502702 Q3509098 Q169320 Q5867319 Q847163 Q26473 Q819095 Q900337 Q303479 Q2612317 Q1068118 Q5776002 Q206793 Q484179 Q611017 Q260801 Q1189968
(c(Q151885),P138,c(Q79529)|c(Q2221906))
action atmost
action union
action find_tuple_counts
relation P138
type Q151885
type Q79529
action find_tuple_counts
relation P138
type Q151885
type Q2221906
value 1
[ANSWERS] come from atmost 1 chemical substances or geographic locations
[{'concept': 'Q151885'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?l WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:Q79529 ) ( ontology:Q2221906 ) } } GROUP BY ?l } . FILTER ( ?n <= 1 ) }
Xinglongwa culture Ahrensburg culture Bradley effect Baalberge group Platonic idealism Zlatkoisierung Argaric culture Piliny culture Cernavodă culture Pavlovian culture YouTuber Sögel-Wohlde culture Siegel's lemma Shephard's lemma patron of the arts Antikythera mechanism Whitney covering lemma Crocodile tears Paracas culture Vinča culture Abelian Lemma Kronecker's lemma Schur's lemma Zariski's lemma Mayroubian Frattini's argument Baden culture Magdalenian Solutrean Levi's lemma House Urns culture Pettis integral Platonic realism Corrádi's lemma Marajoara culture Gozintograph Hotelling's lemma Urysohn's lemma Zassenhaus lemma Wielbark culture aristocrat Tisza culture cabaret rock Gandhara grave culture Bükk culture denpa song Arzachena culture patriarchate Rzucewo culture Varna culture Goursat tetrahedron Karanovo culture Kalman–Yakubovich–Popov lemma Unetice culture Hamburger Schule Morse–Palais lemma Michelsberg culture Warrior of Hirschlanden Dnieper–Donets culture Vlaardingen culture Gauss's lemma Vitali covering lemma Esik Bes-Shatir Culture Kura–Araxes culture Kiev culture Watson's lemma Coxeter–Dynkin diagram scientific management Jungian archetype Hasse principle Mousterian Ordos culture Châtelperronian Horgen culture Walternienburg-Bernburg Culture Knaster–Kuratowski–Mazurkiewicz lemma White-collar crime Developments at Zoo Basel Grötzsch graph Khvalynsk culture Clovis culture Radon measure Khinchin integral Körös culture Rössen culture Hallstatt culture Modified Newtonian dynamics Minoan civilization Ozieri culture Salzmünde group Kebaran Schussenried culture Shibuya-kei Calderón–Zygmund lemma Micoquien Cheddar Man Przeworsk culture Lengyel culture Nuragic civilization Bug-Dniester culture neofolk exotica Slepian's lemma Death of the Author theory Johnson–Lindenstrauss lemma Garay Square Eulerian path Möbius–Kantor graph Jordan measure Stokes drift carbon planet Harpstedt-Nienburg culture Dynkin diagram Brønsted–Lowry acid–base theory Lindenbaum's lemma Butmir culture Gauss's lemma Hodge–Arakelov theory Tardenoisian chanson Frucht graph Almeria culture Kolmogorov integral Creswellian culture Newman's lemma Old Europe Lindelöf's lemma La Tène culture Sarnoff's law Rasiowa–Sikorski lemma Soanian Jordan's lemma Oldowan Aurignacian Kulli culture Rosetta Stone Minneapolis sound Newton's laws of motion Big Mac Index Clactonian Henstock–Kurzweil integral Hamburg culture Hatvan Culture Trialeti culture History of Zoo Basel Cobb–Douglas production function Gregorian chant Vapnik–Chervonenkis theory Lewis acids and bases hermaphrodite Milavce culture Fatou's lemma History of Edinburgh Zoo Euclid's lemma folk metal Lusatian culture Havelland culture Riesz's lemma
Rosetta Stone, Lusatian culture and Sögel-Wohlde culture come from atmost 1 chemical substances or geographic locations
Rosetta Stone Lusatian culture Sögel-Wohlde culture
action atmost
action union
action find_tuple_counts
relation named after
type concept
type chemical substance
action find_tuple_counts
relation named after
type concept
type geographic location
value 1
[{'concept': 'concept'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?l WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:chemical_substance ) ( ontology:geographic_location ) } } GROUP BY ?l } . FILTER ( ?n <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q48584
P276
Q2668072
USER
Where is Rosetta Stone located ?
(Q48584,P276,c(Q2668072))
action filter_type
action find
entity Q48584
relation P276
type Q2668072
['Q48584', 'P276', {'concept': 'Q2668072'}]
SELECT DISTINCT ?u WHERE { resource:Q48584 property:P276 ?u . ?u rdf:type ontology:Q2668072 }
Rosetta Stone
action filter_type
action find
entity Rosetta Stone
relation location
type collection
['Rosetta Stone', 'location', {'concept': 'collection'}]
SELECT DISTINCT ?u WHERE { resource:Rosetta_Stone property:location ?u . ?u rdf:type ontology:collection }
[]
collection
Q6373
SYSTEM
British Museum
Q6373
(Q48584,P276,c(Q2668072))
action filter_type
action find
entity Q48584
relation P276
type Q2668072
Rosetta Stone is located in [ANSWER]
['Q48584', 'P276', {'concept': 'Q2668072'}]
SELECT DISTINCT ?u WHERE { resource:Q48584 property:P276 ?u . ?u rdf:type ontology:Q2668072 }
British Museum
Rosetta Stone is located in British Museum
British Museum
action filter_type
action find
entity Rosetta Stone
relation location
type collection
['Rosetta Stone', 'location', {'concept': 'collection'}]
SELECT DISTINCT ?u WHERE { resource:Rosetta_Stone property:location ?u . ?u rdf:type ontology:collection }
[]