Simple Question (Direct)
Simple Question
Q23649269
P102
Q7210356
USER
Which political organizations are Jesús Yoldi Bereau a member of ?
(Q23649269,P102,c(Q7210356))
action filter_type
action find
entity Q23649269
relation P102
type Q7210356
['Q23649269', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q23649269 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Jesús Yoldi Bereau
action filter_type
action find
entity Jesús Yoldi Bereau
relation member of political party
type political organization
['Jesús Yoldi Bereau', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Jesús_Yoldi_Bereau property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
political organization
Q339186 Q2351459
SYSTEM
Republican Action, Republican Left
Q339186 Q2351459
(Q23649269,P102,c(Q7210356))
action filter_type
action find
entity Q23649269
relation P102
type Q7210356
The [ANSWERS] are Jesús Yoldi Bereau a member of
['Q23649269', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q23649269 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Republican Action Republican Left
The Republican Action and Republican Left are Jesús Yoldi Bereau a member of
Republican Action Republican Left
action filter_type
action find
entity Jesús Yoldi Bereau
relation member of political party
type political organization
['Jesús Yoldi Bereau', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Jesús_Yoldi_Bereau property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23649269
P69
Q3918
USER
What is the university where Jesús Yoldi Bereau was educated ?
(Q23649269,P69,c(Q3918))
action filter_type
action find
entity Q23649269
relation P69
type Q3918
['Q23649269', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?w WHERE { resource:Q23649269 property:P69 ?w . ?w rdf:type ontology:Q3918 }
Jesús Yoldi Bereau
action filter_type
action find
entity Jesús Yoldi Bereau
relation educated at
type university
['Jesús Yoldi Bereau', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?w WHERE { resource:Jesús_Yoldi_Bereau property:educated_at ?w . ?w rdf:type ontology:university }
[]
university
Q633561
SYSTEM
University of Zaragoza
Q633561
(Q23649269,P69,c(Q3918))
action filter_type
action find
entity Q23649269
relation P69
type Q3918
The university Jesús Yoldi Bereau was educated is the [ANSWER]
['Q23649269', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?w WHERE { resource:Q23649269 property:P69 ?w . ?w rdf:type ontology:Q3918 }
University of Zaragoza
The university Jesús Yoldi Bereau was educated is the University of Zaragoza
University of Zaragoza
action filter_type
action find
entity Jesús Yoldi Bereau
relation educated at
type university
['Jesús Yoldi Bereau', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?w WHERE { resource:Jesús_Yoldi_Bereau property:educated_at ?w . ?w rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23649269
P27
Q15617994
USER
Which administrative territory is Jesús Yoldi Bereau a civilian of ?
(Q23649269,P27,c(Q15617994))
action filter_type
action find
entity Q23649269
relation P27
type Q15617994
['Q23649269', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q23649269 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Jesús Yoldi Bereau
action filter_type
action find
entity Jesús Yoldi Bereau
relation country of citizenship
type designation for an administrative territorial entity
['Jesús Yoldi Bereau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Jesús_Yoldi_Bereau property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q23649269,P27,c(Q15617994))
action filter_type
action find
entity Q23649269
relation P27
type Q15617994
[ANSWER] is Jesús Yoldi Bereau a civilian of
['Q23649269', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q23649269 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Spain
Spain is Jesús Yoldi Bereau a civilian of
Spain
action filter_type
action find
entity Jesús Yoldi Bereau
relation country of citizenship
type designation for an administrative territorial entity
['Jesús Yoldi Bereau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Jesús_Yoldi_Bereau property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23649269
P39
Q12737077
USER
Which occupation was a position occupied by that person ?
(Q29,P39,c(Q12737077))
action filter_type
action find
entity Q23649269
relation P39
type Q12737077
['Q29', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q23649269 property:P39 ?e }
Jesús Yoldi Bereau
action filter_type
action find
entity Jesús Yoldi Bereau
relation position held
type occupation
['Spain', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Jesús_Yoldi_Bereau property:position_held ?e }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q29,P39,c(Q12737077))
action filter_type
action find
entity Q23649269
relation P39
type Q12737077
The [ANSWER] was a position occupied by that person
['Q29', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q23649269 property:P39 ?e }
mayor
The mayor was a position occupied by that person
mayor
action filter_type
action find
entity Jesús Yoldi Bereau
relation position held
type occupation
['Spain', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Jesús_Yoldi_Bereau property:position_held ?e }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18958072 Q23649269
P276 P20
Q56061
USER
Which administrative territories did Jesús Yoldi Bereau die or are Zuidkant situated ?
OR((Q23649269,P20,c(Q56061)), (Q18958072,P276,c(Q56061)))
action filter_type
action union
action find
entity Q23649269
relation P20
action find
entity Q18958072
relation P276
type Q56061
{'OR': [['Q23649269', 'P20', {'concept': 'Q56061'}], ['Q18958072', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q23649269 property:P20 ?n } UNION { resource:Q18958072 property:P276 ?n } } . ?n rdf:type ontology:Q56061 }
Zuidkant Jesús Yoldi Bereau
action filter_type
action union
action find
entity Jesús Yoldi Bereau
relation place of death
action find
entity Zuidkant
relation location
type administrative territorial entity
{'OR': [['Jesús Yoldi Bereau', 'place of death', {'concept': 'administrative territorial entity'}], ['Zuidkant', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Jesús_Yoldi_Bereau property:place_of_death ?n } UNION { resource:Zuidkant property:location ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8810 Q502365
SYSTEM
Granada, Lies, Friesland
Q8810 Q502365
OR((Q23649269,P20,c(Q56061)), (Q18958072,P276,c(Q56061)))
action filter_type
action union
action find
entity Q23649269
relation P20
action find
entity Q18958072
relation P276
type Q56061
[ANSWERS]
{'OR': [['Q23649269', 'P20', {'concept': 'Q56061'}], ['Q18958072', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q23649269 property:P20 ?n } UNION { resource:Q18958072 property:P276 ?n } } . ?n rdf:type ontology:Q56061 }
Granada Lies, Friesland
Jesús Yoldi Bereau died in Granada and Lies, Friesland
Granada Lies, Friesland
action filter_type
action union
action find
entity Jesús Yoldi Bereau
relation place of death
action find
entity Zuidkant
relation location
type administrative territorial entity
{'OR': [['Jesús Yoldi Bereau', 'place of death', {'concept': 'administrative territorial entity'}], ['Zuidkant', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Jesús_Yoldi_Bereau property:place_of_death ?n } UNION { resource:Zuidkant property:location ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18958072
P17
Q15617994
USER
Which administrative territory is Zuidkant a part of ?
(Q18958072,P17,c(Q15617994))
action filter_type
action find
entity Q18958072
relation P17
type Q15617994
['Q18958072', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q18958072 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Zuidkant
action filter_type
action find
entity Zuidkant
relation country
type designation for an administrative territorial entity
['Zuidkant', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Zuidkant property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q18958072,P17,c(Q15617994))
action filter_type
action find
entity Q18958072
relation P17
type Q15617994
[ANSWER] is Zuidkant a part of
['Q18958072', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q18958072 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Netherlands
Netherlands is Zuidkant a part of
Netherlands
action filter_type
action find
entity Zuidkant
relation country
type designation for an administrative territorial entity
['Zuidkant', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Zuidkant property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q27
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with lesser number of administrative territories than Ireland ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q27
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:P530 resource:Q27 . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?j < ?v ) . { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?j ) WHERE { ?r rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 . ?k property:P530 ?r } GROUP BY ?r } }
Ireland
action less
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_reverse
entity Ireland
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 ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:diplomatic_relation resource:Ireland . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j < ?v ) . { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?j ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:diplomatic_relation ?r } GROUP BY ?r } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q45 Q792 Q790 Q954 Q889 Q884 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q32 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q27
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with lesser number of administrative territories than Ireland
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:P530 resource:Q27 . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?j < ?v ) . { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?j ) WHERE { ?r rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 . ?k property:P530 ?r } GROUP BY ?r } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad Portugal El Salvador Haiti Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Luxembourg Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
Georgia, Netherlands and Poland have diplomatic relations with lesser number of administrative territories than Ireland
Georgia Netherlands Poland
action less
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_reverse
entity Ireland
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 ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:diplomatic_relation resource:Ireland . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j < ?v ) . { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?j ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:diplomatic_relation ?r } GROUP BY ?r } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q7725634
USER
Which administrative territories did around the same number of releases and literary works originate as that administrative territory ?
(c(Q2031291)|c(Q7725634),P495,c(Q15617994))
[[{'concept': 'Q2031291'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { ?a property:P495 ?y . VALUES ( ?a ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
[[{'concept': 'release'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { ?a property:country_of_origin ?y . VALUES ( ?a ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
designation for an administrative territorial entity release literary work
Comparative|More/Less|Mult. entity type|Clarification
Q55
SYSTEM
Did you mean Netherlands ?
(c(Q2031291)|c(Q7725634),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { ?a property:P495 ?y . VALUES ( ?a ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
Did you mean Netherlands ?
Netherlands
[[{'concept': 'release'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { ?a property:country_of_origin ?y . VALUES ( ?a ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q2031291)|c(Q7725634),P495,c(Q15617994))
[[{'concept': 'Q2031291'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'release'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
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)|c(Q7725634),P495,c(Q15617994))
[ANSWERS] around the same number of releases and literary works originated as that administrative territory
[[{'concept': 'Q2031291'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
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 around the same number of releases and literary works originated as that administrative territory
Italy Brazil Georgia
[[{'concept': 'release'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P27
Q8436 Q215380
USER
How many families or bands are a native of that administrative territory ?
(c(Q8436),P27,Q38) (c(Q215380),P27,Q38) (c(Q8436),P27,Q38) (c(Q215380),P27,Q38) (c(Q8436),P27,Q155) (c(Q215380),P27,Q155) (c(Q8436),P27,Q230) (c(Q215380),P27,Q230)
[{'concept': 'Q8436'}, 'P27', 'Q38'] [{'concept': 'Q215380'}, 'P27', 'Q38'] [{'concept': 'Q8436'}, 'P27', 'Q38'] [{'concept': 'Q215380'}, 'P27', 'Q38'] [{'concept': 'Q8436'}, 'P27', 'Q155'] [{'concept': 'Q215380'}, 'P27', 'Q155'] [{'concept': 'Q8436'}, 'P27', 'Q230'] [{'concept': 'Q215380'}, 'P27', 'Q230']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P27 resource:Q977238 } UNION { ?y property:P27 resource:Q977238 } UNION { ?z property:P27 resource:Q977238 } UNION { ?y property:P27 resource:Q977238 } UNION { ?z property:P27 resource:Q21475816 } UNION { ?y property:P27 resource:Q21475816 } UNION { ?z property:P27 resource:Q5547323 } UNION { ?y property:P27 resource:Q5547323 } } . ?z rdf:type ontology:Q35409 . ?y rdf:type ontology:Q215380 }
[{'concept': 'family'}, 'country of citizenship', 'Italy'] [{'concept': 'band'}, 'country of citizenship', 'Italy'] [{'concept': 'family'}, 'country of citizenship', 'Italy'] [{'concept': 'band'}, 'country of citizenship', 'Italy'] [{'concept': 'family'}, 'country of citizenship', 'Brazil'] [{'concept': 'band'}, 'country of citizenship', 'Brazil'] [{'concept': 'family'}, 'country of citizenship', 'Georgia'] [{'concept': 'band'}, 'country of citizenship', 'Georgia']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_citizenship resource:Italy } UNION { ?y property:country_of_citizenship resource:Italy } UNION { ?z property:country_of_citizenship resource:Italy } UNION { ?y property:country_of_citizenship resource:Italy } UNION { ?z property:country_of_citizenship resource:Brazil } UNION { ?y property:country_of_citizenship resource:Brazil } UNION { ?z property:country_of_citizenship resource:Georgia } UNION { ?y property:country_of_citizenship resource:Georgia } } . ?z rdf:type ontology:family . ?y rdf:type ontology:band }
[]
family band
Quantitative|Count|Mult. entity type|Clarification
Q38
SYSTEM
Did you mean Italy ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P27 resource:Q977238 } UNION { ?y property:P27 resource:Q977238 } UNION { ?z property:P27 resource:Q977238 } UNION { ?y property:P27 resource:Q977238 } UNION { ?z property:P27 resource:Q21475816 } UNION { ?y property:P27 resource:Q21475816 } UNION { ?z property:P27 resource:Q5547323 } UNION { ?y property:P27 resource:Q5547323 } } . ?z rdf:type ontology:Q35409 . ?y rdf:type ontology:Q215380 }
Did you mean Italy ?
Italy
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_citizenship resource:Italy } UNION { ?y property:country_of_citizenship resource:Italy } UNION { ?z property:country_of_citizenship resource:Italy } UNION { ?y property:country_of_citizenship resource:Italy } UNION { ?z property:country_of_citizenship resource:Brazil } UNION { ?y property:country_of_citizenship resource:Brazil } UNION { ?z property:country_of_citizenship resource:Georgia } UNION { ?y property:country_of_citizenship resource:Georgia } } . ?z rdf:type ontology:family . ?y rdf:type ontology:band }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q8436),P27,Q38) (c(Q215380),P27,Q38) (c(Q8436),P27,Q38) (c(Q215380),P27,Q38) (c(Q8436),P27,Q155) (c(Q215380),P27,Q155) (c(Q8436),P27,Q230) (c(Q215380),P27,Q230)
[{'concept': 'Q8436'}, 'P27', 'Q38'] [{'concept': 'Q215380'}, 'P27', 'Q38'] [{'concept': 'Q8436'}, 'P27', 'Q38'] [{'concept': 'Q215380'}, 'P27', 'Q38'] [{'concept': 'Q8436'}, 'P27', 'Q155'] [{'concept': 'Q215380'}, 'P27', 'Q155'] [{'concept': 'Q8436'}, 'P27', 'Q230'] [{'concept': 'Q215380'}, 'P27', 'Q230']
[{'concept': 'family'}, 'country of citizenship', 'Italy'] [{'concept': 'band'}, 'country of citizenship', 'Italy'] [{'concept': 'family'}, 'country of citizenship', 'Italy'] [{'concept': 'band'}, 'country of citizenship', 'Italy'] [{'concept': 'family'}, 'country of citizenship', 'Brazil'] [{'concept': 'band'}, 'country of citizenship', 'Brazil'] [{'concept': 'family'}, 'country of citizenship', 'Georgia'] [{'concept': 'band'}, 'country of citizenship', 'Georgia']
[]
SYSTEM
3
Q2271829 Q2257416 Q4821336
(c(Q8436),P27,Q38) (c(Q215380),P27,Q38) (c(Q8436),P27,Q38) (c(Q215380),P27,Q38) (c(Q8436),P27,Q155) (c(Q215380),P27,Q155) (c(Q8436),P27,Q230) (c(Q215380),P27,Q230)
[ANSWER]
[{'concept': 'Q8436'}, 'P27', 'Q38'] [{'concept': 'Q215380'}, 'P27', 'Q38'] [{'concept': 'Q8436'}, 'P27', 'Q38'] [{'concept': 'Q215380'}, 'P27', 'Q38'] [{'concept': 'Q8436'}, 'P27', 'Q155'] [{'concept': 'Q215380'}, 'P27', 'Q155'] [{'concept': 'Q8436'}, 'P27', 'Q230'] [{'concept': 'Q215380'}, 'P27', 'Q230']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P27 resource:Q977238 } UNION { ?y property:P27 resource:Q977238 } UNION { ?z property:P27 resource:Q977238 } UNION { ?y property:P27 resource:Q977238 } UNION { ?z property:P27 resource:Q21475816 } UNION { ?y property:P27 resource:Q21475816 } UNION { ?z property:P27 resource:Q5547323 } UNION { ?y property:P27 resource:Q5547323 } } . ?z rdf:type ontology:Q35409 . ?y rdf:type ontology:Q215380 }
Luigi Beltrame Quattrocchi and Maria Corsini Noize Suppressor Augusto and Michaela Odone
3
[{'concept': 'family'}, 'country of citizenship', 'Italy'] [{'concept': 'band'}, 'country of citizenship', 'Italy'] [{'concept': 'family'}, 'country of citizenship', 'Italy'] [{'concept': 'band'}, 'country of citizenship', 'Italy'] [{'concept': 'family'}, 'country of citizenship', 'Brazil'] [{'concept': 'band'}, 'country of citizenship', 'Brazil'] [{'concept': 'family'}, 'country of citizenship', 'Georgia'] [{'concept': 'band'}, 'country of citizenship', 'Georgia']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_citizenship resource:Italy } UNION { ?y property:country_of_citizenship resource:Italy } UNION { ?z property:country_of_citizenship resource:Italy } UNION { ?y property:country_of_citizenship resource:Italy } UNION { ?z property:country_of_citizenship resource:Brazil } UNION { ?y property:country_of_citizenship resource:Brazil } UNION { ?z property:country_of_citizenship resource:Georgia } UNION { ?y property:country_of_citizenship resource:Georgia } } . ?z rdf:type ontology:family . ?y rdf:type ontology:band }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5607799
P21
Q290
USER
What is the sex of Gretta Taylor ?
(Q5607799,P21,c(Q290))
action filter_type
action find
entity Q5607799
relation P21
type Q290
['Q5607799', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q5607799 property:P21 ?b . ?b rdf:type ontology:Q290 }
Gretta Taylor
action filter_type
action find
entity Gretta Taylor
relation gender
type sex
['Gretta Taylor', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Gretta_Taylor property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q5607799,P21,c(Q290))
action filter_type
action find
entity Q5607799
relation P21
type Q290
The sex of Gretta Taylor is the [ANSWER]
['Q5607799', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q5607799 property:P21 ?b . ?b rdf:type ontology:Q290 }
female
The sex of Gretta Taylor is the female
female
action filter_type
action find
entity Gretta Taylor
relation gender
type sex
['Gretta Taylor', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Gretta_Taylor property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q9160700
Q290
USER
And also tell me about Artur Marczewski?
(Q9160700,P21,c(Q290))
action filter_type
action find
entity Q9160700
relation P21
type Q290
['Q9160700', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q9160700 property:P21 ?s . ?s rdf:type ontology:Q290 }
Artur Marczewski
action filter_type
action find
entity Artur Marczewski
relation gender
type sex
['Artur Marczewski', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Artur_Marczewski property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q9160700,P21,c(Q290))
action filter_type
action find
entity Q9160700
relation P21
type Q290
[ANSWER]
['Q9160700', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q9160700 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Artur Marczewski
relation gender
type sex
['Artur Marczewski', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Artur_Marczewski property:gender ?s . ?s rdf:type ontology:sex }
[]