Simple Question (Direct)
Simple Question
Q4714869
P641
Q349
USER
Which sport did Aleksandar Simić participate in ?
(Q4714869,P641,c(Q349))
action filter_type
action find
entity Q4714869
relation P641
type Q349
['Q4714869', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q4714869 property:P641 ?i . ?i rdf:type ontology:Q349 }
Aleksandar Simić
action filter_type
action find
entity Aleksandar Simić
relation sport
type sport
['Aleksandar Simić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Aleksandar_Simić property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4714869,P641,c(Q349))
action filter_type
action find
entity Q4714869
relation P641
type Q349
Aleksandar Simić participated in [ANSWER]
['Q4714869', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q4714869 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
Aleksandar Simić participated in association football
association football
action filter_type
action find
entity Aleksandar Simić
relation sport
type sport
['Aleksandar Simić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Aleksandar_Simić property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4714869
P21
Q290
USER
What is the sex of Aleksandar Simić ?
(Q4714869,P21,c(Q290))
action filter_type
action find
entity Q4714869
relation P21
type Q290
['Q4714869', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q4714869 property:P21 ?m }
Aleksandar Simić
action filter_type
action find
entity Aleksandar Simić
relation gender
type sex
['Aleksandar Simić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Aleksandar_Simić property:gender ?m }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4714869,P21,c(Q290))
action filter_type
action find
entity Q4714869
relation P21
type Q290
The sex of Aleksandar Simić is the [ANSWER]
['Q4714869', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q4714869 property:P21 ?m }
male
The sex of Aleksandar Simić is the male
male
action filter_type
action find
entity Aleksandar Simić
relation gender
type sex
['Aleksandar Simić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Aleksandar_Simić property:gender ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2736
P366
Q1076486 Q483110
USER
How many sports venues or stadia mainly plays the role of a association football ?
(c(Q1076486),P366,Q2736) (c(Q483110),P366,Q2736)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P366
type Q1076486
action filter_type
action find_reverse
entity Q2736
relation P366
type Q483110
[{'concept': 'Q1076486'}, 'P366', 'Q2736'] [{'concept': 'Q483110'}, 'P366', 'Q2736']
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:P366 resource:Q2736 . ?y rdf:type ontology:Q1076486 } UNION { ?y property:P366 resource:Q2736 . ?y rdf:type ontology:Q483110 } }
association football
action count
action union
action filter_type
action find_reverse
entity association football
relation use
type sports venue
action filter_type
action find_reverse
entity association football
relation use
type stadium
[{'concept': 'sports venue'}, 'use', 'association football'] [{'concept': 'stadium'}, 'use', 'association football']
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:use resource:association_football . ?y rdf:type ontology:sports_venue } UNION { ?y property:use resource:association_football . ?y rdf:type ontology:stadium } }
[]
sports venue stadium
SYSTEM
55
Q935604 Q7536143 Q2301634 Q867234 Q6744417 Q6711371 Q7417550 Q5375261 Q501184 Q15057990 Q1421187 Q1238576 Q2701834 Q7845178 Q1326393 Q1165409 Q7619895 Q1453337 Q2093297 Q1154710 Q151379 Q4530146 Q5464623 Q627087 Q7289779 Q824352 Q4266901 Q1780359 Q5004954 Q571624 Q5743985 Q814577 Q6917112 Q10540509 Q725623 Q739184 Q1583034 Q7944304 Q982837 Q1568614 Q3967762 Q9393595 Q15077481 Q165944 Q15057987 Q727078 Q15057985 Q1138684 Q175960 Q1776735 Q197911 Q4444527 Q638087 Q15195205 Q3435821
(c(Q1076486),P366,Q2736) (c(Q483110),P366,Q2736)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P366
type Q1076486
action filter_type
action find_reverse
entity Q2736
relation P366
type Q483110
[ANSWER]
[{'concept': 'Q1076486'}, 'P366', 'Q2736'] [{'concept': 'Q483110'}, 'P366', 'Q2736']
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:P366 resource:Q2736 . ?y rdf:type ontology:Q1076486 } UNION { ?y property:P366 resource:Q2736 . ?y rdf:type ontology:Q483110 } }
Markbygg Arena Skogsvallen Strömvallen Swedbank Stadion Malmö IP Lövåsvallen Sandåkerns IP Enavallen Stadsparksvallen Hillängens IP Guldfågeln Arena Domnarvsvallen Tele2 Arena Trollebo IP Rambergsvallen Swedbank Park Stora Valla Fredriksskans Ryavallen football stadium T3 Arena Ekvallen Folkungavallen Borås Arena Ramnavallen Ullevi Tranebergs Idrottsplats Norrporten Arena Bårsta IP Idrottsparken Herrgärdets IP Behrn Arena Motala Idrottspark Johanneshovs IP Råsunda Stadium Landskrona IP Myresjöhus Arena Vägga IP Linköping Arena Södertälje Fotbollsarena Stadio Emilio Colombo-Gaetano Gianetti Ängelholms IP Gamla Ullevi Gamla Ullevi Kamratvallen Stockholm Olympic Stadium Norra IP Friends Arena Malmö stadion Söderstadion Zhongshan Soccer Stadium Studenternas IP Olympia Tyresövallen Jämtkraft Arena
55
action count
action union
action filter_type
action find_reverse
entity association football
relation use
type sports venue
action filter_type
action find_reverse
entity association football
relation use
type stadium
[{'concept': 'sports venue'}, 'use', 'association football'] [{'concept': 'stadium'}, 'use', 'association football']
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { ?y property:use resource:association_football . ?y rdf:type ontology:sports_venue } UNION { ?y property:use resource:association_football . ?y rdf:type ontology:stadium } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P361
Q476300
USER
Which competition is a portion of that sport ?
action filter_type
action find_reverse
entity Q2736
relation P361
type Q476300
SELECT DISTINCT ?u WHERE { ?u property:P361 resource:Q2736 . ?u rdf:type ontology:Q476300 }
association football
action filter_type
action find_reverse
entity association football
relation part of
type competition
SELECT DISTINCT ?u WHERE { ?u property:part_of resource:association_football . ?u rdf:type ontology:competition }
[]
competition
Q16466010
SYSTEM
association football match
Q16466010
action filter_type
action find_reverse
entity Q2736
relation P361
type Q476300
Match [ANSWER] is a portion of that sport
SELECT DISTINCT ?u WHERE { ?u property:P361 resource:Q2736 . ?u rdf:type ontology:Q476300 }
association football match
Match association football match is a portion of that sport
association football match
action filter_type
action find_reverse
entity association football
relation part of
type competition
SELECT DISTINCT ?u WHERE { ?u property:part_of resource:association_football . ?u rdf:type ontology:competition }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P641
Q349 Q12973014 Q500834
USER
Which sports did min number of sports teams and tournaments participate in ?
(c(Q12973014)|c(Q500834),P641,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
[[{'concept': 'Q12973014'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?m ) { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?c ) { ( ontology:Q12973014 ) ( ontology:Q500834 ) } . ?z rdf:type ?c } GROUP BY ?u } } . FILTER ( ?t = ?m ) . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?t ) WHERE { { ?v property:P641 ?r . ?r rdf:type ontology:Q349 . ?v rdf:type ontology:Q12973014 } UNION { ?v property:P641 ?r . ?r rdf:type ontology:Q349 . ?v rdf:type ontology:Q500834 } } GROUP BY ?r } }
action argmin
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type tournament
[[{'concept': 'sports team'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?m ) { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?c ) { ( ontology:sports_team ) ( ontology:tournament ) } . ?z rdf:type ?c } GROUP BY ?u } } . FILTER ( ?t = ?m ) . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?t ) WHERE { { ?v property:sport ?r . ?r rdf:type ontology:sport . ?v rdf:type ontology:sports_team } UNION { ?v property:sport ?r . ?r rdf:type ontology:sport . ?v rdf:type ontology:tournament } } GROUP BY ?r } }
[]
sport sports team tournament
Q809831 Q1295867 Q1148620
SYSTEM
BASE jumping, pesäpallo, Finswimming
Q4543 Q170737 Q114466 Q12100 Q2348250 Q3337306 Q193387 Q108429 Q191051 Q4808504 Q3844480 Q809831 Q1575010 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q46241 Q83462 Q3372565 Q208607 Q961015 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q738622 Q148636 Q2887217 Q206989 Q690676 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 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 Q6034982 Q12834857 Q61065 Q2284014 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q36908 Q483693 Q389654 Q61465 Q4245261 Q624161 Q327742 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q797108 Q2167372 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q1541373 Q1150656 Q1063445 Q6140386 Q3325635 Q207703 Q1358925 Q667692 Q1622659 Q1421697 Q201252 Q32112 Q14405929 Q1129021 Q178678 Q6350707 Q159992 Q3924425 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q12973014)|c(Q500834),P641,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
Min number of sports teams and tournaments participated in [ANSWERS]
[[{'concept': 'Q12973014'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?m ) { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?c ) { ( ontology:Q12973014 ) ( ontology:Q500834 ) } . ?z rdf:type ?c } GROUP BY ?u } } . FILTER ( ?t = ?m ) . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?t ) WHERE { { ?v property:P641 ?r . ?r rdf:type ontology:Q349 . ?v rdf:type ontology:Q12973014 } UNION { ?v property:P641 ?r . ?r rdf:type ontology:Q349 . ?v rdf:type ontology:Q500834 } } GROUP BY ?r } }
beach volleyball long jump mixed martial arts fencing team time trial yachting croquet archery windsurfing snocross rink bandy BASE jumping para rowing Ultimate memory sport equestrian sport puroresu paintball Finswimming drag racing weightlifting Kettlebell lifting kung fu women's boxing professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing dancesport Kabaddi women's basketball shooting sport canoe polo natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war 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 Inline skating strength training water sport Contact sport competition aerobatics paralympic swimming gymnastics balkline and straight rail skating mountaineering parkour Greco-Roman wrestling rhythmic gymnastics touring car racing gliding relay race Savate bowling wakeboarding strength athletics CP football jeu de paume fell running real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell sport climbing wheelchair curling nine-ball Kitō-ryū Valencian trinquet rodeo speed skiing Nordic walking hockey Chilean rodeo pankration boxing high diving super giant slalom skiing kick boxing Kalari surfing combined track and field events Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
Min number of sports teams and tournaments participated in BASE jumping, pesäpallo and Finswimming
BASE jumping pesäpallo Finswimming
action argmin
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type tournament
[[{'concept': 'sports team'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?m ) { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?c ) { ( ontology:sports_team ) ( ontology:tournament ) } . ?z rdf:type ?c } GROUP BY ?u } } . FILTER ( ?t = ?m ) . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?t ) WHERE { { ?v property:sport ?r . ?r rdf:type ontology:sport . ?v rdf:type ontology:sports_team } UNION { ?v property:sport ?r . ?r rdf:type ontology:sport . ?v rdf:type ontology:tournament } } GROUP BY ?r } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q809831
P138
Q811430
USER
Which construction is the etymology of that sport ?
(Q809831,P138,c(Q811430))
action filter_type
action find
entity Q809831
relation P138
type Q811430
['Q809831', 'P138', {'concept': 'Q811430'}]
SELECT DISTINCT ?r WHERE { resource:Q809831 property:P138 ?r . ?r rdf:type ontology:Q811430 }
BASE jumping
action filter_type
action find
entity BASE jumping
relation named after
type construction
['BASE jumping', 'named after', {'concept': 'construction'}]
SELECT DISTINCT ?r WHERE { resource:BASE_jumping property:named_after ?r . ?r rdf:type ontology:construction }
[]
construction
Clarification for simple ques.
Q1148620
SYSTEM
Did you mean Finswimming ?
Q809831 Q1295867 Q1148620
(Q809831,P138,c(Q811430)) (Q1295867,P138,c(Q811430)) (Q1148620,P138,c(Q811430))
[ANSWER]
['Q809831', 'P138', {'concept': 'Q811430'}] ['Q1295867', 'P138', {'concept': 'Q811430'}] ['Q1148620', 'P138', {'concept': 'Q811430'}]
SELECT DISTINCT ?r WHERE { resource:Q809831 property:P138 ?r . ?r rdf:type ontology:Q811430 }
BASE jumping pesäpallo Finswimming
Did you mean Finswimming ?
Finswimming
['BASE jumping', 'named after', {'concept': 'construction'}] ['pesäpallo', 'named after', {'concept': 'construction'}] ['Finswimming', 'named after', {'concept': 'construction'}]
SELECT DISTINCT ?r WHERE { resource:BASE_jumping property:named_after ?r . ?r rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
USER
No, I meant BASE jumping. Could you tell me the answer for that?
(Q809831,P138,c(Q811430))
Q809831
['Q809831', 'P138', {'concept': 'Q811430'}]
['BASE jumping', 'named after', {'concept': 'construction'}]
[]
Q41176
SYSTEM
building
Q41176
(Q809831,P138,c(Q811430))
action filter_type
action find
entity Q809831
relation P138
type Q811430
[ANSWER] is the etymology of that sport
['Q809831', 'P138', {'concept': 'Q811430'}]
SELECT DISTINCT ?r WHERE { resource:Q809831 property:P138 ?r . ?r rdf:type ontology:Q811430 }
building
Building is the etymology of that sport
building
action filter_type
action find
entity BASE jumping
relation named after
type construction
['BASE jumping', 'named after', {'concept': 'construction'}]
SELECT DISTINCT ?r WHERE { resource:BASE_jumping property:named_after ?r . ?r rdf:type ontology:construction }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q41176 Q3284858
P361
Q811430
USER
Is shed a portion of that one ?
(Q3284858,P361,Q41176)
action is_in
entity Q3284858
action find
entity Q41176
relation P361
['Q3284858', 'P361', 'Q41176']
ASK WHERE { resource:Q41176 property:P361 resource:Q3284858 }
building shed
action is_in
entity shed
action find
entity building
relation part of
['shed', 'part of', 'building']
ASK WHERE { resource:building property:part_of resource:shed }
[]
construction
SYSTEM
NO
(Q3284858,P361,Q41176)
action is_in
entity Q3284858
action find
entity Q41176
relation P361
[ANSWER]
['Q3284858', 'P361', 'Q41176']
ASK WHERE { resource:Q41176 property:P361 resource:Q3284858 }
No
action is_in
entity shed
action find
entity building
relation part of
['shed', 'part of', 'building']
ASK WHERE { resource:building property:part_of resource:shed }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4714869 Q403 Q554248
P27
Q15617994
USER
Is Aleksandar Simić a native of Serbia and Nauroth ?
(Q4714869,P27,Q403) (Q4714869,P27,Q554248)
action is_in
entity Q4714869
action intersection
action find_reverse
entity Q403
relation P27
action find_reverse
entity Q554248
relation P27
['Q4714869', 'P27', 'Q403'] ['Q4714869', 'P27', 'Q554248']
ASK WHERE { resource:Q4714869 property:P27 resource:Q403 . resource:Q4714869 property:P27 resource:Q554248 }
Aleksandar Simić Serbia Nauroth
action is_in
entity Aleksandar Simić
action intersection
action find_reverse
entity Serbia
relation country of citizenship
action find_reverse
entity Nauroth
relation country of citizenship
['Aleksandar Simić', 'country of citizenship', 'Serbia'] ['Aleksandar Simić', 'country of citizenship', 'Nauroth']
ASK WHERE { resource:Aleksandar_Simić property:country_of_citizenship resource:Serbia . resource:Aleksandar_Simić property:country_of_citizenship resource:Nauroth }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q4714869,P27,Q403) (Q4714869,P27,Q554248)
action is_in
entity Q4714869
action intersection
action find_reverse
entity Q403
relation P27
action find_reverse
entity Q554248
relation P27
[ANSWER]
['Q4714869', 'P27', 'Q403'] ['Q4714869', 'P27', 'Q554248']
ASK WHERE { resource:Q4714869 property:P27 resource:Q403 . resource:Q4714869 property:P27 resource:Q554248 }
YES and NO respectively
action is_in
entity Aleksandar Simić
action intersection
action find_reverse
entity Serbia
relation country of citizenship
action find_reverse
entity Nauroth
relation country of citizenship
['Aleksandar Simić', 'country of citizenship', 'Serbia'] ['Aleksandar Simić', 'country of citizenship', 'Nauroth']
ASK WHERE { resource:Aleksandar_Simić property:country_of_citizenship resource:Serbia . resource:Aleksandar_Simić property:country_of_citizenship resource:Nauroth }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4714869
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
action filter_type
action find
entity Q4714869
relation P106
type Q12737077
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q4714869 property:P106 ?i }
Aleksandar Simić
action filter_type
action find
entity Aleksandar Simić
relation occupation
type occupation
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Aleksandar_Simić property:occupation ?i }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
action filter_type
action find
entity Q4714869
relation P106
type Q12737077
Player [ANSWER] has that person as his/her 's career
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q4714869 property:P106 ?i }
association football player
Player association football player has that person as his/her 's career
association football player
action filter_type
action find
entity Aleksandar Simić
relation occupation
type occupation
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Aleksandar_Simić property:occupation ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q811979 Q39546
USER
How many sports are considered to be the main utilization of atmost 1 architectural structures and tools ?
(c(Q811979)|c(Q39546),P366,c(Q349))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
value 1
[[{'concept': 'Q811979'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?u ) WHERE { VALUES ( ?l ) { ( ontology:Q811979 ) ( ontology:Q39546 ) } . ?p rdf:type ?l } GROUP BY ?c } . FILTER ( ?u <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type tool
value 1
[[{'concept': 'architectural structure'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?u ) WHERE { VALUES ( ?l ) { ( ontology:architectural_structure ) ( ontology:tool ) } . ?p rdf:type ?l } GROUP BY ?c } . FILTER ( ?u <= 1 ) }
[]
sport architectural structure tool
SYSTEM
23
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q41466 Q22857 Q1194269 Q41323 Q7291
(c(Q811979)|c(Q39546),P366,c(Q349))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
value 1
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?u ) WHERE { VALUES ( ?l ) { ( ontology:Q811979 ) ( ontology:Q39546 ) } . ?p rdf:type ?l } GROUP BY ?c } . FILTER ( ?u <= 1 ) }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running air racing archery gliding greyhound racing bobsleigh floorball association football water sport tennis ice hockey climbing harness racing American football badminton
23
action count
action atmost
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type tool
value 1
[[{'concept': 'architectural structure'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?u ) WHERE { VALUES ( ?l ) { ( ontology:architectural_structure ) ( ontology:tool ) } . ?p rdf:type ?l } GROUP BY ?c } . FILTER ( ?u <= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q623616 Q4714869
P27
Q15617994
USER
Which administrative territories are Aleksandar Simić or Yi Yun-yong a civilian of ?
OR((Q4714869,P27,c(Q15617994)), (Q623616,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4714869
relation P27
action find
entity Q623616
relation P27
type Q15617994
{'OR': [['Q4714869', 'P27', {'concept': 'Q15617994'}], ['Q623616', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?f ) { ( resource:Q623616 ) ( resource:Q4714869 ) } . ?f property:P27 ?z } . ?z rdf:type ontology:Q15617994 }
Yi Yun-yong Aleksandar Simić
action filter_type
action union
action find
entity Aleksandar Simić
relation country of citizenship
action find
entity Yi Yun-yong
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Aleksandar Simić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yi Yun-yong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?f ) { ( resource:Yi_Yun-yong ) ( resource:Aleksandar_Simić ) } . ?f property:country_of_citizenship ?z } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403 Q884
SYSTEM
Serbia, South Korea
Q403 Q884
OR((Q4714869,P27,c(Q15617994)), (Q623616,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4714869
relation P27
action find
entity Q623616
relation P27
type Q15617994
[ANSWERS] are Aleksandar Simić or Yi Yun-yong a civilian of
{'OR': [['Q4714869', 'P27', {'concept': 'Q15617994'}], ['Q623616', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?f ) { ( resource:Q623616 ) ( resource:Q4714869 ) } . ?f property:P27 ?z } . ?z rdf:type ontology:Q15617994 }
Serbia South Korea
Serbia and South Korea are Aleksandar Simić or Yi Yun-yong a civilian of
Serbia South Korea
action filter_type
action union
action find
entity Aleksandar Simić
relation country of citizenship
action find
entity Yi Yun-yong
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Aleksandar Simić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yi Yun-yong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?f ) { ( resource:Yi_Yun-yong ) ( resource:Aleksandar_Simić ) } . ?f property:country_of_citizenship ?z } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q142
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with more number of administrative territories than France ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q142
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?y ) WHERE { ?h property:P530 ?z . ?h rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Q142 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?y > ?p ) }
France
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?y ) WHERE { ?h property:diplomatic_relation ?z . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:France property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y > ?p ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q159 Q155 Q30 Q38
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q142
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with more number of administrative territories than France
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?y ) WHERE { ?h property:P530 ?z . ?h rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Q142 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?y > ?p ) }
Israel Russia Brazil United States of America Italy
Italy, Brazil and United States of America have diplomatic relations with more number of administrative territories than France
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?y ) WHERE { ?h property:diplomatic_relation ?z . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:France property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y > ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q858
P530
Q15617994 Q15617994
USER
And what about Syria?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q858
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?x ) WHERE { ?m rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 . ?m property:P530 ?b } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u property:P530 resource:Q858 . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?x > ?n ) }
Syria
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Syria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?x ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:diplomatic_relation ?b } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u property:diplomatic_relation resource:Syria . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x > ?n ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q27 Q1049 Q843 Q228 Q227 Q224 Q222 Q347 Q17 Q974 Q1033 Q298 Q115 Q114 Q212 Q213 Q211 Q215 Q916 Q79 Q810 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q858
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?x ) WHERE { ?m rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 . ?m property:P530 ?b } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u property:P530 resource:Q858 . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?x > ?n ) }
Israel Yemen India Argentina France United Kingdom Algeria People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Ireland Sudan Pakistan Andorra Azerbaijan Croatia Albania Liechtenstein Japan Democratic Republic of the Congo Nigeria Chile Ethiopia Kenya Ukraine Czech Republic Latvia Slovenia Angola Egypt Jordan Libya Cape Verde Spain Zambia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Syria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?x ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:diplomatic_relation ?b } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u property:diplomatic_relation resource:Syria . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x > ?n ) }
[]