Simple Question (Direct)
Simple Question
Q11929055
P641
Q349
USER
Which sport was José Aznar Beltrán a part of ?
(Q11929055,P641,c(Q349))
action filter_type
action find
entity Q11929055
relation P641
type Q349
['Q11929055', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q11929055 property:P641 ?g . ?g rdf:type ontology:Q349 }
José Aznar Beltrán
action filter_type
action find
entity José Aznar Beltrán
relation sport
type sport
['José Aznar Beltrán', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:José_Aznar_Beltrán property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q11929055,P641,c(Q349))
action filter_type
action find
entity Q11929055
relation P641
type Q349
The [ANSWER] was José Aznar Beltrán a part of
['Q11929055', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q11929055 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
The association football was José Aznar Beltrán a part of
association football
action filter_type
action find
entity José Aznar Beltrán
relation sport
type sport
['José Aznar Beltrán', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:José_Aznar_Beltrán property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11929055
P21
Q290
USER
Which sex does José Aznar Beltrán have ?
(Q11929055,P21,c(Q290))
action filter_type
action find
entity Q11929055
relation P21
type Q290
['Q11929055', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q11929055 property:P21 ?g . ?g rdf:type ontology:Q290 }
José Aznar Beltrán
action filter_type
action find
entity José Aznar Beltrán
relation gender
type sex
['José Aznar Beltrán', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:José_Aznar_Beltrán property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11929055,P21,c(Q290))
action filter_type
action find
entity Q11929055
relation P21
type Q290
José Aznar Beltrán has a [ANSWER]
['Q11929055', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q11929055 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
José Aznar Beltrán has a male
male
action filter_type
action find
entity José Aznar Beltrán
relation gender
type sex
['José Aznar Beltrán', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:José_Aznar_Beltrán property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11929055
P1412
Q34770
USER
Which language is spoken by José Aznar Beltrán ?
(Q11929055,P1412,c(Q34770))
action filter_type
action find
entity Q11929055
relation P1412
type Q34770
['Q11929055', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q11929055 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
José Aznar Beltrán
action filter_type
action find
entity José Aznar Beltrán
relation languages spoken, written or signed
type language
['José Aznar Beltrán', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:José_Aznar_Beltrán property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q11929055,P1412,c(Q34770))
action filter_type
action find
entity Q11929055
relation P1412
type Q34770
Is [ANSWER] is spoken by José Aznar Beltrán
['Q11929055', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q11929055 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Spanish
Is Spanish is spoken by José Aznar Beltrán
Spanish
action filter_type
action find
entity José Aznar Beltrán
relation languages spoken, written or signed
type language
['José Aznar Beltrán', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:José_Aznar_Beltrán property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11929055
P27
Q15617994
USER
Which administrative territory is José Aznar Beltrán an inhabitant of ?
(Q11929055,P27,c(Q15617994))
action filter_type
action find
entity Q11929055
relation P27
type Q15617994
['Q11929055', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q11929055 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
José Aznar Beltrán
action filter_type
action find
entity José Aznar Beltrán
relation country of citizenship
type designation for an administrative territorial entity
['José Aznar Beltrán', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:José_Aznar_Beltrán property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q11929055,P27,c(Q15617994))
action filter_type
action find
entity Q11929055
relation P27
type Q15617994
[ANSWER] is José Aznar Beltrán an inhabitant of
['Q11929055', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q11929055 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Spain
Spain is José Aznar Beltrán an inhabitant of
Spain
action filter_type
action find
entity José Aznar Beltrán
relation country of citizenship
type designation for an administrative territorial entity
['José Aznar Beltrán', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:José_Aznar_Beltrán property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the countries of origin of around the same number of releases as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q29
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P495 ?h . ?h rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q2031291 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Q29 property:P495 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?g = ?x ) }
action approx
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 Spain
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 ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:release } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Spain property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g = ?x ) }
[]
designation for an administrative territorial entity release
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 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(Q2031291),P495,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q29
relation P495
type Q15617994
[ANSWERS] are the countries of origin of around the same number of releases as that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P495 ?h . ?h rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q2031291 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Q29 property:P495 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?g = ?x ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom 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
Italy, Brazil and Georgia are the countries of origin of around the same number of releases as that administrative territory
Italy Brazil Georgia
action approx
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 Spain
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 ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:release } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Spain property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g = ?x ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q155
P47
Q15617994 Q20667921
USER
How many administrative territories or french administrative divisions are adjacent to Brazil ?
(Q155,P47,c(Q15617994)) (Q155,P47,c(Q20667921))
action count
action union
action filter_type
action find
entity Q155
relation P47
type Q15617994
action filter_type
action find
entity Q155
relation P47
type Q20667921
['Q155', 'P47', {'concept': 'Q15617994'}] ['Q155', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15617994 ) ( ontology:Q20667921 ) } }
Brazil
action count
action union
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation shares border with
type type of french administrative division
['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m rdf:type ?q . VALUES ( ?q ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } }
[]
designation for an administrative territorial entity type of french administrative division
SYSTEM
11
Q739 Q142 Q717 Q3769 Q730 Q733 Q734 Q419 Q77 Q414 Q750
(Q155,P47,c(Q15617994)) (Q155,P47,c(Q20667921))
action count
action union
action filter_type
action find
entity Q155
relation P47
type Q15617994
action filter_type
action find
entity Q155
relation P47
type Q20667921
[ANSWER]
['Q155', 'P47', {'concept': 'Q15617994'}] ['Q155', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15617994 ) ( ontology:Q20667921 ) } }
Colombia France Venezuela French Guiana Suriname Paraguay Guyana Peru Uruguay Argentina Bolivia
11
action count
action union
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation shares border with
type type of french administrative division
['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m rdf:type ?q . VALUES ( ?q ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1699486 Q11929055
P19
Q56061
USER
Which administrative territories are the birthplace of José Aznar Beltrán or John Fleming ?
OR((Q11929055,P19,c(Q56061)), (Q1699486,P19,c(Q56061)))
action filter_type
action union
action find
entity Q11929055
relation P19
action find
entity Q1699486
relation P19
type Q56061
{'OR': [['Q11929055', 'P19', {'concept': 'Q56061'}], ['Q1699486', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . { { resource:Q11929055 property:P19 ?h } UNION { resource:Q1699486 property:P19 ?h } } }
John Fleming José Aznar Beltrán
action filter_type
action union
action find
entity José Aznar Beltrán
relation place of birth
action find
entity John Fleming
relation place of birth
type administrative territorial entity
{'OR': [['José Aznar Beltrán', 'place of birth', {'concept': 'administrative territorial entity'}], ['John Fleming', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . { { resource:José_Aznar_Beltrán property:place_of_birth ?h } UNION { resource:John_Fleming property:place_of_birth ?h } } }
[]
administrative territorial entity
Q118152 Q1492
SYSTEM
Meridian, Barcelona
Q118152 Q1492
OR((Q11929055,P19,c(Q56061)), (Q1699486,P19,c(Q56061)))
action filter_type
action union
action find
entity Q11929055
relation P19
action find
entity Q1699486
relation P19
type Q56061
[ANSWERS] are the birthplace of José Aznar Beltrán or John Fleming
{'OR': [['Q11929055', 'P19', {'concept': 'Q56061'}], ['Q1699486', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . { { resource:Q11929055 property:P19 ?h } UNION { resource:Q1699486 property:P19 ?h } } }
Meridian Barcelona
Meridian and Barcelona are the birthplace of José Aznar Beltrán or John Fleming
Meridian Barcelona
action filter_type
action union
action find
entity José Aznar Beltrán
relation place of birth
action find
entity John Fleming
relation place of birth
type administrative territorial entity
{'OR': [['José Aznar Beltrán', 'place of birth', {'concept': 'administrative territorial entity'}], ['John Fleming', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . { { resource:José_Aznar_Beltrán property:place_of_birth ?h } UNION { resource:John_Fleming property:place_of_birth ?h } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29
P740
Q215380 Q2088357
USER
How many bands or musical ensembles originated at Spain ?
(c(Q215380),P740,Q29) (c(Q2088357),P740,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P740
type Q215380
action filter_type
action find_reverse
entity Q29
relation P740
type Q2088357
[{'concept': 'Q215380'}, 'P740', 'Q29'] [{'concept': 'Q2088357'}, 'P740', 'Q29']
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l rdf:type ?x . VALUES ( ?x ) { ( ontology:Q215380 ) ( ontology:Q2088357 ) } }
Spain
action count
action union
action filter_type
action find_reverse
entity Spain
relation location of formation
type band
action filter_type
action find_reverse
entity Spain
relation location of formation
type musical ensemble
[{'concept': 'band'}, 'location of formation', 'Spain'] [{'concept': 'musical ensemble'}, 'location of formation', 'Spain']
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l rdf:type ?x . VALUES ( ?x ) { ( ontology:band ) ( ontology:musical_ensemble ) } }
[]
band musical ensemble
SYSTEM
2
Q2873355 Q3021779
(c(Q215380),P740,Q29) (c(Q2088357),P740,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P740
type Q215380
action filter_type
action find_reverse
entity Q29
relation P740
type Q2088357
[ANSWER]
[{'concept': 'Q215380'}, 'P740', 'Q29'] [{'concept': 'Q2088357'}, 'P740', 'Q29']
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l rdf:type ?x . VALUES ( ?x ) { ( ontology:Q215380 ) ( ontology:Q2088357 ) } }
Avantgarde Silver Fist
2
action count
action union
action filter_type
action find_reverse
entity Spain
relation location of formation
type band
action filter_type
action find_reverse
entity Spain
relation location of formation
type musical ensemble
[{'concept': 'band'}, 'location of formation', 'Spain'] [{'concept': 'musical ensemble'}, 'location of formation', 'Spain']
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l rdf:type ?x . VALUES ( ?x ) { ( ontology:band ) ( ontology:musical_ensemble ) } }
[]