Simple Question (Direct)
Simple Question
Q20000103
P54
Q1194951
USER
What is Ferran Ortuño i Blasco a member of ?
(Q20000103,P54,c(Q1194951))
action filter_type
action find
entity Q20000103
relation P54
type Q1194951
['Q20000103', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { resource:Q20000103 property:P54 ?l . ?l rdf:type ontology:Q1194951 }
Ferran Ortuño i Blasco
action filter_type
action find
entity Ferran Ortuño i Blasco
relation member of sports team
type national sports team
['Ferran Ortuño i Blasco', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { resource:Ferran_Ortuño_i_Blasco property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team }
[]
national sports team
Q17228
SYSTEM
Catalonia national football team
Q17228
(Q20000103,P54,c(Q1194951))
action filter_type
action find
entity Q20000103
relation P54
type Q1194951
Ferran Ortuño i Blasco is a member of the [ANSWER]
['Q20000103', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { resource:Q20000103 property:P54 ?l . ?l rdf:type ontology:Q1194951 }
Catalonia national football team
Ferran Ortuño i Blasco is a member of the Catalonia national football team
Catalonia national football team
action filter_type
action find
entity Ferran Ortuño i Blasco
relation member of sports team
type national sports team
['Ferran Ortuño i Blasco', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { resource:Ferran_Ortuño_i_Blasco property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20000103
P641
Q349
USER
Which sport did that person participate in ?
(Q17228,P641,c(Q349))
action filter_type
action find
entity Q20000103
relation P641
type Q349
['Q17228', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q20000103 property:P641 ?o . ?o rdf:type ontology:Q349 }
Ferran Ortuño i Blasco
action filter_type
action find
entity Ferran Ortuño i Blasco
relation sport
type sport
['Catalonia national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Ferran_Ortuño_i_Blasco property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q17228,P641,c(Q349))
action filter_type
action find
entity Q20000103
relation P641
type Q349
That person participated in [ANSWER]
['Q17228', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q20000103 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Ferran Ortuño i Blasco
relation sport
type sport
['Catalonia national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Ferran_Ortuño_i_Blasco property:sport ?o . ?o rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1923
Q1194951 Q13406554 Q15275719
USER
Which national sports teams competed in around 13 sport competitions or recurring events ?
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
value 13
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?u ) WHERE { { ?y rdf:type ontology:Q1194951 . ?x rdf:type ontology:Q13406554 . ?x property:P1923 ?y } UNION { ?x property:P1923 ?y . ?y rdf:type ontology:Q1194951 . ?x rdf:type ontology:Q15275719 } } GROUP BY ?y } . FILTER ( ?u = 13 ) }
action approx
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
value 13
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?u ) WHERE { { ?y rdf:type ontology:national_sports_team . ?x rdf:type ontology:sport_competition . ?x property:participating_teams ?y } UNION { ?x property:participating_teams ?y . ?y rdf:type ontology:national_sports_team . ?x rdf:type ontology:recurring_event } } GROUP BY ?y } . FILTER ( ?u = 13 ) }
[]
national sports team sport competition recurring event
Q166196 Q42267 Q79800
SYSTEM
Poland national football team, Spain national football team, Argentina national football team
Q34044 Q267245 Q166776 Q160826 Q543842 Q170561 Q172025 Q172020 Q134479 Q47050 Q42267 Q166196 Q164089 Q163534 Q188363 Q168397 Q165141 Q182072 Q164134 Q79800 Q134916 Q47762
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
value 13
[ANSWERS] competed in around 13 sport competitions or recurring events
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?u ) WHERE { { ?y rdf:type ontology:Q1194951 . ?x rdf:type ontology:Q13406554 . ?x property:P1923 ?y } UNION { ?x property:P1923 ?y . ?y rdf:type ontology:Q1194951 . ?x rdf:type ontology:Q15275719 } } GROUP BY ?y } . FILTER ( ?u = 13 ) }
Scotland national football team Portugal national football team Belgium national football team Sweden national football team South Korea national football team Hungary national football team Chile national football team Paraguay national football team Croatia national football team Netherlands national football team Spain national football team Poland national football team Mexico national football team Austria national football team Yugoslavia national football team Romania national football team Swiss national football team Czechoslovakia national football team United States men's national soccer team Argentina national football team Uruguay national football team England national football team
Poland national football team, Spain national football team and Argentina national football team competed in around 13 sport competitions or recurring events
Poland national football team Spain national football team Argentina national football team
action approx
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
value 13
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?u ) WHERE { { ?y rdf:type ontology:national_sports_team . ?x rdf:type ontology:sport_competition . ?x property:participating_teams ?y } UNION { ?x property:participating_teams ?y . ?y rdf:type ontology:national_sports_team . ?x rdf:type ontology:recurring_event } } GROUP BY ?y } . FILTER ( ?u = 13 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q936976 Q42267
P27 P1532
Q15617994
USER
Which administrative territories are represented by Spain national football team or are Henry IV of France an inhabitant of ?
OR((Q42267,P1532,c(Q15617994)), (Q936976,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q42267
relation P1532
action find
entity Q936976
relation P27
type Q15617994
{'OR': [['Q42267', 'P1532', {'concept': 'Q15617994'}], ['Q936976', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q42267 property:P1532 ?n } UNION { resource:Q936976 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
Henry IV of France Spain national football team
action filter_type
action union
action find
entity Spain national football team
relation country for sport
action find
entity Henry IV of France
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Spain national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ['Henry IV of France', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Spain_national_football_team property:country_for_sport ?n } UNION { resource:Henry_IV_of_France property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q29
SYSTEM
France, Spain
Q142 Q29
OR((Q42267,P1532,c(Q15617994)), (Q936976,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q42267
relation P1532
action find
entity Q936976
relation P27
type Q15617994
[ANSWERS] are represented by Spain national football team or are Henry IV of France an inhabitant of
{'OR': [['Q42267', 'P1532', {'concept': 'Q15617994'}], ['Q936976', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q42267 property:P1532 ?n } UNION { resource:Q936976 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
France Spain
France and Spain are represented by Spain national football team or are Henry IV of France an inhabitant of
France Spain
action filter_type
action union
action find
entity Spain national football team
relation country for sport
action find
entity Henry IV of France
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Spain national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ['Henry IV of France', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Spain_national_football_team property:country_for_sport ?n } UNION { resource:Henry_IV_of_France property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q25733
P495
Q1001378
USER
Did Barbie in the Nutcracker originate in those administrative territories ?
(Q25733,P495,Q142) (Q25733,P495,Q29)
action is_in
entity prev_answer
action find
entity Q25733
relation P495
['Q25733', 'P495', 'Q142'] ['Q25733', 'P495', 'Q29']
ASK WHERE { VALUES ( ?e ) { ( resource:Q142 ) ( resource:Q29 ) } . resource:Q25733 property:P495 ?e }
Barbie in the Nutcracker
action is_in
entity prev_answer
action find
entity Barbie in the Nutcracker
relation country of origin
['Barbie in the Nutcracker', 'country of origin', 'France'] ['Barbie in the Nutcracker', 'country of origin', 'Spain']
ASK WHERE { VALUES ( ?e ) { ( resource:France ) ( resource:Spain ) } . resource:Barbie_in_the_Nutcracker property:country_of_origin ?e }
[]
cinematic technique
SYSTEM
NO
(Q25733,P495,Q142) (Q25733,P495,Q29)
action is_in
entity prev_answer
action find
entity Q25733
relation P495
[ANSWER]
['Q25733', 'P495', 'Q142'] ['Q25733', 'P495', 'Q29']
ASK WHERE { VALUES ( ?e ) { ( resource:Q142 ) ( resource:Q29 ) } . resource:Q25733 property:P495 ?e }
No
action is_in
entity prev_answer
action find
entity Barbie in the Nutcracker
relation country of origin
['Barbie in the Nutcracker', 'country of origin', 'France'] ['Barbie in the Nutcracker', 'country of origin', 'Spain']
ASK WHERE { VALUES ( ?e ) { ( resource:France ) ( resource:Spain ) } . resource:Barbie_in_the_Nutcracker property:country_of_origin ?e }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q752
P1001
Q15617994 Q17335294 Q35798
USER
Which administrative territories are judicially linked to lesser number of coats of arms or executive branches than Groningen ?
(c(Q17335294)|c(Q35798),P1001,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q752
relation P1001
type Q17335294
type Q35798
[[{'concept': 'Q17335294'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?w ) WHERE { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:Q17335294 ) ( ontology:Q35798 ) } } GROUP BY ?j } . FILTER ( ?w < ?y ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { VALUES ( ?r ) { ( ontology:Q17335294 ) ( ontology:Q35798 ) } . ?n rdf:type ?r } . ?n property:P1001 resource:Q752 } } }
Groningen
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action count
action filter_multi_types
action find_reverse
entity Groningen
relation applies to jurisdiction
type flag or coat of arms
type executive branch
[[{'concept': 'flag or coat of arms'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?w ) WHERE { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:flag_or_coat_of_arms ) ( ontology:executive_branch ) } } GROUP BY ?j } . FILTER ( ?w < ?y ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { VALUES ( ?r ) { ( ontology:flag_or_coat_of_arms ) ( ontology:executive_branch ) } . ?n rdf:type ?r } . ?n property:applies_to_jurisdiction resource:Groningen } } }
[]
designation for an administrative territorial entity flag or coat of arms executive branch
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q702 Q804 Q709 Q811 Q706679 Q805 Q2765 Q163012 Q414 Q142 Q22273061 Q55 Q2871 Q262 Q148 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q1979 Q45 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1019 Q2899 Q2758 Q813 Q218 Q921 Q4712 Q36 Q928 Q155019 Q39 Q38 Q3389 Q986 Q983 Q851 Q733 Q29999 Q734 Q819 Q163966 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q27 Q28 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1029 Q2003 Q736 Q786 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q114 Q117 Q754 Q750 Q22274534 Q11337 Q211 Q11331 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q34020 Q2380910 Q686 Q836 Q760 Q29 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q878 Q774 Q948 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q800 Q1039 Q672 Q929 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q17335294)|c(Q35798),P1001,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q752
relation P1001
type Q17335294
type Q35798
[ANSWERS] are judicially linked to lesser number of coats of arms or executive branches than Groningen
[[{'concept': 'Q17335294'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?w ) WHERE { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:Q17335294 ) ( ontology:Q35798 ) } } GROUP BY ?j } . FILTER ( ?w < ?y ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { VALUES ( ?r ) { ( ontology:Q17335294 ) ( ontology:Q35798 ) } . ?n rdf:type ?r } . ?n property:P1001 resource:Q752 } } }
Federated States of Micronesia Panama Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Pankow Argentina France Duchy of Nemours Netherlands Hagen Algeria People's Republic of China Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Prince Edward Island Portugal Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine Madagascar Mülheim an der Ruhr Mönchengladbach Kyrgyzstan Romania Brunei Duchy of Burgundy Poland Philippines Duchy of Lorraine Switzerland Italy Finistère Eritrea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Guyana Laos Mitte Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Hungary Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Duchy of Elbeuf Herdecke Latvia Gevelsberg Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia Spain East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay United Arab Emirates Guatemala Tunisia Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga Costa Rica Sao Tomé and Príncipe Tuvalu Central African Republic Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
Italy, Brazil and Georgia are judicially linked to lesser number of coats of arms or executive branches than Groningen
Italy Brazil Georgia
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action count
action filter_multi_types
action find_reverse
entity Groningen
relation applies to jurisdiction
type flag or coat of arms
type executive branch
[[{'concept': 'flag or coat of arms'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?w ) WHERE { ?s rdf:type ?e . VALUES ( ?e ) { ( ontology:flag_or_coat_of_arms ) ( ontology:executive_branch ) } } GROUP BY ?j } . FILTER ( ?w < ?y ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { VALUES ( ?r ) { ( ontology:flag_or_coat_of_arms ) ( ontology:executive_branch ) } . ?n rdf:type ?r } . ?n property:applies_to_jurisdiction resource:Groningen } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1438
P1001
Q15617994 Q17335294 Q35798
USER
And how about Campania?
(c(Q17335294)|c(Q35798),P1001,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q1438
relation P1001
type Q17335294
type Q35798
[[{'concept': 'Q17335294'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?r WHERE { VALUES ( ?w ) { ( ontology:Q17335294 ) ( ontology:Q35798 ) } . ?z rdf:type ?w } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { VALUES ( ?m ) { ( ontology:Q17335294 ) ( ontology:Q35798 ) } . ?o rdf:type ?m } . ?o property:P1001 resource:Q1438 } } . FILTER ( ?a < ?e ) }
Campania
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action count
action filter_multi_types
action find_reverse
entity Campania
relation applies to jurisdiction
type flag or coat of arms
type executive branch
[[{'concept': 'flag or coat of arms'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?r WHERE { VALUES ( ?w ) { ( ontology:flag_or_coat_of_arms ) ( ontology:executive_branch ) } . ?z rdf:type ?w } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { VALUES ( ?m ) { ( ontology:flag_or_coat_of_arms ) ( ontology:executive_branch ) } . ?o rdf:type ?m } . ?o property:applies_to_jurisdiction resource:Campania } } . FILTER ( ?a < ?e ) }
[]
designation for an administrative territorial entity flag or coat of arms executive branch
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q702 Q804 Q709 Q811 Q706679 Q805 Q2765 Q163012 Q414 Q142 Q22273061 Q55 Q2871 Q262 Q148 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q1979 Q45 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1019 Q2899 Q2758 Q813 Q218 Q921 Q4712 Q36 Q928 Q155019 Q39 Q38 Q3389 Q986 Q983 Q851 Q733 Q29999 Q734 Q819 Q163966 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q27 Q28 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1029 Q2003 Q736 Q786 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q114 Q117 Q754 Q750 Q22274534 Q11337 Q211 Q11331 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q34020 Q2380910 Q686 Q836 Q760 Q29 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q878 Q774 Q948 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q800 Q1039 Q672 Q929 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q17335294)|c(Q35798),P1001,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q1438
relation P1001
type Q17335294
type Q35798
[ANSWERS]
[[{'concept': 'Q17335294'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?r WHERE { VALUES ( ?w ) { ( ontology:Q17335294 ) ( ontology:Q35798 ) } . ?z rdf:type ?w } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { VALUES ( ?m ) { ( ontology:Q17335294 ) ( ontology:Q35798 ) } . ?o rdf:type ?m } . ?o property:P1001 resource:Q1438 } } . FILTER ( ?a < ?e ) }
Federated States of Micronesia Panama Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Pankow Argentina France Duchy of Nemours Netherlands Hagen Algeria People's Republic of China Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Prince Edward Island Portugal Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine Madagascar Mülheim an der Ruhr Mönchengladbach Kyrgyzstan Romania Brunei Duchy of Burgundy Poland Philippines Duchy of Lorraine Switzerland Italy Finistère Eritrea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Guyana Laos Mitte Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Hungary Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Duchy of Elbeuf Herdecke Latvia Gevelsberg Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia Spain East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay United Arab Emirates Guatemala Tunisia Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga Costa Rica Sao Tomé and Príncipe Tuvalu Central African Republic Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
Italy Brazil Georgia
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action count
action filter_multi_types
action find_reverse
entity Campania
relation applies to jurisdiction
type flag or coat of arms
type executive branch
[[{'concept': 'flag or coat of arms'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?r WHERE { VALUES ( ?w ) { ( ontology:flag_or_coat_of_arms ) ( ontology:executive_branch ) } . ?z rdf:type ?w } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { VALUES ( ?m ) { ( ontology:flag_or_coat_of_arms ) ( ontology:executive_branch ) } . ?o rdf:type ?m } . ?o property:applies_to_jurisdiction resource:Campania } } . FILTER ( ?a < ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with approximately 64 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 64
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?z ) WHERE { ?j property:P530 ?n . ?j rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?z = 64 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 64
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?z ) WHERE { ?j property:diplomatic_relation ?n . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?z = 64 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
1
Q38
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 64
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?z ) WHERE { ?j property:P530 ?n . ?j rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?z = 64 ) }
Italy
1
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 64
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?z ) WHERE { ?j property:diplomatic_relation ?n . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?z = 64 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5478408 Q166196
P1344
Q15275719
USER
Which recurring events did Poland national football team or France in the Eurovision Song Contest 1988 compete in ?
OR((Q166196,P1344,c(Q15275719)), (Q5478408,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q166196
relation P1344
action find
entity Q5478408
relation P1344
type Q15275719
{'OR': [['Q166196', 'P1344', {'concept': 'Q15275719'}], ['Q5478408', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q166196 property:P1344 ?y } UNION { resource:Q5478408 property:P1344 ?y } } . ?y rdf:type ontology:Q15275719 }
France in the Eurovision Song Contest 1988 Poland national football team
action filter_type
action union
action find
entity Poland national football team
relation participant of
action find
entity France in the Eurovision Song Contest 1988
relation participant of
type recurring event
{'OR': [['Poland national football team', 'participant of', {'concept': 'recurring event'}], ['France in the Eurovision Song Contest 1988', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Poland_national_football_team property:participant_of ?y } UNION { resource:France_in_the_Eurovision_Song_Contest_1988 property:participant_of ?y } } . ?y rdf:type ontology:recurring_event }
[]
recurring event
Q211478 Q37285 Q166121 Q47735 Q46938 Q46943 Q131591 Q46934
SYSTEM
Eurovision Song Contest 1988, 2006 FIFA World Cup, 1974 FIFA World Cup, 2002 FIFA World Cup, 1986 FIFA World Cup, 1978 FIFA World Cup, 1938 FIFA World Cup, 1982 FIFA World Cup
Q211478 Q37285 Q166121 Q47735 Q46938 Q46943 Q131591 Q46934
OR((Q166196,P1344,c(Q15275719)), (Q5478408,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q166196
relation P1344
action find
entity Q5478408
relation P1344
type Q15275719
Poland national football team or France in the Eurovision Song Contest 1988 competed in [ANSWERS]
{'OR': [['Q166196', 'P1344', {'concept': 'Q15275719'}], ['Q5478408', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q166196 property:P1344 ?y } UNION { resource:Q5478408 property:P1344 ?y } } . ?y rdf:type ontology:Q15275719 }
Eurovision Song Contest 1988 2006 FIFA World Cup 1974 FIFA World Cup 2002 FIFA World Cup 1986 FIFA World Cup 1978 FIFA World Cup 1938 FIFA World Cup 1982 FIFA World Cup
Poland national football team or France in the Eurovision Song Contest 1988 competed in Eurovision Song Contest 1988, 2006 FIFA World Cup, 1974 FIFA World Cup, 2002 FIFA World Cup, 1986 FIFA World Cup, 1978 FIFA World Cup, 1938 FIFA World Cup and 1982 FIFA World Cup
Eurovision Song Contest 1988 2006 FIFA World Cup 1974 FIFA World Cup 2002 FIFA World Cup 1986 FIFA World Cup 1978 FIFA World Cup 1938 FIFA World Cup 1982 FIFA World Cup
action filter_type
action union
action find
entity Poland national football team
relation participant of
action find
entity France in the Eurovision Song Contest 1988
relation participant of
type recurring event
{'OR': [['Poland national football team', 'participant of', {'concept': 'recurring event'}], ['France in the Eurovision Song Contest 1988', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Poland_national_football_team property:participant_of ?y } UNION { resource:France_in_the_Eurovision_Song_Contest_1988 property:participant_of ?y } } . ?y rdf:type ontology:recurring_event }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1065798 Q131591
P17
Q15617994
USER
Which administrative territories are 1938 FIFA World Cup and Esplantas a part of ?
AND((Q131591,P17,c(Q15617994)), (Q1065798,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q131591
relation P17
action find
entity Q1065798
relation P17
type Q15617994
{'AND': [['Q131591', 'P17', {'concept': 'Q15617994'}], ['Q1065798', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q131591 property:P17 ?w . resource:Q1065798 property:P17 ?w }
Esplantas 1938 FIFA World Cup
action filter_type
action intersection
action find
entity 1938 FIFA World Cup
relation country
action find
entity Esplantas
relation country
type designation for an administrative territorial entity
{'AND': [['1938 FIFA World Cup', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Esplantas', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:1938_FIFA_World_Cup property:country ?w . resource:Esplantas property:country ?w }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q131591,P17,c(Q15617994)), (Q1065798,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q131591
relation P17
action find
entity Q1065798
relation P17
type Q15617994
[ANSWER] is 1938 FIFA World Cup and Esplantas a part of
{'AND': [['Q131591', 'P17', {'concept': 'Q15617994'}], ['Q1065798', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q131591 property:P17 ?w . resource:Q1065798 property:P17 ?w }
France
France is 1938 FIFA World Cup and Esplantas a part of
France
action filter_type
action intersection
action find
entity 1938 FIFA World Cup
relation country
action find
entity Esplantas
relation country
type designation for an administrative territorial entity
{'AND': [['1938 FIFA World Cup', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Esplantas', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:1938_FIFA_World_Cup property:country ?w . resource:Esplantas property:country ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q142 Q38
P47
Q15617994
USER
Does Italy have a shared border with that one ?
(Q142,P47,Q38)
action is_in
entity Q38
action find
entity Q142
relation P47
['Q142', 'P47', 'Q38']
ASK WHERE { resource:Q142 property:P47 resource:Q38 }
France Italy
action is_in
entity Italy
action find
entity France
relation shares border with
['France', 'shares border with', 'Italy']
ASK WHERE { resource:France property:shares_border_with resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q142,P47,Q38)
action is_in
entity Q38
action find
entity Q142
relation P47
[ANSWER]
['Q142', 'P47', 'Q38']
ASK WHERE { resource:Q142 property:P47 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity France
relation shares border with
['France', 'shares border with', 'Italy']
ASK WHERE { resource:France property:shares_border_with resource:Italy }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1515959 Q38
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Italy and are the countries of citizenship of Gerzayn Ugarte ?
AND((Q38,P530,c(Q15617994)), (Q1515959,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q1515959
relation P27
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q1515959', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?e . resource:Q1515959 property:P27 ?e }
Gerzayn Ugarte Italy
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Gerzayn Ugarte
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Gerzayn Ugarte', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?e . resource:Gerzayn_Ugarte property:country_of_citizenship ?e }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
AND((Q38,P530,c(Q15617994)), (Q1515959,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q1515959
relation P27
type Q15617994
[ANSWER] have diplomatic relationships with Italy and are the countries of citizenship of Gerzayn Ugarte
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q1515959', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?e . resource:Q1515959 property:P27 ?e }
Mexico
Mexico have diplomatic relationships with Italy and are the countries of citizenship of Gerzayn Ugarte
Mexico
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Gerzayn Ugarte
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Gerzayn Ugarte', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?e . resource:Gerzayn_Ugarte property:country_of_citizenship ?e }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the origin of more number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q96
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:P495 ?y . ?y rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2031291 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q96 property:P495 ?h } } . FILTER ( ?x > ?f ) }
action greater
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Mexico
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:release } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mexico property:country_of_origin ?h } } . FILTER ( ?x > ?f ) }
[]
designation for an administrative territorial entity release
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q668 Q414 Q142 Q55 Q145 Q148 Q712 Q837 Q252 Q258 Q159 Q43 Q41 Q155 Q884 Q826 Q242 Q33 Q31 Q30 Q36 Q34 Q38 Q20 Q27 Q843 Q17 Q902 Q191 Q298 Q213 Q215 Q79 Q29
(c(Q2031291),P495,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q96
relation P495
type Q15617994
[ANSWERS] are the origin of more number of releases than that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:P495 ?y . ?y rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2031291 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q96 property:P495 ?h } } . FILTER ( ?x > ?f ) }
Israel India Argentina France Netherlands United Kingdom People's Republic of China Fiji Nepal Indonesia South Africa Russia Turkey Greece Brazil South Korea Maldives Belize Finland Belgium United States of America Poland Sweden Italy Norway Ireland Pakistan Japan Bangladesh Estonia Chile Czech Republic Slovenia Egypt Spain
Italy, Brazil and United States of America are the origin of more number of releases than that administrative territory
Italy Brazil United States of America
action greater
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Mexico
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:release } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mexico property:country_of_origin ?h } } . FILTER ( ?x > ?f ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q7725634
USER
How many administrative territories are the origin of greater number of film genres and literary works than that administrative territory ?
(c(Q201658)|c(Q7725634),P495,c(Q15617994))
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
designation for an administrative territorial entity film genre literary work
Comparative|Count over More/Less|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
(c(Q201658)|c(Q7725634),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
Did you mean United States of America ?
United States of America
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Brazil. Could you tell me the answer for that?
(c(Q201658)|c(Q7725634),P495,c(Q15617994))
Q155
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
9
Q142 Q55 Q145 Q43 Q30 Q34 Q38 Q17 Q29
(c(Q201658)|c(Q7725634),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
France Netherlands United Kingdom Turkey United States of America Sweden Italy Japan Spain
9
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1515959
P27
Q15617994
USER
How many administrative territories are the native countriesof Gerzayn Ugarte ?
(Q1515959,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1515959
relation P27
type Q15617994
['Q1515959', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q1515959 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Gerzayn Ugarte
action count
action filter_type
action find
entity Gerzayn Ugarte
relation country of citizenship
type designation for an administrative territorial entity
['Gerzayn Ugarte', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Gerzayn_Ugarte property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q96
(Q1515959,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1515959
relation P27
type Q15617994
[ANSWER]
['Q1515959', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q1515959 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Mexico
1
action count
action filter_type
action find
entity Gerzayn Ugarte
relation country of citizenship
type designation for an administrative territorial entity
['Gerzayn Ugarte', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Gerzayn_Ugarte property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1515959
P21
Q290
USER
What is the sex of that person ?
action filter_type
action find
entity Q1515959
relation P21
type Q290
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q1515959 property:P21 ?i }
Gerzayn Ugarte
action filter_type
action find
entity Gerzayn Ugarte
relation gender
type sex
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Gerzayn_Ugarte property:gender ?i }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q1515959
relation P21
type Q290
The sex of that person is a [ANSWER]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q1515959 property:P21 ?i }
male
The sex of that person is a male
male
action filter_type
action find
entity Gerzayn Ugarte
relation gender
type sex
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Gerzayn_Ugarte property:gender ?i }
[]