Simple Question (Direct)
Simple Question
Q945139
P106
Q12737077
USER
Which occupation has Rati Aleksidze as his/her 's career ?
(Q945139,P106,c(Q12737077))
action filter_type
action find
entity Q945139
relation P106
type Q12737077
['Q945139', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q945139 property:P106 ?l }
Rati Aleksidze
action filter_type
action find
entity Rati Aleksidze
relation occupation
type occupation
['Rati Aleksidze', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Rati_Aleksidze property:occupation ?l }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q945139,P106,c(Q12737077))
action filter_type
action find
entity Q945139
relation P106
type Q12737077
As [ANSWER] has Rati Aleksidze as his/her 's career
['Q945139', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q945139 property:P106 ?l }
association football player
As association football player has Rati Aleksidze as his/her 's career
association football player
action filter_type
action find
entity Rati Aleksidze
relation occupation
type occupation
['Rati Aleksidze', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Rati_Aleksidze property:occupation ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q945139
P641
Q349
USER
What did that person participate in ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q945139
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q945139 property:P641 ?y }
Rati Aleksidze
action filter_type
action find
entity Rati Aleksidze
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Rati_Aleksidze property:sport ?y }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q945139
relation P641
type Q349
That person participated in [ANSWER]
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q945139 property:P641 ?y }
association football
That person participated in association football
association football
action filter_type
action find
entity Rati Aleksidze
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Rati_Aleksidze property:sport ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q945139
P54
Q1194951
USER
What is that person a member of ?
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q945139
relation P54
type Q1194951
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { resource:Q945139 property:P54 ?c . ?c rdf:type ontology:Q1194951 }
Rati Aleksidze
action filter_type
action find
entity Rati Aleksidze
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { resource:Rati_Aleksidze property:member_of_sports_team ?c . ?c rdf:type ontology:national_sports_team }
[]
national sports team
Q186268
SYSTEM
Georgia national football team
Q186268
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q945139
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { resource:Q945139 property:P54 ?c . ?c rdf:type ontology:Q1194951 }
Georgia national football team
That person a member of is the Georgia national football team
Georgia national football team
action filter_type
action find
entity Rati Aleksidze
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { resource:Rati_Aleksidze property:member_of_sports_team ?c . ?c rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q186268 Q53296
P17
Q15617994
USER
Is that national sports team located in Nimis ?
(Q186268,P17,Q53296)
action is_in
entity Q53296
action find
entity Q186268
relation P17
['Q186268', 'P17', 'Q53296']
ASK WHERE { resource:Q186268 property:P17 resource:Q53296 }
Georgia national football team Nimis
action is_in
entity Nimis
action find
entity Georgia national football team
relation country
['Georgia national football team', 'country', 'Nimis']
ASK WHERE { resource:Georgia_national_football_team property:country resource:Nimis }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q186268,P17,Q53296)
action is_in
entity Q53296
action find
entity Q186268
relation P17
[ANSWER]
['Q186268', 'P17', 'Q53296']
ASK WHERE { resource:Q186268 property:P17 resource:Q53296 }
No
action is_in
entity Nimis
action find
entity Georgia national football team
relation country
['Georgia national football team', 'country', 'Nimis']
ASK WHERE { resource:Georgia_national_football_team property:country resource:Nimis }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q186268
P1532
Q15617994
USER
Which administrative territory did Georgia national football team play for ?
(Q186268,P1532,c(Q15617994))
action filter_type
action find
entity Q186268
relation P1532
type Q15617994
['Q186268', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q186268 property:P1532 ?e . ?e rdf:type ontology:Q15617994 }
Georgia national football team
action filter_type
action find
entity Georgia national football team
relation country for sport
type designation for an administrative territorial entity
['Georgia national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Georgia_national_football_team property:country_for_sport ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(Q186268,P1532,c(Q15617994))
action filter_type
action find
entity Q186268
relation P1532
type Q15617994
[ANSWER] national football team played in [ANSWER]
['Q186268', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q186268 property:P1532 ?e . ?e rdf:type ontology:Q15617994 }
Georgia
Georgia national football team played in Georgia
Georgia
action filter_type
action find
entity Georgia national football team
relation country for sport
type designation for an administrative territorial entity
['Georgia national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Georgia_national_football_team property:country_for_sport ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q7725634 Q2342494
USER
How many administrative territories are the origin of approximately the same number of literary works or collectables as that administrative territory ?
(c(Q7725634)|c(Q2342494),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q230
relation P495
type Q7725634
type Q2342494
[[{'concept': 'Q7725634'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?s ) WHERE { { ?r property:P495 ?y . ?y rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q7725634 } UNION { ?r property:P495 ?y . ?y rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q2342494 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { ?b rdf:type ?v . VALUES ( ?v ) { ( ontology:Q7725634 ) ( ontology:Q2342494 ) } } . ?b property:P495 resource:Q230 } } . FILTER ( ?s = ?x ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Georgia
relation country of origin
type literary work
type collectable
[[{'concept': 'literary work'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?s ) WHERE { { ?r property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:literary_work } UNION { ?r property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:collectable } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { ?b rdf:type ?v . VALUES ( ?v ) { ( ontology:literary_work ) ( ontology:collectable ) } } . ?b property:country_of_origin resource:Georgia } } . FILTER ( ?s = ?x ) }
[]
designation for an administrative territorial entity literary work collectable
SYSTEM
166
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q7725634)|c(Q2342494),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q230
relation P495
type Q7725634
type Q2342494
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?s ) WHERE { { ?r property:P495 ?y . ?y rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q7725634 } UNION { ?r property:P495 ?y . ?y rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q2342494 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { ?b rdf:type ?v . VALUES ( ?v ) { ( ontology:Q7725634 ) ( ontology:Q2342494 ) } } . ?b property:P495 resource:Q230 } } . FILTER ( ?s = ?x ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
166
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Georgia
relation country of origin
type literary work
type collectable
[[{'concept': 'literary work'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?s ) WHERE { { ?r property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:literary_work } UNION { ?r property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:collectable } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { ?b rdf:type ?v . VALUES ( ?v ) { ( ontology:literary_work ) ( ontology:collectable ) } } . ?b property:country_of_origin resource:Georgia } } . FILTER ( ?s = ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q186262
P1923
Q1194951 Q15275719 Q13406554
USER
Which national sports teams competed in around the same number of recurring events or sport competitions as Albania national football team ?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action approx
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 Q186262
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) ?w WHERE { VALUES ( ?c ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?l rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:P1923 resource:Q186262 . { { ?r rdf:type ontology:Q15275719 } UNION { ?r rdf:type ontology:Q13406554 } } } } . FILTER ( ?p = ?y ) }
Albania national football team
action approx
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 Albania 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 ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) ?w WHERE { VALUES ( ?c ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?l rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:participating_teams resource:Albania_national_football_team . { { ?r rdf:type ontology:recurring_event } UNION { ?r rdf:type ontology:sport_competition } } } } . FILTER ( ?p = ?y ) }
[]
national sports team recurring event sport competition
Q34044 Q189275 Q175309
SYSTEM
Scotland national football team, Soviet Union national football team, Cameroon 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 Q726080 Q27971 Q170403 Q170566 Q268208 Q175315 Q214151 Q186262 Q194387 Q191406 Q172221 Q175145 Q134479 Q191595 Q21130170 Q181903 Q189275 Q175309 Q152424 Q207337 Q181190 Q186243 Q131785 Q184387 Q235399 Q483856 Q189198 Q28089 Q163547 Q236006 Q721418 Q182072 Q184602 Q192149 Q14132 Q2535606 Q21130157 Q21130156 Q483868 Q181930 Q208635 Q189723 Q206828 Q134925
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action approx
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 Q186262
relation P1923
type Q15275719
type Q13406554
[ANSWERS] competed in around the same number of recurring events or sport competitions as Albania national football team
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) ?w WHERE { VALUES ( ?c ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?l rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:P1923 resource:Q186262 . { { ?r rdf:type ontology:Q15275719 } UNION { ?r rdf:type ontology:Q13406554 } } } } . FILTER ( ?p = ?y ) }
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 Russia national football team Tunisia national football team Ukraine 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 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 Iraq national football team Denmark national football team Norway 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 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
Scotland national football team, Soviet Union national football team and Cameroon national football team competed in around the same number of recurring events or sport competitions as Albania national football team
Scotland national football team Soviet Union national football team Cameroon national football team
action approx
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 Albania 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 ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) ?w WHERE { VALUES ( ?c ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?l rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:participating_teams resource:Albania_national_football_team . { { ?r rdf:type ontology:recurring_event } UNION { ?r rdf:type ontology:sport_competition } } } } . FILTER ( ?p = ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q152424
P1923
Q1194951 Q15275719 Q13406554
USER
And also tell me about East Germany national football team?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action approx
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 Q152424
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?g WHERE { VALUES ( ?s ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?v rdf:type ?s } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { ?l property:P1923 resource:Q152424 . { ?l rdf:type ?j . VALUES ( ?j ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } } } } . FILTER ( ?u = ?e ) }
East Germany national football team
action approx
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 East Germany 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 ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?g WHERE { VALUES ( ?s ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?v rdf:type ?s } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { ?l property:participating_teams resource:East_Germany_national_football_team . { ?l rdf:type ?j . VALUES ( ?j ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } } } } . FILTER ( ?u = ?e ) }
[]
national sports team recurring event sport competition
Q131785 Q184387 Q212564
SYSTEM
Denmark national football team, Norway national football team, Colombia national football team
Q170327 Q130582 Q212166 Q207441 Q189322 Q174512 Q21130178 Q193386 Q172014 Q223748 Q180187 Q188228 Q21130160 Q212564 Q236014 Q21130162 Q21130165 Q21130166 Q21130168 Q235910 Q987584 Q1131732 Q192828 Q270080 Q182740 Q27971 Q170403 Q170566 Q268208 Q175315 Q214151 Q186262 Q194387 Q191406 Q172221 Q175145 Q191595 Q21130170 Q181903 Q152424 Q207337 Q181190 Q186243 Q131785 Q184387 Q235399 Q483856 Q189198 Q28089 Q236006 Q721418 Q184602 Q192149 Q14132 Q2535606 Q21130157 Q21130156 Q483868 Q181930 Q208635 Q189723 Q206828 Q134925
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action approx
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 Q152424
relation P1923
type Q15275719
type Q13406554
[ANSWERS]
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?g WHERE { VALUES ( ?s ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?v rdf:type ?s } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { ?l property:P1923 resource:Q152424 . { ?l rdf:type ?j . VALUES ( ?j ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } } } } . FILTER ( ?u = ?e ) }
South Africa national football team China PR national football team Peru national football team Senegal national football team Latvia 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 England national quidditch team Colombia national football team Cuba 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 Tunisia national football team Ukraine 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 Togo national football team Peru national quidditch team Algeria national football team East Germany national football team Morocco national football team Bosnia and Herzegovina national football team Iraq national football team Denmark national football team Norway national football team Jamaica national football team Turkey national football team Iceland national football team Egypt national football team Haiti national football team CIS national football team Iran national football team Trinidad and Tobago national football 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
Denmark national football team Norway national football team Colombia national football team
action approx
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 East Germany 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 ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?g WHERE { VALUES ( ?s ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?v rdf:type ?s } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { ?l property:participating_teams resource:East_Germany_national_football_team . { ?l rdf:type ?j . VALUES ( ?j ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } } } } . FILTER ( ?u = ?e ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q131785
P1344
Q15275719
USER
Which recurring events did that national sports team participate in ?
(Q131785,P1344,c(Q15275719))
action filter_type
action find
entity Q131785
relation P1344
type Q15275719
['Q131785', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?u WHERE { resource:Q131785 property:P1344 ?u . ?u rdf:type ontology:Q15275719 }
Denmark national football team
action filter_type
action find
entity Denmark national football team
relation participant of
type recurring event
['Denmark national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?u WHERE { resource:Denmark_national_football_team property:participant_of ?u . ?u rdf:type ontology:recurring_event }
[]
recurring event
Clarification for simple ques.
Q212564
SYSTEM
Did you mean Colombia national football team ?
Q131785 Q184387 Q212564
(Q131785,P1344,c(Q15275719)) (Q184387,P1344,c(Q15275719)) (Q212564,P1344,c(Q15275719))
[ANSWER]
['Q131785', 'P1344', {'concept': 'Q15275719'}] ['Q184387', 'P1344', {'concept': 'Q15275719'}] ['Q212564', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?u WHERE { resource:Q131785 property:P1344 ?u . ?u rdf:type ontology:Q15275719 }
Denmark national football team Norway national football team Colombia national football team
Did you mean Colombia national football team ?
Colombia national football team
['Denmark national football team', 'participant of', {'concept': 'recurring event'}] ['Norway national football team', 'participant of', {'concept': 'recurring event'}] ['Colombia national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?u WHERE { resource:Denmark_national_football_team property:participant_of ?u . ?u rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
USER
No, I meant Denmark national football team. Could you tell me the answer for that?
(Q131785,P1344,c(Q15275719))
Q131785
['Q131785', 'P1344', {'concept': 'Q15275719'}]
['Denmark national football team', 'participant of', {'concept': 'recurring event'}]
[]
Q101730 Q47735 Q176883
SYSTEM
1998 FIFA World Cup, 2002 FIFA World Cup, 2010 FIFA World Cup
Q47735 Q176883 Q101730 Q46938
(Q131785,P1344,c(Q15275719))
action filter_type
action find
entity Q131785
relation P1344
type Q15275719
That national sports team participated in [ANSWERS]
['Q131785', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?u WHERE { resource:Q131785 property:P1344 ?u . ?u rdf:type ontology:Q15275719 }
2002 FIFA World Cup 2010 FIFA World Cup 1998 FIFA World Cup 1986 FIFA World Cup
That national sports team participated in 1998 FIFA World Cup, 2002 FIFA World Cup and 2010 FIFA World Cup
1998 FIFA World Cup 2002 FIFA World Cup 2010 FIFA World Cup
action filter_type
action find
entity Denmark national football team
relation participant of
type recurring event
['Denmark national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?u WHERE { resource:Denmark_national_football_team property:participant_of ?u . ?u rdf:type ontology:recurring_event }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q676899
P1344
Q1194951
USER
Did Italy national football team participate in those recurring events ?
(Q676899,P1344,Q101730) (Q676899,P1344,Q47735) (Q676899,P1344,Q176883)
action is_in
entity prev_answer
action find
entity Q676899
relation P1344
['Q676899', 'P1344', 'Q101730'] ['Q676899', 'P1344', 'Q47735'] ['Q676899', 'P1344', 'Q176883']
ASK WHERE { VALUES ( ?c ) { ( resource:Q47735 ) ( resource:Q176883 ) ( resource:Q101730 ) } . resource:Q676899 property:P1344 ?c }
Italy national football team
action is_in
entity prev_answer
action find
entity Italy national football team
relation participant of
['Italy national football team', 'participant of', '1998 FIFA World Cup'] ['Italy national football team', 'participant of', '2002 FIFA World Cup'] ['Italy national football team', 'participant of', '2010 FIFA World Cup']
ASK WHERE { VALUES ( ?c ) { ( resource:2002_FIFA_World_Cup ) ( resource:2010_FIFA_World_Cup ) ( resource:1998_FIFA_World_Cup ) } . resource:Italy_national_football_team property:participant_of ?c }
[]
national sports team
SYSTEM
YES
(Q676899,P1344,Q101730) (Q676899,P1344,Q47735) (Q676899,P1344,Q176883)
action is_in
entity prev_answer
action find
entity Q676899
relation P1344
[ANSWER]
['Q676899', 'P1344', 'Q101730'] ['Q676899', 'P1344', 'Q47735'] ['Q676899', 'P1344', 'Q176883']
ASK WHERE { VALUES ( ?c ) { ( resource:Q47735 ) ( resource:Q176883 ) ( resource:Q101730 ) } . resource:Q676899 property:P1344 ?c }
Yes
action is_in
entity prev_answer
action find
entity Italy national football team
relation participant of
['Italy national football team', 'participant of', '1998 FIFA World Cup'] ['Italy national football team', 'participant of', '2002 FIFA World Cup'] ['Italy national football team', 'participant of', '2010 FIFA World Cup']
ASK WHERE { VALUES ( ?c ) { ( resource:2002_FIFA_World_Cup ) ( resource:2010_FIFA_World_Cup ) ( resource:1998_FIFA_World_Cup ) } . resource:Italy_national_football_team property:participant_of ?c }
[]