Simple Question (Direct)
Simple Question
Q6891733
P641
Q349
USER
What was the sport that Mohammad Al-Dmeiri was a part of ?
(Q6891733,P641,c(Q349))
action filter_type
action find
entity Q6891733
relation P641
type Q349
['Q6891733', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q6891733 property:P641 ?u . ?u rdf:type ontology:Q349 }
Mohammad Al-Dmeiri
action filter_type
action find
entity Mohammad Al-Dmeiri
relation sport
type sport
['Mohammad Al-Dmeiri', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Mohammad_Al-Dmeiri property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6891733,P641,c(Q349))
action filter_type
action find
entity Q6891733
relation P641
type Q349
The sport that Mohammad Al-Dmeiri was a part of was h [ANSWER]
['Q6891733', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q6891733 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
The sport that Mohammad Al-Dmeiri was a part of was h association football
association football
action filter_type
action find
entity Mohammad Al-Dmeiri
relation sport
type sport
['Mohammad Al-Dmeiri', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Mohammad_Al-Dmeiri property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6891733
P21
Q290
USER
What is the sex of Mohammad Al-Dmeiri ?
(Q6891733,P21,c(Q290))
action filter_type
action find
entity Q6891733
relation P21
type Q290
['Q6891733', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q6891733 property:P21 ?t . ?t rdf:type ontology:Q290 }
Mohammad Al-Dmeiri
action filter_type
action find
entity Mohammad Al-Dmeiri
relation gender
type sex
['Mohammad Al-Dmeiri', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Mohammad_Al-Dmeiri property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6891733,P21,c(Q290))
action filter_type
action find
entity Q6891733
relation P21
type Q290
The sex of Mohammad Al-Dmeiri is the [ANSWER]
['Q6891733', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q6891733 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
The sex of Mohammad Al-Dmeiri is the male
male
action filter_type
action find
entity Mohammad Al-Dmeiri
relation gender
type sex
['Mohammad Al-Dmeiri', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Mohammad_Al-Dmeiri property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3067898
Q290
USER
And how about Federico Campanella?
(Q3067898,P21,c(Q290))
action filter_type
action find
entity Q3067898
relation P21
type Q290
['Q3067898', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q3067898 property:P21 ?w . ?w rdf:type ontology:Q290 }
Federico Campanella
action filter_type
action find
entity Federico Campanella
relation gender
type sex
['Federico Campanella', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Federico_Campanella property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3067898,P21,c(Q290))
action filter_type
action find
entity Q3067898
relation P21
type Q290
[ANSWER]
['Q3067898', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q3067898 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Federico Campanella
relation gender
type sex
['Federico Campanella', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Federico_Campanella property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3067898
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q3067898
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3067898 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Federico Campanella
action filter_type
action find
entity Federico Campanella
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Federico_Campanella property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1449
SYSTEM
Genoa
Q1449
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q3067898
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3067898 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Genoa
That person was born in Genoa
Genoa
action filter_type
action find
entity Federico Campanella
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Federico_Campanella property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1449 Q38 Q142
P17
Q15617994
USER
Is that administrative territory situated in Italy and France ?
(Q1449,P17,Q38) (Q1449,P17,Q142)
action is_in
entity Q1449
action intersection
action find_reverse
entity Q38
relation P17
action find_reverse
entity Q142
relation P17
['Q1449', 'P17', 'Q38'] ['Q1449', 'P17', 'Q142']
ASK WHERE { resource:Q1449 property:P17 resource:Q38 . resource:Q1449 property:P17 resource:Q142 }
Genoa Italy France
action is_in
entity Genoa
action intersection
action find_reverse
entity Italy
relation country
action find_reverse
entity France
relation country
['Genoa', 'country', 'Italy'] ['Genoa', 'country', 'France']
ASK WHERE { resource:Genoa property:country resource:Italy . resource:Genoa property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1449,P17,Q38) (Q1449,P17,Q142)
action is_in
entity Q1449
action intersection
action find_reverse
entity Q38
relation P17
action find_reverse
entity Q142
relation P17
[ANSWER]
['Q1449', 'P17', 'Q38'] ['Q1449', 'P17', 'Q142']
ASK WHERE { resource:Q1449 property:P17 resource:Q38 . resource:Q1449 property:P17 resource:Q142 }
Yes
action is_in
entity Genoa
action intersection
action find_reverse
entity Italy
relation country
action find_reverse
entity France
relation country
['Genoa', 'country', 'Italy'] ['Genoa', 'country', 'France']
ASK WHERE { resource:Genoa property:country resource:Italy . resource:Genoa property:country resource:France }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1449
P36
Q15617994
USER
Which administrative territories have that administrative territory as their administrative centre ?
action filter_type
action find_reverse
entity Q1449
relation P36
type Q15617994
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . ?r property:P36 resource:Q1449 }
Genoa
action filter_type
action find_reverse
entity Genoa
relation capital
type designation for an administrative territorial entity
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:capital resource:Genoa }
[]
designation for an administrative territorial entity
Q1256 Q1098820
SYSTEM
Liguria, Gênes
Q1256 Q1098820
action filter_type
action find_reverse
entity Q1449
relation P36
type Q15617994
[ANSWERS] have that administrative territory as their administrative centre
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . ?r property:P36 resource:Q1449 }
Liguria Gênes
Liguria and Gênes have that administrative territory as their administrative centre
Liguria Gênes
action filter_type
action find_reverse
entity Genoa
relation capital
type designation for an administrative territorial entity
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:capital resource:Genoa }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1256
P47
Q20667921 Q15617994
USER
How many french administrative divisions and administrative territories share border with Liguria ?
(Q1256,P47,c(Q20667921)) (Q1256,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q1256
relation P47
type Q20667921
action filter_type
action find
entity Q1256
relation P47
type Q15617994
['Q1256', 'P47', {'concept': 'Q20667921'}] ['Q1256', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { resource:Q1256 property:P47 ?i . ?i rdf:type ontology:Q20667921 } UNION { resource:Q1256 property:P47 ?i . ?i rdf:type ontology:Q15617994 } }
Liguria
action count
action union
action filter_type
action find
entity Liguria
relation shares border with
type type of french administrative division
action filter_type
action find
entity Liguria
relation shares border with
type designation for an administrative territorial entity
['Liguria', 'shares border with', {'concept': 'type of french administrative division'}] ['Liguria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { resource:Liguria property:shares_border_with ?i . ?i rdf:type ontology:type_of_french_administrative_division } UNION { resource:Liguria property:shares_border_with ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
type of french administrative division designation for an administrative territorial entity
SYSTEM
1 french administrative divisions and 4 administrative territories
Q1263 Q1216 Q15104 Q3139 Q1273
(Q1256,P47,c(Q20667921)) (Q1256,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q1256
relation P47
type Q20667921
action filter_type
action find
entity Q1256
relation P47
type Q15617994
[ANSWER]
['Q1256', 'P47', {'concept': 'Q20667921'}] ['Q1256', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { resource:Q1256 property:P47 ?i . ?i rdf:type ontology:Q20667921 } UNION { resource:Q1256 property:P47 ?i . ?i rdf:type ontology:Q15617994 } }
Emilia-Romagna Piedmont Provence-Alpes-Côte d'Azur Alpes-Maritimes Tuscany
1 french administrative divisions and 4 administrative territories
action count
action union
action filter_type
action find
entity Liguria
relation shares border with
type type of french administrative division
action filter_type
action find
entity Liguria
relation shares border with
type designation for an administrative territorial entity
['Liguria', 'shares border with', {'concept': 'type of french administrative division'}] ['Liguria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { resource:Liguria property:shares_border_with ?i . ?i rdf:type ontology:type_of_french_administrative_division } UNION { resource:Liguria property:shares_border_with ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q212
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with around the same number of administrative territories as Ukraine ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q212
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?n ) WHERE { ?c rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 . ?c property:P530 ?r } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Q212 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?n = ?z ) }
Ukraine
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Ukraine
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 ( COUNT ( ?c ) AS ?k ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?n ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?r } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Ukraine property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n = ?z ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
151
Q702 Q804 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q212
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?n ) WHERE { ?c rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 . ?c property:P530 ?r } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Q212 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?n = ?z ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium 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 Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia 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 Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
151
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Ukraine
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 ( COUNT ( ?c ) AS ?k ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?n ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?r } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Ukraine property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n = ?z ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10305701 Q6891733
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Mohammad Al-Dmeiri or are Jardim Guanabara situated in ?
OR((Q6891733,P27,c(Q15617994)), (Q10305701,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6891733
relation P27
action find
entity Q10305701
relation P17
type Q15617994
{'OR': [['Q6891733', 'P27', {'concept': 'Q15617994'}], ['Q10305701', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q6891733 property:P27 ?l } UNION { resource:Q10305701 property:P17 ?l } } }
Jardim Guanabara Mohammad Al-Dmeiri
action filter_type
action union
action find
entity Mohammad Al-Dmeiri
relation country of citizenship
action find
entity Jardim Guanabara
relation country
type designation for an administrative territorial entity
{'OR': [['Mohammad Al-Dmeiri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jardim Guanabara', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Mohammad_Al-Dmeiri property:country_of_citizenship ?l } UNION { resource:Jardim_Guanabara property:country ?l } } }
[]
designation for an administrative territorial entity
Q155 Q810
SYSTEM
Brazil, Jordan
Q155 Q810
OR((Q6891733,P27,c(Q15617994)), (Q10305701,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6891733
relation P27
action find
entity Q10305701
relation P17
type Q15617994
[ANSWERS] are the native countriesof Mohammad Al-Dmeiri or are Jardim Guanabara situated in
{'OR': [['Q6891733', 'P27', {'concept': 'Q15617994'}], ['Q10305701', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q6891733 property:P27 ?l } UNION { resource:Q10305701 property:P17 ?l } } }
Brazil Jordan
Brazil and Jordan are the native countriesof Mohammad Al-Dmeiri or are Jardim Guanabara situated in
Brazil Jordan
action filter_type
action union
action find
entity Mohammad Al-Dmeiri
relation country of citizenship
action find
entity Jardim Guanabara
relation country
type designation for an administrative territorial entity
{'OR': [['Mohammad Al-Dmeiri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jardim Guanabara', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Mohammad_Al-Dmeiri property:country_of_citizenship ?l } UNION { resource:Jardim_Guanabara property:country ?l } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q155 Q810
P30
Q2221906
USER
Which geographic locations are those administrative territories a part of ?
(Q155,P30,c(Q2221906)) (Q810,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
['Q155', 'P30', {'concept': 'Q2221906'}] ['Q810', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { ?m property:P30 ?t . ?t rdf:type ontology:Q2221906 . VALUES ( ?m ) { ( resource:Q155 ) ( resource:Q810 ) } }
Brazil Jordan
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Brazil', 'continent', {'concept': 'geographic location'}] ['Jordan', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { ?m property:continent ?t . ?t rdf:type ontology:geographic_location . VALUES ( ?m ) { ( resource:Brazil ) ( resource:Jordan ) } }
[]
geographic location
Q18 Q48
SYSTEM
South America, Asia
Q18 Q48
(Q155,P30,c(Q2221906)) (Q810,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
[ANSWERS] are those administrative territories a part of
['Q155', 'P30', {'concept': 'Q2221906'}] ['Q810', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { ?m property:P30 ?t . ?t rdf:type ontology:Q2221906 . VALUES ( ?m ) { ( resource:Q155 ) ( resource:Q810 ) } }
South America Asia
South America and Asia are those administrative territories a part of
South America Asia
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Brazil', 'continent', {'concept': 'geographic location'}] ['Jordan', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { ?m property:continent ?t . ?t rdf:type ontology:geographic_location . VALUES ( ?m ) { ( resource:Brazil ) ( resource:Jordan ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18 Q48
P30
Q34763
USER
Which peninsulas are located in South America and Asia ?
(c(Q34763),P30,Q18) (c(Q34763),P30,Q48)
action union
action filter_type
action find_reverse
entity Q18
relation P30
type Q34763
action filter_type
action find_reverse
entity Q48
relation P30
type Q34763
[{'concept': 'Q34763'}, 'P30', 'Q18'] [{'concept': 'Q34763'}, 'P30', 'Q48']
SELECT DISTINCT ?x WHERE { ?x property:P30 ?k . VALUES ( ?k ) { ( resource:Q48 ) ( resource:Q18 ) } }
South America Asia
action union
action filter_type
action find_reverse
entity South America
relation continent
type peninsula
action filter_type
action find_reverse
entity Asia
relation continent
type peninsula
[{'concept': 'peninsula'}, 'continent', 'South America'] [{'concept': 'peninsula'}, 'continent', 'Asia']
SELECT DISTINCT ?x WHERE { ?x property:continent ?k . VALUES ( ?k ) { ( resource:Asia ) ( resource:South_America ) } }
[]
peninsula
Q3127925 Q4309465 Q16533503
SYSTEM
Gamova, Mys Astaf’yeva, Aleut
Q169141 Q3127925 Q4309473 Q4309465 Q16533503 Q4309489
(c(Q34763),P30,Q18) (c(Q34763),P30,Q48)
action union
action filter_type
action find_reverse
entity Q18
relation P30
type Q34763
action filter_type
action find_reverse
entity Q48
relation P30
type Q34763
[ANSWERS] are located in South America and Asia
[{'concept': 'Q34763'}, 'P30', 'Q18'] [{'concept': 'Q34763'}, 'P30', 'Q48']
SELECT DISTINCT ?x WHERE { ?x property:P30 ?k . VALUES ( ?k ) { ( resource:Q48 ) ( resource:Q18 ) } }
Cape Froward Gamova Mys Goldobina Mys Astaf’yeva Aleut Tigrovyy
Gamova, Mys Astaf’yeva and Aleut are located in South America and Asia
Gamova Mys Astaf’yeva Aleut
action union
action filter_type
action find_reverse
entity South America
relation continent
type peninsula
action filter_type
action find_reverse
entity Asia
relation continent
type peninsula
[{'concept': 'peninsula'}, 'continent', 'South America'] [{'concept': 'peninsula'}, 'continent', 'Asia']
SELECT DISTINCT ?x WHERE { ?x property:continent ?k . VALUES ( ?k ) { ( resource:Asia ) ( resource:South_America ) } }
[]