Simple Question (Direct)
Simple Question
Q1570520
P641
Q349
USER
What was the sport that Martin Åslund was a part of ?
(Q1570520,P641,c(Q349))
action filter_type
action find
entity Q1570520
relation P641
type Q349
['Q1570520', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q1570520 property:P641 ?q . ?q rdf:type ontology:Q349 }
Martin Åslund
action filter_type
action find
entity Martin Åslund
relation sport
type sport
['Martin Åslund', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Martin_Åslund property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1570520,P641,c(Q349))
action filter_type
action find
entity Q1570520
relation P641
type Q349
The sport that Martin Åslund was a part of was the [ANSWER]
['Q1570520', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q1570520 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
The sport that Martin Åslund was a part of was the association football
association football
action filter_type
action find
entity Martin Åslund
relation sport
type sport
['Martin Åslund', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Martin_Åslund property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1570520
P106
Q12737077
USER
What does that person do for a living ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q1570520
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q1570520 property:P106 ?t }
Martin Åslund
action filter_type
action find
entity Martin Åslund
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Martin_Åslund property:occupation ?t }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q1570520
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q1570520 property:P106 ?t }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Martin Åslund
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Martin_Åslund property:occupation ?t }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q12737077 Q43229 Q502895
USER
Which occupations do less number of organizations and people belong to than that occupation ?
(c(Q43229)|c(Q502895),P101,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q43229
type Q502895
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?s WHERE { { ?g property:P101 ?s . ?s rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q43229 } UNION { ?g property:P101 ?s . ?g rdf:type ontology:Q502895 . ?s rdf:type ontology:Q12737077 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { { ?b rdf:type ontology:Q43229 } UNION { ?b rdf:type ontology:Q502895 } } . ?b property:P101 resource:Q937857 } } . FILTER ( ?a < ?v ) }
action less
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?s WHERE { { ?g property:field_of_work ?s . ?s rdf:type ontology:occupation . ?g rdf:type ontology:organization } UNION { ?g property:field_of_work ?s . ?g rdf:type ontology:common_name . ?s rdf:type ontology:occupation } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { { ?b rdf:type ontology:organization } UNION { ?b rdf:type ontology:common_name } } . ?b property:field_of_work resource:association_football_player } } . FILTER ( ?a < ?v ) }
[]
occupation organization common name
Q2259451 Q705908 Q2205972
SYSTEM
stage actor, agency agreement, stained-glass artist
Q652122 Q2259451 Q326358 Q705908 Q2205972 Q901 Q3387717 Q154549 Q2490358 Q15954519
(c(Q43229)|c(Q502895),P101,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q43229
type Q502895
[ANSWERS] do less number of organizations and people belong to than that occupation
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?s WHERE { { ?g property:P101 ?s . ?s rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q43229 } UNION { ?g property:P101 ?s . ?g rdf:type ontology:Q502895 . ?s rdf:type ontology:Q12737077 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { { ?b rdf:type ontology:Q43229 } UNION { ?b rdf:type ontology:Q502895 } } . ?b property:P101 resource:Q937857 } } . FILTER ( ?a < ?v ) }
sewing stage actor joiner agency agreement stained-glass artist scientist theatre director carpenter choreographer alchemist
Stage actor, agency agreement and stained-glass artist do less number of organizations and people belong to than that occupation
stage actor agency agreement stained-glass artist
action less
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?s WHERE { { ?g property:field_of_work ?s . ?s rdf:type ontology:occupation . ?g rdf:type ontology:organization } UNION { ?g property:field_of_work ?s . ?g rdf:type ontology:common_name . ?s rdf:type ontology:occupation } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { { ?b rdf:type ontology:organization } UNION { ?b rdf:type ontology:common_name } } . ?b property:field_of_work resource:association_football_player } } . FILTER ( ?a < ?v ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2205972
P425
Q2695280
USER
Which technics is associated with the field of occupation that one ?
(Q2205972,P425,c(Q2695280))
action filter_type
action find
entity Q2205972
relation P425
type Q2695280
['Q2205972', 'P425', {'concept': 'Q2695280'}]
SELECT DISTINCT ?v WHERE { resource:Q2205972 property:P425 ?v . ?v rdf:type ontology:Q2695280 }
stained-glass artist
action filter_type
action find
entity stained-glass artist
relation field of this occupation
type technics
['stained-glass artist', 'field of this occupation', {'concept': 'technics'}]
SELECT DISTINCT ?v WHERE { resource:stained-glass_artist property:field_of_this_occupation ?v . ?v rdf:type ontology:technics }
[]
technics
Clarification for simple ques.
Q2205972
SYSTEM
Did you mean stained-glass artist ?
Q2259451 Q705908 Q2205972
(Q2259451,P425,c(Q2695280)) (Q705908,P425,c(Q2695280)) (Q2205972,P425,c(Q2695280))
[ANSWER]
['Q2259451', 'P425', {'concept': 'Q2695280'}] ['Q705908', 'P425', {'concept': 'Q2695280'}] ['Q2205972', 'P425', {'concept': 'Q2695280'}]
SELECT DISTINCT ?v WHERE { resource:Q2205972 property:P425 ?v . ?v rdf:type ontology:Q2695280 }
stage actor agency agreement stained-glass artist
Did you mean stained-glass artist ?
stained-glass artist
['stage actor', 'field of this occupation', {'concept': 'technics'}] ['agency agreement', 'field of this occupation', {'concept': 'technics'}] ['stained-glass artist', 'field of this occupation', {'concept': 'technics'}]
SELECT DISTINCT ?v WHERE { resource:stained-glass_artist property:field_of_this_occupation ?v . ?v rdf:type ontology:technics }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2205972,P425,c(Q2695280))
['Q2205972', 'P425', {'concept': 'Q2695280'}]
['stained-glass artist', 'field of this occupation', {'concept': 'technics'}]
[]
Q1473346
SYSTEM
stained glass
Q1473346
(Q2205972,P425,c(Q2695280))
action filter_type
action find
entity Q2205972
relation P425
type Q2695280
[ANSWER] is associated with the field of occupation that one
['Q2205972', 'P425', {'concept': 'Q2695280'}]
SELECT DISTINCT ?v WHERE { resource:Q2205972 property:P425 ?v . ?v rdf:type ontology:Q2695280 }
stained glass
Stained glass is associated with the field of occupation that one
stained glass
action filter_type
action find
entity stained-glass artist
relation field of this occupation
type technics
['stained-glass artist', 'field of this occupation', {'concept': 'technics'}]
SELECT DISTINCT ?v WHERE { resource:stained-glass_artist property:field_of_this_occupation ?v . ?v rdf:type ontology:technics }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1473346 Q14685728
P186
Q41176
USER
Does Old Brick Store used that technics as material for its making ?
(Q14685728,P186,Q1473346)
action is_in
entity Q14685728
action find
entity Q1473346
relation P186
['Q14685728', 'P186', 'Q1473346']
ASK WHERE { resource:Q1473346 property:P186 resource:Q14685728 }
stained glass Old Brick Store
action is_in
entity Old Brick Store
action find
entity stained glass
relation material used
['Old Brick Store', 'material used', 'stained glass']
ASK WHERE { resource:stained_glass property:material_used resource:Old_Brick_Store }
[]
building
SYSTEM
NO
(Q14685728,P186,Q1473346)
action is_in
entity Q14685728
action find
entity Q1473346
relation P186
[ANSWER]
['Q14685728', 'P186', 'Q1473346']
ASK WHERE { resource:Q1473346 property:P186 resource:Q14685728 }
No
action is_in
entity Old Brick Store
action find
entity stained glass
relation material used
['Old Brick Store', 'material used', 'stained glass']
ASK WHERE { resource:stained_glass property:material_used resource:Old_Brick_Store }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1473346
Q11430
USER
And which state of matter?
(Q1473346,P186,c(Q11430))
action filter_type
action find
entity Q1473346
relation P186
type Q11430
['Q1473346', 'P186', {'concept': 'Q11430'}]
SELECT DISTINCT ?i WHERE { resource:Q1473346 property:P186 ?i . ?i rdf:type ontology:Q11430 }
stained glass
action filter_type
action find
entity stained glass
relation material used
type state of matter
['stained glass', 'material used', {'concept': 'state of matter'}]
SELECT DISTINCT ?i WHERE { resource:stained_glass property:material_used ?i . ?i rdf:type ontology:state_of_matter }
[]
state of matter
Q11469
SYSTEM
glass
Q11469
(Q1473346,P186,c(Q11430))
action filter_type
action find
entity Q1473346
relation P186
type Q11430
[ANSWER]
['Q1473346', 'P186', {'concept': 'Q11430'}]
SELECT DISTINCT ?i WHERE { resource:Q1473346 property:P186 ?i . ?i rdf:type ontology:Q11430 }
glass
glass
action filter_type
action find
entity stained glass
relation material used
type state of matter
['stained glass', 'material used', {'concept': 'state of matter'}]
SELECT DISTINCT ?i WHERE { resource:stained_glass property:material_used ?i . ?i rdf:type ontology:state_of_matter }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7106029 Q937857
P425 P641
Q349
USER
Which sports are associated with the field of occupation association football player or were Oscar Hanson a part of ?
OR((Q937857,P425,c(Q349)), (Q7106029,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q7106029
relation P641
type Q349
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q7106029', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q937857 property:P425 ?u } UNION { resource:Q7106029 property:P641 ?u } } . ?u rdf:type ontology:Q349 }
Oscar Hanson association football player
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Oscar Hanson
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Oscar Hanson', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?u WHERE { { { resource:association_football_player property:field_of_this_occupation ?u } UNION { resource:Oscar_Hanson property:sport ?u } } . ?u rdf:type ontology:sport }
[]
sport
Q41466 Q2736
SYSTEM
ice hockey, association football
Q41466 Q2736
OR((Q937857,P425,c(Q349)), (Q7106029,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q7106029
relation P641
type Q349
And [ANSWERS] are associated with the field of occupation association football player or were Oscar Hanson a part of
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q7106029', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q937857 property:P425 ?u } UNION { resource:Q7106029 property:P641 ?u } } . ?u rdf:type ontology:Q349 }
ice hockey association football
And ice hockey and association football are associated with the field of occupation association football player or were Oscar Hanson a part of
ice hockey association football
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Oscar Hanson
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Oscar Hanson', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?u WHERE { { { resource:association_football_player property:field_of_this_occupation ?u } UNION { resource:Oscar_Hanson property:sport ?u } } . ?u rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q14405929
P641
Q349 Q502895 Q12973014
USER
How many sports did approximately the same number of people and sports teams participate in as high diving ?
(c(Q502895)|c(Q12973014),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q14405929
relation P641
type Q502895
type Q12973014
[[{'concept': 'Q502895'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?p ) WHERE { VALUES ( ?l ) { ( ontology:Q12973014 ) ( ontology:Q502895 ) } . ?s rdf:type ?l } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:P641 resource:Q14405929 . { { ?a rdf:type ontology:Q502895 } UNION { ?a rdf:type ontology:Q12973014 } } } } . FILTER ( ?p = ?w ) }
high diving
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_multi_types
action find_reverse
entity high diving
relation sport
type common name
type sports team
[[{'concept': 'common name'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?p ) WHERE { VALUES ( ?l ) { ( ontology:sports_team ) ( ontology:common_name ) } . ?s rdf:type ?l } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:sport resource:high_diving . { { ?a rdf:type ontology:common_name } UNION { ?a rdf:type ontology:sports_team } } } } . FILTER ( ?p = ?w ) }
[]
sport common name sports team
SYSTEM
178
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q847 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 Q7291 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5375 Q5377 Q206989 Q5369 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q1734 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q502895)|c(Q12973014),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q14405929
relation P641
type Q502895
type Q12973014
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?p ) WHERE { VALUES ( ?l ) { ( ontology:Q12973014 ) ( ontology:Q502895 ) } . ?s rdf:type ?l } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:P641 resource:Q14405929 . { { ?a rdf:type ontology:Q502895 } UNION { ?a rdf:type ontology:Q12973014 } } } } . FILTER ( ?p = ?w ) }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport tennis equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing American football badminton dancesport Kabaddi curling women's basketball rallying rallycross cricket golf shooting sport baseball canoe polo handball natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo volleyball swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing 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
178
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_multi_types
action find_reverse
entity high diving
relation sport
type common name
type sports team
[[{'concept': 'common name'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?p ) WHERE { VALUES ( ?l ) { ( ontology:sports_team ) ( ontology:common_name ) } . ?s rdf:type ?l } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:sport resource:high_diving . { { ?a rdf:type ontology:common_name } UNION { ?a rdf:type ontology:sports_team } } } } . FILTER ( ?p = ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q5369
P641
Q349 Q502895 Q12973014
USER
And also tell me about baseball?
(c(Q502895)|c(Q12973014),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q5369
relation P641
type Q502895
type Q12973014
[[{'concept': 'Q502895'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { ?g property:P641 resource:Q5369 . { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q12973014 ) } } } } . FILTER ( ?b = ?s ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) ?f WHERE { { ?p property:P641 ?f . ?f rdf:type ontology:Q349 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P641 ?f . ?f rdf:type ontology:Q349 . ?p rdf:type ontology:Q12973014 } } GROUP BY ?f } }
baseball
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_multi_types
action find_reverse
entity baseball
relation sport
type common name
type sports team
[[{'concept': 'common name'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { ?g property:sport resource:baseball . { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:common_name ) ( ontology:sports_team ) } } } } . FILTER ( ?b = ?s ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) ?f WHERE { { ?p property:sport ?f . ?f rdf:type ontology:sport . ?p rdf:type ontology:common_name } UNION { ?p property:sport ?f . ?f rdf:type ontology:sport . ?p rdf:type ontology:sports_team } } GROUP BY ?f } }
[]
sport common name sports team
SYSTEM
179
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q847 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 Q7291 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5375 Q5377 Q206989 Q5369 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q41466 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q1734 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q502895)|c(Q12973014),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_multi_types
action find_reverse
entity Q5369
relation P641
type Q502895
type Q12973014
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { ?g property:P641 resource:Q5369 . { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q12973014 ) } } } } . FILTER ( ?b = ?s ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) ?f WHERE { { ?p property:P641 ?f . ?f rdf:type ontology:Q349 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P641 ?f . ?f rdf:type ontology:Q349 . ?p rdf:type ontology:Q12973014 } } GROUP BY ?f } }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport tennis equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing American football badminton dancesport Kabaddi curling women's basketball rallying rallycross cricket golf shooting sport baseball canoe polo handball natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque ice hockey shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo volleyball swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing 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
179
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_multi_types
action find_reverse
entity baseball
relation sport
type common name
type sports team
[[{'concept': 'common name'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { ?g property:sport resource:baseball . { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:common_name ) ( ontology:sports_team ) } } } } . FILTER ( ?b = ?s ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) ?f WHERE { { ?p property:sport ?f . ?f rdf:type ontology:sport . ?p rdf:type ontology:common_name } UNION { ?p property:sport ?f . ?f rdf:type ontology:sport . ?p rdf:type ontology:sports_team } } GROUP BY ?f } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7118612 Q11469
P193 P186
Q18142
USER
Which tower blocks are built using glass or were built by PCL Construction ?
OR((c(Q18142),P186,Q11469), (c(Q18142),P193,Q7118612))
action filter_type
action union
action find_reverse
entity Q11469
relation P186
action find_reverse
entity Q7118612
relation P193
type Q18142
{'OR': [[{'concept': 'Q18142'}, 'P186', 'Q11469'], [{'concept': 'Q18142'}, 'P193', 'Q7118612']]}
SELECT DISTINCT ?e WHERE { { { ?e property:P193 resource:Q7118612 } UNION { ?e property:P186 resource:Q11469 } } . ?e rdf:type ontology:Q18142 }
PCL Construction glass
action filter_type
action union
action find_reverse
entity glass
relation material used
action find_reverse
entity PCL Construction
relation main building contractor
type tower block
{'OR': [[{'concept': 'tower block'}, 'material used', 'glass'], [{'concept': 'tower block'}, 'main building contractor', 'PCL Construction']]}
SELECT DISTINCT ?e WHERE { { { ?e property:main_building_contractor resource:PCL_Construction } UNION { ?e property:material_used resource:glass } } . ?e rdf:type ontology:tower_block }
[]
tower block
Q1033771 Q1676687 Q814128 Q138778 Q317034 Q1052475 Q1327514 Q1368798 Q3533202 Q1702873
SYSTEM
Some of them are Canterra Tower, 270 Park Avenue, Beetham Tower, 10 Holloway Circus, International Commerce Centre, First Canadian Place, Scotia Plaza, SEG Plaza, Tour Totem, Tour de la Bourse
Q7494698 Q168575 Q2446907 Q2843131 Q270066 Q112640 Q164877 Q814128 Q1052475 Q138778 Q1325540 Q18963386 Q14226100 Q214855 Q317034 Q7092825 Q1327514 Q1368798 Q774178 Q1033771 Q1702873 Q1224878 Q3285980 Q3533202 Q1892072 Q191161 Q1676687 Q2896735 Q859452 Q1613853
OR((c(Q18142),P186,Q11469), (c(Q18142),P193,Q7118612))
action filter_type
action union
action find_reverse
entity Q11469
relation P186
action find_reverse
entity Q7118612
relation P193
type Q18142
[ANSWERS] are built using glass or were built by PCL Construction
{'OR': [[{'concept': 'Q18142'}, 'P186', 'Q11469'], [{'concept': 'Q18142'}, 'P193', 'Q7118612']]}
SELECT DISTINCT ?e WHERE { { { ?e property:P193 resource:Q7118612 } UNION { ?e property:P186 resource:Q11469 } } . ?e rdf:type ontology:Q18142 }
Sheraton Oran Hotel and Towers CTF Finance Centre 53W53 Ameriprise Financial Center 7 World Trade Center Central Plaza 1000 de La Gauchetière Beetham Tower First Canadian Place 10 Holloway Circus Manulife Place Banco de la Nacion Tower Two International Finance Centre Bank of China Tower International Commerce Centre One London Place Scotia Plaza SEG Plaza Aura Canterra Tower Tour de la Bourse RBC Centre Manitoba Hydro Place Tour Totem Maple Leaf Square 30 St Mary Axe 270 Park Avenue Bentall 5 Hearst Tower Heron Tower
Canterra Tower, 270 Park Avenue, Beetham Tower, 10 Holloway Circus, International Commerce Centre, First Canadian Place, Scotia Plaza, SEG Plaza, Tour Totem and Tour de la Bourse are built using glass or were built by PCL Construction
Canterra Tower 270 Park Avenue Beetham Tower 10 Holloway Circus International Commerce Centre First Canadian Place Scotia Plaza SEG Plaza Tour Totem Tour de la Bourse
action filter_type
action union
action find_reverse
entity glass
relation material used
action find_reverse
entity PCL Construction
relation main building contractor
type tower block
{'OR': [[{'concept': 'tower block'}, 'material used', 'glass'], [{'concept': 'tower block'}, 'main building contractor', 'PCL Construction']]}
SELECT DISTINCT ?e WHERE { { { ?e property:main_building_contractor resource:PCL_Construction } UNION { ?e property:material_used resource:glass } } . ?e rdf:type ontology:tower_block }
[]