Simple Question (Direct)
Simple Question
Q168540
P21
Q290
USER
What is the sex of Roger Milla ?
(Q168540,P21,c(Q290))
action filter_type
action find
entity Q168540
relation P21
type Q290
['Q168540', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q168540 property:P21 ?r . ?r rdf:type ontology:Q290 }
Roger Milla
action filter_type
action find
entity Roger Milla
relation gender
type sex
['Roger Milla', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Roger_Milla property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q168540,P21,c(Q290))
action filter_type
action find
entity Q168540
relation P21
type Q290
The sex of Roger Milla is the [ANSWER]
['Q168540', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q168540 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of Roger Milla is the male
male
action filter_type
action find
entity Roger Milla
relation gender
type sex
['Roger Milla', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Roger_Milla property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q168540
P1344
Q15275719
USER
Which recurring events did Roger Milla take part in ?
(Q168540,P1344,c(Q15275719))
action filter_type
action find
entity Q168540
relation P1344
type Q15275719
['Q168540', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?a WHERE { resource:Q168540 property:P1344 ?a . ?a rdf:type ontology:Q15275719 }
Roger Milla
action filter_type
action find
entity Roger Milla
relation participant of
type recurring event
['Roger Milla', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?a WHERE { resource:Roger_Milla property:participant_of ?a . ?a rdf:type ontology:recurring_event }
[]
recurring event
Q132529 Q101751 Q46934
SYSTEM
1990 FIFA World Cup, 1994 FIFA World Cup, 1982 FIFA World Cup
Q132529 Q101751 Q46934
(Q168540,P1344,c(Q15275719))
action filter_type
action find
entity Q168540
relation P1344
type Q15275719
Roger Milla took part in [ANSWERS]
['Q168540', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?a WHERE { resource:Q168540 property:P1344 ?a . ?a rdf:type ontology:Q15275719 }
1990 FIFA World Cup 1994 FIFA World Cup 1982 FIFA World Cup
Roger Milla took part in 1990 FIFA World Cup, 1994 FIFA World Cup and 1982 FIFA World Cup
1990 FIFA World Cup 1994 FIFA World Cup 1982 FIFA World Cup
action filter_type
action find
entity Roger Milla
relation participant of
type recurring event
['Roger Milla', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?a WHERE { resource:Roger_Milla property:participant_of ?a . ?a rdf:type ontology:recurring_event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q101751
P641
Q349
USER
What did that recurring event participate in ?
(Q101751,P641,c(Q349))
action filter_type
action find
entity Q101751
relation P641
type Q349
['Q101751', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q101751 property:P641 ?e }
1994 FIFA World Cup
action filter_type
action find
entity 1994 FIFA World Cup
relation sport
type sport
['1994 FIFA World Cup', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:1994_FIFA_World_Cup property:sport ?e }
[]
sport
Clarification for simple ques.
Q101751
SYSTEM
Did you mean 1994 FIFA World Cup ?
Q132529 Q101751 Q46934
(Q132529,P641,c(Q349)) (Q101751,P641,c(Q349)) (Q46934,P641,c(Q349))
[ANSWER]
['Q132529', 'P641', {'concept': 'Q349'}] ['Q101751', 'P641', {'concept': 'Q349'}] ['Q46934', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q101751 property:P641 ?e }
1990 FIFA World Cup 1994 FIFA World Cup 1982 FIFA World Cup
Did you mean 1994 FIFA World Cup ?
1994 FIFA World Cup
['1990 FIFA World Cup', 'sport', {'concept': 'sport'}] ['1994 FIFA World Cup', 'sport', {'concept': 'sport'}] ['1982 FIFA World Cup', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:1994_FIFA_World_Cup property:sport ?e }
[]
Simple Question (Coreferenced)
USER
Yes
(Q101751,P641,c(Q349))
['Q101751', 'P641', {'concept': 'Q349'}]
['1994 FIFA World Cup', 'sport', {'concept': 'sport'}]
[]
Q2736
SYSTEM
association football
Q2736
(Q101751,P641,c(Q349))
action filter_type
action find
entity Q101751
relation P641
type Q349
That recurring event participated in [ANSWER]
['Q101751', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q101751 property:P641 ?e }
association football
That recurring event participated in association football
association football
action filter_type
action find
entity 1994 FIFA World Cup
relation sport
type sport
['1994 FIFA World Cup', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:1994_FIFA_World_Cup property:sport ?e }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q704880 Q132529
P54 P1923
Q1194951
USER
Which national sports teams took part in 1990 FIFA World Cup or are Pablo Thiam a member of ?
OR((Q132529,P1923,c(Q1194951)), (Q704880,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q132529
relation P1923
action find
entity Q704880
relation P54
type Q1194951
{'OR': [['Q132529', 'P1923', {'concept': 'Q1194951'}], ['Q704880', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1194951 . { { resource:Q132529 property:P1923 ?t } UNION { resource:Q704880 property:P54 ?t } } }
Pablo Thiam 1990 FIFA World Cup
action filter_type
action union
action find
entity 1990 FIFA World Cup
relation participating teams
action find
entity Pablo Thiam
relation member of sports team
type national sports team
{'OR': [['1990 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}], ['Pablo Thiam', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:national_sports_team . { { resource:1990_FIFA_World_Cup property:participating_teams ?t } UNION { resource:Pablo_Thiam property:member_of_sports_team ?t } } }
[]
national sports team
Q43310 Q134916 Q47050 Q194387 Q212564 Q676899 Q34044 Q163547 Q188363 Q160826
SYSTEM
Some of them are Germany national football team, Uruguay national football team, Netherlands national football team, Costa Rica national football team, Colombia national football team, Italy national football team, Scotland national football team, Republic of Ireland national football team, Yugoslavia national football team, Sweden national football team
Q28089 Q163547 Q42267 Q47050 Q235411 Q182072 Q166776 Q160826 Q189275 Q34044 Q83459 Q175309 Q164134 Q79800 Q543842 Q47762 Q212564 Q163534 Q188363 Q134916 Q43310 Q676899 Q235910 Q194387 Q168397
OR((Q132529,P1923,c(Q1194951)), (Q704880,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q132529
relation P1923
action find
entity Q704880
relation P54
type Q1194951
[ANSWERS] took part in 1990 FIFA World Cup or are Pablo Thiam a member of
{'OR': [['Q132529', 'P1923', {'concept': 'Q1194951'}], ['Q704880', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1194951 . { { resource:Q132529 property:P1923 ?t } UNION { resource:Q704880 property:P54 ?t } } }
Egypt national football team Republic of Ireland national football team Spain national football team Netherlands national football team Guinea national football team Czechoslovakia national football team Belgium national football team Sweden national football team Soviet Union national football team Scotland national football team Brazil national football team Cameroon national football team United States men's national soccer team Argentina national football team South Korea national football team England national football team Colombia national football team Austria national football team Yugoslavia national football team Uruguay national football team Germany national football team Italy national football team United Arab Emirates national football team Costa Rica national football team Romania national football team
Germany national football team, Uruguay national football team, Netherlands national football team, Costa Rica national football team, Colombia national football team, Italy national football team, Scotland national football team, Republic of Ireland national football team, Yugoslavia national football team and Sweden national football team took part in 1990 FIFA World Cup or are Pablo Thiam a member of
Germany national football team Uruguay national football team Netherlands national football team Costa Rica national football team Colombia national football team Italy national football team Scotland national football team Republic of Ireland national football team Yugoslavia national football team Sweden national football team
action filter_type
action union
action find
entity 1990 FIFA World Cup
relation participating teams
action find
entity Pablo Thiam
relation member of sports team
type national sports team
{'OR': [['1990 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}], ['Pablo Thiam', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:national_sports_team . { { resource:1990_FIFA_World_Cup property:participating_teams ?t } UNION { resource:Pablo_Thiam property:member_of_sports_team ?t } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8407
P793
Q502895
USER
Which person has 1952 Summer Olympics as a significant associated event ?
(c(Q502895),P793,Q8407)
action filter_type
action find_reverse
entity Q8407
relation P793
type Q502895
[{'concept': 'Q502895'}, 'P793', 'Q8407']
SELECT DISTINCT ?y WHERE { ?y property:P793 resource:Q8407 . ?y rdf:type ontology:Q502895 }
1952 Summer Olympics
action filter_type
action find_reverse
entity 1952 Summer Olympics
relation significant event
type common name
[{'concept': 'common name'}, 'significant event', '1952 Summer Olympics']
SELECT DISTINCT ?y WHERE { ?y property:significant_event resource:1952_Summer_Olympics . ?y rdf:type ontology:common_name }
[]
common name
Q16570777
SYSTEM
Lars Lundström
Q16570777
(c(Q502895),P793,Q8407)
action filter_type
action find_reverse
entity Q8407
relation P793
type Q502895
[ANSWER] has 1952 Summer Olympics as a significant associated event
[{'concept': 'Q502895'}, 'P793', 'Q8407']
SELECT DISTINCT ?y WHERE { ?y property:P793 resource:Q8407 . ?y rdf:type ontology:Q502895 }
Lars Lundström
Lars Lundström has 1952 Summer Olympics as a significant associated event
Lars Lundström
action filter_type
action find_reverse
entity 1952 Summer Olympics
relation significant event
type common name
[{'concept': 'common name'}, 'significant event', '1952 Summer Olympics']
SELECT DISTINCT ?y WHERE { ?y property:significant_event resource:1952_Summer_Olympics . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16570777
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q16570777,P27,c(Q15617994))
action filter_type
action find
entity Q16570777
relation P27
type Q15617994
['Q16570777', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q16570777 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Lars Lundström
action filter_type
action find
entity Lars Lundström
relation country of citizenship
type designation for an administrative territorial entity
['Lars Lundström', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Lars_Lundström property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q16570777,P27,c(Q15617994))
action filter_type
action find
entity Q16570777
relation P27
type Q15617994
That person belongs to a [ANSWER]
['Q16570777', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q16570777 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Sweden
That person belongs to a Sweden
Sweden
action filter_type
action find
entity Lars Lundström
relation country of citizenship
type designation for an administrative territorial entity
['Lars Lundström', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Lars_Lundström property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P206
Q15324 Q1267889
USER
How many bodies of water and waterways are situated in the neighbourhood of that administrative territory ?
(Q34,P206,c(Q15324)) (Q34,P206,c(Q1267889)) (Q34,P206,c(Q15324)) (Q34,P206,c(Q1267889))
action count
action union
action filter_type
action find
entity Q34
relation P206
type Q15324
action filter_type
action find
entity Q34
relation P206
type Q1267889
['Q34', 'P206', {'concept': 'Q15324'}] ['Q34', 'P206', {'concept': 'Q1267889'}] ['Q34', 'P206', {'concept': 'Q15324'}] ['Q34', 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { ?i rdf:type ontology:Q1267889 . resource:Q34 property:P206 ?i } UNION { resource:Q34 property:P206 ?i . ?i rdf:type ontology:Q15324 } }
action count
action union
action filter_type
action find
entity Sweden
relation located next to body of water
type body of water
action filter_type
action find
entity Sweden
relation located next to body of water
type waterway
['Sweden', 'located next to body of water', {'concept': 'body of water'}] ['Sweden', 'located next to body of water', {'concept': 'waterway'}] ['Sweden', 'located next to body of water', {'concept': 'body of water'}] ['Sweden', 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { ?i rdf:type ontology:waterway . resource:Sweden property:located_next_to_body_of_water ?i } UNION { resource:Sweden property:located_next_to_body_of_water ?i . ?i rdf:type ontology:body_of_water } }
[]
body of water waterway
SYSTEM
1 bodies of water and 1 waterways
Q131716 Q545
(Q34,P206,c(Q15324)) (Q34,P206,c(Q1267889)) (Q34,P206,c(Q15324)) (Q34,P206,c(Q1267889))
action count
action union
action filter_type
action find
entity Q34
relation P206
type Q15324
action filter_type
action find
entity Q34
relation P206
type Q1267889
[ANSWER]
['Q34', 'P206', {'concept': 'Q15324'}] ['Q34', 'P206', {'concept': 'Q1267889'}] ['Q34', 'P206', {'concept': 'Q15324'}] ['Q34', 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { ?i rdf:type ontology:Q1267889 . resource:Q34 property:P206 ?i } UNION { resource:Q34 property:P206 ?i . ?i rdf:type ontology:Q15324 } }
Kattegat Baltic Sea
1 bodies of water and 1 waterways
action count
action union
action filter_type
action find
entity Sweden
relation located next to body of water
type body of water
action filter_type
action find
entity Sweden
relation located next to body of water
type waterway
['Sweden', 'located next to body of water', {'concept': 'body of water'}] ['Sweden', 'located next to body of water', {'concept': 'waterway'}] ['Sweden', 'located next to body of water', {'concept': 'body of water'}] ['Sweden', 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { ?i rdf:type ontology:waterway . resource:Sweden property:located_next_to_body_of_water ?i } UNION { resource:Sweden property:located_next_to_body_of_water ?i . ?i rdf:type ontology:body_of_water } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q2088357 Q7725634
USER
Which administrative territories did atmost 9679 musical ensembles or literary works originate ?
(c(Q2088357)|c(Q7725634),P495,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
value 9679
[[{'concept': 'Q2088357'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?e WHERE { { ?f property:P495 ?e . ?e rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q7725634 } UNION { ?f property:P495 ?e . ?e rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q2088357 } } GROUP BY ?e } . FILTER ( ?m <= 9679 ) }
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
value 9679
[[{'concept': 'musical ensemble'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?e WHERE { { ?f property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:literary_work } UNION { ?f property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:musical_ensemble } } GROUP BY ?e } . FILTER ( ?m <= 9679 ) }
[]
designation for an administrative territorial entity musical ensemble literary work
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2088357)|c(Q7725634),P495,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
value 9679
Atmost 9679 musical ensembles or literary works originated from [ANSWERS]
[[{'concept': 'Q2088357'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?e WHERE { { ?f property:P495 ?e . ?e rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q7725634 } UNION { ?f property:P495 ?e . ?e rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q2088357 } } GROUP BY ?e } . FILTER ( ?m <= 9679 ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Atmost 9679 musical ensembles or literary works originated from Italy, Brazil and Georgia
Italy Brazil Georgia
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
value 9679
[[{'concept': 'musical ensemble'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?e WHERE { { ?f property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:literary_work } UNION { ?f property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:musical_ensemble } } GROUP BY ?e } . FILTER ( ?m <= 9679 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1923
Q1194951 Q13406554 Q15275719
USER
Which national sports teams competed in exactly 14 sport competitions and recurring events ?
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action equal
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
value 14
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?m WHERE { VALUES ( ?f ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?u rdf:type ?f } GROUP BY ?m } . FILTER ( ?j = 14 ) }
action equal
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
value 14
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?m WHERE { VALUES ( ?f ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?u rdf:type ?f } GROUP BY ?m } . FILTER ( ?j = 14 ) }
[]
national sports team sport competition recurring event
Q160826 Q165141
SYSTEM
Sweden national football team, Swiss national football team
Q160826 Q165141
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action equal
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
value 14
[ANSWERS] competed in exactly 14 sport competitions and recurring events
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?m WHERE { VALUES ( ?f ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?u rdf:type ?f } GROUP BY ?m } . FILTER ( ?j = 14 ) }
Sweden national football team Swiss national football team
Sweden national football team and Swiss national football team competed in exactly 14 sport competitions and recurring events
Sweden national football team Swiss national football team
action equal
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
value 14
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?m WHERE { VALUES ( ?f ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?u rdf:type ?f } GROUP BY ?m } . FILTER ( ?j = 14 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q132515
P1923
Q15275719
USER
Did those national sports teams take part in 1950 FIFA World Cup ?
(Q132515,P1923,Q160826) (Q132515,P1923,Q165141)
action is_in
entity prev_answer
action find
entity Q132515
relation P1923
['Q132515', 'P1923', 'Q160826'] ['Q132515', 'P1923', 'Q165141']
ASK WHERE { VALUES ( ?d ) { ( resource:Q160826 ) ( resource:Q165141 ) } . resource:Q132515 property:P1923 ?d }
1950 FIFA World Cup
action is_in
entity prev_answer
action find
entity 1950 FIFA World Cup
relation participating teams
['1950 FIFA World Cup', 'participating teams', 'Sweden national football team'] ['1950 FIFA World Cup', 'participating teams', 'Swiss national football team']
ASK WHERE { VALUES ( ?d ) { ( resource:Sweden_national_football_team ) ( resource:Swiss_national_football_team ) } . resource:1950_FIFA_World_Cup property:participating_teams ?d }
[]
recurring event
SYSTEM
YES
(Q132515,P1923,Q160826) (Q132515,P1923,Q165141)
action is_in
entity prev_answer
action find
entity Q132515
relation P1923
[ANSWER]
['Q132515', 'P1923', 'Q160826'] ['Q132515', 'P1923', 'Q165141']
ASK WHERE { VALUES ( ?d ) { ( resource:Q160826 ) ( resource:Q165141 ) } . resource:Q132515 property:P1923 ?d }
Yes
action is_in
entity prev_answer
action find
entity 1950 FIFA World Cup
relation participating teams
['1950 FIFA World Cup', 'participating teams', 'Sweden national football team'] ['1950 FIFA World Cup', 'participating teams', 'Swiss national football team']
ASK WHERE { VALUES ( ?d ) { ( resource:Sweden_national_football_team ) ( resource:Swiss_national_football_team ) } . resource:1950_FIFA_World_Cup property:participating_teams ?d }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q134916 Q132529 Q134202
P1344
Q15275719
USER
Did Uruguay national football team participate in 1990 FIFA World Cup and 1966 FIFA World Cup ?
(Q134916,P1344,Q132529) (Q134916,P1344,Q134202)
action is_in
entity Q134916
action intersection
action find_reverse
entity Q132529
relation P1344
action find_reverse
entity Q134202
relation P1344
['Q134916', 'P1344', 'Q132529'] ['Q134916', 'P1344', 'Q134202']
ASK WHERE { resource:Q134916 property:P1344 resource:Q132529 . resource:Q134916 property:P1344 resource:Q134202 }
Uruguay national football team 1990 FIFA World Cup 1966 FIFA World Cup
action is_in
entity Uruguay national football team
action intersection
action find_reverse
entity 1990 FIFA World Cup
relation participant of
action find_reverse
entity 1966 FIFA World Cup
relation participant of
['Uruguay national football team', 'participant of', '1990 FIFA World Cup'] ['Uruguay national football team', 'participant of', '1966 FIFA World Cup']
ASK WHERE { resource:Uruguay_national_football_team property:participant_of resource:1990_FIFA_World_Cup . resource:Uruguay_national_football_team property:participant_of resource:1966_FIFA_World_Cup }
[]
recurring event
SYSTEM
YES
(Q134916,P1344,Q132529) (Q134916,P1344,Q134202)
action is_in
entity Q134916
action intersection
action find_reverse
entity Q132529
relation P1344
action find_reverse
entity Q134202
relation P1344
[ANSWER]
['Q134916', 'P1344', 'Q132529'] ['Q134916', 'P1344', 'Q134202']
ASK WHERE { resource:Q134916 property:P1344 resource:Q132529 . resource:Q134916 property:P1344 resource:Q134202 }
Yes
action is_in
entity Uruguay national football team
action intersection
action find_reverse
entity 1990 FIFA World Cup
relation participant of
action find_reverse
entity 1966 FIFA World Cup
relation participant of
['Uruguay national football team', 'participant of', '1990 FIFA World Cup'] ['Uruguay national football team', 'participant of', '1966 FIFA World Cup']
ASK WHERE { resource:Uruguay_national_football_team property:participant_of resource:1990_FIFA_World_Cup . resource:Uruguay_national_football_team property:participant_of resource:1966_FIFA_World_Cup }
[]