Simple Question (Direct)
Simple Question
Q6055984
P54
Q1194951
USER
Which national sports team is Pablo Antonio Gabas a member of ?
(Q6055984,P54,c(Q1194951))
action filter_type
action find
entity Q6055984
relation P54
type Q1194951
['Q6055984', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q6055984 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Pablo Antonio Gabas
action filter_type
action find
entity Pablo Antonio Gabas
relation member of sports team
type national sports team
['Pablo Antonio Gabas', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Pablo_Antonio_Gabas property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
national sports team
Q194387
SYSTEM
Costa Rica national football team
Q194387
(Q6055984,P54,c(Q1194951))
action filter_type
action find
entity Q6055984
relation P54
type Q1194951
The [ANSWER] is Pablo Antonio Gabas a member of
['Q6055984', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q6055984 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Costa Rica national football team
The Costa Rica national football team is Pablo Antonio Gabas a member of
Costa Rica national football team
action filter_type
action find
entity Pablo Antonio Gabas
relation member of sports team
type national sports team
['Pablo Antonio Gabas', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Pablo_Antonio_Gabas property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6055984
P21
Q290
USER
Which sex does Pablo Antonio Gabas possess ?
(Q6055984,P21,c(Q290))
action filter_type
action find
entity Q6055984
relation P21
type Q290
['Q6055984', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q6055984 property:P21 ?l . ?l rdf:type ontology:Q290 }
Pablo Antonio Gabas
action filter_type
action find
entity Pablo Antonio Gabas
relation gender
type sex
['Pablo Antonio Gabas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Pablo_Antonio_Gabas property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6055984,P21,c(Q290))
action filter_type
action find
entity Q6055984
relation P21
type Q290
Pablo Antonio Gabas possesses un [ANSWER]
['Q6055984', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q6055984 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Pablo Antonio Gabas possesses un male
male
action filter_type
action find
entity Pablo Antonio Gabas
relation gender
type sex
['Pablo Antonio Gabas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Pablo_Antonio_Gabas property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6055984
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q6055984
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q6055984 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Pablo Antonio Gabas
action filter_type
action find
entity Pablo Antonio Gabas
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Pablo_Antonio_Gabas property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q52535
SYSTEM
Rosario
Q52535
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q6055984
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q6055984 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Rosario
That person was born in Rosario
Rosario
action filter_type
action find
entity Pablo Antonio Gabas
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Pablo_Antonio_Gabas property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q52535 Q2264328
P190
Q56061
USER
Is Akethorpe partner town of that one ?
(Q52535,P190,Q2264328)
action is_in
entity Q2264328
action find
entity Q52535
relation P190
['Q52535', 'P190', 'Q2264328']
ASK WHERE { resource:Q52535 property:P190 resource:Q2264328 }
Rosario Akethorpe
action is_in
entity Akethorpe
action find
entity Rosario
relation sister city
['Rosario', 'sister city', 'Akethorpe']
ASK WHERE { resource:Rosario property:sister_city resource:Akethorpe }
[]
administrative territorial entity
SYSTEM
NO
(Q52535,P190,Q2264328)
action is_in
entity Q2264328
action find
entity Q52535
relation P190
[ANSWER]
['Q52535', 'P190', 'Q2264328']
ASK WHERE { resource:Q52535 property:P190 resource:Q2264328 }
No
action is_in
entity Akethorpe
action find
entity Rosario
relation sister city
['Rosario', 'sister city', 'Akethorpe']
ASK WHERE { resource:Rosario property:sister_city resource:Akethorpe }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1923
Q1194951 Q15275719 Q13406554
USER
How many national sports teams contested in atmost 14 recurring events and sport competitions ?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
value 14
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) ?p WHERE { VALUES ( ?t ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?v rdf:type ?t } GROUP BY ?p } . FILTER ( ?c <= 14 ) }
action count
action atmost
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
value 14
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) ?p WHERE { VALUES ( ?t ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?v rdf:type ?t } GROUP BY ?p } . FILTER ( ?c <= 14 ) }
[]
national sports team recurring event sport competition
SYSTEM
87
Q170327 Q130582 Q212166 Q207441 Q189322 Q34044 Q174512 Q21130178 Q193386 Q172014 Q223748 Q180187 Q188228 Q190978 Q21130160 Q212564 Q236014 Q180845 Q21130162 Q21130165 Q21130166 Q21130168 Q235910 Q987584 Q267245 Q1131732 Q192828 Q270080 Q182740 Q160826 Q180857 Q543842 Q726080 Q27971 Q170403 Q170561 Q172025 Q172020 Q170566 Q268208 Q175315 Q214151 Q186262 Q194387 Q191406 Q172221 Q175145 Q134479 Q191595 Q47050 Q21130170 Q181903 Q189275 Q166196 Q175309 Q152424 Q207337 Q181190 Q163534 Q188363 Q186243 Q131785 Q184387 Q168397 Q235399 Q483856 Q165141 Q189198 Q28089 Q163547 Q236006 Q721418 Q182072 Q184602 Q192149 Q164134 Q14132 Q2535606 Q21130157 Q21130156 Q483868 Q134916 Q181930 Q208635 Q189723 Q206828 Q134925
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
value 14
[ANSWER]
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) ?p WHERE { VALUES ( ?t ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?v rdf:type ?t } GROUP BY ?p } . FILTER ( ?c <= 14 ) }
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 Portugal national football team Serbia and Montenegro national football team Angola national football team Congo DR national football team Serbia national football team Sweden national football team Wales national football team South Korea national football team Russia national football team Tunisia national football team Ukraine national football team Hungary 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 Poland 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 Swiss 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 Uruguay national football team Nigeria national football team Canada national soccer team Saudi Arabia national football team Kuwait national football team Greece national football team
87
action count
action atmost
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
value 14
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) ?p WHERE { VALUES ( ?t ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?v rdf:type ?t } GROUP BY ?p } . FILTER ( ?c <= 14 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q52535
P17
Q15617994
USER
Which administrative territory is Rosario a part of ?
(Q52535,P17,c(Q15617994))
action filter_type
action find
entity Q52535
relation P17
type Q15617994
['Q52535', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q52535 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Rosario
action filter_type
action find
entity Rosario
relation country
type designation for an administrative territorial entity
['Rosario', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Rosario property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q52535,P17,c(Q15617994))
action filter_type
action find
entity Q52535
relation P17
type Q15617994
Which administrative territory is Rosario a part of
['Q52535', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q52535 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Argentina
Which administrative territory is Rosario a part of
Argentina
action filter_type
action find
entity Rosario
relation country
type designation for an administrative territorial entity
['Rosario', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Rosario property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5092494
Q15617994
USER
And how about Cherry Valley?
(Q5092494,P17,c(Q15617994))
action filter_type
action find
entity Q5092494
relation P17
type Q15617994
['Q5092494', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q5092494 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Cherry Valley
action filter_type
action find
entity Cherry Valley
relation country
type designation for an administrative territorial entity
['Cherry Valley', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Cherry_Valley property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5092494,P17,c(Q15617994))
action filter_type
action find
entity Q5092494
relation P17
type Q15617994
[ANSWER]
['Q5092494', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q5092494 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Cherry Valley
relation country
type designation for an administrative territorial entity
['Cherry Valley', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Cherry_Valley property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P1001
Q17335294 Q820655
USER
How many coats of arms and statutes preside the jurisdiction over United States of America ?
(c(Q17335294),P1001,Q30) (c(Q820655),P1001,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P1001
type Q17335294
action filter_type
action find_reverse
entity Q30
relation P1001
type Q820655
[{'concept': 'Q17335294'}, 'P1001', 'Q30'] [{'concept': 'Q820655'}, 'P1001', 'Q30']
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { ?l property:P1001 resource:Q30 . ?l rdf:type ontology:Q17335294 } UNION { ?l rdf:type ontology:Q820655 . ?l property:P1001 resource:Q30 } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation applies to jurisdiction
type flag or coat of arms
action filter_type
action find_reverse
entity United States of America
relation applies to jurisdiction
type statute
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'United States of America'] [{'concept': 'statute'}, 'applies to jurisdiction', 'United States of America']
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { ?l property:applies_to_jurisdiction resource:United_States_of_America . ?l rdf:type ontology:flag_or_coat_of_arms } UNION { ?l rdf:type ontology:statute . ?l property:applies_to_jurisdiction resource:United_States_of_America } }
[]
flag or coat of arms statute
SYSTEM
2 coats of arms and 88 statutes
Q5969082 Q4674781 Q486302 Q5065125 Q1073716 Q16933862 Q7836963 Q1484269 Q6888299 Q1142156 Q7795915 Q1613068 Q7837012 Q4859499 Q1872810 Q5166287 Q1418478 Q16911691 Q6548367 Q3774237 Q4927888 Q7836863 Q6119454 Q16983546 Q21187336 Q16972317 Q6383417 Q7837208 Q374130 Q865365 Q231304 Q7837072 Q3503314 Q535519 Q6269155 Q2895269 Q727854 Q16976200 Q5097718 Q6048126 Q171322 Q7863455 Q715282 Q210645 Q6500100 Q6044538 Q6168026 Q3660063 Q786008 Q1938591 Q7498043 Q6844352 Q4693783 Q2743374 Q917652 Q7524742 Q2509336 Q188116 Q7837185 Q5507275 Q7053851 Q6807083 Q5204227 Q1414593 Q223560 Q4854173 Q16947232 Q4693794 Q7837052 Q743212 Q16961489 Q399999 Q4958991 Q7335212 Q1410030 Q1329394 Q4698371 Q16983515 Q16958641 Q12616 Q1285222 Q7836949 Q6818389 Q19429115 Q16934373 Q15991252 Q7837329 Q6815315 Q39392 Q7863493
(c(Q17335294),P1001,Q30) (c(Q820655),P1001,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P1001
type Q17335294
action filter_type
action find_reverse
entity Q30
relation P1001
type Q820655
[ANSWER]
[{'concept': 'Q17335294'}, 'P1001', 'Q30'] [{'concept': 'Q820655'}, 'P1001', 'Q30']
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { ?l property:P1001 resource:Q30 . ?l rdf:type ontology:Q17335294 } UNION { ?l rdf:type ontology:Q820655 . ?l property:P1001 resource:Q30 } }
Treaty of Amity and Commerce Acquisition and Cross-Servicing Agreement Immigration Act of 1903 Certification of Able Seamen Convention, 1946 Chinese Exclusion Act Section 123 Agreement Treaty of Amity and Economic Relations G.I. Bill Model Treaty Helms–Burton Act Thomson–Urrutia Treaty Volstead Act Treaty of Cession of Tutuila Barbary treaties Wilderness Act Convention on Fishing and Conservation of Living Resources of the High Seas Racketeer Influenced and Corrupt Organizations Act Treaty with Morocco (1836) Lilly Ledbetter Fair Pay Act of 2009 Antiquities Act Blood quantum laws Treaties and Other International Acts Series Jacob Wetterling Crimes Against Children and Sexually Violent Offender Registration Act Hay-Quesada Treaty Treaty of Amity and Commerce United States–Central America Treaty Keflavik Agreement Treaty of Relations Moroccan–American Treaty of Friendship Jim Crow laws Fourth Amendment to the United States Constitution Treaty of Friendship, Commerce and Consular Relations between Germany and the United States of America Root–Takahira Agreement Fugitive Slave Act of 1850 Joint Communiqué on the Establishment of Diplomatic Relations Fugitive Slave Act of 1793 Missouri Compromise United States Treaties and Other International Agreements Child Citizenship Act of 2000 International Agreement on the Neutrality of Laos Stop Online Piracy Act U.S. and Japan Mutual Defense Assistance Agreement PROTECT IP Act Second Amendment to the United States Constitution Laurel–Langley Agreement Inter-American Convention Against Corruption Jay–Gardoqui Treaty Don't Ask, Don't Tell Repeal Act of 2010 Indian Removal Act Arizona SB 1070 Shipowners' Liability (Sick and Injured Seamen) Convention, 1936 Migratory Bird Treaty Agreed Minute Endangered Species Act Gadsden flag Sino-American Cooperative Organization Grand Union Flag Fourteenth Amendment to the United States Constitution Treaty of Peace, Friendship, Commerce and Navigation Fugitive Slave Clause North American Radio Broadcasting Agreement Mediterranean pass DAFT Patient Protection and Affordable Care Act Third Amendment to the United States Constitution Bancroft Treaties Treaty of Cession of Manu'a Agreement between the Allied and Associated Powers with Regard to the Contribution to the Cost of Liberation of the Territories of the Former Austro-Hungarian Monarchy Treaty of Fort Clark Taft–Hartley Act Anderson–Gual Treaty Prohibition in the United States Brazil–United States Treaty Rio Grande Compact Glass–Steagall Act No Child Left Behind Act Air route authority between the United States and the People's Republic of China Hawaiian–American Treaty of Friendship, Commerce and Navigation U.S.–UAE 123 Agreement for Peaceful Civilian Nuclear Energy Cooperation First Amendment to the United States Constitution The Paris Convention of 1919 Treaty for the Limitation of Naval Armament Merchant Shipping (Minimum Standards) Convention, 1976 Treaty for Relinquishment of Extraterritorial Rights in China Officers' Competency Certificates Convention, 1936 Mellon-Berenger Agreement Treaty to avoid or prevent Conflicts between the American States Memorandum of Understanding on the Conservation and Management of Marine Turtles and their Habitats of the Indian Ocean and South-East Asia Compromise of 1850 U.S.–Afghanistan Strategic Partnership Agreement
2 coats of arms and 88 statutes
action count
action union
action filter_type
action find_reverse
entity United States of America
relation applies to jurisdiction
type flag or coat of arms
action filter_type
action find_reverse
entity United States of America
relation applies to jurisdiction
type statute
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'United States of America'] [{'concept': 'statute'}, 'applies to jurisdiction', 'United States of America']
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { ?l property:applies_to_jurisdiction resource:United_States_of_America . ?l rdf:type ontology:flag_or_coat_of_arms } UNION { ?l rdf:type ontology:statute . ?l property:applies_to_jurisdiction resource:United_States_of_America } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q657
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with greater number of administrative territories than Chad ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q657
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?w ) WHERE { ?y rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 . ?k property:P530 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:Q15617994 . resource:Q657 property:P530 ?p } } . FILTER ( ?w > ?u ) }
Chad
action count
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Chad
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?w ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:diplomatic_relation ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Chad property:diplomatic_relation ?p } } . FILTER ( ?w > ?u ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
102
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q657
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?w ) WHERE { ?y rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 . ?k property:P530 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:Q15617994 . resource:Q657 property:P530 ?p } } . FILTER ( ?w > ?u ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
102
action count
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Chad
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?w ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:diplomatic_relation ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Chad property:diplomatic_relation ?p } } . FILTER ( ?w > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q43
P530
Q15617994 Q15617994
USER
And also tell me about Turkey?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q43
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?j ) WHERE { ?f property:P530 ?z . ?f rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q43 property:P530 ?w } } . FILTER ( ?j > ?u ) }
Turkey
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Turkey
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?j ) WHERE { ?f property:diplomatic_relation ?z . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Turkey property:diplomatic_relation ?w } } . FILTER ( ?j > ?u ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
12
Q801 Q805 Q142 Q145 Q148 Q403 Q159 Q155 Q30 Q38 Q17 Q1011
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q43
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?j ) WHERE { ?f property:P530 ?z . ?f rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q43 property:P530 ?w } } . FILTER ( ?j > ?u ) }
Israel Yemen France United Kingdom People's Republic of China Serbia Russia Brazil United States of America Italy Japan Cape Verde
12
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Turkey
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?j ) WHERE { ?f property:diplomatic_relation ?z . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Turkey property:diplomatic_relation ?w } } . FILTER ( ?j > ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q52535
P159
Q874405 Q7210356
USER
How many social groups or political organizations have headquarters located at Rosario ?
(c(Q874405),P159,Q52535) (c(Q7210356),P159,Q52535)
action count
action union
action filter_type
action find_reverse
entity Q52535
relation P159
type Q874405
action filter_type
action find_reverse
entity Q52535
relation P159
type Q7210356
[{'concept': 'Q874405'}, 'P159', 'Q52535'] [{'concept': 'Q7210356'}, 'P159', 'Q52535']
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { ?u rdf:type ?w . VALUES ( ?w ) { ( ontology:Q874405 ) ( ontology:Q7210356 ) } }
Rosario
action count
action union
action filter_type
action find_reverse
entity Rosario
relation headquarters location
type social group
action filter_type
action find_reverse
entity Rosario
relation headquarters location
type political organization
[{'concept': 'social group'}, 'headquarters location', 'Rosario'] [{'concept': 'political organization'}, 'headquarters location', 'Rosario']
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { ?u rdf:type ?w . VALUES ( ?w ) { ( ontology:social_group ) ( ontology:political_organization ) } }
[]
social group political organization
SYSTEM
2
Q429341 Q1727730
(c(Q874405),P159,Q52535) (c(Q7210356),P159,Q52535)
action count
action union
action filter_type
action find_reverse
entity Q52535
relation P159
type Q874405
action filter_type
action find_reverse
entity Q52535
relation P159
type Q7210356
[ANSWER]
[{'concept': 'Q874405'}, 'P159', 'Q52535'] [{'concept': 'Q7210356'}, 'P159', 'Q52535']
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { ?u rdf:type ?w . VALUES ( ?w ) { ( ontology:Q874405 ) ( ontology:Q7210356 ) } }
Gleducar People's Countryside Party
2
action count
action union
action filter_type
action find_reverse
entity Rosario
relation headquarters location
type social group
action filter_type
action find_reverse
entity Rosario
relation headquarters location
type political organization
[{'concept': 'social group'}, 'headquarters location', 'Rosario'] [{'concept': 'political organization'}, 'headquarters location', 'Rosario']
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { ?u rdf:type ?w . VALUES ( ?w ) { ( ontology:social_group ) ( ontology:political_organization ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q184387
P1923
Q1194951 Q13406554 Q15275719
USER
How many national sports teams participated in greater number of sport competitions or recurring events than Norway national football team ?
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action count
action filter_multi_types
action find_reverse
entity Q184387
relation P1923
type Q13406554
type Q15275719
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?o ) WHERE { VALUES ( ?j ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?y rdf:type ?j } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:P1923 resource:Q184387 . { VALUES ( ?k ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?g rdf:type ?k } } } . FILTER ( ?o > ?m ) }
Norway national football team
action count
action greater
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action count
action filter_multi_types
action find_reverse
entity Norway national football team
relation participating teams
type sport competition
type recurring event
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?o ) WHERE { VALUES ( ?j ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?y rdf:type ?j } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:participating_teams resource:Norway_national_football_team . { VALUES ( ?k ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?g rdf:type ?k } } } . FILTER ( ?o > ?m ) }
[]
national sports team sport competition recurring event
SYSTEM
52
Q212166 Q34044 Q174512 Q193386 Q190978 Q43310 Q212564 Q180845 Q987584 Q267245 Q166776 Q160826 Q180857 Q543842 Q726080 Q27971 Q170403 Q170561 Q172025 Q172020 Q170566 Q268208 Q194387 Q134479 Q47050 Q42267 Q181903 Q189275 Q166196 Q83459 Q175309 Q207337 Q164089 Q163534 Q188363 Q131785 Q676899 Q168397 Q483856 Q165141 Q47774 Q189198 Q163547 Q182072 Q184602 Q164134 Q483868 Q79800 Q134916 Q47762 Q181930 Q189723
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action count
action filter_multi_types
action find_reverse
entity Q184387
relation P1923
type Q13406554
type Q15275719
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?o ) WHERE { VALUES ( ?j ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?y rdf:type ?j } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:P1923 resource:Q184387 . { VALUES ( ?k ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } . ?g rdf:type ?k } } } . FILTER ( ?o > ?m ) }
Peru national football team Scotland national football team Slovakia national football team Bolivia national football team Northern Ireland national football team Germany national football team Colombia national football team Bulgaria national football team Ecuador national football team Portugal national football team Belgium national football team Sweden national football team Wales national football team South Korea national football team Russia national football team Tunisia national football team Ukraine national football team Hungary national football team Chile national football team Paraguay national football team Japan national football team Australia national association football team Costa Rica national football team Croatia national football team Netherlands national football team Spain national football team Algeria national football team Soviet Union national football team Poland national football team Brazil national football team Cameroon national football team Morocco national football team Mexico national football team Austria national football team Yugoslavia national football team Denmark national football team Italy national football team Romania national football team Turkey national football team Swiss national football team France national football team Iceland national football team Republic of Ireland national football team Czechoslovakia national football team Iran national football team United States men's national soccer team Czech Republic national football team Argentina national football team Uruguay national football team England national football team Nigeria national football team Saudi Arabia national football team
52
action count
action greater
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action count
action filter_multi_types
action find_reverse
entity Norway national football team
relation participating teams
type sport competition
type recurring event
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?o ) WHERE { VALUES ( ?j ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?y rdf:type ?j } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:participating_teams resource:Norway_national_football_team . { VALUES ( ?k ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } . ?g rdf:type ?k } } } . FILTER ( ?o > ?m ) }
[]