Simple Question (Direct)
Simple Question
Q5551763
P20
Q515
USER
Which city is the place of death of Mauricio Rosenbaum ?
(Q5551763,P20,c(Q515))
action filter_type
action find
entity Q5551763
relation P20
type Q515
['Q5551763', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { resource:Q5551763 property:P20 ?y . ?y rdf:type ontology:Q515 }
Mauricio Rosenbaum
action filter_type
action find
entity Mauricio Rosenbaum
relation place of death
type city
['Mauricio Rosenbaum', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { resource:Mauricio_Rosenbaum property:place_of_death ?y . ?y rdf:type ontology:city }
[]
city
Q52607
SYSTEM
Mar del Plata
Q52607
(Q5551763,P20,c(Q515))
action filter_type
action find
entity Q5551763
relation P20
type Q515
[ANSWER] is the place of death of Mauricio Rosenbaum
['Q5551763', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { resource:Q5551763 property:P20 ?y . ?y rdf:type ontology:Q515 }
Mar del Plata
Mar del Plata is the place of death of Mauricio Rosenbaum
Mar del Plata
action filter_type
action find
entity Mauricio Rosenbaum
relation place of death
type city
['Mauricio Rosenbaum', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { resource:Mauricio_Rosenbaum property:place_of_death ?y . ?y rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q52607
P1376
Q1048835
USER
What has that city as its capital ?
(Q52607,P1376,c(Q1048835))
action filter_type
action find
entity Q52607
relation P1376
type Q1048835
['Q52607', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . resource:Q52607 property:P1376 ?v }
Mar del Plata
action filter_type
action find
entity Mar del Plata
relation capital of
type political territorial entity
['Mar del Plata', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Mar_del_Plata property:capital_of ?v }
[]
political territorial entity
Q671742
SYSTEM
General Pueyrredón
Q671742
(Q52607,P1376,c(Q1048835))
action filter_type
action find
entity Q52607
relation P1376
type Q1048835
[ANSWER] has that city as its capital
['Q52607', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . resource:Q52607 property:P1376 ?v }
General Pueyrredón
General Pueyrredón has that city as its capital
General Pueyrredón
action filter_type
action find
entity Mar del Plata
relation capital of
type political territorial entity
['Mar del Plata', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Mar_del_Plata property:capital_of ?v }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1844
Q1048835
USER
And what about Vaduz?
(Q1844,P1376,c(Q1048835))
action filter_type
action find
entity Q1844
relation P1376
type Q1048835
['Q1844', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q1844 property:P1376 ?q . ?q rdf:type ontology:Q1048835 }
Vaduz
action filter_type
action find
entity Vaduz
relation capital of
type political territorial entity
['Vaduz', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Vaduz property:capital_of ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q49655
SYSTEM
Schellenberg
Q49655
(Q1844,P1376,c(Q1048835))
action filter_type
action find
entity Q1844
relation P1376
type Q1048835
[ANSWER]
['Q1844', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q1844 property:P1376 ?q . ?q rdf:type ontology:Q1048835 }
Schellenberg
Schellenberg
action filter_type
action find
entity Vaduz
relation capital of
type political territorial entity
['Vaduz', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Vaduz property:capital_of ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q953906 Q52607
P19 P190
Q56061
USER
Which administrative territories are twin towns of Mar del Plata or were Lachie Stewart born in ?
OR((Q52607,P190,c(Q56061)), (Q953906,P19,c(Q56061)))
action filter_type
action union
action find
entity Q52607
relation P190
action find
entity Q953906
relation P19
type Q56061
{'OR': [['Q52607', 'P190', {'concept': 'Q56061'}], ['Q953906', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q52607 property:P190 ?h } UNION { resource:Q953906 property:P19 ?h } } . ?h rdf:type ontology:Q56061 }
Lachie Stewart Mar del Plata
action filter_type
action union
action find
entity Mar del Plata
relation sister city
action find
entity Lachie Stewart
relation place of birth
type administrative territorial entity
{'OR': [['Mar del Plata', 'sister city', {'concept': 'administrative territorial entity'}], ['Lachie Stewart', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Mar_del_Plata property:sister_city ?h } UNION { resource:Lachie_Stewart property:place_of_birth ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q165972 Q1240659 Q184345 Q3519 Q8757 Q8826 Q1563
SYSTEM
Fort Lauderdale, Alexandria, Viña del Mar, Bari, A Coruña, Palma, Havana
Q165972 Q1240659 Q184345 Q3519 Q8757 Q8826 Q1563
OR((Q52607,P190,c(Q56061)), (Q953906,P19,c(Q56061)))
action filter_type
action union
action find
entity Q52607
relation P190
action find
entity Q953906
relation P19
type Q56061
[ANSWERS] are twin towns of Mar del Plata or were Lachie Stewart born in
{'OR': [['Q52607', 'P190', {'concept': 'Q56061'}], ['Q953906', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q52607 property:P190 ?h } UNION { resource:Q953906 property:P19 ?h } } . ?h rdf:type ontology:Q56061 }
Fort Lauderdale Alexandria Viña del Mar Bari A Coruña Palma Havana
Fort Lauderdale, Alexandria, Viña del Mar, Bari, A Coruña, Palma and Havana are twin towns of Mar del Plata or were Lachie Stewart born in
Fort Lauderdale Alexandria Viña del Mar Bari A Coruña Palma Havana
action filter_type
action union
action find
entity Mar del Plata
relation sister city
action find
entity Lachie Stewart
relation place of birth
type administrative territorial entity
{'OR': [['Mar del Plata', 'sister city', {'concept': 'administrative territorial entity'}], ['Lachie Stewart', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Mar_del_Plata property:sister_city ?h } UNION { resource:Lachie_Stewart property:place_of_birth ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q165972 Q1240659 Q184345 Q3519 Q8757 Q8826 Q1563
P17
Q15617994
USER
Which administrative territories are those administrative territories a part of ?
(Q165972,P17,c(Q15617994)) (Q1240659,P17,c(Q15617994)) (Q184345,P17,c(Q15617994)) (Q3519,P17,c(Q15617994)) (Q8757,P17,c(Q15617994)) (Q8826,P17,c(Q15617994)) (Q1563,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q165972', 'P17', {'concept': 'Q15617994'}] ['Q1240659', 'P17', {'concept': 'Q15617994'}] ['Q184345', 'P17', {'concept': 'Q15617994'}] ['Q3519', 'P17', {'concept': 'Q15617994'}] ['Q8757', 'P17', {'concept': 'Q15617994'}] ['Q8826', 'P17', {'concept': 'Q15617994'}] ['Q1563', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?r property:P17 ?t . VALUES ( ?r ) { ( resource:Q165972 ) ( resource:Q1240659 ) ( resource:Q184345 ) } . ?t rdf:type ontology:Q15617994 }
Fort Lauderdale Alexandria Viña del Mar Bari A Coruña Palma Havana
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Fort Lauderdale', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Alexandria', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Viña del Mar', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bari', 'country', {'concept': 'designation for an administrative territorial entity'}] ['A Coruña', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Palma', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Havana', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?r property:country ?t . VALUES ( ?r ) { ( resource:Fort_Lauderdale ) ( resource:Alexandria ) ( resource:Viña_del_Mar ) } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q30 Q145
SYSTEM
Italy, United States of America, United Kingdom
Q30 Q145 Q298 Q38 Q29 Q29 Q241
(Q165972,P17,c(Q15617994)) (Q1240659,P17,c(Q15617994)) (Q184345,P17,c(Q15617994)) (Q3519,P17,c(Q15617994)) (Q8757,P17,c(Q15617994)) (Q8826,P17,c(Q15617994)) (Q1563,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS] are those administrative territories a part of
['Q165972', 'P17', {'concept': 'Q15617994'}] ['Q1240659', 'P17', {'concept': 'Q15617994'}] ['Q184345', 'P17', {'concept': 'Q15617994'}] ['Q3519', 'P17', {'concept': 'Q15617994'}] ['Q8757', 'P17', {'concept': 'Q15617994'}] ['Q8826', 'P17', {'concept': 'Q15617994'}] ['Q1563', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?r property:P17 ?t . VALUES ( ?r ) { ( resource:Q165972 ) ( resource:Q1240659 ) ( resource:Q184345 ) } . ?t rdf:type ontology:Q15617994 }
United States of America United Kingdom Chile Italy Spain Spain Cuba
Italy, United States of America and United Kingdom are those administrative territories a part of
Italy United States of America United Kingdom
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Fort Lauderdale', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Alexandria', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Viña del Mar', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bari', 'country', {'concept': 'designation for an administrative territorial entity'}] ['A Coruña', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Palma', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Havana', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?r property:country ?t . VALUES ( ?r ) { ( resource:Fort_Lauderdale ) ( resource:Alexandria ) ( resource:Viña_del_Mar ) } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q52607
P47
Q1048835
USER
Which political territory is bordered by Mar del Plata ?
(Q52607,P47,c(Q1048835))
action filter_type
action find
entity Q52607
relation P47
type Q1048835
['Q52607', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q52607 property:P47 ?h . ?h rdf:type ontology:Q1048835 }
Mar del Plata
action filter_type
action find
entity Mar del Plata
relation shares border with
type political territorial entity
['Mar del Plata', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Mar_del_Plata property:shares_border_with ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1827027
SYSTEM
Mar Chiquita Partido
Q1827027
(Q52607,P47,c(Q1048835))
action filter_type
action find
entity Q52607
relation P47
type Q1048835
[ANSWER] is bordered by Mar del Plata
['Q52607', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q52607 property:P47 ?h . ?h rdf:type ontology:Q1048835 }
Mar Chiquita Partido
Mar Chiquita Partido is bordered by Mar del Plata
Mar Chiquita Partido
action filter_type
action find
entity Mar del Plata
relation shares border with
type political territorial entity
['Mar del Plata', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Mar_del_Plata property:shares_border_with ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15429
Q1048835
USER
And how about Martorelles?
(Q15429,P47,c(Q1048835))
action filter_type
action find
entity Q15429
relation P47
type Q1048835
['Q15429', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q15429 property:P47 ?y . ?y rdf:type ontology:Q1048835 }
Martorelles
action filter_type
action find
entity Martorelles
relation shares border with
type political territorial entity
['Martorelles', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Martorelles property:shares_border_with ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q15430 Q15445 Q15433
SYSTEM
Mollet del Vallès, Sant Fost de Campsentelles, Montornès del Vallès
Q15433 Q15445 Q15431 Q15455 Q15430
(Q15429,P47,c(Q1048835))
action filter_type
action find
entity Q15429
relation P47
type Q1048835
[ANSWERS]
['Q15429', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q15429 property:P47 ?y . ?y rdf:type ontology:Q1048835 }
Montornès del Vallès Sant Fost de Campsentelles Montmeló Santa Maria de Martorelles Mollet del Vallès
Mollet del Vallès Sant Fost de Campsentelles Montornès del Vallès
action filter_type
action find
entity Martorelles
relation shares border with
type political territorial entity
['Martorelles', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Martorelles property:shares_border_with ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q15430 Q15445 Q15433
P47
Q1048835
USER
Which political territories share border with those ones ?
(c(Q1048835),P47,Q15430) (c(Q1048835),P47,Q15445) (c(Q1048835),P47,Q15433)
action filter_type
action find
entity prev_answer
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q15430'] [{'concept': 'Q1048835'}, 'P47', 'Q15445'] [{'concept': 'Q1048835'}, 'P47', 'Q15433']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . ?u property:P47 ?w . VALUES ( ?u ) { ( resource:Q15433 ) ( resource:Q15445 ) ( resource:Q15431 ) } }
Mollet del Vallès Sant Fost de Campsentelles Montornès del Vallès
action filter_type
action find
entity prev_answer
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Mollet del Vallès'] [{'concept': 'political territorial entity'}, 'shares border with', 'Sant Fost de Campsentelles'] [{'concept': 'political territorial entity'}, 'shares border with', 'Montornès del Vallès']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . ?u property:shares_border_with ?w . VALUES ( ?u ) { ( resource:Montornès_del_Vallès ) ( resource:Sant_Fost_de_Campsentelles ) ( resource:Montmeló ) } }
[]
political territorial entity
Q13927 Q13927 Q15430
SYSTEM
Montcada i Reixac for 1st, 2nd, Mollet del Vallès for 3rd
Q13926 Q13927 Q13941 Q15445 Q15431 Q15437 Q15429 Q15428 Q15422 Q13927 Q15430 Q15429 Q15422 Q15455 Q12026 Q15463 Q15460 Q15431 Q15429 Q15455
(c(Q1048835),P47,Q15430) (c(Q1048835),P47,Q15445) (c(Q1048835),P47,Q15433)
action filter_type
action find
entity prev_answer
relation P47
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P47', 'Q15430'] [{'concept': 'Q1048835'}, 'P47', 'Q15445'] [{'concept': 'Q1048835'}, 'P47', 'Q15433']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . ?u property:P47 ?w . VALUES ( ?u ) { ( resource:Q15433 ) ( resource:Q15445 ) ( resource:Q15431 ) } }
Palau-solità i Plegamans Montcada i Reixac Santa Perpètua de Mogoda Sant Fost de Campsentelles Montmeló Parets del Vallès Martorelles Lliçà de Vall La Llagosta Montcada i Reixac Mollet del Vallès Martorelles La Llagosta Santa Maria de Martorelles Tiana Vilanova del Vallès Vallromanes Montmeló Martorelles Santa Maria de Martorelles
Montcada i Reixac, Montcada i Reixac and Mollet del Vallès share border with those ones
Montcada i Reixac Montcada i Reixac Mollet del Vallès
action filter_type
action find
entity prev_answer
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Mollet del Vallès'] [{'concept': 'political territorial entity'}, 'shares border with', 'Sant Fost de Campsentelles'] [{'concept': 'political territorial entity'}, 'shares border with', 'Montornès del Vallès']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . ?u property:shares_border_with ?w . VALUES ( ?u ) { ( resource:Montornès_del_Vallès ) ( resource:Sant_Fost_de_Campsentelles ) ( resource:Montmeló ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13927
P1001
Q12737077
USER
Which occupation has jurisdiction over that political territory ?
(c(Q12737077),P1001,Q13927)
action filter_type
action find_reverse
entity Q13927
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q13927']
SELECT DISTINCT ?c WHERE { ?c property:P1001 resource:Q13927 . ?c rdf:type ontology:Q12737077 }
Montcada i Reixac
action filter_type
action find_reverse
entity Montcada i Reixac
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Montcada i Reixac']
SELECT DISTINCT ?c WHERE { ?c property:applies_to_jurisdiction resource:Montcada_i_Reixac . ?c rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q13927
SYSTEM
Did you mean Montcada i Reixac ?
Q13927 Q13927 Q15430
(c(Q12737077),P1001,Q13927) (c(Q12737077),P1001,Q13927) (c(Q12737077),P1001,Q15430)
[ANSWER]
[{'concept': 'Q12737077'}, 'P1001', 'Q13927'] [{'concept': 'Q12737077'}, 'P1001', 'Q13927'] [{'concept': 'Q12737077'}, 'P1001', 'Q15430']
SELECT DISTINCT ?c WHERE { ?c property:P1001 resource:Q13927 . ?c rdf:type ontology:Q12737077 }
Montcada i Reixac Montcada i Reixac Mollet del Vallès
Did you mean Montcada i Reixac ?
Montcada i Reixac
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Montcada i Reixac'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Montcada i Reixac'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Mollet del Vallès']
SELECT DISTINCT ?c WHERE { ?c property:applies_to_jurisdiction resource:Montcada_i_Reixac . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q12737077),P1001,Q13927)
[{'concept': 'Q12737077'}, 'P1001', 'Q13927']
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Montcada i Reixac']
[]
Q26691178
SYSTEM
mayor of Moncada y Reixach
Q26691178
(c(Q12737077),P1001,Q13927)
action filter_type
action find_reverse
entity Q13927
relation P1001
type Q12737077
The [ANSWER] has jurisdiction over that political territory
[{'concept': 'Q12737077'}, 'P1001', 'Q13927']
SELECT DISTINCT ?c WHERE { ?c property:P1001 resource:Q13927 . ?c rdf:type ontology:Q12737077 }
mayor of Moncada y Reixach
The mayor of Moncada y Reixach has jurisdiction over that political territory
mayor of Moncada y Reixach
action filter_type
action find_reverse
entity Montcada i Reixac
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Montcada i Reixac']
SELECT DISTINCT ?c WHERE { ?c property:applies_to_jurisdiction resource:Montcada_i_Reixac . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8757
P6
Q502895
USER
Which person does A Coruña serve as the head of government for ?
(Q8757,P6,c(Q502895))
action filter_type
action find
entity Q8757
relation P6
type Q502895
['Q8757', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q8757 property:P6 ?v . ?v rdf:type ontology:Q502895 }
A Coruña
action filter_type
action find
entity A Coruña
relation head of government
type common name
['A Coruña', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:A_Coruña property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
common name
Q20026695
SYSTEM
Xulio Ferreiro
Q20026695
(Q8757,P6,c(Q502895))
action filter_type
action find
entity Q8757
relation P6
type Q502895
[ANSWER] A Coruña serves as the head of government
['Q8757', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q8757 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Xulio Ferreiro
Xulio Ferreiro A Coruña serves as the head of government
Xulio Ferreiro
action filter_type
action find
entity A Coruña
relation head of government
type common name
['A Coruña', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:A_Coruña property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20026695
P102
Q7210356
USER
Which party does that person belong to ?
(Q20026695,P102,c(Q7210356))
action filter_type
action find
entity Q20026695
relation P102
type Q7210356
['Q20026695', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q20026695 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Xulio Ferreiro
action filter_type
action find
entity Xulio Ferreiro
relation member of political party
type political organization
['Xulio Ferreiro', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Xulio_Ferreiro property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
political organization
Q19899708
SYSTEM
Marea Atlántica
Q19899708
(Q20026695,P102,c(Q7210356))
action filter_type
action find
entity Q20026695
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q20026695', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q20026695 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Marea Atlántica
That person belongs to Marea Atlántica
Marea Atlántica
action filter_type
action find
entity Xulio Ferreiro
relation member of political party
type political organization
['Xulio Ferreiro', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Xulio_Ferreiro property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q11604163 Q38
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with Italy and are Yoshinori Yoneyama an inhabitant of ?
AND((Q38,P530,c(Q15617994)), (Q11604163,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q11604163
relation P27
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q11604163', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q38 property:P530 ?f . resource:Q11604163 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Yoshinori Yoneyama Italy
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Yoshinori Yoneyama
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Yoshinori Yoneyama', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Italy property:diplomatic_relation ?f . resource:Yoshinori_Yoneyama property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
AND((Q38,P530,c(Q15617994)), (Q11604163,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q11604163
relation P27
type Q15617994
[ANSWER] have diplomatic relations with Italy and are Yoshinori Yoneyama an inhabitant of
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q11604163', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q38 property:P530 ?f . resource:Q11604163 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Japan
Japan have diplomatic relations with Italy and are Yoshinori Yoneyama an inhabitant of
Japan
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Yoshinori Yoneyama
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Yoshinori Yoneyama', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Italy property:diplomatic_relation ?f . resource:Yoshinori_Yoneyama property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]