Simple Question (Direct)
Simple Question
Q3158026
P140
Q874405
USER
What is the religious affiliation of Jacques-Michel Coupé ?
(Q3158026,P140,c(Q874405))
action filter_type
action find
entity Q3158026
relation P140
type Q874405
['Q3158026', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { resource:Q3158026 property:P140 ?s . ?s rdf:type ontology:Q874405 }
Jacques-Michel Coupé
action filter_type
action find
entity Jacques-Michel Coupé
relation religion
type social group
['Jacques-Michel Coupé', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { resource:Jacques-Michel_Coupé property:religion ?s . ?s rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q3158026,P140,c(Q874405))
action filter_type
action find
entity Q3158026
relation P140
type Q874405
The religious affiliation of Jacques-Michel Coupé is Roman [ANSWER]
['Q3158026', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { resource:Q3158026 property:P140 ?s . ?s rdf:type ontology:Q874405 }
Catholicism
The religious affiliation of Jacques-Michel Coupé is Roman Catholicism
Catholicism
action filter_type
action find
entity Jacques-Michel Coupé
relation religion
type social group
['Jacques-Michel Coupé', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { resource:Jacques-Michel_Coupé property:religion ?s . ?s rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3158026
P21
Q290
USER
Which sex does that person belong to ?
(Q1841,P21,c(Q290))
action filter_type
action find
entity Q3158026
relation P21
type Q290
['Q1841', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q3158026 property:P21 ?d . ?d rdf:type ontology:Q290 }
Jacques-Michel Coupé
action filter_type
action find
entity Jacques-Michel Coupé
relation gender
type sex
['Catholicism', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Jacques-Michel_Coupé property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1841,P21,c(Q290))
action filter_type
action find
entity Q3158026
relation P21
type Q290
That person belongs to [ANSWER]
['Q1841', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q3158026 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Jacques-Michel Coupé
relation gender
type sex
['Catholicism', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Jacques-Michel_Coupé property:gender ?d . ?d rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6587897 Q3158026
P27
Q15617994
USER
Which administrative territories do Jacques-Michel Coupé or Jan P. Solberg belong to ?
OR((Q3158026,P27,c(Q15617994)), (Q6587897,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3158026
relation P27
action find
entity Q6587897
relation P27
type Q15617994
{'OR': [['Q3158026', 'P27', {'concept': 'Q15617994'}], ['Q6587897', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q6587897 property:P27 ?s } UNION { resource:Q3158026 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Jan P. Solberg Jacques-Michel Coupé
action filter_type
action union
action find
entity Jacques-Michel Coupé
relation country of citizenship
action find
entity Jan P. Solberg
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jacques-Michel Coupé', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jan P. Solberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Jan_P._Solberg property:country_of_citizenship ?s } UNION { resource:Jacques-Michel_Coupé property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q20
SYSTEM
France, Norway
Q142 Q20
OR((Q3158026,P27,c(Q15617994)), (Q6587897,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3158026
relation P27
action find
entity Q6587897
relation P27
type Q15617994
Jacques-Michel Coupé or Jan P. Solberg belong to the [ANSWERS]
{'OR': [['Q3158026', 'P27', {'concept': 'Q15617994'}], ['Q6587897', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q6587897 property:P27 ?s } UNION { resource:Q3158026 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
France Norway
Jacques-Michel Coupé or Jan P. Solberg belong to the France and Norway
France Norway
action filter_type
action union
action find
entity Jacques-Michel Coupé
relation country of citizenship
action find
entity Jan P. Solberg
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jacques-Michel Coupé', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jan P. Solberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Jan_P._Solberg property:country_of_citizenship ?s } UNION { resource:Jacques-Michel_Coupé property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q2088357 Q2031291
USER
Which administrative territories are the origins of atmost 24780 musical ensembles and releases ?
(c(Q2088357)|c(Q2031291),P495,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
value 24780
[[{'concept': 'Q2088357'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?v WHERE { { ?i property:P495 ?v . ?v rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q2088357 } UNION { ?i property:P495 ?v . ?v rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q2031291 } } GROUP BY ?v } . FILTER ( ?j <= 24780 ) }
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
value 24780
[[{'concept': 'musical ensemble'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?v WHERE { { ?i property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:musical_ensemble } UNION { ?i property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:release } } GROUP BY ?v } . FILTER ( ?j <= 24780 ) }
[]
designation for an administrative territorial entity musical ensemble 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(Q2088357)|c(Q2031291),P495,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
value 24780
[ANSWERS] are the origins of atmost 24780 musical ensembles and releases
[[{'concept': 'Q2088357'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?v WHERE { { ?i property:P495 ?v . ?v rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q2088357 } UNION { ?i property:P495 ?v . ?v rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q2031291 } } GROUP BY ?v } . FILTER ( ?j <= 24780 ) }
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 origins of atmost 24780 musical ensembles and releases
Italy Brazil Georgia
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
value 24780
[[{'concept': 'musical ensemble'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?v WHERE { { ?i property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:musical_ensemble } UNION { ?i property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:release } } GROUP BY ?v } . FILTER ( ?j <= 24780 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q155 Q230
P530
Q15617994
USER
Which administrative territories have diplomatic relations with Italy, Brazil and Georgia ?
(c(Q15617994),P530,Q38) (c(Q15617994),P530,Q155) (c(Q15617994),P530,Q230)
action union
action filter_type
action find_reverse
entity Q38
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q155
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q230
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q38'] [{'concept': 'Q15617994'}, 'P530', 'Q155'] [{'concept': 'Q15617994'}, 'P530', 'Q230']
SELECT DISTINCT ?l WHERE { { ?l property:P530 resource:Q38 . ?l rdf:type ontology:Q15617994 } UNION { ?l property:P530 resource:Q155 . ?l rdf:type ontology:Q15617994 } }
Italy Brazil Georgia
action union
action filter_type
action find_reverse
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Italy'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Georgia']
SELECT DISTINCT ?l WHERE { { ?l property:diplomatic_relation resource:Italy . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l property:diplomatic_relation resource:Brazil . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q38 Q38 Q155
SYSTEM
Brazil for 3rd, Italy for 1st, 2nd
Q869 Q222 Q796 Q794 Q45 Q889 Q884 Q881 Q948 Q928 Q739 Q347 Q1016 Q236 Q230 Q238 Q227 Q225 Q224 Q221 Q229 Q228 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q419 Q414 Q403 Q33 Q32 Q30 Q37 Q34 Q252 Q258 Q399 Q423 Q142 Q145 Q148 Q159 Q155 Q114 Q668 Q184 Q31 Q36 Q39 Q191 Q20 Q27 Q28 Q29 Q17 Q79 Q77 Q298 Q55 Q43 Q41 Q96 Q189 Q805 Q801 Q233 Q822 Q733 Q843 Q1045 Q790 Q796 Q794 Q983 Q45 Q962 Q750 Q958 Q917 Q916 Q739 Q734 Q736 Q574 Q1029 Q1033 Q1016 Q1011 Q230 Q212 Q213 Q419 Q414 Q403 Q30 Q252 Q258 Q241 Q244 Q399 Q423 Q142 Q145 Q148 Q159 Q953 Q668 Q184 Q36 Q38 Q29 Q17 Q717 Q79 Q77 Q298 Q43 Q41 Q96 Q801 Q800 Q822 Q733 Q843 Q1049 Q783 Q184 Q38
(c(Q15617994),P530,Q38) (c(Q15617994),P530,Q155) (c(Q15617994),P530,Q230)
action union
action filter_type
action find_reverse
entity Q38
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q155
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q230
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', 'Q38'] [{'concept': 'Q15617994'}, 'P530', 'Q155'] [{'concept': 'Q15617994'}, 'P530', 'Q230']
SELECT DISTINCT ?l WHERE { { ?l property:P530 resource:Q38 . ?l rdf:type ontology:Q15617994 } UNION { ?l property:P530 resource:Q155 . ?l rdf:type ontology:Q15617994 } }
Thailand Albania Iraq Iran Portugal Afghanistan South Korea Vietnam Tunisia Philippines Colombia Liechtenstein Libya Montenegro Georgia San Marino Azerbaijan Bosnia and Herzegovina Croatia Republic of Macedonia Cyprus Andorra Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Peru Argentina Serbia Finland Luxembourg United States of America Lithuania Sweden Indonesia South Africa Armenia North Korea France United Kingdom People's Republic of China Russia Brazil Kenya India Belarus Belgium Poland Switzerland Estonia Norway Ireland Hungary Spain Japan Egypt Uruguay Chile Netherlands Turkey Greece Mexico Iceland Yemen Israel Malta Lebanon Paraguay Pakistan Somalia Haiti Iraq Iran Equatorial Guinea Portugal Benin Bolivia South Sudan Bhutan Angola Colombia Guyana Ecuador East Timor Mozambique Nigeria Libya Cape Verde Georgia Ukraine Czech Republic Peru Argentina Serbia United States of America Indonesia South Africa Cuba Barbados Armenia North Korea France United Kingdom People's Republic of China Russia Zambia India Belarus Poland Italy Spain Japan Venezuela Egypt Uruguay Chile Turkey Greece Mexico Israel Costa Rica Lebanon Paraguay Pakistan Sudan Honduras Belarus Italy
And Italy, Italy and Brazil have diplomatic relations with Italy, Brazil and Georgia
Italy Italy Brazil
action union
action filter_type
action find_reverse
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Italy'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Georgia']
SELECT DISTINCT ?l WHERE { { ?l property:diplomatic_relation resource:Italy . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l property:diplomatic_relation resource:Brazil . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P159
Q48204
USER
Which voluntary association has its HQ location at Brazil ?
(c(Q48204),P159,Q155)
action filter_type
action find_reverse
entity Q155
relation P159
type Q48204
[{'concept': 'Q48204'}, 'P159', 'Q155']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q48204 . ?t property:P159 resource:Q155 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation headquarters location
type voluntary association
[{'concept': 'voluntary association'}, 'headquarters location', 'Brazil']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:voluntary_association . ?t property:headquarters_location resource:Brazil }
[]
voluntary association
Q10372620
SYSTEM
Brazilian Chemical Society
Q10372620
(c(Q48204),P159,Q155)
action filter_type
action find_reverse
entity Q155
relation P159
type Q48204
[ANSWER] has its HQ location at Brazil
[{'concept': 'Q48204'}, 'P159', 'Q155']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q48204 . ?t property:P159 resource:Q155 }
Brazilian Chemical Society
Brazilian Chemical Society has its HQ location at Brazil
Brazilian Chemical Society
action filter_type
action find_reverse
entity Brazil
relation headquarters location
type voluntary association
[{'concept': 'voluntary association'}, 'headquarters location', 'Brazil']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:voluntary_association . ?t property:headquarters_location resource:Brazil }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10372620
P123
Q21114848
USER
Which magazine genre produced that voluntary association ?
(c(Q21114848),P123,Q10372620)
action filter_type
action find_reverse
entity Q10372620
relation P123
type Q21114848
[{'concept': 'Q21114848'}, 'P123', 'Q10372620']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q21114848 . ?y property:P123 resource:Q10372620 }
Brazilian Chemical Society
action filter_type
action find_reverse
entity Brazilian Chemical Society
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'Brazilian Chemical Society']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:magazine_genre . ?y property:publisher resource:Brazilian_Chemical_Society }
[]
magazine genre
Q3186956
SYSTEM
Journal of the Brazilian Chemical Society
Q3186956
(c(Q21114848),P123,Q10372620)
action filter_type
action find_reverse
entity Q10372620
relation P123
type Q21114848
[ANSWER] produced that voluntary association
[{'concept': 'Q21114848'}, 'P123', 'Q10372620']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q21114848 . ?y property:P123 resource:Q10372620 }
Journal of the Brazilian Chemical Society
Journal of the Brazilian Chemical Society produced that voluntary association
Journal of the Brazilian Chemical Society
action filter_type
action find_reverse
entity Brazilian Chemical Society
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'Brazilian Chemical Society']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:magazine_genre . ?y property:publisher resource:Brazilian_Chemical_Society }
[]