Simple Question (Direct)
Simple Question
Q3830695
P20
Q56061
USER
Which administrative territory is the place of death of Leopoldo Gamberini ?
(Q3830695,P20,c(Q56061))
action filter_type
action find
entity Q3830695
relation P20
type Q56061
['Q3830695', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q3830695 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Leopoldo Gamberini
action filter_type
action find
entity Leopoldo Gamberini
relation place of death
type administrative territorial entity
['Leopoldo Gamberini', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Leopoldo_Gamberini property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1449
SYSTEM
Genoa
Q1449
(Q3830695,P20,c(Q56061))
action filter_type
action find
entity Q3830695
relation P20
type Q56061
[ANSWER] is the place of death of Leopoldo Gamberini
['Q3830695', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q3830695 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Genoa
Genoa is the place of death of Leopoldo Gamberini
Genoa
action filter_type
action find
entity Leopoldo Gamberini
relation place of death
type administrative territorial entity
['Leopoldo Gamberini', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Leopoldo_Gamberini property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1449
P17
Q7275
USER
Which states are that administrative territory situated in ?
(Q1449,P17,c(Q7275))
action filter_type
action find
entity Q1449
relation P17
type Q7275
['Q1449', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?a WHERE { resource:Q1449 property:P17 ?a . ?a rdf:type ontology:Q7275 }
Genoa
action filter_type
action find
entity Genoa
relation country
type state
['Genoa', 'country', {'concept': 'state'}]
SELECT DISTINCT ?a WHERE { resource:Genoa property:country ?a . ?a rdf:type ontology:state }
[]
state
Q659312 Q165154 Q174306
SYSTEM
Ligurian Republic, Kingdom of Sardinia, Republic of Genoa
Q659312 Q165154 Q174306
(Q1449,P17,c(Q7275))
action filter_type
action find
entity Q1449
relation P17
type Q7275
That administrative territory are situated in [ANSWERS]
['Q1449', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?a WHERE { resource:Q1449 property:P17 ?a . ?a rdf:type ontology:Q7275 }
Ligurian Republic Kingdom of Sardinia Republic of Genoa
That administrative territory are situated in Ligurian Republic, Kingdom of Sardinia and Republic of Genoa
Ligurian Republic Kingdom of Sardinia Republic of Genoa
action filter_type
action find
entity Genoa
relation country
type state
['Genoa', 'country', {'concept': 'state'}]
SELECT DISTINCT ?a WHERE { resource:Genoa property:country ?a . ?a rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q563606
Q7275
USER
And how about 1950–51 DDR-Oberliga?
(Q563606,P17,c(Q7275))
action filter_type
action find
entity Q563606
relation P17
type Q7275
['Q563606', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?k WHERE { resource:Q563606 property:P17 ?k . ?k rdf:type ontology:Q7275 }
1950–51 DDR-Oberliga
action filter_type
action find
entity 1950–51 DDR-Oberliga
relation country
type state
['1950–51 DDR-Oberliga', 'country', {'concept': 'state'}]
SELECT DISTINCT ?k WHERE { resource:1950–51_DDR-Oberliga property:country ?k . ?k rdf:type ontology:state }
[]
state
Q16957
SYSTEM
East Germany
Q16957
(Q563606,P17,c(Q7275))
action filter_type
action find
entity Q563606
relation P17
type Q7275
[ANSWER]
['Q563606', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?k WHERE { resource:Q563606 property:P17 ?k . ?k rdf:type ontology:Q7275 }
East Germany
East Germany
action filter_type
action find
entity 1950–51 DDR-Oberliga
relation country
type state
['1950–51 DDR-Oberliga', 'country', {'concept': 'state'}]
SELECT DISTINCT ?k WHERE { resource:1950–51_DDR-Oberliga property:country ?k . ?k rdf:type ontology:state }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19882358 Q659312
P495 P17
Q15617994
USER
Which administrative territories are Ligurian Republic a part of or are the countries of origin of Bidhir Bidhan ?
OR((Q659312,P17,c(Q15617994)), (Q19882358,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q659312
relation P17
action find
entity Q19882358
relation P495
type Q15617994
{'OR': [['Q659312', 'P17', {'concept': 'Q15617994'}], ['Q19882358', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q659312 property:P17 ?r } UNION { resource:Q19882358 property:P495 ?r } } . ?r rdf:type ontology:Q15617994 }
Bidhir Bidhan Ligurian Republic
action filter_type
action union
action find
entity Ligurian Republic
relation country
action find
entity Bidhir Bidhan
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Ligurian Republic', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Bidhir Bidhan', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Ligurian_Republic property:country ?r } UNION { resource:Bidhir_Bidhan property:country_of_origin ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q668
SYSTEM
Italy, India
Q38 Q668
OR((Q659312,P17,c(Q15617994)), (Q19882358,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q659312
relation P17
action find
entity Q19882358
relation P495
type Q15617994
[ANSWERS] are Ligurian Republic a part of or are the countries of origin of Bidhir Bidhan
{'OR': [['Q659312', 'P17', {'concept': 'Q15617994'}], ['Q19882358', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q659312 property:P17 ?r } UNION { resource:Q19882358 property:P495 ?r } } . ?r rdf:type ontology:Q15617994 }
Italy India
Italy and India are Ligurian Republic a part of or are the countries of origin of Bidhir Bidhan
Italy India
action filter_type
action union
action find
entity Ligurian Republic
relation country
action find
entity Bidhir Bidhan
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Ligurian Republic', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Bidhir Bidhan', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Ligurian_Republic property:country ?r } UNION { resource:Bidhir_Bidhan property:country_of_origin ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1045
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with greater number of administrative territories than Somalia ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1045
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?e > ?u ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Q1045 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } }
Somalia
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Somalia
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 ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?e > ?u ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Somalia property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1045
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with greater number of administrative territories than Somalia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?e > ?u ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Q1045 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America hold diplomatic relationship with greater number of administrative territories than Somalia
Italy Brazil United States of America
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Somalia
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 ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?e > ?u ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Somalia property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P137
Q3084961
USER
Which product lining was managed by Italy ?
(c(Q3084961),P137,Q38)
action filter_type
action find_reverse
entity Q38
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q38']
SELECT DISTINCT ?y WHERE { ?y property:P137 resource:Q38 . ?y rdf:type ontology:Q3084961 }
Italy
action filter_type
action find_reverse
entity Italy
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Italy']
SELECT DISTINCT ?y WHERE { ?y property:operator resource:Italy . ?y rdf:type ontology:product_lining }
[]
product lining
Q151384
SYSTEM
Typhoon
Q151384
(c(Q3084961),P137,Q38)
action filter_type
action find_reverse
entity Q38
relation P137
type Q3084961
And [ANSWER] was managed by Italy
[{'concept': 'Q3084961'}, 'P137', 'Q38']
SELECT DISTINCT ?y WHERE { ?y property:P137 resource:Q38 . ?y rdf:type ontology:Q3084961 }
Typhoon
And Typhoon was managed by Italy
Typhoon
action filter_type
action find_reverse
entity Italy
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Italy']
SELECT DISTINCT ?y WHERE { ?y property:operator resource:Italy . ?y rdf:type ontology:product_lining }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P159
Q4830453
USER
Which business enterprises have their head office location at that administrative territory ?
(c(Q4830453),P159,Q151384)
action filter_type
action find_reverse
entity Q38
relation P159
type Q4830453
[{'concept': 'Q4830453'}, 'P159', 'Q151384']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q4830453 . ?e property:P159 resource:Q38 }
Italy
action filter_type
action find_reverse
entity Italy
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Typhoon']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:business_enterprise . ?e property:headquarters_location resource:Italy }
[]
business enterprise
Q3502873 Q355626 Q1331424
SYSTEM
Telepace, Adem, Elka
Q355626 Q3502873 Q20009912 Q1331424
(c(Q4830453),P159,Q151384)
action filter_type
action find_reverse
entity Q38
relation P159
type Q4830453
[ANSWERS] have their head office location at that administrative territory
[{'concept': 'Q4830453'}, 'P159', 'Q151384']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q4830453 . ?e property:P159 resource:Q38 }
Adem Telepace Society of Trusts and Investments Elka
Telepace, Adem and Elka have their head office location at that administrative territory
Telepace Adem Elka
action filter_type
action find_reverse
entity Italy
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Typhoon']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:business_enterprise . ?e property:headquarters_location resource:Italy }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3502873
P159
Q15617994
USER
How many administrative territories are the HQ of Telepace ?
(Q3502873,P159,c(Q15617994))
action count
action filter_type
action find
entity Q3502873
relation P159
type Q15617994
['Q3502873', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q3502873 property:P159 ?c . ?c rdf:type ontology:Q15617994 }
Telepace
action count
action filter_type
action find
entity Telepace
relation headquarters location
type designation for an administrative territorial entity
['Telepace', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Telepace property:headquarters_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q3502873,P159,c(Q15617994))
action count
action filter_type
action find
entity Q3502873
relation P159
type Q15617994
[ANSWER]
['Q3502873', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q3502873 property:P159 ?c . ?c rdf:type ontology:Q15617994 }
Italy
1
action count
action filter_type
action find
entity Telepace
relation headquarters location
type designation for an administrative territorial entity
['Telepace', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Telepace property:headquarters_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3459501
Q15617994
USER
And also tell me about Société française pour le commerce avec l'Outre-mer?
(Q3459501,P159,c(Q15617994))
action count
action filter_type
action find
entity Q3459501
relation P159
type Q15617994
['Q3459501', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q3459501 property:P159 ?w }
Société française pour le commerce avec l'Outre-mer
action count
action filter_type
action find
entity Société française pour le commerce avec l'Outre-mer
relation headquarters location
type designation for an administrative territorial entity
["Société française pour le commerce avec l'Outre-mer", 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Société_française_pour_le_commerce_avec_l'Outre-mer property:headquarters_location ?w }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q3459501,P159,c(Q15617994))
action count
action filter_type
action find
entity Q3459501
relation P159
type Q15617994
[ANSWER]
['Q3459501', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q3459501 property:P159 ?w }
1
action count
action filter_type
action find
entity Société française pour le commerce avec l'Outre-mer
relation headquarters location
type designation for an administrative territorial entity
["Société française pour le commerce avec l'Outre-mer", 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Société_française_pour_le_commerce_avec_l'Outre-mer property:headquarters_location ?w }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P355
Q4830453 Q43229
USER
Which organizations are the parent company of max number of business enterprises ?
(c(Q43229),P355,c(Q4830453))
action argmax
action find_tuple_counts
relation P355
type Q43229
type Q4830453
[{'concept': 'Q43229'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?t ) { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?a ) WHERE { ?o rdf:type ontology:Q43229 . ?m rdf:type ontology:Q4830453 . ?o property:P355 ?m } GROUP BY ?o } } . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?i ) WHERE { ?c property:P355 ?e . ?c rdf:type ontology:Q43229 . ?e rdf:type ontology:Q4830453 } GROUP BY ?c } . FILTER ( ?i = ?t ) }
action argmax
action find_tuple_counts
relation subsidiary
type organization
type business enterprise
[{'concept': 'organization'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?t ) { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?a ) WHERE { ?o rdf:type ontology:organization . ?m rdf:type ontology:business_enterprise . ?o property:subsidiary ?m } GROUP BY ?o } } . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?i ) WHERE { ?c property:subsidiary ?e . ?c rdf:type ontology:organization . ?e rdf:type ontology:business_enterprise } GROUP BY ?c } . FILTER ( ?i = ?t ) }
[]
business enterprise organization
Q5612191
SYSTEM
Grupo Bandeirantes de Comunicação
Q5612191
(c(Q43229),P355,c(Q4830453))
action argmax
action find_tuple_counts
relation P355
type Q43229
type Q4830453
[ANSWER] is the parent company of max number of business enterprises
[{'concept': 'Q43229'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?t ) { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?a ) WHERE { ?o rdf:type ontology:Q43229 . ?m rdf:type ontology:Q4830453 . ?o property:P355 ?m } GROUP BY ?o } } . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?i ) WHERE { ?c property:P355 ?e . ?c rdf:type ontology:Q43229 . ?e rdf:type ontology:Q4830453 } GROUP BY ?c } . FILTER ( ?i = ?t ) }
Grupo Bandeirantes de Comunicação
Grupo Bandeirantes de Comunicação is the parent company of max number of business enterprises
Grupo Bandeirantes de Comunicação
action argmax
action find_tuple_counts
relation subsidiary
type organization
type business enterprise
[{'concept': 'organization'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?t ) { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?a ) WHERE { ?o rdf:type ontology:organization . ?m rdf:type ontology:business_enterprise . ?o property:subsidiary ?m } GROUP BY ?o } } . { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?i ) WHERE { ?c property:subsidiary ?e . ?c rdf:type ontology:organization . ?e rdf:type ontology:business_enterprise } GROUP BY ?c } . FILTER ( ?i = ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174306
P172
Q502895
USER
Who has Republic of Genoa as ethnic group ?
(c(Q502895),P172,Q174306)
action filter_type
action find_reverse
entity Q174306
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q174306']
SELECT DISTINCT ?o WHERE { ?o property:P172 resource:Q174306 . ?o rdf:type ontology:Q502895 }
Republic of Genoa
action filter_type
action find_reverse
entity Republic of Genoa
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Republic of Genoa']
SELECT DISTINCT ?o WHERE { ?o property:ethnic_group resource:Republic_of_Genoa . ?o rdf:type ontology:common_name }
[]
common name
Q2999351
SYSTEM
Mihrişah Valide Sultan
Q2999351
(c(Q502895),P172,Q174306)
action filter_type
action find_reverse
entity Q174306
relation P172
type Q502895
[ANSWER] has Republic of Genoa as ethnic group
[{'concept': 'Q502895'}, 'P172', 'Q174306']
SELECT DISTINCT ?o WHERE { ?o property:P172 resource:Q174306 . ?o rdf:type ontology:Q502895 }
Mihrişah Valide Sultan
Mihrişah Valide Sultan has Republic of Genoa as ethnic group
Mihrişah Valide Sultan
action filter_type
action find_reverse
entity Republic of Genoa
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Republic of Genoa']
SELECT DISTINCT ?o WHERE { ?o property:ethnic_group resource:Republic_of_Genoa . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174306
P127
Q7743
USER
Which home is under posessision of Republic of Genoa ?
(c(Q7743),P127,Q174306)
action filter_type
action find_reverse
entity Q174306
relation P127
type Q7743
[{'concept': 'Q7743'}, 'P127', 'Q174306']
SELECT DISTINCT ?j WHERE { ?j property:P127 resource:Q174306 . ?j rdf:type ontology:Q7743 }
Republic of Genoa
action filter_type
action find_reverse
entity Republic of Genoa
relation owned by
type home
[{'concept': 'home'}, 'owned by', 'Republic of Genoa']
SELECT DISTINCT ?j WHERE { ?j property:owned_by resource:Republic_of_Genoa . ?j rdf:type ontology:home }
[]
home
Q2970340
SYSTEM
Castle of Rapallo
Q2970340
(c(Q7743),P127,Q174306)
action filter_type
action find_reverse
entity Q174306
relation P127
type Q7743
[ANSWER] is under posessision of Republic of Genoa
[{'concept': 'Q7743'}, 'P127', 'Q174306']
SELECT DISTINCT ?j WHERE { ?j property:P127 resource:Q174306 . ?j rdf:type ontology:Q7743 }
Castle of Rapallo
Castle of Rapallo is under posessision of Republic of Genoa
Castle of Rapallo
action filter_type
action find_reverse
entity Republic of Genoa
relation owned by
type home
[{'concept': 'home'}, 'owned by', 'Republic of Genoa']
SELECT DISTINCT ?j WHERE { ?j property:owned_by resource:Republic_of_Genoa . ?j rdf:type ontology:home }
[]