Simple Question (Direct)
Simple Question
Q3289523
P19
Q56061
USER
Which administrative territory is the place of birth of Marcell Coetzee ?
(Q3289523,P19,c(Q56061))
action filter_type
action find
entity Q3289523
relation P19
type Q56061
['Q3289523', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q3289523 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Marcell Coetzee
action filter_type
action find
entity Marcell Coetzee
relation place of birth
type administrative territorial entity
['Marcell Coetzee', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Marcell_Coetzee property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q605167
SYSTEM
Potchefstroom
Q605167
(Q3289523,P19,c(Q56061))
action filter_type
action find
entity Q3289523
relation P19
type Q56061
[ANSWER] is the place of birth of Marcell Coetzee
['Q3289523', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q3289523 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Potchefstroom
Potchefstroom is the place of birth of Marcell Coetzee
Potchefstroom
action filter_type
action find
entity Marcell Coetzee
relation place of birth
type administrative territorial entity
['Marcell Coetzee', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Marcell_Coetzee property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3289523
P54
Q12973014
USER
Which sports teams are Marcell Coetzee a member of ?
(Q3289523,P54,c(Q12973014))
action filter_type
action find
entity Q3289523
relation P54
type Q12973014
['Q3289523', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?b WHERE { resource:Q3289523 property:P54 ?b . ?b rdf:type ontology:Q12973014 }
Marcell Coetzee
action filter_type
action find
entity Marcell Coetzee
relation member of sports team
type sports team
['Marcell Coetzee', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?b WHERE { resource:Marcell_Coetzee property:member_of_sports_team ?b . ?b rdf:type ontology:sports_team }
[]
sports team
Q498478 Q744636 Q1393650
SYSTEM
South Africa national rugby union team, Natal Sharks, Sharks
Q498478 Q744636 Q1393650
(Q3289523,P54,c(Q12973014))
action filter_type
action find
entity Q3289523
relation P54
type Q12973014
[ANSWERS] are Marcell Coetzee a member of
['Q3289523', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?b WHERE { resource:Q3289523 property:P54 ?b . ?b rdf:type ontology:Q12973014 }
South Africa national rugby union team Natal Sharks Sharks
South Africa national rugby union team, Natal Sharks and Sharks are Marcell Coetzee a member of
South Africa national rugby union team Natal Sharks Sharks
action filter_type
action find
entity Marcell Coetzee
relation member of sports team
type sports team
['Marcell Coetzee', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?b WHERE { resource:Marcell_Coetzee property:member_of_sports_team ?b . ?b rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3289523
P21
Q290
USER
Which sex does that person have ?
(Q498478,P21,c(Q290)) (Q744636,P21,c(Q290)) (Q1393650,P21,c(Q290))
action filter_type
action find
entity Q3289523
relation P21
type Q290
['Q498478', 'P21', {'concept': 'Q290'}] ['Q744636', 'P21', {'concept': 'Q290'}] ['Q1393650', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q3289523 property:P21 ?v . ?v rdf:type ontology:Q290 }
Marcell Coetzee
action filter_type
action find
entity Marcell Coetzee
relation gender
type sex
['South Africa national rugby union team', 'gender', {'concept': 'sex'}] ['Natal Sharks', 'gender', {'concept': 'sex'}] ['Sharks', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Marcell_Coetzee property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q498478,P21,c(Q290)) (Q744636,P21,c(Q290)) (Q1393650,P21,c(Q290))
action filter_type
action find
entity Q3289523
relation P21
type Q290
That person has a [ANSWER]
['Q498478', 'P21', {'concept': 'Q290'}] ['Q744636', 'P21', {'concept': 'Q290'}] ['Q1393650', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q3289523 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Marcell Coetzee
relation gender
type sex
['South Africa national rugby union team', 'gender', {'concept': 'sex'}] ['Natal Sharks', 'gender', {'concept': 'sex'}] ['Sharks', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Marcell_Coetzee property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3289523
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3289523
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q3289523 property:P27 ?x }
Marcell Coetzee
action filter_type
action find
entity Marcell Coetzee
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Marcell_Coetzee property:country_of_citizenship ?x }
[]
designation for an administrative territorial entity
Q258
SYSTEM
South Africa
Q258
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3289523
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q3289523 property:P27 ?x }
South Africa
South Africa is the native country of that person
South Africa
action filter_type
action find
entity Marcell Coetzee
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Marcell_Coetzee property:country_of_citizenship ?x }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q258 Q155
P530
Q15617994
USER
Does Brazil have diplomatic relations with that one ?
(Q258,P530,Q155)
action is_in
entity Q155
action find
entity Q258
relation P530
['Q258', 'P530', 'Q155']
ASK WHERE { resource:Q258 property:P530 resource:Q155 }
South Africa Brazil
action is_in
entity Brazil
action find
entity South Africa
relation diplomatic relation
['South Africa', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:South_Africa property:diplomatic_relation resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q258,P530,Q155)
action is_in
entity Q155
action find
entity Q258
relation P530
[ANSWER]
['Q258', 'P530', 'Q155']
ASK WHERE { resource:Q258 property:P530 resource:Q155 }
Yes
action is_in
entity Brazil
action find
entity South Africa
relation diplomatic relation
['South Africa', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:South_Africa property:diplomatic_relation resource:Brazil }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3289523 Q26694600 Q15632372
P106
Q12737077
USER
Does Marcell Coetzee have the profession of mayor of Mantiel and Leader of the UK Independence Party ?
(Q3289523,P106,Q26694600) (Q3289523,P106,Q15632372)
action is_in
entity Q3289523
action intersection
action find_reverse
entity Q26694600
relation P106
action find_reverse
entity Q15632372
relation P106
['Q3289523', 'P106', 'Q26694600'] ['Q3289523', 'P106', 'Q15632372']
ASK WHERE { resource:Q3289523 property:P106 resource:Q15632372 . resource:Q3289523 property:P106 resource:Q26694600 }
Marcell Coetzee mayor of Mantiel Leader of the UK Independence Party
action is_in
entity Marcell Coetzee
action intersection
action find_reverse
entity mayor of Mantiel
relation occupation
action find_reverse
entity Leader of the UK Independence Party
relation occupation
['Marcell Coetzee', 'occupation', 'mayor of Mantiel'] ['Marcell Coetzee', 'occupation', 'Leader of the UK Independence Party']
ASK WHERE { resource:Marcell_Coetzee property:occupation resource:Leader_of_the_UK_Independence_Party . resource:Marcell_Coetzee property:occupation resource:mayor_of_Mantiel }
[]
occupation
SYSTEM
NO
(Q3289523,P106,Q26694600) (Q3289523,P106,Q15632372)
action is_in
entity Q3289523
action intersection
action find_reverse
entity Q26694600
relation P106
action find_reverse
entity Q15632372
relation P106
[ANSWER]
['Q3289523', 'P106', 'Q26694600'] ['Q3289523', 'P106', 'Q15632372']
ASK WHERE { resource:Q3289523 property:P106 resource:Q15632372 . resource:Q3289523 property:P106 resource:Q26694600 }
No
action is_in
entity Marcell Coetzee
action intersection
action find_reverse
entity mayor of Mantiel
relation occupation
action find_reverse
entity Leader of the UK Independence Party
relation occupation
['Marcell Coetzee', 'occupation', 'mayor of Mantiel'] ['Marcell Coetzee', 'occupation', 'Leader of the UK Independence Party']
ASK WHERE { resource:Marcell_Coetzee property:occupation resource:Leader_of_the_UK_Independence_Party . resource:Marcell_Coetzee property:occupation resource:mayor_of_Mantiel }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1036
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with less number of administrative territories than Uganda ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1036
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?d ) WHERE { ?v property:P530 ?t . ?t rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?d < ?r ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1036 property:P530 ?x } } }
Uganda
action count
action less
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 Uganda
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 ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?d ) WHERE { ?v property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?d < ?r ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Uganda property:diplomatic_relation ?x } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
25
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1036
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?d ) WHERE { ?v property:P530 ?t . ?t rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?d < ?r ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1036 property:P530 ?x } } }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
25
action count
action less
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 Uganda
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 ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?d ) WHERE { ?v property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?d < ?r ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Uganda property:diplomatic_relation ?x } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q38
P530
Q15617994 Q15617994
USER
And how about Italy?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P530 ?s . ?u rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Q38 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?y < ?z ) }
Italy
action count
action less
action find_reverse_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 Italy
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 ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:diplomatic_relation ?s . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Italy property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y < ?z ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
165
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P530 ?s . ?u rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Q38 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?y < ?z ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia 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 Nauru Chile Palau 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 Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
165
action count
action less
action find_reverse_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 Italy
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 ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:diplomatic_relation ?s . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Italy property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y < ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5461425
P115
Q483110 Q1076486 Q12973014
USER
How many sports teams have greater number of stadia and sports venues as their arena than Florida Gators women's volleyball ?
(c(Q12973014),P115,c(Q483110)|c(Q1076486))
action count
action greater
action union
action find_tuple_counts
relation P115
type Q12973014
type Q483110
action find_tuple_counts
relation P115
type Q12973014
type Q1076486
action count
action filter_multi_types
action find
entity Q5461425
relation P115
type Q483110
type Q1076486
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q483110'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) ?f WHERE { { ?f property:P115 ?m . ?f rdf:type ontology:Q12973014 . ?m rdf:type ontology:Q483110 } UNION { ?f property:P115 ?m . ?f rdf:type ontology:Q12973014 . ?m rdf:type ontology:Q1076486 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Q5461425 property:P115 ?a . { VALUES ( ?l ) { ( ontology:Q483110 ) ( ontology:Q1076486 ) } . ?a rdf:type ?l } } } . FILTER ( ?q > ?i ) }
Florida Gators women's volleyball
action count
action greater
action union
action find_tuple_counts
relation home venue
type sports team
type stadium
action find_tuple_counts
relation home venue
type sports team
type sports venue
action count
action filter_multi_types
action find
entity Florida Gators women's volleyball
relation home venue
type stadium
type sports venue
[{'concept': 'sports team'}, 'home venue', [{'concept': 'stadium'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) ?f WHERE { { ?f property:home_venue ?m . ?f rdf:type ontology:sports_team . ?m rdf:type ontology:stadium } UNION { ?f property:home_venue ?m . ?f rdf:type ontology:sports_team . ?m rdf:type ontology:sports_venue } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Florida_Gators_women's_volleyball property:home_venue ?a . { VALUES ( ?l ) { ( ontology:stadium ) ( ontology:sports_venue ) } . ?a rdf:type ?l } } } . FILTER ( ?q > ?i ) }
[]
stadium sports venue sports team
SYSTEM
123
Q16959086 Q743309 Q247577 Q3013412 Q1417287 Q16969278 Q5763570 Q19870761 Q3151359 Q1251724 Q5416971 Q7016620 Q8025768 Q1328038 Q5617444 Q431412 Q2937449 Q721134 Q3106580 Q193643 Q3555221 Q2276590 Q5461409 Q1090574 Q1136066 Q7009239 Q7425627 Q744636 Q604879 Q583259 Q665920 Q1375077 Q129164 Q461595 Q5916414 Q964957 Q521129 Q387496 Q132880 Q5407207 Q2083283 Q1562933 Q213417 Q484151 Q867828 Q867822 Q3844332 Q4938454 Q324589 Q974277 Q1518257 Q331650 Q16957588 Q154053 Q128109 Q4289724 Q15786 Q1568246 Q1148233 Q4791331 Q1319827 Q10865306 Q152572 Q325819 Q1194023 Q3960035 Q17236274 Q7826440 Q739613 Q1197407 Q1193020 Q7845058 Q2075122 Q1069384 Q213959 Q812713 Q7914130 Q33699 Q653772 Q7231881 Q681072 Q1324392 Q127635 Q2300859 Q636019 Q4816008 Q7912570 Q180950 Q12872831 Q7578867 Q885646 Q7419313 Q868093 Q209961 Q5461423 Q5461422 Q4959020 Q3041096 Q655240 Q5254272 Q2740400 Q670376 Q7839677 Q308966 Q650816 Q5617449 Q249612 Q7534873 Q23979109 Q5461411 Q5461413 Q5461416 Q5461418 Q5461394 Q2825666 Q15279091 Q1788018 Q16331496 Q169941 Q2740096 Q650829 Q744530 Q1433297
(c(Q12973014),P115,c(Q483110)|c(Q1076486))
action count
action greater
action union
action find_tuple_counts
relation P115
type Q12973014
type Q483110
action find_tuple_counts
relation P115
type Q12973014
type Q1076486
action count
action filter_multi_types
action find
entity Q5461425
relation P115
type Q483110
type Q1076486
[ANSWER]
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q483110'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) ?f WHERE { { ?f property:P115 ?m . ?f rdf:type ontology:Q12973014 . ?m rdf:type ontology:Q483110 } UNION { ?f property:P115 ?m . ?f rdf:type ontology:Q12973014 . ?m rdf:type ontology:Q1076486 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Q5461425 property:P115 ?a . { VALUES ( ?l ) { ( ontology:Q483110 ) ( ontology:Q1076486 ) } . ?a rdf:type ?l } } } . FILTER ( ?q > ?i ) }
Connecticut Huskies football Los Angeles Angels of Anaheim Hiroshima Toyo Carp Dandenong Rangers Panserraikos F.C. Sochinskiye Leopardy Hillsboro Hops Jaguares Inland Empire 66ers of San Bernardino Baltimore Monumentals Everett AquaSox Newark Bears Winnipeg Maroons Orix Buffaloes Gulf Coast League Orioles Stade Toulousain Québec Capitales San Diego Padres Fresno Grizzlies Pittsburgh Penguins Pinar del Río Vegueros Iowa Cubs Florida Gators men's golf Vancouver Whitecaps Victoria cricket team New Jersey Jackals Saskatchewan Silver Sox Natal Sharks Minnesota Twins Las Vegas 51s VfB Lübeck Tohoku Rakuten Golden Eagles Fukuoka SoftBank Hawks Atlanta Braves Houston Buffaloes Castres Olympique Benetton Rugby Treviso Tigres de Quintana Roo Toronto Raptors Eugene Emeralds Colorado Springs Sky Sox HC Lev Poprad New York Yankees Chiba Lotte Marines Rojos del Águila de Veracruz Leones de Yucatán Daiei Unions Boise Hawks C.A. Lanús Hokkaido Nippon-Ham Fighters Ospreys FBK Kaunas Florida Gators cross country Eintracht Braunschweig Chicago Bulls Melbourne Cricket Club 1. FC Nürnberg Altoona Mountain City Montreal Expos Arizona League Angels US Dax SC Magdeburg Al-Muharraq SC Saitama Seibu Lions Yokohama DeNA BayStars York Revolution Ottawa Champions Toronto Maple Leafs Edinburgh Rugby Yomiuri Giants London Irish Trois-Rivières Aigles Lowell Spinners Osaka Kintetsu Buffaloes Boston Red Sox Al-Wehda Club Vancouver Canadians HC Fribourg-Gottéron Pittsburgh Pirates Portland Beavers EHC Olten Tokyo Yakult Swallows Hanshin Tigers Western Province Oyonnax Rugby Atlanta Beat Valparaiso Crusaders men's basketball Oklahoma City Thunder AEZ Zakakiou Spokane Indians Blue Bulls Santa Clara Broncos football Olmecas de Tabasco Chunichi Dragons Florida Gators women's tennis Florida Gators women's soccer Brazos Valley Bombers Albuquerque Dukes Calgary Expos Delmarva Shorebirds Tucson Padres Arizona Diamondbacks Tri-City Dust Devils San Francisco Giants Baltimore Orioles Gulf Coast League Red Sox Club Sport Emelec Ski IL Atlas Aglandjias Florida Gators men's tennis Florida Gators softball Florida Gators track and field Florida Gators women's golf Florida Gators football Akron RubberDucks El Paso Chihuahuas Derbyshire County Cricket Club Elpida Astromeriti Cardiff Blues Tacoma Rainiers Toronto Blue Jays Kansas City Royals Hokki
123
action count
action greater
action union
action find_tuple_counts
relation home venue
type sports team
type stadium
action find_tuple_counts
relation home venue
type sports team
type sports venue
action count
action filter_multi_types
action find
entity Florida Gators women's volleyball
relation home venue
type stadium
type sports venue
[{'concept': 'sports team'}, 'home venue', [{'concept': 'stadium'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) ?f WHERE { { ?f property:home_venue ?m . ?f rdf:type ontology:sports_team . ?m rdf:type ontology:stadium } UNION { ?f property:home_venue ?m . ?f rdf:type ontology:sports_team . ?m rdf:type ontology:sports_venue } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Florida_Gators_women's_volleyball property:home_venue ?a . { VALUES ( ?l ) { ( ontology:stadium ) ( ontology:sports_venue ) } . ?a rdf:type ?l } } } . FILTER ( ?q > ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q650855
P115
Q483110 Q1076486 Q12973014
USER
And what about Detroit Tigers?
(c(Q12973014),P115,c(Q483110)|c(Q1076486))
action count
action greater
action union
action find_tuple_counts
relation P115
type Q12973014
type Q483110
action find_tuple_counts
relation P115
type Q12973014
type Q1076486
action count
action filter_multi_types
action find
entity Q650855
relation P115
type Q483110
type Q1076486
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q483110'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Q650855 property:P115 ?n . { { ?n rdf:type ontology:Q1076486 } UNION { ?n rdf:type ontology:Q483110 } } } } . FILTER ( ?p > ?h ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ?r . VALUES ( ?r ) { ( ontology:Q1076486 ) ( ontology:Q483110 ) } } GROUP BY ?i } }
Detroit Tigers
action count
action greater
action union
action find_tuple_counts
relation home venue
type sports team
type stadium
action find_tuple_counts
relation home venue
type sports team
type sports venue
action count
action filter_multi_types
action find
entity Detroit Tigers
relation home venue
type stadium
type sports venue
[{'concept': 'sports team'}, 'home venue', [{'concept': 'stadium'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Detroit_Tigers property:home_venue ?n . { { ?n rdf:type ontology:sports_venue } UNION { ?n rdf:type ontology:stadium } } } } . FILTER ( ?p > ?h ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ?r . VALUES ( ?r ) { ( ontology:sports_venue ) ( ontology:stadium ) } } GROUP BY ?i } }
[]
stadium sports venue sports team
SYSTEM
123
Q16959086 Q743309 Q247577 Q3013412 Q1417287 Q16969278 Q5763570 Q19870761 Q3151359 Q1251724 Q5416971 Q7016620 Q8025768 Q1328038 Q5617444 Q431412 Q2937449 Q721134 Q3106580 Q193643 Q3555221 Q2276590 Q5461409 Q1090574 Q1136066 Q7009239 Q7425627 Q744636 Q604879 Q583259 Q665920 Q1375077 Q129164 Q461595 Q5916414 Q964957 Q521129 Q387496 Q132880 Q5407207 Q2083283 Q1562933 Q213417 Q484151 Q867828 Q867822 Q3844332 Q4938454 Q324589 Q974277 Q1518257 Q331650 Q16957588 Q154053 Q128109 Q4289724 Q15786 Q1568246 Q1148233 Q4791331 Q1319827 Q10865306 Q152572 Q325819 Q1194023 Q3960035 Q17236274 Q7826440 Q739613 Q1197407 Q1193020 Q7845058 Q2075122 Q1069384 Q213959 Q812713 Q7914130 Q33699 Q653772 Q7231881 Q681072 Q1324392 Q127635 Q2300859 Q636019 Q4816008 Q7912570 Q180950 Q12872831 Q7578867 Q885646 Q7419313 Q868093 Q209961 Q5461423 Q5461422 Q4959020 Q3041096 Q655240 Q5254272 Q2740400 Q670376 Q7839677 Q308966 Q650816 Q5617449 Q249612 Q7534873 Q23979109 Q5461411 Q5461413 Q5461416 Q5461418 Q5461394 Q2825666 Q15279091 Q1788018 Q16331496 Q169941 Q2740096 Q650829 Q744530 Q1433297
(c(Q12973014),P115,c(Q483110)|c(Q1076486))
action count
action greater
action union
action find_tuple_counts
relation P115
type Q12973014
type Q483110
action find_tuple_counts
relation P115
type Q12973014
type Q1076486
action count
action filter_multi_types
action find
entity Q650855
relation P115
type Q483110
type Q1076486
[ANSWER]
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q483110'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Q650855 property:P115 ?n . { { ?n rdf:type ontology:Q1076486 } UNION { ?n rdf:type ontology:Q483110 } } } } . FILTER ( ?p > ?h ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ?r . VALUES ( ?r ) { ( ontology:Q1076486 ) ( ontology:Q483110 ) } } GROUP BY ?i } }
Connecticut Huskies football Los Angeles Angels of Anaheim Hiroshima Toyo Carp Dandenong Rangers Panserraikos F.C. Sochinskiye Leopardy Hillsboro Hops Jaguares Inland Empire 66ers of San Bernardino Baltimore Monumentals Everett AquaSox Newark Bears Winnipeg Maroons Orix Buffaloes Gulf Coast League Orioles Stade Toulousain Québec Capitales San Diego Padres Fresno Grizzlies Pittsburgh Penguins Pinar del Río Vegueros Iowa Cubs Florida Gators men's golf Vancouver Whitecaps Victoria cricket team New Jersey Jackals Saskatchewan Silver Sox Natal Sharks Minnesota Twins Las Vegas 51s VfB Lübeck Tohoku Rakuten Golden Eagles Fukuoka SoftBank Hawks Atlanta Braves Houston Buffaloes Castres Olympique Benetton Rugby Treviso Tigres de Quintana Roo Toronto Raptors Eugene Emeralds Colorado Springs Sky Sox HC Lev Poprad New York Yankees Chiba Lotte Marines Rojos del Águila de Veracruz Leones de Yucatán Daiei Unions Boise Hawks C.A. Lanús Hokkaido Nippon-Ham Fighters Ospreys FBK Kaunas Florida Gators cross country Eintracht Braunschweig Chicago Bulls Melbourne Cricket Club 1. FC Nürnberg Altoona Mountain City Montreal Expos Arizona League Angels US Dax SC Magdeburg Al-Muharraq SC Saitama Seibu Lions Yokohama DeNA BayStars York Revolution Ottawa Champions Toronto Maple Leafs Edinburgh Rugby Yomiuri Giants London Irish Trois-Rivières Aigles Lowell Spinners Osaka Kintetsu Buffaloes Boston Red Sox Al-Wehda Club Vancouver Canadians HC Fribourg-Gottéron Pittsburgh Pirates Portland Beavers EHC Olten Tokyo Yakult Swallows Hanshin Tigers Western Province Oyonnax Rugby Atlanta Beat Valparaiso Crusaders men's basketball Oklahoma City Thunder AEZ Zakakiou Spokane Indians Blue Bulls Santa Clara Broncos football Olmecas de Tabasco Chunichi Dragons Florida Gators women's tennis Florida Gators women's soccer Brazos Valley Bombers Albuquerque Dukes Calgary Expos Delmarva Shorebirds Tucson Padres Arizona Diamondbacks Tri-City Dust Devils San Francisco Giants Baltimore Orioles Gulf Coast League Red Sox Club Sport Emelec Ski IL Atlas Aglandjias Florida Gators men's tennis Florida Gators softball Florida Gators track and field Florida Gators women's golf Florida Gators football Akron RubberDucks El Paso Chihuahuas Derbyshire County Cricket Club Elpida Astromeriti Cardiff Blues Tacoma Rainiers Toronto Blue Jays Kansas City Royals Hokki
123
action count
action greater
action union
action find_tuple_counts
relation home venue
type sports team
type stadium
action find_tuple_counts
relation home venue
type sports team
type sports venue
action count
action filter_multi_types
action find
entity Detroit Tigers
relation home venue
type stadium
type sports venue
[{'concept': 'sports team'}, 'home venue', [{'concept': 'stadium'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Detroit_Tigers property:home_venue ?n . { { ?n rdf:type ontology:sports_venue } UNION { ?n rdf:type ontology:stadium } } } } . FILTER ( ?p > ?h ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ?r . VALUES ( ?r ) { ( ontology:sports_venue ) ( ontology:stadium ) } } GROUP BY ?i } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q498478
P54 P21
Q502895
USER
Which people play for the team named South Africa national rugby union team and have the gender as male ?
AND((c(Q502895),P54,Q498478), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q498478
relation P54
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q498478'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P54 resource:Q498478 . ?t property:P21 resource:Q6581097 }
male South Africa national rugby union team
action filter_type
action intersection
action find_reverse
entity South Africa national rugby union team
relation member of sports team
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'South Africa national rugby union team'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:member_of_sports_team resource:South_Africa_national_rugby_union_team . ?t property:gender resource:male }
[]
common name
Q3350035 Q7110536 Q276102 Q6168717 Q6352296 Q7192749 Q2000155 Q15998207 Q3130254 Q2016688
SYSTEM
Some of them are Okey Geffin, Oupa Versfeld, Jean de Villiers, Jeaffreson Vennor Brewer, Kalfie Martin, Pieter-Steph du Toit, Johann Muller, Charlie Chignell, Hendrik Gerber, Chiliboy Ralepelle
Q3470274 Q3182865 Q3187834 Q166094 Q15996519 Q6214750 Q3531675 Q3194758 Q3101509 Q3183563 Q2899784 Q16233404 Q667796 Q5367852 Q6686709 Q281715 Q5442372 Q5139034 Q5085759 Q6301499 Q3130272 Q982144 Q7801398 Q127613 Q5496305 Q284846 Q1308117 Q2381731 Q3198147 Q6352296 Q1061941 Q4854613 Q2981183 Q7819929 Q2965649 Q2053962 Q3469386 Q276102 Q3158609 Q3568169 Q3012320 Q6756262 Q2012819 Q2821613 Q3180454 Q3180457 Q742873 Q2967632 Q2738338 Q982231 Q3308111 Q3506791 Q1988772 Q3046794 Q3538582 Q3372131 Q2390821 Q508342 Q3531622 Q3161737 Q5263554 Q3567318 Q8040077 Q376397 Q3263098 Q3013585 Q7145357 Q2923186 Q2056300 Q11722570 Q14621701 Q3180098 Q13035452 Q5172694 Q2846872 Q6170545 Q3430273 Q374376 Q2896344 Q3568328 Q3337848 Q3531318 Q4818365 Q3525063 Q4717021 Q2014424 Q3317566 Q5494430 Q3130302 Q2886804 Q469706 Q5230326 Q2021513 Q3082848 Q4684136 Q3075957 Q7192749 Q6159311 Q3019217 Q3180391 Q5275153 Q3104322 Q3293826 Q3289523 Q1390916 Q3531662 Q3475287 Q3430498 Q2924442 Q1396771 Q726173 Q6916036 Q6120814 Q113526 Q3566842 Q5667454 Q3420543 Q2905194 Q2924768 Q3567340 Q7819528 Q7799796 Q3047238 Q3037939 Q8021926 Q5764640 Q7811853 Q2909459 Q6307493 Q5145158 Q11218488 Q518349 Q7042083 Q4908587 Q3530945 Q2900404 Q3073758 Q3180204 Q6706963 Q1403274 Q3568079 Q692832 Q2016688 Q7781487 Q3262400 Q4910104 Q5084770 Q7983435 Q2843934 Q2895409 Q7839352 Q16233107 Q3219921 Q2405761 Q3037976 Q4894368 Q3068487 Q5134687 Q1391022 Q4678803 Q3324209 Q181263 Q16091260 Q3087955 Q3161656 Q5310394 Q3566805 Q3267129 Q4727286 Q2056296 Q2056292 Q2886795 Q2964762 Q3453937 Q10997286 Q2779131 Q2924439 Q15736032 Q5260013 Q3453460 Q3180404 Q3446467 Q3529242 Q5344155 Q5038989 Q2825029 Q3025557 Q2053942 Q5115259 Q2021505 Q5246185 Q726224 Q607457 Q3293985 Q3147303 Q1997696 Q7076553 Q7970584 Q5212361 Q3115387 Q3180901 Q3531657 Q959311 Q325033 Q3129458 Q7882723 Q2015500 Q7533339 Q2928825 Q5487081 Q3132839 Q4911096 Q3023453 Q2830586 Q606698 Q3257838 Q383886 Q2067610 Q1053176 Q168675 Q3161757 Q16745265 Q3104059 Q5056230 Q3388021 Q3388026 Q5171074 Q942535 Q3162065 Q2568753 Q4933934 Q528784 Q6194444 Q4998535 Q2964975 Q3126862 Q7192736 Q2993606 Q3387981 Q4904085 Q3376624 Q3434282 Q3127099 Q7659652 Q515485 Q3523958 Q13034352 Q7426638 Q6343837 Q786824 Q546277 Q3350035 Q2831618 Q693345 Q2924495 Q6282851 Q932939 Q2957861 Q768777 Q5459680 Q3478056 Q10993629 Q7816872 Q597161 Q3130254 Q3100008 Q14979129 Q5078491 Q3194613 Q4805490 Q3311853 Q6689800 Q2927862 Q630058 Q971915 Q3481582 Q4794874 Q2874600 Q7177676 Q3161007 Q2309883 Q7110536 Q380388 Q15998207 Q3374000 Q441972 Q3335328 Q2014449 Q3177333 Q3011560 Q2387467 Q4756475 Q2924965 Q2964847 Q3126858 Q3216777 Q7144279 Q2053950 Q4526394 Q2053955 Q6108305 Q3019235 Q3324416 Q3295584 Q369619 Q7878947 Q2874592 Q335197 Q3142464 Q5492374 Q4800789 Q5488395 Q2848016 Q3351507 Q3147291 Q138586 Q3531649 Q3531523 Q6772251 Q3157487 Q2846284 Q8001889 Q6155254 Q2000145 Q6168717 Q3020638 Q3098492 Q6688135 Q7998003 Q16234744 Q4997875 Q2000155 Q804456 Q3489527 Q15996372 Q3094301 Q3434200 Q3162066 Q5486990 Q3013593 Q4908155 Q3013594 Q3104060 Q15284906 Q1390892 Q15998849 Q2866598 Q3140414 Q2282931 Q3453812 Q3371541 Q3122747 Q3087063 Q3531304 Q2880856 Q3157504 Q3063496 Q513355 Q3064566 Q7803431 Q2964973 Q3024225 Q3011556 Q3161799 Q3130315 Q4711034 Q3286058 Q3104309 Q3104306 Q3397936 Q6290472
AND((c(Q502895),P54,Q498478), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q498478
relation P54
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] play for the team named South Africa national rugby union team and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q498478'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P54 resource:Q498478 . ?t property:P21 resource:Q6581097 }
Salty du Rand Johnny Buchler Juan de Jongh Zane Kirchner Hasie Versfeld Joggie Viljoen Herbert Hayton Castens Keith Oxlee George Daneel Jongi Nokwe Bertus Van der Merwe Oupa Mohoje Akona Ndungane Elton Jantjies Louis Babrow Wessel Roux Felix du Plessis Cobus Reinach Charlie van Renen Juandré Kruger Hendro Scholtz Juan Smith Tiger Devenish Patrick Lambie Fred Smollan Schalk Burger Pierre Spies Pierre de Villiers Kobus Wiese Kalfie Martin AJ Venter Bandise Maku Cobus Visagie Tommy Thompson Christian Stewart Francois Louw Sakkie van Zyl Jean de Villiers Jacques Cronjé Wilf Rosenberg Dale Santon Marcel van der Merwe Jaco van der Westhuyzen Abie Malan Johan Roux Johan Steenekamp Danie Craven Chum Ochse Ferdie Aston Nick Mallett Michael Claassens Syd Nomis Tiaan Strauss Eben Etzebeth Trevor Halstead Paul Roos Tjol Lategan André Venter Jackie Powell Jan Prinsloo Des Sinclair Werner Greeff Wynand Claassen Japie Mulder Louis Schmidt Danie Coetzee Patric Cilliers Braam van Straaten Francois Hougaard Jan Serfontein Franco van der Merwe Joe Kaminer Meyer Bosman Corra Dirksen Andries Bekker Jean Deysel Ricardo Loubscher De Wet Barry Bennie Osler Willem Alberts Neil de Kock Tommy Gentles Attie van Heerden Jimmy Sinclair Alex Frew Stefan Terblanche Moaner van Heerden Fred Alexander Hennie Muller Basil Kenyon Percy Montgomery Davey Cope Rassie Erasmus Frank Waring Adolf Malan Fonnie du Toit Pieter-Steph du Toit Japie Louw Dawie Ackermann Johan Claassen Dietlof Maré Gerry Brand Marius Joubert Marcell Coetzee Jaque Fourie Bob Snedden Schalk Brits Richard Bands BJ Botha John Smit Os du Randt Mosey van Buuren Jacques Potgieter Adriaan Strauss Wayne Julies Harry Boyes Ray Mordt Bjorn Basson Breyton Paulse Werner Swanepoel Tommy Hobson Thys Lourens Eddie Andrews Doug Hopwood Willie le Roux Hilton Lobberts Toby Moll Bolla Conradie Julian Redelinghuys Colin Greenwood Percy Twentyman-Jones Gary Botha Nizaam Carr Bill Cotty Tom van Vollenhoven Bevin Fortuin Philip J. Nel Joe van Niekerk Lwazi Mvovo Johan Ackermann Wikus van Heerden Hendrik le Roux Chiliboy Ralepelle Theo Samuels Louis Koen Bill McEwan Charlie Devenish Werner Kruger Amos du Plooy Benjamin Duff Trevor Nyakane Willie du Plessis Lawrence Sephaka Marco Wentzel Dougie Morkel Bernie Duffy Ferdie Bergh Clive Ulyate JP Pietersen Adam Burdett Morné du Plessis François Steyn George Merry Fritz van Heerden Jan Ellis Duane Vermeulen Waylon Murray Luke Watson Alistair Hargreaves Odwa Ndungane Gio Aplon Basie Vivier Chris Koch Ryk van Schoor Tony Harris Danie Gerber Brendan Venter Handré Pollard Deon Stegmann Russell Bennett Johan Goosen Ruben Kruger Tiny Naude Edward Little Carel du Plessis Adrian Jacobs Dewald Potgieter Adriaan Richter Chubb Vigne André Vos Dean Greyling CJ van der Linde Louis Moolman Mark Andrews Ian McCallum Bismarck du Plessis Ockie Oosthuizen Warren Whiteley Damian de Allende Grant Esterhuizen John Allan Paddy Carolin Errol Tobias Jannie du Plessis Heinke van der Merwe Uncle Dobbin Adrian Garvey Siyamthanda Kolisi Butch Lochner Frank Hamilton Henry Honiball Bill Taberer Deon Carstens Alan Skene Stephen Fry Loftie Fourie Fourie du Preez Victor Matfield Naas Botha Francois Pienaar Jan Stegmann Robert du Preez Gerhard Morkel Cecil Moss Pieter Muller Pieter Rossouw Cornal Hendricks Dugald MacDonald Jannie Engelbrecht Ruan Pienaar Bob Shand Wynand Olivier Jim Crosby Burger Geldenhuys Tiaan Liebenberg Hannes Strydom Piet van Zyl Conrad Jantjes Piet du Toit Biddy Anderson Peter Grant Robbie Fleck Hanyani Shimange Syd Ashley Ricky Januarie Theuns Stofberg Billy Millar Saturday Knight Kabamba Floors Boy Louw André Pretorius Okey Geffin Albert van den Berg Marius Hurter Brent Russell Joseph Edward Crawshay Partridge Thinus Delport Charl McLeod Corné Krige Flip van der Merwe Selborne Boome Piet Botha Tom Mellett Butch James Hendrik Gerber Gcobani Bobo Frank Douglass Charles Gunner Keegan Daniel Ashley Johnson Mickey Gerber Lourens Adriaanse Buks Marais Derick Hougaard Joost van der Westhuizen Shaun Sowerby Arno Botha Avril Williams Peter Whipp James Dalton James Small Oupa Versfeld Frik du Preez Charlie Chignell Pedrie Wannenburg Tendai Mtawarira Naka Drotské Rudolf Straeuli Jeremy Nel Daan Retief Jan Pickard Andrew Bulteel Brian Mujati Chris Rossouw Hannes Marais Frederick Luyt Patats Cloete Heinrich Brüssow Piet Malan Gary Teichmann JJ Engelbrecht Dawie de Villiers Morris Zimerman Martin Pelser Gavin Johnson Uli Schmidt Avril Malan Bryan Habana Hugo van Zyl Frans Malherbe Arthur de Kock Frank Mellish André Joubert Ollie le Roux Ian Kirkpatrick Gurthrö Steenkamp Alfred Richards Tonderai Chavhanga Marnitz Boshoff Jacky Morkel Andre Snyman Wilfred Trenery Jano Vermaak Bobby Skinstad Jeaffreson Vennor Brewer Dean Hall Garry Pagel Louis Schmidt Wian du Preez Stephan Lewies Bunny Reid Johann Muller Bakkies Botha Solly Tyibilika Tank van Rooyen Gaffie du Toit Rob Louw Jannie de Beer Frank Guthrie Danie Rossouw Bill Bisset Danie van Schalkwyk Gerhard Mostert McNeil Hendricks Morné Steyn Harry Morkel Ashwin Willemse Hoppie van Jaarsveld Chester Williams Ryan Kankowski Paul Johnstone Gysie Pienaar Freddy Turner Tommy Bedford Balie Swart Jaco Pretorius Faan Rautenbach Gert Smal Fairy Heatlie Tim Dlulane Christiaan Scholtz Des van Jaarsveldt Daan Human Jan du Preez Henno Mentz Albert Powell Mannetjies Roux Gerrie Britz Gerrie Germishuys Popeye Strydom Josiah Edward Paul
Okey Geffin, Oupa Versfeld, Jean de Villiers, Jeaffreson Vennor Brewer, Kalfie Martin, Pieter-Steph du Toit, Johann Muller, Charlie Chignell, Hendrik Gerber and Chiliboy Ralepelle play for the team named South Africa national rugby union team and have the gender as male
Okey Geffin Oupa Versfeld Jean de Villiers Jeaffreson Vennor Brewer Kalfie Martin Pieter-Steph du Toit Johann Muller Charlie Chignell Hendrik Gerber Chiliboy Ralepelle
action filter_type
action intersection
action find_reverse
entity South Africa national rugby union team
relation member of sports team
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'South Africa national rugby union team'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:member_of_sports_team resource:South_Africa_national_rugby_union_team . ?t property:gender resource:male }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3350035 Q7110536 Q276102 Q6168717 Q6352296 Q7192749 Q2000155 Q15998207 Q3130254 Q2016688
P54
Q12973014
USER
Which sports teams are those people a member of ?
(Q3350035,P54,c(Q12973014)) (Q7110536,P54,c(Q12973014)) (Q276102,P54,c(Q12973014)) (Q6168717,P54,c(Q12973014)) (Q6352296,P54,c(Q12973014)) (Q7192749,P54,c(Q12973014)) (Q2000155,P54,c(Q12973014)) (Q15998207,P54,c(Q12973014)) (Q3130254,P54,c(Q12973014)) (Q2016688,P54,c(Q12973014))
action filter_type
action find
entity prev_answer
relation P54
type Q12973014
['Q3350035', 'P54', {'concept': 'Q12973014'}] ['Q7110536', 'P54', {'concept': 'Q12973014'}] ['Q276102', 'P54', {'concept': 'Q12973014'}] ['Q6168717', 'P54', {'concept': 'Q12973014'}] ['Q6352296', 'P54', {'concept': 'Q12973014'}] ['Q7192749', 'P54', {'concept': 'Q12973014'}] ['Q2000155', 'P54', {'concept': 'Q12973014'}] ['Q15998207', 'P54', {'concept': 'Q12973014'}] ['Q3130254', 'P54', {'concept': 'Q12973014'}] ['Q2016688', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?a WHERE { ?m property:P54 ?a . VALUES ( ?m ) { ( resource:Q3470274 ) ( resource:Q3182865 ) ( resource:Q3187834 ) } . ?a rdf:type ontology:Q12973014 }
Okey Geffin Oupa Versfeld Jean de Villiers Jeaffreson Vennor Brewer Kalfie Martin Pieter-Steph du Toit Johann Muller Charlie Chignell Hendrik Gerber Chiliboy Ralepelle
action filter_type
action find
entity prev_answer
relation member of sports team
type sports team
['Okey Geffin', 'member of sports team', {'concept': 'sports team'}] ['Oupa Versfeld', 'member of sports team', {'concept': 'sports team'}] ['Jean de Villiers', 'member of sports team', {'concept': 'sports team'}] ['Jeaffreson Vennor Brewer', 'member of sports team', {'concept': 'sports team'}] ['Kalfie Martin', 'member of sports team', {'concept': 'sports team'}] ['Pieter-Steph du Toit', 'member of sports team', {'concept': 'sports team'}] ['Johann Muller', 'member of sports team', {'concept': 'sports team'}] ['Charlie Chignell', 'member of sports team', {'concept': 'sports team'}] ['Hendrik Gerber', 'member of sports team', {'concept': 'sports team'}] ['Chiliboy Ralepelle', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?a WHERE { ?m property:member_of_sports_team ?a . VALUES ( ?m ) { ( resource:Salty_du_Rand ) ( resource:Johnny_Buchler ) ( resource:Juan_de_Jongh ) } . ?a rdf:type ontology:sports_team }
[]
sports team
Q431412 Q744636 Q744636
SYSTEM
Natal Sharks for 2nd, 3rd, Stade Toulousain for 1st
Q498478 Q498478 Q1140373 Q807749 Q498478 Q794910 Q2300859 Q498478 Q498478 Q498478 Q1393650 Q744636 Q498478 Q1548720 Q1393650 Q744636 Q498478 Q498478 Q794910 Q2300859 Q1022912 Q498478 Q1378158 Q431412
(Q3350035,P54,c(Q12973014)) (Q7110536,P54,c(Q12973014)) (Q276102,P54,c(Q12973014)) (Q6168717,P54,c(Q12973014)) (Q6352296,P54,c(Q12973014)) (Q7192749,P54,c(Q12973014)) (Q2000155,P54,c(Q12973014)) (Q15998207,P54,c(Q12973014)) (Q3130254,P54,c(Q12973014)) (Q2016688,P54,c(Q12973014))
action filter_type
action find
entity prev_answer
relation P54
type Q12973014
[ANSWERS]
['Q3350035', 'P54', {'concept': 'Q12973014'}] ['Q7110536', 'P54', {'concept': 'Q12973014'}] ['Q276102', 'P54', {'concept': 'Q12973014'}] ['Q6168717', 'P54', {'concept': 'Q12973014'}] ['Q6352296', 'P54', {'concept': 'Q12973014'}] ['Q7192749', 'P54', {'concept': 'Q12973014'}] ['Q2000155', 'P54', {'concept': 'Q12973014'}] ['Q15998207', 'P54', {'concept': 'Q12973014'}] ['Q3130254', 'P54', {'concept': 'Q12973014'}] ['Q2016688', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?a WHERE { ?m property:P54 ?a . VALUES ( ?m ) { ( resource:Q3470274 ) ( resource:Q3182865 ) ( resource:Q3187834 ) } . ?a rdf:type ontology:Q12973014 }
South Africa national rugby union team South Africa national rugby union team Munster Rugby Barbarian F.C. South Africa national rugby union team Stormers Western Province South Africa national rugby union team South Africa national rugby union team South Africa national rugby union team Sharks Natal Sharks South Africa national rugby union team Ulster Rugby Sharks Natal Sharks South Africa national rugby union team South Africa national rugby union team Stormers Western Province CA Brive South Africa national rugby union team Bulls Stade Toulousain
Stade Toulousain, Natal Sharks and Natal Sharks are those people a member of
Stade Toulousain Natal Sharks Natal Sharks
action filter_type
action find
entity prev_answer
relation member of sports team
type sports team
['Okey Geffin', 'member of sports team', {'concept': 'sports team'}] ['Oupa Versfeld', 'member of sports team', {'concept': 'sports team'}] ['Jean de Villiers', 'member of sports team', {'concept': 'sports team'}] ['Jeaffreson Vennor Brewer', 'member of sports team', {'concept': 'sports team'}] ['Kalfie Martin', 'member of sports team', {'concept': 'sports team'}] ['Pieter-Steph du Toit', 'member of sports team', {'concept': 'sports team'}] ['Johann Muller', 'member of sports team', {'concept': 'sports team'}] ['Charlie Chignell', 'member of sports team', {'concept': 'sports team'}] ['Hendrik Gerber', 'member of sports team', {'concept': 'sports team'}] ['Chiliboy Ralepelle', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?a WHERE { ?m property:member_of_sports_team ?a . VALUES ( ?m ) { ( resource:Salty_du_Rand ) ( resource:Johnny_Buchler ) ( resource:Juan_de_Jongh ) } . ?a rdf:type ontology:sports_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q431412
P466
Q1076486
USER
Which sports venues are inhabited by that sports team ?
(c(Q1076486),P466,Q431412)
action filter_type
action find_reverse
entity Q431412
relation P466
type Q1076486
[{'concept': 'Q1076486'}, 'P466', 'Q431412']
SELECT DISTINCT ?v WHERE { ?v property:P466 resource:Q431412 . ?v rdf:type ontology:Q1076486 }
Stade Toulousain
action filter_type
action find_reverse
entity Stade Toulousain
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'Stade Toulousain']
SELECT DISTINCT ?v WHERE { ?v property:occupant resource:Stade_Toulousain . ?v rdf:type ontology:sports_venue }
[]
sports venue
Clarification for simple ques.
Q431412
SYSTEM
Did you mean Stade Toulousain ?
Q431412 Q744636 Q744636
(c(Q1076486),P466,Q431412) (c(Q1076486),P466,Q744636) (c(Q1076486),P466,Q744636)
[ANSWER]
[{'concept': 'Q1076486'}, 'P466', 'Q431412'] [{'concept': 'Q1076486'}, 'P466', 'Q744636'] [{'concept': 'Q1076486'}, 'P466', 'Q744636']
SELECT DISTINCT ?v WHERE { ?v property:P466 resource:Q431412 . ?v rdf:type ontology:Q1076486 }
Stade Toulousain Natal Sharks Natal Sharks
Did you mean Stade Toulousain ?
Stade Toulousain
[{'concept': 'sports venue'}, 'occupant', 'Stade Toulousain'] [{'concept': 'sports venue'}, 'occupant', 'Natal Sharks'] [{'concept': 'sports venue'}, 'occupant', 'Natal Sharks']
SELECT DISTINCT ?v WHERE { ?v property:occupant resource:Stade_Toulousain . ?v rdf:type ontology:sports_venue }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1076486),P466,Q431412)
[{'concept': 'Q1076486'}, 'P466', 'Q431412']
[{'concept': 'sports venue'}, 'occupant', 'Stade Toulousain']
[]
Q1668813 Q3496059
SYSTEM
Stade Ernest-Wallon, Stade des Ponts Jumeaux
Q1668813 Q3496059
(c(Q1076486),P466,Q431412)
action filter_type
action find_reverse
entity Q431412
relation P466
type Q1076486
[ANSWERS] are inhabited by that sports team
[{'concept': 'Q1076486'}, 'P466', 'Q431412']
SELECT DISTINCT ?v WHERE { ?v property:P466 resource:Q431412 . ?v rdf:type ontology:Q1076486 }
Stade Ernest-Wallon Stade des Ponts Jumeaux
Stade Ernest-Wallon and Stade des Ponts Jumeaux are inhabited by that sports team
Stade Ernest-Wallon Stade des Ponts Jumeaux
action filter_type
action find_reverse
entity Stade Toulousain
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'Stade Toulousain']
SELECT DISTINCT ?v WHERE { ?v property:occupant resource:Stade_Toulousain . ?v rdf:type ontology:sports_venue }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P137
Q781132 Q874405 Q1076486
USER
Which sports venues can be described as service operator of max number of military branches or social groups ?
(c(Q1076486),P137,c(Q781132)|c(Q874405))
action argmax
action union
action find_tuple_counts
relation P137
type Q1076486
type Q781132
action find_tuple_counts
relation P137
type Q1076486
type Q874405
[{'concept': 'Q1076486'}, 'P137', [{'concept': 'Q781132'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?u WHERE { { ?u property:P137 ?e . ?e rdf:type ontology:Q781132 . ?u rdf:type ontology:Q1076486 } UNION { ?u rdf:type ontology:Q1076486 . ?e rdf:type ontology:Q874405 . ?u property:P137 ?e } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) ?i WHERE { VALUES ( ?v ) { ( ontology:Q781132 ) ( ontology:Q874405 ) } . ?d rdf:type ?v } GROUP BY ?i } . FILTER ( ?z = ?m ) }
action argmax
action union
action find_tuple_counts
relation operator
type sports venue
type military branch
action find_tuple_counts
relation operator
type sports venue
type social group
[{'concept': 'sports venue'}, 'operator', [{'concept': 'military branch'}, {'concept': 'social group'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?u WHERE { { ?u property:operator ?e . ?e rdf:type ontology:military_branch . ?u rdf:type ontology:sports_venue } UNION { ?u rdf:type ontology:sports_venue . ?e rdf:type ontology:social_group . ?u property:operator ?e } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) ?i WHERE { VALUES ( ?v ) { ( ontology:military_branch ) ( ontology:social_group ) } . ?d rdf:type ?v } GROUP BY ?i } . FILTER ( ?z = ?m ) }
[]
military branch social group sports venue
Q995550 Q4855268 Q1190230
SYSTEM
Tseung Kwan O Sports Ground, Bangladesh Army Stadium, Todoroki Athletics Stadium
Q7040605 Q4855268 Q6429656 Q7081643 Q1190230 Q4739118 Q11586043 Q7181636 Q11548615 Q7830567 Q7828500 Q995550 Q838937
(c(Q1076486),P137,c(Q781132)|c(Q874405))
action argmax
action union
action find_tuple_counts
relation P137
type Q1076486
type Q781132
action find_tuple_counts
relation P137
type Q1076486
type Q874405
[ANSWERS] can be described as service operator of max number of military branches or social groups
[{'concept': 'Q1076486'}, 'P137', [{'concept': 'Q781132'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?u WHERE { { ?u property:P137 ?e . ?e rdf:type ontology:Q781132 . ?u rdf:type ontology:Q1076486 } UNION { ?u rdf:type ontology:Q1076486 . ?e rdf:type ontology:Q874405 . ?u property:P137 ?e } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) ?i WHERE { VALUES ( ?v ) { ( ontology:Q781132 ) ( ontology:Q874405 ) } . ?d rdf:type ?v } GROUP BY ?i } . FILTER ( ?z = ?m ) }
Nishikyogoku Athletic Stadium Bangladesh Army Stadium Konosu Stadium Ojiyama Stadium Todoroki Athletics Stadium Amagasaki Memorial Park Stadium Ishikawa Kanazawa Stadium PhilSports Football and Athletics Stadium K's denki Stadium Mito Toyama Athletic Stadium Tottori Athletics Stadium Tseung Kwan O Sports Ground Mong Kok Stadium
Tseung Kwan O Sports Ground, Bangladesh Army Stadium and Todoroki Athletics Stadium can be described as service operator of max number of military branches or social groups
Tseung Kwan O Sports Ground Bangladesh Army Stadium Todoroki Athletics Stadium
action argmax
action union
action find_tuple_counts
relation operator
type sports venue
type military branch
action find_tuple_counts
relation operator
type sports venue
type social group
[{'concept': 'sports venue'}, 'operator', [{'concept': 'military branch'}, {'concept': 'social group'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?u WHERE { { ?u property:operator ?e . ?e rdf:type ontology:military_branch . ?u rdf:type ontology:sports_venue } UNION { ?u rdf:type ontology:sports_venue . ?e rdf:type ontology:social_group . ?u property:operator ?e } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) ?i WHERE { VALUES ( ?v ) { ( ontology:military_branch ) ( ontology:social_group ) } . ?d rdf:type ?v } GROUP BY ?i } . FILTER ( ?z = ?m ) }
[]