Simple Question (Direct)
Simple Question
Q7357359
P27
Q15617994
USER
Which administrative territory is Rodrigo Lamardo an inhabitant of ?
(Q7357359,P27,c(Q15617994))
action filter_type
action find
entity Q7357359
relation P27
type Q15617994
['Q7357359', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q7357359 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Rodrigo Lamardo
action filter_type
action find
entity Rodrigo Lamardo
relation country of citizenship
type designation for an administrative territorial entity
['Rodrigo Lamardo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Rodrigo_Lamardo property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q7357359,P27,c(Q15617994))
action filter_type
action find
entity Q7357359
relation P27
type Q15617994
[ANSWER] is Rodrigo Lamardo an inhabitant of
['Q7357359', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q7357359 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Argentina
Argentina is Rodrigo Lamardo an inhabitant of
Argentina
action filter_type
action find
entity Rodrigo Lamardo
relation country of citizenship
type designation for an administrative territorial entity
['Rodrigo Lamardo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Rodrigo_Lamardo property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q414
P1532
Q6979593
USER
Whose national association football teams are that administrative territory ?
(c(Q6979593),P1532,Q414)
action filter_type
action find_reverse
entity Q414
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q414']
SELECT DISTINCT ?e WHERE { ?e property:P1532 resource:Q414 . ?e rdf:type ontology:Q6979593 }
Argentina
action filter_type
action find_reverse
entity Argentina
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Argentina']
SELECT DISTINCT ?e WHERE { ?e property:country_for_sport resource:Argentina . ?e rdf:type ontology:national_association_football_team }
[]
national association football team
Q23501509 Q645918
SYSTEM
Argentina women's national under-17 football team, Argentina women's national football team
Q23501509 Q645918
(c(Q6979593),P1532,Q414)
action filter_type
action find_reverse
entity Q414
relation P1532
type Q6979593
And [ANSWERS] are that administrative territory
[{'concept': 'Q6979593'}, 'P1532', 'Q414']
SELECT DISTINCT ?e WHERE { ?e property:P1532 resource:Q414 . ?e rdf:type ontology:Q6979593 }
Argentina women's national under-17 football team Argentina women's national football team
And Argentina women's national under-17 football team and Argentina women's national football team are that administrative territory
Argentina women's national under-17 football team Argentina women's national football team
action filter_type
action find_reverse
entity Argentina
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Argentina']
SELECT DISTINCT ?e WHERE { ?e property:country_for_sport resource:Argentina . ?e rdf:type ontology:national_association_football_team }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q29
P1532
Q15617994 Q6979593
USER
Which administrative territories are played by approximately the same number of national association football teams as Spain ?
(c(Q6979593),P1532,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P1532
type Q15617994
type Q6979593
action count
action filter_type
action find
entity Q29
relation P1532
type Q15617994
[{'concept': 'Q6979593'}, 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:P1532 ?d . ?d rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q6979593 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q29 property:P1532 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?j = ?e ) }
Spain
action approx
action find_reverse_tuple_counts
relation country for sport
type designation for an administrative territorial entity
type national association football team
action count
action filter_type
action find
entity Spain
relation country for sport
type designation for an administrative territorial entity
[{'concept': 'national association football team'}, 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:country_for_sport ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:national_association_football_team } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Spain property:country_for_sport ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j = ?e ) }
[]
designation for an administrative territorial entity national association football team
Q155 Q30 Q142
SYSTEM
Brazil, United States of America, France
Q142 Q717 Q43 Q155 Q790 Q884 Q31 Q30 Q34 Q739 Q423 Q733 Q1033 Q117 Q29 Q869 Q953
(c(Q6979593),P1532,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P1532
type Q15617994
type Q6979593
action count
action filter_type
action find
entity Q29
relation P1532
type Q15617994
[ANSWERS] are played by approximately the same number of national association football teams as Spain
[{'concept': 'Q6979593'}, 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:P1532 ?d . ?d rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q6979593 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q29 property:P1532 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?j = ?e ) }
France Venezuela Turkey Brazil Haiti South Korea Belgium United States of America Sweden Colombia North Korea Paraguay Nigeria Ghana Spain Thailand Zambia
Brazil, United States of America and France are played by approximately the same number of national association football teams as Spain
Brazil United States of America France
action approx
action find_reverse_tuple_counts
relation country for sport
type designation for an administrative territorial entity
type national association football team
action count
action filter_type
action find
entity Spain
relation country for sport
type designation for an administrative territorial entity
[{'concept': 'national association football team'}, 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:country_for_sport ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:national_association_football_team } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Spain property:country_for_sport ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j = ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q233
P1532
Q15617994 Q6979593
USER
And also tell me about Malta?
(c(Q6979593),P1532,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P1532
type Q15617994
type Q6979593
action count
action filter_type
action find
entity Q233
relation P1532
type Q15617994
[{'concept': 'Q6979593'}, 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P1532 ?j . ?j rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q6979593 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { resource:Q233 property:P1532 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?v = ?o ) }
Malta
action approx
action find_reverse_tuple_counts
relation country for sport
type designation for an administrative territorial entity
type national association football team
action count
action filter_type
action find
entity Malta
relation country for sport
type designation for an administrative territorial entity
[{'concept': 'national association football team'}, 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:country_for_sport ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:national_association_football_team } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { resource:Malta property:country_for_sport ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v = ?o ) }
[]
designation for an administrative territorial entity national association football team
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q801 Q800 Q805 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q837 Q252 Q399 Q398 Q657 Q258 Q41 Q4628 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q32 Q924 Q36 Q928 Q929 Q983 Q851 Q854 Q734 Q819 Q424 Q730 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q222 Q221 Q229 Q347 Q1050 Q902 Q1036 Q1037 Q974 Q1032 Q1030 Q191 Q965 Q967 Q962 Q1039 Q298 Q115 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q836 Q760 Q574 Q874 Q79 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q678 Q963 Q672 Q176 Q33788 Q863
(c(Q6979593),P1532,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P1532
type Q15617994
type Q6979593
action count
action filter_type
action find
entity Q233
relation P1532
type Q15617994
[ANSWERS]
[{'concept': 'Q6979593'}, 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P1532 ?j . ?j rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q6979593 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { resource:Q233 property:P1532 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?v = ?o ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Nepal Indonesia Armenia Bahrain Chad South Africa Greece Faroe Islands Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Luxembourg Tanzania Poland Philippines Central African Republic Equatorial Guinea Saudi Arabia Sri Lanka Guyana Laos Cambodia Suriname Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Albania Republic of Macedonia Cyprus Liechtenstein Swaziland Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Namibia Estonia Burkina Faso Burundi Benin Sao Tomé and Príncipe Chile Ethiopia Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Myanmar Saint Lucia East Timor Turkmenistan Egypt Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tonga Botswana Tuvalu Quebec New Caledonia Tajikistan
Georgia Netherlands Poland
action approx
action find_reverse_tuple_counts
relation country for sport
type designation for an administrative territorial entity
type national association football team
action count
action filter_type
action find
entity Malta
relation country for sport
type designation for an administrative territorial entity
[{'concept': 'national association football team'}, 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:country_for_sport ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:national_association_football_team } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { resource:Malta property:country_for_sport ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v = ?o ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q43229 Q2235308
USER
How many administrative territories are approximately 1 organizations or ship types named after ?
(c(Q43229)|c(Q2235308),P138,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q43229
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q2235308
value 1
[[{'concept': 'Q43229'}, {'concept': 'Q2235308'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?f ) WHERE { VALUES ( ?h ) { ( ontology:Q2235308 ) ( ontology:Q43229 ) } . ?j rdf:type ?h } GROUP BY ?o } . FILTER ( ?f = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type organization
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type ship type
value 1
[[{'concept': 'organization'}, {'concept': 'ship type'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?f ) WHERE { VALUES ( ?h ) { ( ontology:ship_type ) ( ontology:organization ) } . ?j rdf:type ?h } GROUP BY ?o } . FILTER ( ?f = 1 ) }
[]
designation for an administrative territorial entity organization ship type
SYSTEM
12
Q159 Q5084 Q794 Q34 Q81729 Q36784 Q1951 Q20 Q1216 Q1005 Q837 Q1904
(c(Q43229)|c(Q2235308),P138,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q43229
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q2235308
value 1
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q2235308'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?f ) WHERE { VALUES ( ?h ) { ( ontology:Q2235308 ) ( ontology:Q43229 ) } . ?j rdf:type ?h } GROUP BY ?o } . FILTER ( ?f = 1 ) }
Russia hamlet Iran Sweden Radeberg region of France Alberta Norway Piedmont Gambia Nepal Ontario
12
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type organization
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type ship type
value 1
[[{'concept': 'organization'}, {'concept': 'ship type'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?f ) WHERE { VALUES ( ?h ) { ( ontology:ship_type ) ( ontology:organization ) } . ?j rdf:type ?h } GROUP BY ?o } . FILTER ( ?f = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7324662
P54
Q12973014
USER
What is that person a member of ?
action filter_type
action find
entity Q7324662
relation P54
type Q12973014
SELECT DISTINCT ?v WHERE { resource:Q7324662 property:P54 ?v . ?v rdf:type ontology:Q12973014 }
Richard Castillo
action filter_type
action find
entity Richard Castillo
relation member of sports team
type sports team
SELECT DISTINCT ?v WHERE { resource:Richard_Castillo property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team }
[]
sports team
Q1476132
SYSTEM
Memphis Redbirds
Q1476132
action filter_type
action find
entity Q7324662
relation P54
type Q12973014
That person a member of is the [ANSWER]
SELECT DISTINCT ?v WHERE { resource:Q7324662 property:P54 ?v . ?v rdf:type ontology:Q12973014 }
Memphis Redbirds
That person a member of is the Memphis Redbirds
Memphis Redbirds
action filter_type
action find
entity Richard Castillo
relation member of sports team
type sports team
SELECT DISTINCT ?v WHERE { resource:Richard_Castillo property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q919072
P641
Q31629 Q12973014
USER
Which types of sport did approximately the same number of sports teams participate in as sporting clays ?
(c(Q12973014),P641,c(Q31629))
action approx
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_type
action find
entity Q919072
relation P641
type Q31629
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P641 ?j . ?j rdf:type ontology:Q31629 . ?x rdf:type ontology:Q12973014 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { ?c rdf:type ontology:Q31629 . resource:Q919072 property:P641 ?c } } . FILTER ( ?z = ?v ) }
sporting clays
action approx
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_type
action find
entity sporting clays
relation sport
type type of sport
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:sport ?j . ?j rdf:type ontology:type_of_sport . ?x rdf:type ontology:sports_team } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { ?c rdf:type ontology:type_of_sport . resource:sporting_clays property:sport ?c } } . FILTER ( ?z = ?v ) }
[]
type of sport sports team
Q216613 Q165704 Q40244
SYSTEM
Nordic skiing, high jump, marathon
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q10980 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q29358 Q211155 Q191691 Q3817372 Q166788 Q326827 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q216613 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q1798044 Q718 Q1209037 Q179687 Q1707432 Q352749 Q272460 Q1075998 Q1141850 Q774176 Q159354 Q1629556 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q1423069 Q465014 Q186222 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q7735 Q11015 Q428242 Q48890 Q162883 Q5300110
(c(Q12973014),P641,c(Q31629))
action approx
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_type
action find
entity Q919072
relation P641
type Q31629
[ANSWERS] approximately the same number of sports teams participated in as sporting clays
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P641 ?j . ?j rdf:type ontology:Q31629 . ?x rdf:type ontology:Q12973014 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { ?c rdf:type ontology:Q31629 . resource:Q919072 property:P641 ?c } } . FILTER ( ?z = ?v ) }
800 metres grass skiing 110 metres hurdles International rules football rock climbing heptathlon waterskiing triathlon airsoft 100 metres hurdles sprinting sailing open water swimming downhill mountain biking draughts orienteering 200 metres 1500 metres beach run biathlon artistic gymnastics snowboarding horse racing Ice yachting bicycle motocross cross-country cycling kite surfing modern pentathlon nine-pin bowling sporting clays Nordic skiing rafting kayaking stadion Flag football freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting roller sport carom billiards 100 metres Olympic skeet chess Modern competitive archery cross-country skiing roller skating sprint Pilates ski mountaineering canoe racing Keirin rowing 1000 metres marathon competitive fencing ten-pin bowling Mixed Doubles mountain biking cyclo-cross canoe camping trampolining alpine skiing para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism diving snooker ski-orienteering college basketball free climbing double trap
Nordic skiing, high jump and marathon approximately the same number of sports teams participated in as sporting clays
Nordic skiing high jump marathon
action approx
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_type
action find
entity sporting clays
relation sport
type type of sport
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:sport ?j . ?j rdf:type ontology:type_of_sport . ?x rdf:type ontology:sports_team } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { ?c rdf:type ontology:type_of_sport . resource:sporting_clays property:sport ?c } } . FILTER ( ?z = ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q542
P641
Q31629 Q12973014
USER
And also tell me about athletics?
(c(Q12973014),P641,c(Q31629))
action approx
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_type
action find
entity Q542
relation P641
type Q31629
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P641 ?u . ?u rdf:type ontology:Q31629 . ?o rdf:type ontology:Q12973014 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Q542 property:P641 ?m . ?m rdf:type ontology:Q31629 } } . FILTER ( ?g = ?b ) }
athletics
action approx
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_type
action find
entity athletics
relation sport
type type of sport
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:sport ?u . ?u rdf:type ontology:type_of_sport . ?o rdf:type ontology:sports_team } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:athletics property:sport ?m . ?m rdf:type ontology:type_of_sport } } . FILTER ( ?g = ?b ) }
[]
type of sport sports team
Q216613 Q7735 Q48890
SYSTEM
Nordic skiing, diving, college basketball
Q29358 Q216613 Q542 Q179687 Q272460 Q14554839 Q186222 Q7735 Q48890
(c(Q12973014),P641,c(Q31629))
action approx
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_type
action find
entity Q542
relation P641
type Q31629
[ANSWERS]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P641 ?u . ?u rdf:type ontology:Q31629 . ?o rdf:type ontology:Q12973014 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Q542 property:P641 ?m . ?m rdf:type ontology:Q31629 } } . FILTER ( ?g = ?b ) }
orienteering Nordic skiing athletics cross-country skiing Pilates competitive fencing alpine skiing diving college basketball
Nordic skiing diving college basketball
action approx
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_type
action find
entity athletics
relation sport
type type of sport
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:sport ?u . ?u rdf:type ontology:type_of_sport . ?o rdf:type ontology:sports_team } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:athletics property:sport ?m . ?m rdf:type ontology:type_of_sport } } . FILTER ( ?g = ?b ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1532
Q15617994 Q1048835 Q6979593
USER
Which national association football teams play for atmost 1 administrative territories or political territories ?
(c(Q6979593),P1532,c(Q15617994)|c(Q1048835))
action atmost
action union
action find_tuple_counts
relation P1532
type Q6979593
type Q15617994
action find_tuple_counts
relation P1532
type Q6979593
type Q1048835
value 1
[{'concept': 'Q6979593'}, 'P1532', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?w WHERE { { ?w property:P1532 ?t . ?w rdf:type ontology:Q6979593 . ?t rdf:type ontology:Q15617994 } UNION { ?w property:P1532 ?t . ?w rdf:type ontology:Q6979593 . ?t rdf:type ontology:Q1048835 } } GROUP BY ?w } . FILTER ( ?a <= 1 ) }
action atmost
action union
action find_tuple_counts
relation country for sport
type national association football team
type designation for an administrative territorial entity
action find_tuple_counts
relation country for sport
type national association football team
type political territorial entity
value 1
[{'concept': 'national association football team'}, 'country for sport', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?w WHERE { { ?w property:country_for_sport ?t . ?w rdf:type ontology:national_association_football_team . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w property:country_for_sport ?t . ?w rdf:type ontology:national_association_football_team . ?t rdf:type ontology:political_territorial_entity } } GROUP BY ?w } . FILTER ( ?a <= 1 ) }
[]
designation for an administrative territorial entity political territorial entity national association football team
Q499946 Q154408 Q751994
SYSTEM
Canada women's national soccer team, Germany women's national football team, Norway women's national football team
Q4140371 Q3277282 Q3277281 Q3590655 Q917512 Q1093046 Q5100075 Q16581708 Q3775351 Q843165 Q3428524 Q16581705 Q255798 Q3066712 Q23887414 Q3066716 Q15991708 Q15880885 Q938177 Q2063760 Q3272573 Q577077 Q278971 Q7855446 Q3067093 Q7016339 Q6793706 Q20977930 Q16843318 Q2064317 Q1478384 Q1042928 Q1626798 Q1065284 Q661357 Q6793819 Q5066398 Q23892309 Q154408 Q7525078 Q1478366 Q1812231 Q571275 Q6531372 Q16581702 Q6124259 Q4754571 Q528417 Q3590758 Q1943350 Q918209 Q3428565 Q1647271 Q16581743 Q16581740 Q3277275 Q15076848 Q3277271 Q934030 Q7089559 Q3073431 Q792326 Q16842384 Q7523234 Q2117671 Q7452824 Q1672395 Q15876770 Q3067051 Q1093016 Q3277080 Q130702 Q937678 Q3277476 Q599923 Q776363 Q3277267 Q19577000 Q495350 Q4947365 Q997616 Q15991734 Q3589693 Q4947363 Q2281868 Q23013945 Q23013946 Q614931 Q1813717 Q1711488 Q1282236 Q3277279 Q6124262 Q1077259 Q3133778 Q3873972 Q3590236 Q23013935 Q841563 Q3873975 Q23013939 Q23013938 Q3873978 Q3590796 Q3590347 Q1813275 Q3590145 Q7386165 Q1187363 Q2650499 Q751670 Q2020313 Q19904685 Q18128942 Q21070795 Q3590231 Q5060298 Q3277295 Q6448933 Q16845544 Q916700 Q15982182 Q3590707 Q23887356 Q7567721 Q334526 Q268070 Q3043286 Q3043280 Q16581733 Q851535 Q646896 Q1449066 Q1679841 Q5519622 Q23882681 Q4823750 Q18639832 Q3590363 Q1385152 Q7016343 Q2117869 Q1138723 Q756037 Q19870626 Q847476 Q1411396 Q1887246 Q1726461 Q245919 Q1478379 Q3590516 Q20992029 Q4534645 Q505805 Q3589637 Q6544054 Q3067424 Q916809 Q3590749 Q620771 Q18603713 Q1365053 Q6906601 Q2697050 Q650731 Q831395 Q20994327 Q238861 Q7893547 Q931329 Q15014205 Q987926 Q7032859 Q7586013 Q7568582 Q2530197 Q514498 Q1886981 Q7414852 Q4333840 Q3067161 Q1197887 Q23887364 Q7567717 Q1093060 Q3067045 Q933074 Q23887368 Q3277091 Q15076828 Q3590230 Q6726164 Q18128271 Q2051510 Q7713069 Q4996156 Q23883003 Q7676833 Q1813705 Q877411 Q4179395 Q16581729 Q2240578 Q3915806 Q303070 Q5035121 Q1712536 Q4763989 Q468417 Q1632873 Q117869 Q7901448 Q5201862 Q3873965 Q3873967 Q3873966 Q7267152 Q839723 Q980162 Q1136312 Q19576999 Q4978957 Q871172 Q1418509 Q23013936 Q8065697 Q8065696 Q16154435 Q15872987 Q23013889 Q7559177 Q1810721 Q3590478 Q23501509 Q3439920 Q3277219 Q3277193 Q16581723 Q16581726 Q751994 Q3277211 Q4993229 Q261405 Q1295317 Q1037645 Q3590609 Q7806952 Q1481307 Q1478411 Q1093037 Q15011618 Q1743437 Q7458964 Q13892297 Q257422 Q253688 Q649464 Q1813730 Q19577239 Q23892328 Q2036930 Q2520066 Q916273 Q2642190 Q1830925 Q503755 Q3590215 Q7633354 Q726066 Q1225631 Q1471011 Q23013382 Q6392841 Q6392840 Q1811072 Q847623 Q16734195 Q23905215 Q510953 Q5378068 Q5378067 Q966256 Q11251662 Q23887374 Q1544423 Q937655 Q16581711 Q1192223 Q3067079 Q18127855 Q511521 Q204204 Q17496232 Q15991652 Q388232 Q7383740 Q1514765 Q16629980 Q941100 Q16581674 Q16581679 Q3068773 Q8052110 Q4763990 Q7427104 Q15881781 Q32970 Q5552186 Q16838619 Q757014 Q16835367 Q23013912 Q23013911 Q17068766 Q3428907 Q3428900 Q542109 Q2913263 Q1077282 Q1055369 Q6067941 Q4534660 Q2475519 Q775805 Q606853 Q15076840 Q2384857 Q3428572 Q899189 Q3440016 Q3277264 Q499946 Q3277260 Q847121 Q3066726 Q18639681 Q17583342 Q21070794 Q8060387 Q21070796 Q390326 Q16858573 Q3590610 Q782012 Q11304772 Q3277468 Q16843260 Q1659562 Q6019729 Q18412001 Q23848752 Q633286 Q1552940 Q3277480 Q2300435 Q7893550 Q1202757 Q1671357 Q1813724 Q17307141 Q834051 Q23892330 Q1064587 Q6722749 Q5501777 Q5025136 Q3589953 Q3589950 Q1627340 Q5029539 Q5029537 Q1683282 Q385115 Q747967 Q640408 Q19048 Q602457 Q891377 Q8066308 Q4902258 Q645918 Q5401510
(c(Q6979593),P1532,c(Q15617994)|c(Q1048835))
action atmost
action union
action find_tuple_counts
relation P1532
type Q6979593
type Q15617994
action find_tuple_counts
relation P1532
type Q6979593
type Q1048835
value 1
[ANSWERS] play for atmost 1 administrative territories or political territories
[{'concept': 'Q6979593'}, 'P1532', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?w WHERE { { ?w property:P1532 ?t . ?w rdf:type ontology:Q6979593 . ?t rdf:type ontology:Q15617994 } UNION { ?w property:P1532 ?t . ?w rdf:type ontology:Q6979593 . ?t rdf:type ontology:Q1048835 } } GROUP BY ?w } . FILTER ( ?a <= 1 ) }
Turkey national youth football team Barbados women's national football team Dominica women's national football team Costa Rica Olympic football team Scotland women's national football team Republic of Ireland women's national football team China women's national under-20 football team Denmark Olympic football team Martinique women's national football team Iceland women's national football team Kyrgyzstan women's national football team North Korea Olympic football team Equatorial Guinea women's national football team Zambia women's national football team Senegal Olympic football team Gabon women's national football team Ghana women's national under-17 football team Portugal women's national under-17 football team Ghana women's national football team Thailand women's national football team Indonesia women's national football team Czech Republic women's national football team Venezuela women's national football team Turkmenistan women's national football team Botswana women's national football team New Zealand women's national under-17 football team Mauritania women's national football team Catalonia women's national football team Libya women's national football team Peru women's national football team Congo women's national football team India women's national football team Honduras women's national football team Latvia women's national football team Switzerland women's national football team Mauritius women's national football team Chad women's national football team Iran Olympic football team Germany women's national football team Sint Maarten women's national football team United States Virgin Islands women's national soccer team Dominican Republic women's national football team Guyana women's national football team Lesotho women's national under-20 team Colombia Olympic football team Mexico women's national under-17 football team Andorra women's national football team Macedonia women's national football team Portugal Olympic football team Moldova women's national football team Great Britain women's Olympic association football team United Arab Emirates women's national football team Samoa women's national association football team El Salvador Olympic football team Cuba Olympic football team British Virgin Islands women's national football team Belgium women's national under-17 football team Cayman Islands women's national football team Albania women's national football team Oman women's national football team Poland Olympic football team Belgium women's national football team Northern Ireland national Junior football team Singapore national under-22 football team Tonga women's national football team Serbia women's national under-19 football team Iran women's national football team Italy women's national under-17 football team Malawi women's national football team Slovakia women's national football team Palestine women's national football team Hong Kong women's national football team Turkey women's national football team Saint Kitts and Nevis women's national football team Mexico women's national football team Senegal women's national football team Saint Lucia women's national football team Croatia women's national under-19 football team South Korea women's national association football team Bosnia and Herzegovina women's national under-19 football team Belarus women's national football team North Korea women's national under-17 football team England women's national under-17 football team Bosnia and Herzegovina women's national under-17 football team Aruba women's national football team Vanuatu women's national under-17 football team Vanuatu women's national under-20 football team Slovenia women's national football team Guinea women's national football team Yugoslavia women's national football team Ecuador women's national football team Bermuda women's national football team Mexico women's national under-20 football team Poland women's national football team Bahrain women's national football team Venezuela Olympic football team Guinea-Bissau women's national football team Denmark women's national under-19 football team Netherlands women's national football team Australia Olympic football team Colombia women's national under-20 football team Jordan women's national under-17 football team Norway Olympic football team Togo women's national football team Czech Republic Olympic football team Guam women's national football team France women's national under-17 football team Réunion women's national football team Malta women's national football team Nepal women's national football team France women's national football team Swaziland women's national football team Zambian women football team Turkey women's national under-17 football team Haiti women's national under-20 football team Greece Olympic football team Central African Republic women's national football team Antigua and Barbuda women's national football team Kuwait women's national football team Brazil women's national under-20 football team Portugal women's national football team Sweden women's national under-19 football team Mali Olympic football team Cameroon Olympic football team South Korea women's national under-20 football team United States women's national soccer team Armenia women's national football team Mozambique women's national football team Benin women's national football team Turkey Olympic football team Uzbekistan women's national football team Tanzania women's national football team Tunisia women's national football team Jamaica women's national football team Gambia women's national football team Iraq Olympic football team Australia women's national under-20 football team Turkey women's national under-21 football team Serbia Olympic football team Turkey women's national under-19 football team New Zealand women's national under-20 football team Cook Islands women's national football team Colombia women's national football team China women's national football team Albania women's national under-19 football team Ukraine women's national football team Fiji women's national football team Puerto Rico women's national football team Switzerland Olympic football team Cyprus women's national football team DR Congo women's national football team Comoros women's national football team Myanmar women's national under-20 football team England national youth football team Panama women's national football team South Africa Olympic football team Liechtenstein women's national football team Sierra Leone women's national football team Haiti women's national football team Paraguay Olympic football team Faroe Islands women's national football team Israel women's national under-19 football team Vanuatu women's national football team Montserrat women's national football team Netherlands Antilles women's national football team Georgia women's national football team Russia women's national football team Venezuela women's national under-20 football team Singapore women's national football team United States women's national under-17 soccer team Solomon Islands women's national football team Paraguay women's national under-17 football team China Olympic football team Nigeria women's national under-20 football team Sri Lanka women's national football team South Sudan women's national football team Belgium Olympic football team Denmark women's national football team Suriname women's national football team San Marino women's national football team Soviet Union Olympic football team Niger women's national football team South Africa women's national association football team Ghana Olympic football team South Korea women's national under-17 football team Lithuania women's national football team Kenya women's national football team Philippines women's national football team Gabon Olympic football team Afghanistan women's national football team Iceland women's national under-17 football team Guadeloupe women's national football team Madagascar women's national football team Spain women's national under-19 football team Paraguay women's national football team Tuvalu women's national football team Bulgaria Olympic football team Nigeria Olympic football team Tajikistan women's national football team Eritrea women's national football team Great Britain Olympic football team Russia women's national under-19 football team Thailand Olympic football team Surinam Olympic football team Aruba Olympic football team Austria women's national football team Cape Verde women's national football team Tahiti women's national football team Anguilla women's national under-20 football team American Samoa women's national association football team Montenegro women's national association football team Azerbaijan women's national football team Uruguay women's national under-17 football team Czechoslovakia Olympic football team United States Olympic football team Canada Olympic soccer team Chile Olympic football team Qatar women's national football team North Korea women's national football team Wales women's national football team Costa Rica women's national football team Croatia women's national under-17 football team Brunei women's national football team Czechoslovakia women's national football team South-Korea olympic football team Colombia women's national under-17 football team Zambia women's national under-20 football team Zambia women's national under-17 football team Australia women's national under-17 association football team Belgium women's national under-19 football team Spain women's national under-20 football team Somalia women's national football team Morocco women's national football team Tunisia Olympic football team Argentina women's national under-17 football team Laos women's national football team Pakistan women's national football team Belize women's national football team Romania Olympic football team Sweden Olympic football team Norway women's national football team Maldives women's national football team Curaçao women's national football team Chile women's national football team New Caledonia women's national football team Netherlands Antilles national football team Burkina Faso women's national football team Timor-Leste women's national football team Spain national Olympic football team Trinidad and Tobago women's national football team Luxembourg women's national football team Venezuela women's national under-17 football team Kiribati women's national football team Seychelles women's national football team Sweden women's national under-17 football team Ethiopia women's national football team Egypt women's national football team Northern Ireland women's national football team El Salvador women's national football team Lithuania women's national under-17 football team Oman national under-23 football team Vietnam women's national football team Netherlands Olympic football team Greece women's national football team São Tomé and Príncipe women's national football team Belarus Olympic football team New Zealand women's national football team France Olympic football team Sudan women's national football team Sweden women's national association football team Algeria women's national football team Mali women's national football team Brazil women's national under-17 football team Kenya women's national under-20 football team Kenya women's national under-17 football team Lebanon women's national football team Spain women's national football team Ghana women's national under-20 football team Peru women's national under-17 football team New Zealand Olympic football team England women's national under-23 football team England women's national under-19 football team Serbia women's national football team Japan women's national under-17 football team Morocco Olympic football team Ivory Coast women's national football team Kazakhstan women's national football team Finnland Olympic football team Malaysia women's national football team Uganda women's national football team Scotland women's under-23 national football team Bosnia and Herzegovina women's national football team England women's national football team North Korea women's national under-20 football team Nigeria women's national under-17 football team Japan women's national football team Rwanda women's national football team Myanmar women's national football team Spain women's national under-17 football team Cuba women's national football team Guatemala Olympic football team Peru Olympic football team East Germany women's national football team Yemen women's national football team Anguilla women's national under-17 football team Saudi Arabia women's national football team Scotland women's national under-17 football team France women's national under-19 football team Germany women's national youth football team El Salvador women's national under-17 football team Brazil women's national football team England women's national under-20 football team Thailand women's national under-20 football team Thailand women's national under-17 football team Tonga women's national under-20 football team Bangladesh women's national football team Syria women's national football team Angola women's national football team Italy national under-23 football team Romania women's national football team Croatia women's national football team Iraq women's national football team France national youth football team Zimbabwe women's national football team Italy women's national football team Nigeria women's national football team Switzerland women's national under-17 football team Uruguay Olympic football team Anguilla women's national football team Brazil Olympic football team Jordan women's national football team Bahamas women's national football team Canada women's national soccer team Grenada women's national football team Finland women's national football team Lesotho women's national football team Romania women's national under-17 football team Russia women's national under-17 football team Haiti women's national under-17 football team Yugoslavia Olympic football team Haiti women's national under-23 football team East Germany Olympic football team Paraguay women's national under-20 football team Burundi women's national football team Australia women's national association football team Northern Mariana Islands women's national football team Saint Vincent and the Grenadines women's national football team Lesotho women's national under-17 team Papua New Guinea women's national football team India women's national under-19 football team Ghana national football team United Arab Emirates olympic football team Cameroon women's national association football team Guatemala women's national football team Turks and Caicos Islands women's national football team Uruguay women's national football team United States women's national under-23 soccer team Germany Olympic football team United States women's national under-20 soccer team Liberia women's national football team Finland women's national under-20 football team Bulgaria women's national football team Syria Olympic football team Israel women's national football team Macau women's national football team French Guiana women's national football team Cambodia women's national football team Djibouti women's national football team Ivory Coast Olympic football team Nicaragua women's national football team Canada women's national under-20 soccer team Canada women's national under-17 soccer team Japan women's national under-20 football team Namibia women's national football team Soviet Union women's national football team Chinese Taipei women's national football team Hungary women's national football team Estonia women's national football team Bolivia women's national football team Zanzibar women's national football team Bhutan women's national football team Argentina women's national football team Estonia national youth football team
Canada women's national soccer team, Germany women's national football team and Norway women's national football team play for atmost 1 administrative territories or political territories
Canada women's national soccer team Germany women's national football team Norway women's national football team
action atmost
action union
action find_tuple_counts
relation country for sport
type national association football team
type designation for an administrative territorial entity
action find_tuple_counts
relation country for sport
type national association football team
type political territorial entity
value 1
[{'concept': 'national association football team'}, 'country for sport', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?w WHERE { { ?w property:country_for_sport ?t . ?w rdf:type ontology:national_association_football_team . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w property:country_for_sport ?t . ?w rdf:type ontology:national_association_football_team . ?t rdf:type ontology:political_territorial_entity } } GROUP BY ?w } . FILTER ( ?a <= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q15617994 Q355304 Q17444909
USER
Which administrative territories are the origin of max number of watercourses or astronomical object types ?
(c(Q355304)|c(Q17444909),P138,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q355304
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q17444909
[[{'concept': 'Q355304'}, {'concept': 'Q17444909'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?w ) { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?c ) WHERE { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:Q355304 ) ( ontology:Q17444909 ) } } GROUP BY ?u } } . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?q ) WHERE { { ?j property:P138 ?b . ?b rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q17444909 } UNION { ?j property:P138 ?b . ?b rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q355304 } } GROUP BY ?b } . FILTER ( ?q = ?w ) }
action argmax
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type astronomical object type
[[{'concept': 'watercourse'}, {'concept': 'astronomical object type'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?w ) { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?c ) WHERE { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:watercourse ) ( ontology:astronomical_object_type ) } } GROUP BY ?u } } . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?q ) WHERE { { ?j property:named_after ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:astronomical_object_type } UNION { ?j property:named_after ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:watercourse } } GROUP BY ?b } . FILTER ( ?q = ?w ) }
[]
designation for an administrative territorial entity watercourse astronomical object type
Q34
SYSTEM
Sweden
Q34
(c(Q355304)|c(Q17444909),P138,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q355304
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q17444909
[ANSWER] is the origin of max number of watercourses or astronomical object types
[[{'concept': 'Q355304'}, {'concept': 'Q17444909'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?w ) { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?c ) WHERE { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:Q355304 ) ( ontology:Q17444909 ) } } GROUP BY ?u } } . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?q ) WHERE { { ?j property:P138 ?b . ?b rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q17444909 } UNION { ?j property:P138 ?b . ?b rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q355304 } } GROUP BY ?b } . FILTER ( ?q = ?w ) }
Sweden
Sweden is the origin of max number of watercourses or astronomical object types
Sweden
action argmax
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type astronomical object type
[[{'concept': 'watercourse'}, {'concept': 'astronomical object type'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?w ) { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?c ) WHERE { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:watercourse ) ( ontology:astronomical_object_type ) } } GROUP BY ?u } } . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?q ) WHERE { { ?j property:named_after ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:astronomical_object_type } UNION { ?j property:named_after ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:watercourse } } GROUP BY ?b } . FILTER ( ?q = ?w ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34
P937
Q43229
USER
Who works at that administrative territory ?
(c(Q43229),P937,Q34)
action filter_type
action find_reverse
entity Q34
relation P937
type Q43229
[{'concept': 'Q43229'}, 'P937', 'Q34']
SELECT DISTINCT ?e WHERE { ?e property:P937 resource:Q34 . ?e rdf:type ontology:Q43229 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation work location
type organization
[{'concept': 'organization'}, 'work location', 'Sweden']
SELECT DISTINCT ?e WHERE { ?e property:work_location resource:Sweden . ?e rdf:type ontology:organization }
[]
organization
Q10511139
SYSTEM
The French Theater of Gustav III
Q10511139
(c(Q43229),P937,Q34)
action filter_type
action find_reverse
entity Q34
relation P937
type Q43229
[ANSWER] works at that administrative territory
[{'concept': 'Q43229'}, 'P937', 'Q34']
SELECT DISTINCT ?e WHERE { ?e property:P937 resource:Q34 . ?e rdf:type ontology:Q43229 }
The French Theater of Gustav III
The French Theater of Gustav III works at that administrative territory
The French Theater of Gustav III
action filter_type
action find_reverse
entity Sweden
relation work location
type organization
[{'concept': 'organization'}, 'work location', 'Sweden']
SELECT DISTINCT ?e WHERE { ?e property:work_location resource:Sweden . ?e rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10511139
P463
Q502895
USER
Which people are a part of that organization ?
(c(Q502895),P463,Q10511139)
action filter_type
action find_reverse
entity Q10511139
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q10511139']
SELECT DISTINCT ?a WHERE { ?a property:P463 resource:Q10511139 . ?a rdf:type ontology:Q502895 }
The French Theater of Gustav III
action filter_type
action find_reverse
entity The French Theater of Gustav III
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'The French Theater of Gustav III']
SELECT DISTINCT ?a WHERE { ?a property:member_of resource:The_French_Theater_of_Gustav_III . ?a rdf:type ontology:common_name }
[]
common name
Q16649126 Q21007426 Q3291526
SYSTEM
Joseph Sauze Desguillons, Catherine Victoire Le Riche de Cléricourt, Anne Marie Milan Desguillons
Q16649126 Q21007426 Q3291526
(c(Q502895),P463,Q10511139)
action filter_type
action find_reverse
entity Q10511139
relation P463
type Q502895
[ANSWERS] are a part of that organization
[{'concept': 'Q502895'}, 'P463', 'Q10511139']
SELECT DISTINCT ?a WHERE { ?a property:P463 resource:Q10511139 . ?a rdf:type ontology:Q502895 }
Joseph Sauze Desguillons Catherine Victoire Le Riche de Cléricourt Anne Marie Milan Desguillons
Joseph Sauze Desguillons, Catherine Victoire Le Riche de Cléricourt and Anne Marie Milan Desguillons are a part of that organization
Joseph Sauze Desguillons Catherine Victoire Le Riche de Cléricourt Anne Marie Milan Desguillons
action filter_type
action find_reverse
entity The French Theater of Gustav III
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'The French Theater of Gustav III']
SELECT DISTINCT ?a WHERE { ?a property:member_of resource:The_French_Theater_of_Gustav_III . ?a rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21007426
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q21007426)
action filter_type
action find
entity Q21007426
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q21007426']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q21007426 property:P26 ?p }
Catherine Victoire Le Riche de Cléricourt
action filter_type
action find
entity Catherine Victoire Le Riche de Cléricourt
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Catherine Victoire Le Riche de Cléricourt']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Catherine_Victoire_Le_Riche_de_Cléricourt property:spouse ?p }
[]
common name
Clarification for simple ques.
Q16649126
SYSTEM
Did you mean Joseph Sauze Desguillons ?
Q16649126 Q21007426 Q3291526
(c(Q502895),P26,Q16649126) (c(Q502895),P26,Q21007426) (c(Q502895),P26,Q3291526)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q16649126'] [{'concept': 'Q502895'}, 'P26', 'Q21007426'] [{'concept': 'Q502895'}, 'P26', 'Q3291526']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q21007426 property:P26 ?p }
Joseph Sauze Desguillons Catherine Victoire Le Riche de Cléricourt Anne Marie Milan Desguillons
Did you mean Joseph Sauze Desguillons ?
Joseph Sauze Desguillons
[{'concept': 'common name'}, 'spouse', 'Joseph Sauze Desguillons'] [{'concept': 'common name'}, 'spouse', 'Catherine Victoire Le Riche de Cléricourt'] [{'concept': 'common name'}, 'spouse', 'Anne Marie Milan Desguillons']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Catherine_Victoire_Le_Riche_de_Cléricourt property:spouse ?p }
[]
Simple Question (Coreferenced)
USER
No, I meant Catherine Victoire Le Riche de Cléricourt. Could you tell me the answer for that?
(c(Q502895),P26,Q21007426)
Q21007426
[{'concept': 'Q502895'}, 'P26', 'Q21007426']
[{'concept': 'common name'}, 'spouse', 'Catherine Victoire Le Riche de Cléricourt']
[]
Q1089209
SYSTEM
Jacques Marie Boutet
Q1089209
(c(Q502895),P26,Q21007426)
action filter_type
action find
entity Q21007426
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q21007426']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q21007426 property:P26 ?p }
Jacques Marie Boutet
Jacques Marie Boutet is married to that one
Jacques Marie Boutet
action filter_type
action find
entity Catherine Victoire Le Riche de Cléricourt
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Catherine Victoire Le Riche de Cléricourt']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Catherine_Victoire_Le_Riche_de_Cléricourt property:spouse ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1089209 Q142
P27
Q15617994
USER
Is France the native country of that person ?
(Q1089209,P27,Q142)
action is_in
entity Q142
action find
entity Q1089209
relation P27
['Q1089209', 'P27', 'Q142']
ASK WHERE { resource:Q1089209 property:P27 resource:Q142 }
Jacques Marie Boutet France
action is_in
entity France
action find
entity Jacques Marie Boutet
relation country of citizenship
['Jacques Marie Boutet', 'country of citizenship', 'France']
ASK WHERE { resource:Jacques_Marie_Boutet property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1089209,P27,Q142)
action is_in
entity Q142
action find
entity Q1089209
relation P27
[ANSWER]
['Q1089209', 'P27', 'Q142']
ASK WHERE { resource:Q1089209 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Jacques Marie Boutet
relation country of citizenship
['Jacques Marie Boutet', 'country of citizenship', 'France']
ASK WHERE { resource:Jacques_Marie_Boutet property:country_of_citizenship resource:France }
[]