Simple Question (Direct)
Simple Question
Q2398332
P641
Q349
USER
What did Procópio Cardoso participate in ?
(Q2398332,P641,c(Q349))
action filter_type
action find
entity Q2398332
relation P641
type Q349
['Q2398332', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q2398332 property:P641 ?j . ?j rdf:type ontology:Q349 }
Procópio Cardoso
action filter_type
action find
entity Procópio Cardoso
relation sport
type sport
['Procópio Cardoso', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Procópio_Cardoso property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2398332,P641,c(Q349))
action filter_type
action find
entity Q2398332
relation P641
type Q349
Procópio Cardoso participated in [ANSWER]
['Q2398332', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q2398332 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
Procópio Cardoso participated in association football
association football
action filter_type
action find
entity Procópio Cardoso
relation sport
type sport
['Procópio Cardoso', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Procópio_Cardoso property:sport ?j . ?j rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2398332
P54
Q1194951
USER
What is that person a member of ?
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q2398332
relation P54
type Q1194951
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?n WHERE { resource:Q2398332 property:P54 ?n . ?n rdf:type ontology:Q1194951 }
Procópio Cardoso
action filter_type
action find
entity Procópio Cardoso
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?n WHERE { resource:Procópio_Cardoso property:member_of_sports_team ?n . ?n rdf:type ontology:national_sports_team }
[]
national sports team
Q83459
SYSTEM
Brazil national football team
Q83459
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q2398332
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?n WHERE { resource:Q2398332 property:P54 ?n . ?n rdf:type ontology:Q1194951 }
Brazil national football team
That person a member of is the Brazil national football team
Brazil national football team
action filter_type
action find
entity Procópio Cardoso
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?n WHERE { resource:Procópio_Cardoso property:member_of_sports_team ?n . ?n rdf:type ontology:national_sports_team }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P466
Q1194951 Q811979 Q483110
USER
Which national sports teams are a tenants of more number of architectural structures and stadia than that national sports team ?
(c(Q811979)|c(Q483110),P466,c(Q1194951))
action greater
action union
action find_reverse_tuple_counts
relation P466
type Q1194951
type Q811979
action find_reverse_tuple_counts
relation P466
type Q1194951
type Q483110
action count
action filter_multi_types
action find_reverse
entity Q83459
relation P466
type Q811979
type Q483110
[[{'concept': 'Q811979'}, {'concept': 'Q483110'}], 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?b ) WHERE { { ?i property:P466 ?s . ?s rdf:type ontology:Q1194951 . ?i rdf:type ontology:Q483110 } UNION { ?i property:P466 ?s . ?i rdf:type ontology:Q811979 . ?s rdf:type ontology:Q1194951 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:P466 resource:Q83459 . { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:Q811979 ) ( ontology:Q483110 ) } } } } . FILTER ( ?b > ?e ) }
action greater
action union
action find_reverse_tuple_counts
relation occupant
type national sports team
type architectural structure
action find_reverse_tuple_counts
relation occupant
type national sports team
type stadium
action count
action filter_multi_types
action find_reverse
entity Brazil national football team
relation occupant
type architectural structure
type stadium
[[{'concept': 'architectural structure'}, {'concept': 'stadium'}], 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?b ) WHERE { { ?i property:occupant ?s . ?s rdf:type ontology:national_sports_team . ?i rdf:type ontology:stadium } UNION { ?i property:occupant ?s . ?i rdf:type ontology:architectural_structure . ?s rdf:type ontology:national_sports_team } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:occupant resource:Brazil_national_football_team . { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:architectural_structure ) ( ontology:stadium ) } } } } . FILTER ( ?b > ?e ) }
[]
national sports team architectural structure stadium
Q166196 Q42267 Q79800
SYSTEM
Poland national football team, Spain national football team, Argentina national football team
Q270181 Q754199 Q330056 Q47233 Q212166 Q271753 Q207441 Q189322 Q223748 Q657451 Q180187 Q318919 Q373462 Q241353 Q174512 Q257411 Q255771 Q245153 Q180798 Q692087 Q134916 Q242845 Q318928 Q185350 Q318922 Q611761 Q333490 Q188791 Q326864 Q267245 Q387301 Q499287 Q270080 Q267972 Q189018 Q585168 Q183326 Q583626 Q543842 Q244431 Q244728 Q497637 Q170561 Q172025 Q327100 Q200688 Q239520 Q186262 Q194387 Q191406 Q477079 Q236014 Q276089 Q191595 Q212206 Q235411 Q42267 Q270168 Q389097 Q166196 Q239549 Q330971 Q211733 Q186276 Q164089 Q455123 Q188228 Q270203 Q365548 Q186243 Q275698 Q638166 Q239555 Q236006 Q168397 Q235399 Q284113 Q477833 Q2474418 Q330039 Q189198 Q163547 Q497334 Q637831 Q627130 Q327769 Q14132 Q483868 Q244590 Q79800 Q47762 Q643073 Q263708 Q181930 Q189723 Q319776 Q239535
(c(Q811979)|c(Q483110),P466,c(Q1194951))
action greater
action union
action find_reverse_tuple_counts
relation P466
type Q1194951
type Q811979
action find_reverse_tuple_counts
relation P466
type Q1194951
type Q483110
action count
action filter_multi_types
action find_reverse
entity Q83459
relation P466
type Q811979
type Q483110
[ANSWERS] are a tenants of more number of architectural structures and stadia than that national sports team
[[{'concept': 'Q811979'}, {'concept': 'Q483110'}], 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?b ) WHERE { { ?i property:P466 ?s . ?s rdf:type ontology:Q1194951 . ?i rdf:type ontology:Q483110 } UNION { ?i property:P466 ?s . ?i rdf:type ontology:Q811979 . ?s rdf:type ontology:Q1194951 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:P466 resource:Q83459 . { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:Q811979 ) ( ontology:Q483110 ) } } } } . FILTER ( ?b > ?e ) }
Gambia national football team Northern Mariana Islands national football team Congo national football team Dominican Republic national football team Peru national football team Myanmar national football team Senegal national football team Latvia national football team Panama national football team Indonesia national football team Honduras national football team American Samoa national football team Cayman Islands national football team Mongolia national football team Slovakia national football team Ethiopia national football team Equatorial Guinea national football team Niger national football team Andorra national football team United States Virgin Islands national soccer team Uruguay national football team Uganda national football team Lebanon national football team San Marino national football team Malaysia national football team Mayotte national football team Swaziland national football team Cyprus national football team Yemen national football team Portugal national football team Liberia national football team Turks and Caicos Islands national football team Congo DR national football team Antigua and Barbuda national football team Montenegro national football team Wallis and Futuna national football team Armenia national football team Gibraltar national association football team South Korea national football team Bhutan national football team Tanzania national football team Comoros national football team Hungary national football team Chile national football team Zimbabwe national football team Faroe Islands national football team Kenya national football team Albania national football team Costa Rica national football team Israel national football team Samoa national football team Cuba national football team Libya national football team Togo national football team India national football team Guinea national football team Spain national football team Guatemala national football team Somalia national football team Poland national football team Thailand national football team Nepal national football team Mali national football team Lithuania national football team Mexico national football team Guinea-Bissau national football team El Salvador national football team Guam national football team Malawi national football team Iraq national football team Djibouti national football team Seychelles national football team Brunei national football team Haiti national football team Romania national football team Jamaica national football team Saint-Martin national football team Mauritius national football team Bonaire national football team Cape Verde national football team Iceland national football team Republic of Ireland national football team Guadeloupe national football team Saint Lucia national football team South Sudan men's national association football team Suriname national football team North Korea national football team Czech Republic national football team Bahamas national football team Argentina national football team England national football team São Tomé and Príncipe national football team British Virgin Islands national football team Nigeria national football team Saudi Arabia national football team Rwanda national football team Benin national football team
Poland national football team, Spain national football team and Argentina national football team are a tenants of more number of architectural structures and stadia than that national sports team
Poland national football team Spain national football team Argentina national football team
action greater
action union
action find_reverse_tuple_counts
relation occupant
type national sports team
type architectural structure
action find_reverse_tuple_counts
relation occupant
type national sports team
type stadium
action count
action filter_multi_types
action find_reverse
entity Brazil national football team
relation occupant
type architectural structure
type stadium
[[{'concept': 'architectural structure'}, {'concept': 'stadium'}], 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?b ) WHERE { { ?i property:occupant ?s . ?s rdf:type ontology:national_sports_team . ?i rdf:type ontology:stadium } UNION { ?i property:occupant ?s . ?i rdf:type ontology:architectural_structure . ?s rdf:type ontology:national_sports_team } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:occupant resource:Brazil_national_football_team . { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:architectural_structure ) ( ontology:stadium ) } } } } . FILTER ( ?b > ?e ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1532
Q15617994
USER
How many administrative territories are represented by that national sports team ?
(Q79800,P1532,c(Q15617994))
['Q79800', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q79800 property:P1532 ?z . ?z rdf:type ontology:Q15617994 }
['Argentina national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Argentina_national_football_team property:country_for_sport ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q79800
SYSTEM
Did you mean Argentina national football team ?
(Q166196,P1532,c(Q15617994)) (Q42267,P1532,c(Q15617994)) (Q79800,P1532,c(Q15617994))
[ANSWER]
['Q166196', 'P1532', {'concept': 'Q15617994'}] ['Q42267', 'P1532', {'concept': 'Q15617994'}] ['Q79800', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q79800 property:P1532 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Argentina national football team ?
Argentina national football team
['Poland national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ['Spain national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ['Argentina national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Argentina_national_football_team property:country_for_sport ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q79800,P1532,c(Q15617994))
['Q79800', 'P1532', {'concept': 'Q15617994'}]
['Argentina national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q414
(Q79800,P1532,c(Q15617994))
[ANSWER]
['Q79800', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q79800 property:P1532 ?z . ?z rdf:type ontology:Q15617994 }
Argentina
1
['Argentina national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Argentina_national_football_team property:country_for_sport ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q166196
P1923
Q1194951 Q15275719 Q13406554
USER
Which national sports teams contested in less number of recurring events and sport competitions than Poland national football team ?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action less
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q166196
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { ?p property:P1923 resource:Q166196 . { VALUES ( ?i ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?p rdf:type ?i } } } . FILTER ( ?b < ?m ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) ?t WHERE { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } } GROUP BY ?t } }
Poland national football team
action less
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Poland national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { ?p property:participating_teams resource:Poland_national_football_team . { VALUES ( ?i ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?p rdf:type ?i } } } . FILTER ( ?b < ?m ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) ?t WHERE { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } } GROUP BY ?t } }
[]
national sports team recurring event sport competition
Q47050 Q164134 Q172025
SYSTEM
Netherlands national football team, United States men's national soccer team, Chile national football team
Q170327 Q130582 Q212166 Q207441 Q189322 Q34044 Q174512 Q21130178 Q193386 Q172014 Q223748 Q180187 Q188228 Q190978 Q21130160 Q212564 Q236014 Q180845 Q21130162 Q21130165 Q21130166 Q21130168 Q235910 Q987584 Q1131732 Q192828 Q270080 Q182740 Q180857 Q543842 Q726080 Q27971 Q170403 Q172025 Q172020 Q170566 Q268208 Q175315 Q214151 Q186262 Q194387 Q191406 Q172221 Q175145 Q134479 Q191595 Q47050 Q21130170 Q181903 Q189275 Q175309 Q152424 Q207337 Q181190 Q163534 Q188363 Q186243 Q131785 Q184387 Q168397 Q235399 Q483856 Q189198 Q28089 Q163547 Q236006 Q721418 Q182072 Q184602 Q192149 Q164134 Q14132 Q2535606 Q21130157 Q21130156 Q483868 Q181930 Q208635 Q189723 Q206828 Q134925
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action less
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q166196
relation P1923
type Q15275719
type Q13406554
[ANSWERS] contested in less number of recurring events and sport competitions than Poland national football team
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { ?p property:P1923 resource:Q166196 . { VALUES ( ?i ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?p rdf:type ?i } } } . FILTER ( ?b < ?m ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) ?t WHERE { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } } GROUP BY ?t } }
South Africa national football team China PR national football team Peru national football team Senegal national football team Latvia national football team Scotland national football team Slovakia national football team Transylvania national quidditch team Bolivia national football team Ghana national football team Panama national football team Honduras national football team El Salvador national football team Northern Ireland national football team England national quidditch team Colombia national football team Cuba national football team Bulgaria national football team Wales national quidditch team Scotland national quidditch team Luxembourg national quidditch team Uganda national quidditch team United Arab Emirates national football team Ecuador national football team Serbia and Montenegro national football team Angola national football team Congo DR national football team Serbia national football team Wales national football team South Korea national football team Russia national football team Tunisia national football team Ukraine national football team Chile national football team Paraguay national football team Japan national football team Australia national association football team New Zealand national football team Venezuela national football team Albania national football team Costa Rica national football team Israel national football team Slovenia national football team Ivory Coast national football team Croatia national football team Togo national football team Netherlands national football team Peru national quidditch team Algeria national football team Soviet Union national football team Cameroon national football team East Germany national football team Morocco national football team Bosnia and Herzegovina national football team Austria national football team Yugoslavia national football team Iraq national football team Denmark national football team Norway national football team Romania national football team Jamaica national football team Turkey national football team Iceland national football team Egypt national football team Republic of Ireland national football team Haiti national football team CIS national football team Czechoslovakia national football team Iran national football team Trinidad and Tobago national football team United States men's national soccer team North Korea national football team Dutch East Indies national football team Bulgaria national quidditch team Ireland national quidditch team Czech Republic national football team Nigeria national football team Canada national soccer team Saudi Arabia national football team Kuwait national football team Greece national football team
Netherlands national football team, United States men's national soccer team and Chile national football team contested in less number of recurring events and sport competitions than Poland national football team
Netherlands national football team United States men's national soccer team Chile national football team
action less
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Poland national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { ?p property:participating_teams resource:Poland_national_football_team . { VALUES ( ?i ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?p rdf:type ?i } } } . FILTER ( ?b < ?m ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) ?t WHERE { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } } GROUP BY ?t } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q192149
P1923
Q1194951 Q15275719 Q13406554
USER
And what about Trinidad and Tobago national football team?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action less
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q192149
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) ?p WHERE { { ?i rdf:type ontology:Q15275719 . ?p rdf:type ontology:Q1194951 . ?i property:P1923 ?p } UNION { ?i property:P1923 ?p . ?i rdf:type ontology:Q13406554 . ?p rdf:type ontology:Q1194951 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { { ?b rdf:type ontology:Q15275719 } UNION { ?b rdf:type ontology:Q13406554 } } . ?b property:P1923 resource:Q192149 } } . FILTER ( ?m < ?q ) }
Trinidad and Tobago national football team
action less
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Trinidad and Tobago national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) ?p WHERE { { ?i rdf:type ontology:recurring_event . ?p rdf:type ontology:national_sports_team . ?i property:participating_teams ?p } UNION { ?i property:participating_teams ?p . ?i rdf:type ontology:sport_competition . ?p rdf:type ontology:national_sports_team } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { { ?b rdf:type ontology:recurring_event } UNION { ?b rdf:type ontology:sport_competition } } . ?b property:participating_teams resource:Trinidad_and_Tobago_national_football_team } } . FILTER ( ?m < ?q ) }
[]
national sports team recurring event sport competition
Q189322 Q21130157 Q21130178
SYSTEM
Latvia national football team, Bulgaria national quidditch team, Transylvania national quidditch team
Q189322 Q21130178 Q21130160 Q21130162 Q21130165 Q21130166 Q21130168 Q21130170 Q721418 Q21130157 Q21130156
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action less
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q192149
relation P1923
type Q15275719
type Q13406554
[ANSWERS]
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) ?p WHERE { { ?i rdf:type ontology:Q15275719 . ?p rdf:type ontology:Q1194951 . ?i property:P1923 ?p } UNION { ?i property:P1923 ?p . ?i rdf:type ontology:Q13406554 . ?p rdf:type ontology:Q1194951 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { { ?b rdf:type ontology:Q15275719 } UNION { ?b rdf:type ontology:Q13406554 } } . ?b property:P1923 resource:Q192149 } } . FILTER ( ?m < ?q ) }
Latvia national football team Transylvania national quidditch team England national quidditch team Wales national quidditch team Scotland national quidditch team Luxembourg national quidditch team Uganda national quidditch team Peru national quidditch team CIS national football team Bulgaria national quidditch team Ireland national quidditch team
Latvia national football team Bulgaria national quidditch team Transylvania national quidditch team
action less
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Trinidad and Tobago national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) ?p WHERE { { ?i rdf:type ontology:recurring_event . ?p rdf:type ontology:national_sports_team . ?i property:participating_teams ?p } UNION { ?i property:participating_teams ?p . ?i rdf:type ontology:sport_competition . ?p rdf:type ontology:national_sports_team } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { { ?b rdf:type ontology:recurring_event } UNION { ?b rdf:type ontology:sport_competition } } . ?b property:participating_teams resource:Trinidad_and_Tobago_national_football_team } } . FILTER ( ?m < ?q ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21130157
P17
Q15617994
USER
Which administrative territory is that national sports team situated in ?
(Q21130157,P17,c(Q15617994))
action filter_type
action find
entity Q21130157
relation P17
type Q15617994
['Q21130157', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q21130157 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Bulgaria national quidditch team
action filter_type
action find
entity Bulgaria national quidditch team
relation country
type designation for an administrative territorial entity
['Bulgaria national quidditch team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Bulgaria_national_quidditch_team property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q21130157
SYSTEM
Did you mean Bulgaria national quidditch team ?
Q189322 Q21130157 Q21130178
(Q189322,P17,c(Q15617994)) (Q21130157,P17,c(Q15617994)) (Q21130178,P17,c(Q15617994))
[ANSWER]
['Q189322', 'P17', {'concept': 'Q15617994'}] ['Q21130157', 'P17', {'concept': 'Q15617994'}] ['Q21130178', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q21130157 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Latvia national football team Bulgaria national quidditch team Transylvania national quidditch team
Did you mean Bulgaria national quidditch team ?
Bulgaria national quidditch team
['Latvia national football team', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bulgaria national quidditch team', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Transylvania national quidditch team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Bulgaria_national_quidditch_team property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q21130157,P17,c(Q15617994))
['Q21130157', 'P17', {'concept': 'Q15617994'}]
['Bulgaria national quidditch team', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q219
SYSTEM
Bulgaria
Q219
(Q21130157,P17,c(Q15617994))
action filter_type
action find
entity Q21130157
relation P17
type Q15617994
That national sports team is situated in [ANSWER]
['Q21130157', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q21130157 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Bulgaria
That national sports team is situated in Bulgaria
Bulgaria
action filter_type
action find
entity Bulgaria national quidditch team
relation country
type designation for an administrative territorial entity
['Bulgaria national quidditch team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Bulgaria_national_quidditch_team property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q219 Q21486565
P17
Q271669
USER
Is Puertas del Infierno located in that administrative territory ?
(Q21486565,P17,Q219)
action is_in
entity Q21486565
action find
entity Q219
relation P17
['Q21486565', 'P17', 'Q219']
ASK WHERE { resource:Q219 property:P17 resource:Q21486565 }
Bulgaria Puertas del Infierno
action is_in
entity Puertas del Infierno
action find
entity Bulgaria
relation country
['Puertas del Infierno', 'country', 'Bulgaria']
ASK WHERE { resource:Bulgaria property:country resource:Puertas_del_Infierno }
[]
landform
SYSTEM
NO
(Q21486565,P17,Q219)
action is_in
entity Q21486565
action find
entity Q219
relation P17
[ANSWER]
['Q21486565', 'P17', 'Q219']
ASK WHERE { resource:Q219 property:P17 resource:Q21486565 }
No
action is_in
entity Puertas del Infierno
action find
entity Bulgaria
relation country
['Puertas del Infierno', 'country', 'Bulgaria']
ASK WHERE { resource:Bulgaria property:country resource:Puertas_del_Infierno }
[]