Simple Question (Direct)
Simple Question
Q1298526
P937
Q56061
USER
Which is the work location of Heinz Allenspach ?
(Q1298526,P937,c(Q56061))
action filter_type
action find
entity Q1298526
relation P937
type Q56061
['Q1298526', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1298526 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Heinz Allenspach
action filter_type
action find
entity Heinz Allenspach
relation work location
type administrative territorial entity
['Heinz Allenspach', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Heinz_Allenspach property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q70
SYSTEM
Bern
Q70
(Q1298526,P937,c(Q56061))
action filter_type
action find
entity Q1298526
relation P937
type Q56061
[ANSWER] is the work location of Heinz Allenspach
['Q1298526', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1298526 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Bern
Bern is the work location of Heinz Allenspach
Bern
action filter_type
action find
entity Heinz Allenspach
relation work location
type administrative territorial entity
['Heinz Allenspach', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Heinz_Allenspach property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1298526
P27
Q15617994
USER
Which administrative territory is Heinz Allenspach a civilian of ?
(Q1298526,P27,c(Q15617994))
action filter_type
action find
entity Q1298526
relation P27
type Q15617994
['Q1298526', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q1298526 property:P27 ?l }
Heinz Allenspach
action filter_type
action find
entity Heinz Allenspach
relation country of citizenship
type designation for an administrative territorial entity
['Heinz Allenspach', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Heinz_Allenspach property:country_of_citizenship ?l }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q1298526,P27,c(Q15617994))
action filter_type
action find
entity Q1298526
relation P27
type Q15617994
[ANSWER] is Heinz Allenspach a civilian of
['Q1298526', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q1298526 property:P27 ?l }
Switzerland
Switzerland is Heinz Allenspach a civilian of
Switzerland
action filter_type
action find
entity Heinz Allenspach
relation country of citizenship
type designation for an administrative territorial entity
['Heinz Allenspach', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Heinz_Allenspach property:country_of_citizenship ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1298526
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
(Q39,P39,c(Q12737077))
action filter_type
action find
entity Q1298526
relation P39
type Q12737077
['Q39', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1298526 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Heinz Allenspach
action filter_type
action find
entity Heinz Allenspach
relation position held
type occupation
['Switzerland', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Heinz_Allenspach property:position_held ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q18510612
SYSTEM
Member of the Swiss National Council
Q18510612
(Q39,P39,c(Q12737077))
action filter_type
action find
entity Q1298526
relation P39
type Q12737077
[ANSWER] was a position for which that person was appointed
['Q39', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1298526 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Member of the Swiss National Council
Member of the Swiss National Council was a position for which that person was appointed
Member of the Swiss National Council
action filter_type
action find
entity Heinz Allenspach
relation position held
type occupation
['Switzerland', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Heinz_Allenspach property:position_held ?z . ?z rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q506358 Q1298526
P39
Q12737077
USER
Or Andrew Moore?
OR((Q1298526,P39,c(Q12737077)), (Q506358,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q1298526
relation P39
action find
entity Q506358
relation P39
type Q12737077
{'OR': [['Q1298526', 'P39', {'concept': 'Q12737077'}], ['Q506358', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1298526 property:P39 ?x } UNION { resource:Q506358 property:P39 ?x } } . ?x rdf:type ontology:Q12737077 }
Andrew Moore Heinz Allenspach
action filter_type
action union
action find
entity Heinz Allenspach
relation position held
action find
entity Andrew Moore
relation position held
type occupation
{'OR': [['Heinz Allenspach', 'position held', {'concept': 'occupation'}], ['Andrew Moore', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Heinz_Allenspach property:position_held ?x } UNION { resource:Andrew_Moore property:position_held ?x } } . ?x rdf:type ontology:occupation }
[]
occupation
Q13218630 Q13217683 Q18694588 Q18510612 Q18604340
SYSTEM
United States representative, United States Senator, Member of the United States House of Representatives from Virginia, Member of the Swiss National Council, member of the State Senate of Virginia
Q13218630 Q13217683 Q18694588 Q18510612 Q18604340
OR((Q1298526,P39,c(Q12737077)), (Q506358,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q1298526
relation P39
action find
entity Q506358
relation P39
type Q12737077
[ANSWERS]
{'OR': [['Q1298526', 'P39', {'concept': 'Q12737077'}], ['Q506358', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1298526 property:P39 ?x } UNION { resource:Q506358 property:P39 ?x } } . ?x rdf:type ontology:Q12737077 }
United States representative United States Senator Member of the United States House of Representatives from Virginia Member of the Swiss National Council member of the State Senate of Virginia
United States representative United States Senator Member of the United States House of Representatives from Virginia Member of the Swiss National Council member of the State Senate of Virginia
action filter_type
action union
action find
entity Heinz Allenspach
relation position held
action find
entity Andrew Moore
relation position held
type occupation
{'OR': [['Heinz Allenspach', 'position held', {'concept': 'occupation'}], ['Andrew Moore', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Heinz_Allenspach property:position_held ?x } UNION { resource:Andrew_Moore property:position_held ?x } } . ?x rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1114132 Q506358
P27
Q15617994
USER
Which administrative territories are the native countriesof Andrew Moore or Derek Toletti ?
OR((Q506358,P27,c(Q15617994)), (Q1114132,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q506358
relation P27
action find
entity Q1114132
relation P27
type Q15617994
{'OR': [['Q506358', 'P27', {'concept': 'Q15617994'}], ['Q1114132', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1114132 property:P27 ?i } UNION { resource:Q506358 property:P27 ?i } } . ?i rdf:type ontology:Q15617994 }
Derek Toletti Andrew Moore
action filter_type
action union
action find
entity Andrew Moore
relation country of citizenship
action find
entity Derek Toletti
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Andrew Moore', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Derek Toletti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Derek_Toletti property:country_of_citizenship ?i } UNION { resource:Andrew_Moore property:country_of_citizenship ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q38
SYSTEM
United States of America, Italy
Q30 Q38
OR((Q506358,P27,c(Q15617994)), (Q1114132,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q506358
relation P27
action find
entity Q1114132
relation P27
type Q15617994
[ANSWERS] are the native countriesof Andrew Moore or Derek Toletti
{'OR': [['Q506358', 'P27', {'concept': 'Q15617994'}], ['Q1114132', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1114132 property:P27 ?i } UNION { resource:Q506358 property:P27 ?i } } . ?i rdf:type ontology:Q15617994 }
United States of America Italy
United States of America and Italy are the native countriesof Andrew Moore or Derek Toletti
United States of America Italy
action filter_type
action union
action find
entity Andrew Moore
relation country of citizenship
action find
entity Derek Toletti
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Andrew Moore', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Derek Toletti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Derek_Toletti property:country_of_citizenship ?i } UNION { resource:Andrew_Moore property:country_of_citizenship ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1168826
P495
Q838948
USER
Did The House of 1,000 Dolls originate in those administrative territories ?
(Q1168826,P495,Q30) (Q1168826,P495,Q38)
action is_in
entity prev_answer
action find
entity Q1168826
relation P495
['Q1168826', 'P495', 'Q30'] ['Q1168826', 'P495', 'Q38']
ASK WHERE { resource:Q1168826 property:P495 ?n . VALUES ( ?n ) { ( resource:Q30 ) ( resource:Q38 ) } }
The House of 1,000 Dolls
action is_in
entity prev_answer
action find
entity The House of 1,000 Dolls
relation country of origin
['The House of 1,000 Dolls', 'country of origin', 'United States of America'] ['The House of 1,000 Dolls', 'country of origin', 'Italy']
ASK WHERE { resource:The_House_of_1,000_Dolls property:country_of_origin ?n . VALUES ( ?n ) { ( resource:United_States_of_America ) ( resource:Italy ) } }
[]
work of art
SYSTEM
YES
(Q1168826,P495,Q30) (Q1168826,P495,Q38)
action is_in
entity prev_answer
action find
entity Q1168826
relation P495
[ANSWER]
['Q1168826', 'P495', 'Q30'] ['Q1168826', 'P495', 'Q38']
ASK WHERE { resource:Q1168826 property:P495 ?n . VALUES ( ?n ) { ( resource:Q30 ) ( resource:Q38 ) } }
Yes
action is_in
entity prev_answer
action find
entity The House of 1,000 Dolls
relation country of origin
['The House of 1,000 Dolls', 'country of origin', 'United States of America'] ['The House of 1,000 Dolls', 'country of origin', 'Italy']
ASK WHERE { resource:The_House_of_1,000_Dolls property:country_of_origin ?n . VALUES ( ?n ) { ( resource:United_States_of_America ) ( resource:Italy ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1114132
P106
Q12737077
USER
What does Derek Toletti do for a living ?
(Q1114132,P106,c(Q12737077))
action filter_type
action find
entity Q1114132
relation P106
type Q12737077
['Q1114132', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q1114132 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Derek Toletti
action filter_type
action find
entity Derek Toletti
relation occupation
type occupation
['Derek Toletti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Derek_Toletti property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q1114132,P106,c(Q12737077))
action filter_type
action find
entity Q1114132
relation P106
type Q12737077
Derek Toletti does for a living an [ANSWER]
['Q1114132', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q1114132 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
ice hockey player
Derek Toletti does for a living an ice hockey player
ice hockey player
action filter_type
action find
entity Derek Toletti
relation occupation
type occupation
['Derek Toletti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Derek_Toletti property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P530
Q15617994
USER
Which administrative territories have ambassadorial relations with Italy ?
(c(Q15617994),P530,Q38)
action filter_type
action find
entity Q38
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q38']
SELECT DISTINCT ?b WHERE { resource:Q38 property:P530 ?b . ?b rdf:type ontology:Q15617994 }
Italy
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Italy']
SELECT DISTINCT ?b WHERE { resource:Italy property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q805 Q801 Q41 Q843 Q184 Q423 Q822 Q419 Q668 Q228 Q414 Q227 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q17 Q229 Q347 Q33 Q32 Q31 Q30 Q37 Q36 Q79 Q34 Q928 Q39 Q733 Q739 Q142 Q948 Q191 Q1016 Q189 Q28 Q298 Q211 Q252 Q114 Q399 Q403 Q159 Q233 Q258 Q43 Q212 Q213 Q236 Q45 Q230 Q217 Q214 Q215 Q155 Q218 Q219 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q869 Q29 Q884 Q881 Q77
(c(Q15617994),P530,Q38)
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWERS] have ambassadorial relations with Italy
[{'concept': 'Q15617994'}, 'P530', 'Q38']
SELECT DISTINCT ?b WHERE { resource:Q38 property:P530 ?b . ?b rdf:type ontology:Q15617994 }
Yemen Israel Greece Pakistan Belarus North Korea Lebanon Peru India Andorra Argentina Azerbaijan Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Japan Cyprus Liechtenstein Finland Luxembourg Belgium United States of America Lithuania Poland Egypt Sweden Philippines Switzerland Paraguay Colombia France Tunisia Estonia Libya Iceland Hungary Chile Latvia Indonesia Kenya Armenia Serbia Russia Malta South Africa Turkey Ukraine Czech Republic Montenegro Portugal Georgia Republic of Moldova Slovakia Slovenia Brazil Romania Bulgaria San Marino Iraq Iran Norway Somalia Afghanistan Ireland Thailand Spain South Korea Vietnam Uruguay
Brazil, United States of America and Georgia have ambassadorial relations with Italy
Brazil United States of America Georgia
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Italy']
SELECT DISTINCT ?b WHERE { resource:Italy property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q30 Q230
P610
Q14524493
USER
Which are the highest peak of Brazil, United States of America and Georgia ?
(Q155,P610,c(Q14524493)) (Q30,P610,c(Q14524493)) (Q230,P610,c(Q14524493))
action union
action filter_type
action find
entity Q155
relation P610
type Q14524493
action filter_type
action find
entity Q30
relation P610
type Q14524493
action filter_type
action find
entity Q230
relation P610
type Q14524493
['Q155', 'P610', {'concept': 'Q14524493'}] ['Q30', 'P610', {'concept': 'Q14524493'}] ['Q230', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?u WHERE { ?b property:P610 ?u . VALUES ( ?b ) { ( resource:Q155 ) ( resource:Q30 ) } }
Brazil United States of America Georgia
action union
action filter_type
action find
entity Brazil
relation highest point
type terrain
action filter_type
action find
entity United States of America
relation highest point
type terrain
action filter_type
action find
entity Georgia
relation highest point
type terrain
['Brazil', 'highest point', {'concept': 'terrain'}] ['United States of America', 'highest point', {'concept': 'terrain'}] ['Georgia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?u WHERE { ?b property:highest_point ?u . VALUES ( ?b ) { ( resource:Brazil ) ( resource:United_States_of_America ) } }
[]
terrain
Q739484 Q130018 Q217457
SYSTEM
Pico da Neblina, Denali, Shkhara
Q739484 Q130018 Q217457
(Q155,P610,c(Q14524493)) (Q30,P610,c(Q14524493)) (Q230,P610,c(Q14524493))
action union
action filter_type
action find
entity Q155
relation P610
type Q14524493
action filter_type
action find
entity Q30
relation P610
type Q14524493
action filter_type
action find
entity Q230
relation P610
type Q14524493
[ANSWERS] are the highest peak of Brazil, United States of America and Georgia
['Q155', 'P610', {'concept': 'Q14524493'}] ['Q30', 'P610', {'concept': 'Q14524493'}] ['Q230', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?u WHERE { ?b property:P610 ?u . VALUES ( ?b ) { ( resource:Q155 ) ( resource:Q30 ) } }
Pico da Neblina Denali Shkhara
Pico da Neblina, Denali and Shkhara are the highest peak of Brazil, United States of America and Georgia
Pico da Neblina Denali Shkhara
action union
action filter_type
action find
entity Brazil
relation highest point
type terrain
action filter_type
action find
entity United States of America
relation highest point
type terrain
action filter_type
action find
entity Georgia
relation highest point
type terrain
['Brazil', 'highest point', {'concept': 'terrain'}] ['United States of America', 'highest point', {'concept': 'terrain'}] ['Georgia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?u WHERE { ?b property:highest_point ?u . VALUES ( ?b ) { ( resource:Brazil ) ( resource:United_States_of_America ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q739484 Q130018 Q217457
P30
Q2221906
USER
Where are those terrains located ?
(Q739484,P30,c(Q2221906)) (Q130018,P30,c(Q2221906)) (Q217457,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
['Q739484', 'P30', {'concept': 'Q2221906'}] ['Q130018', 'P30', {'concept': 'Q2221906'}] ['Q217457', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?t ) { ( resource:Q739484 ) ( resource:Q130018 ) ( resource:Q217457 ) } . ?t property:P30 ?i . ?i rdf:type ontology:Q2221906 }
Pico da Neblina Denali Shkhara
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Pico da Neblina', 'continent', {'concept': 'geographic location'}] ['Denali', 'continent', {'concept': 'geographic location'}] ['Shkhara', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?t ) { ( resource:Pico_da_Neblina ) ( resource:Denali ) ( resource:Shkhara ) } . ?t property:continent ?i . ?i rdf:type ontology:geographic_location }
[]
geographic location
Q48 Q46 Q18
SYSTEM
Asia, Europe, South America
Q18 Q828 Q828 Q49 Q46 Q48
(Q739484,P30,c(Q2221906)) (Q130018,P30,c(Q2221906)) (Q217457,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
Those terrains are located in [ANSWERS]
['Q739484', 'P30', {'concept': 'Q2221906'}] ['Q130018', 'P30', {'concept': 'Q2221906'}] ['Q217457', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?t ) { ( resource:Q739484 ) ( resource:Q130018 ) ( resource:Q217457 ) } . ?t property:P30 ?i . ?i rdf:type ontology:Q2221906 }
South America Americas Americas North America Europe Asia
Those terrains are located in Asia, Europe and South America
Asia Europe South America
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Pico da Neblina', 'continent', {'concept': 'geographic location'}] ['Denali', 'continent', {'concept': 'geographic location'}] ['Shkhara', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?t ) { ( resource:Pico_da_Neblina ) ( resource:Denali ) ( resource:Shkhara ) } . ?t property:continent ?i . ?i rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q48 Q46 Q18
P361
Q2221906
USER
Which geographic locations are Asia, Europe and South America a part of ?
(Q48,P361,c(Q2221906)) (Q46,P361,c(Q2221906)) (Q18,P361,c(Q2221906))
action union
action filter_type
action find
entity Q48
relation P361
type Q2221906
action filter_type
action find
entity Q46
relation P361
type Q2221906
action filter_type
action find
entity Q18
relation P361
type Q2221906
['Q48', 'P361', {'concept': 'Q2221906'}] ['Q46', 'P361', {'concept': 'Q2221906'}] ['Q18', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { { resource:Q48 property:P361 ?t . ?t rdf:type ontology:Q2221906 } UNION { resource:Q46 property:P361 ?t . ?t rdf:type ontology:Q2221906 } }
Asia Europe South America
action union
action filter_type
action find
entity Asia
relation part of
type geographic location
action filter_type
action find
entity Europe
relation part of
type geographic location
action filter_type
action find
entity South America
relation part of
type geographic location
['Asia', 'part of', {'concept': 'geographic location'}] ['Europe', 'part of', {'concept': 'geographic location'}] ['South America', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { { resource:Asia property:part_of ?t . ?t rdf:type ontology:geographic_location } UNION { resource:Europe property:part_of ?t . ?t rdf:type ontology:geographic_location } }
[]
geographic location
Q828 Q2035462 Q5401
SYSTEM
Americas, Ostfeste, Eurasia
Q2035462 Q5401 Q5401 Q828
(Q48,P361,c(Q2221906)) (Q46,P361,c(Q2221906)) (Q18,P361,c(Q2221906))
action union
action filter_type
action find
entity Q48
relation P361
type Q2221906
action filter_type
action find
entity Q46
relation P361
type Q2221906
action filter_type
action find
entity Q18
relation P361
type Q2221906
The [ANSWERS] are Asia, Europe and South America a part of
['Q48', 'P361', {'concept': 'Q2221906'}] ['Q46', 'P361', {'concept': 'Q2221906'}] ['Q18', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { { resource:Q48 property:P361 ?t . ?t rdf:type ontology:Q2221906 } UNION { resource:Q46 property:P361 ?t . ?t rdf:type ontology:Q2221906 } }
Ostfeste Eurasia Eurasia Americas
The Americas, Ostfeste and Eurasia are Asia, Europe and South America a part of
Americas Ostfeste Eurasia
action union
action filter_type
action find
entity Asia
relation part of
type geographic location
action filter_type
action find
entity Europe
relation part of
type geographic location
action filter_type
action find
entity South America
relation part of
type geographic location
['Asia', 'part of', {'concept': 'geographic location'}] ['Europe', 'part of', {'concept': 'geographic location'}] ['South America', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { { resource:Asia property:part_of ?t . ?t rdf:type ontology:geographic_location } UNION { resource:Europe property:part_of ?t . ?t rdf:type ontology:geographic_location } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q828 Q2035462 Q5401
P361
Q2221906
USER
Which geographic locations are parts of Americas, Ostfeste and Eurasia ?
(c(Q2221906),P361,Q828) (c(Q2221906),P361,Q2035462) (c(Q2221906),P361,Q5401)
action union
action filter_type
action find_reverse
entity Q828
relation P361
type Q2221906
action filter_type
action find_reverse
entity Q2035462
relation P361
type Q2221906
action filter_type
action find_reverse
entity Q5401
relation P361
type Q2221906
[{'concept': 'Q2221906'}, 'P361', 'Q828'] [{'concept': 'Q2221906'}, 'P361', 'Q2035462'] [{'concept': 'Q2221906'}, 'P361', 'Q5401']
SELECT DISTINCT ?r WHERE { { ?r property:P361 resource:Q828 . ?r rdf:type ontology:Q2221906 } UNION { ?r rdf:type ontology:Q2221906 . ?r property:P361 resource:Q2035462 } }
Americas Ostfeste Eurasia
action union
action filter_type
action find_reverse
entity Americas
relation part of
type geographic location
action filter_type
action find_reverse
entity Ostfeste
relation part of
type geographic location
action filter_type
action find_reverse
entity Eurasia
relation part of
type geographic location
[{'concept': 'geographic location'}, 'part of', 'Americas'] [{'concept': 'geographic location'}, 'part of', 'Ostfeste'] [{'concept': 'geographic location'}, 'part of', 'Eurasia']
SELECT DISTINCT ?r WHERE { { ?r property:part_of resource:Americas . ?r rdf:type ontology:geographic_location } UNION { ?r rdf:type ontology:geographic_location . ?r property:part_of resource:Ostfeste } }
[]
geographic location
Q48 Q15 Q48
SYSTEM
Africa for 2nd, Asia for 1st, 3rd
Q18 Q49 Q48 Q3960 Q15 Q46 Q48
(c(Q2221906),P361,Q828) (c(Q2221906),P361,Q2035462) (c(Q2221906),P361,Q5401)
action union
action filter_type
action find_reverse
entity Q828
relation P361
type Q2221906
action filter_type
action find_reverse
entity Q2035462
relation P361
type Q2221906
action filter_type
action find_reverse
entity Q5401
relation P361
type Q2221906
[ANSWERS]
[{'concept': 'Q2221906'}, 'P361', 'Q828'] [{'concept': 'Q2221906'}, 'P361', 'Q2035462'] [{'concept': 'Q2221906'}, 'P361', 'Q5401']
SELECT DISTINCT ?r WHERE { { ?r property:P361 resource:Q828 . ?r rdf:type ontology:Q2221906 } UNION { ?r rdf:type ontology:Q2221906 . ?r property:P361 resource:Q2035462 } }
South America North America Asia Australia Africa Europe Asia
Asia, Africa and Asia are parts of Americas, Ostfeste and Eurasia
Asia Africa Asia
action union
action filter_type
action find_reverse
entity Americas
relation part of
type geographic location
action filter_type
action find_reverse
entity Ostfeste
relation part of
type geographic location
action filter_type
action find_reverse
entity Eurasia
relation part of
type geographic location
[{'concept': 'geographic location'}, 'part of', 'Americas'] [{'concept': 'geographic location'}, 'part of', 'Ostfeste'] [{'concept': 'geographic location'}, 'part of', 'Eurasia']
SELECT DISTINCT ?r WHERE { { ?r property:part_of resource:Americas . ?r rdf:type ontology:geographic_location } UNION { ?r rdf:type ontology:geographic_location . ?r property:part_of resource:Ostfeste } }
[]