Simple Question (Direct)
Simple Question
Q11929316
P1412
Q34770
USER
Which language does Juan Martín Toribio speak in ?
(Q11929316,P1412,c(Q34770))
action filter_type
action find
entity Q11929316
relation P1412
type Q34770
['Q11929316', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q11929316 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Juan Martín Toribio
action filter_type
action find
entity Juan Martín Toribio
relation languages spoken, written or signed
type language
['Juan Martín Toribio', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Juan_Martín_Toribio property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q11929316,P1412,c(Q34770))
action filter_type
action find
entity Q11929316
relation P1412
type Q34770
Juan Martín Toribio speaks in [ANSWER]
['Q11929316', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q11929316 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Spanish
Juan Martín Toribio speaks in Spanish
Spanish
action filter_type
action find
entity Juan Martín Toribio
relation languages spoken, written or signed
type language
['Juan Martín Toribio', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Juan_Martín_Toribio property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11929316
P19
Q1048835
USER
Which political territory was Juan Martín Toribio born in ?
(Q11929316,P19,c(Q1048835))
action filter_type
action find
entity Q11929316
relation P19
type Q1048835
['Q11929316', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q11929316 property:P19 ?x . ?x rdf:type ontology:Q1048835 }
Juan Martín Toribio
action filter_type
action find
entity Juan Martín Toribio
relation place of birth
type political territorial entity
['Juan Martín Toribio', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Juan_Martín_Toribio property:place_of_birth ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q7086
SYSTEM
Cantallops
Q7086
(Q11929316,P19,c(Q1048835))
action filter_type
action find
entity Q11929316
relation P19
type Q1048835
Juan Martín Toribio was born in [ANSWER]
['Q11929316', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q11929316 property:P19 ?x . ?x rdf:type ontology:Q1048835 }
Cantallops
Juan Martín Toribio was born in Cantallops
Cantallops
action filter_type
action find
entity Juan Martín Toribio
relation place of birth
type political territorial entity
['Juan Martín Toribio', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Juan_Martín_Toribio property:place_of_birth ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11929316
P937
Q56061
USER
Which administrative territory is the work location of Juan Martín Toribio ?
(Q11929316,P937,c(Q56061))
action filter_type
action find
entity Q11929316
relation P937
type Q56061
['Q11929316', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q11929316 property:P937 ?j }
Juan Martín Toribio
action filter_type
action find
entity Juan Martín Toribio
relation work location
type administrative territorial entity
['Juan Martín Toribio', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Juan_Martín_Toribio property:work_location ?j }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q11929316,P937,c(Q56061))
action filter_type
action find
entity Q11929316
relation P937
type Q56061
[ANSWER] is the work location of Juan Martín Toribio
['Q11929316', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q11929316 property:P937 ?j }
Barcelona
Barcelona is the work location of Juan Martín Toribio
Barcelona
action filter_type
action find
entity Juan Martín Toribio
relation work location
type administrative territorial entity
['Juan Martín Toribio', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Juan_Martín_Toribio property:work_location ?j }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q258810 Q11929316
P47 P937
Q56061
USER
Which administrative territories are the work locations of Juan Martín Toribio or are bordered by Salorno ?
OR((Q11929316,P937,c(Q56061)), (Q258810,P47,c(Q56061)))
action filter_type
action union
action find
entity Q11929316
relation P937
action find
entity Q258810
relation P47
type Q56061
{'OR': [['Q11929316', 'P937', {'concept': 'Q56061'}], ['Q258810', 'P47', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q11929316 property:P937 ?b } UNION { resource:Q258810 property:P47 ?b } } . ?b rdf:type ontology:Q56061 }
Salorno Juan Martín Toribio
action filter_type
action union
action find
entity Juan Martín Toribio
relation work location
action find
entity Salorno
relation shares border with
type administrative territorial entity
{'OR': [['Juan Martín Toribio', 'work location', {'concept': 'administrative territorial entity'}], ['Salorno', 'shares border with', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Juan_Martín_Toribio property:work_location ?b } UNION { resource:Salorno property:shares_border_with ?b } } . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q380020 Q1492 Q420734 Q380287 Q432997
SYSTEM
Kurtinig an der Weinstraße, Barcelona, Margreid an der Weinstraße, Neumarkt, South Tyrol, Montan
Q380020 Q1492 Q420734 Q380287 Q432997
OR((Q11929316,P937,c(Q56061)), (Q258810,P47,c(Q56061)))
action filter_type
action union
action find
entity Q11929316
relation P937
action find
entity Q258810
relation P47
type Q56061
[ANSWERS] are the work locations of Juan Martín Toribio or are bordered by Salorno
{'OR': [['Q11929316', 'P937', {'concept': 'Q56061'}], ['Q258810', 'P47', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q11929316 property:P937 ?b } UNION { resource:Q258810 property:P47 ?b } } . ?b rdf:type ontology:Q56061 }
Kurtinig an der Weinstraße Barcelona Margreid an der Weinstraße Neumarkt, South Tyrol Montan
Kurtinig an der Weinstraße, Barcelona, Margreid an der Weinstraße, Neumarkt, South Tyrol and Montan are the work locations of Juan Martín Toribio or are bordered by Salorno
Kurtinig an der Weinstraße Barcelona Margreid an der Weinstraße Neumarkt, South Tyrol Montan
action filter_type
action union
action find
entity Juan Martín Toribio
relation work location
action find
entity Salorno
relation shares border with
type administrative territorial entity
{'OR': [['Juan Martín Toribio', 'work location', {'concept': 'administrative territorial entity'}], ['Salorno', 'shares border with', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Juan_Martín_Toribio property:work_location ?b } UNION { resource:Salorno property:shares_border_with ?b } } . ?b rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q420734
P190
Q15617994
USER
Which administrative territory is sister town of that administrative territory ?
(Q420734,P190,c(Q15617994))
action filter_type
action find
entity Q420734
relation P190
type Q15617994
['Q420734', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q420734 property:P190 ?v . ?v rdf:type ontology:Q15617994 }
Margreid an der Weinstraße
action filter_type
action find
entity Margreid an der Weinstraße
relation sister city
type designation for an administrative territorial entity
['Margreid an der Weinstraße', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Margreid_an_der_Weinstraße property:sister_city ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q380287
SYSTEM
Did you mean Neumarkt, South Tyrol ?
Q380020 Q1492 Q420734 Q380287 Q432997
(Q380020,P190,c(Q15617994)) (Q1492,P190,c(Q15617994)) (Q420734,P190,c(Q15617994)) (Q380287,P190,c(Q15617994)) (Q432997,P190,c(Q15617994))
[ANSWER]
['Q380020', 'P190', {'concept': 'Q15617994'}] ['Q1492', 'P190', {'concept': 'Q15617994'}] ['Q420734', 'P190', {'concept': 'Q15617994'}] ['Q380287', 'P190', {'concept': 'Q15617994'}] ['Q432997', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q420734 property:P190 ?v . ?v rdf:type ontology:Q15617994 }
Kurtinig an der Weinstraße Barcelona Margreid an der Weinstraße Neumarkt, South Tyrol Montan
Did you mean Neumarkt, South Tyrol ?
Neumarkt, South Tyrol
['Kurtinig an der Weinstraße', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Barcelona', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Margreid an der Weinstraße', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Neumarkt, South Tyrol', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Montan', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Margreid_an_der_Weinstraße property:sister_city ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Margreid an der Weinstraße. Could you tell me the answer for that?
(Q420734,P190,c(Q15617994))
Q420734
['Q420734', 'P190', {'concept': 'Q15617994'}]
['Margreid an der Weinstraße', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
[]
Q506388
SYSTEM
Ottobrunn
Q506388
(Q420734,P190,c(Q15617994))
action filter_type
action find
entity Q420734
relation P190
type Q15617994
[ANSWER] is sister town of that administrative territory
['Q420734', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q420734 property:P190 ?v . ?v rdf:type ontology:Q15617994 }
Ottobrunn
Ottobrunn is sister town of that administrative territory
Ottobrunn
action filter_type
action find
entity Margreid an der Weinstraße
relation sister city
type designation for an administrative territorial entity
['Margreid an der Weinstraße', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Margreid_an_der_Weinstraße property:sister_city ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q506388 Q183
P17
Q1048835
USER
Is Ottobrunn situated in Germany ?
(Q506388,P17,Q183)
action is_in
entity Q183
action find
entity Q506388
relation P17
['Q506388', 'P17', 'Q183']
ASK WHERE { resource:Q506388 property:P17 resource:Q183 }
Ottobrunn Germany
action is_in
entity Germany
action find
entity Ottobrunn
relation country
['Ottobrunn', 'country', 'Germany']
ASK WHERE { resource:Ottobrunn property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q506388,P17,Q183)
action is_in
entity Q183
action find
entity Q506388
relation P17
[ANSWER]
['Q506388', 'P17', 'Q183']
ASK WHERE { resource:Q506388 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Ottobrunn
relation country
['Ottobrunn', 'country', 'Germany']
ASK WHERE { resource:Ottobrunn property:country resource:Germany }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q11929316 Q54565 Q691328
P27
Q15617994
USER
Is Juan Martín Toribio a citizen of Bagnara Calabra and Nostorf ?
(Q11929316,P27,Q54565) (Q11929316,P27,Q691328)
action is_in
entity Q11929316
action intersection
action find_reverse
entity Q54565
relation P27
action find_reverse
entity Q691328
relation P27
['Q11929316', 'P27', 'Q54565'] ['Q11929316', 'P27', 'Q691328']
ASK WHERE { resource:Q11929316 property:P27 resource:Q54565 . resource:Q11929316 property:P27 resource:Q691328 }
Juan Martín Toribio Bagnara Calabra Nostorf
action is_in
entity Juan Martín Toribio
action intersection
action find_reverse
entity Bagnara Calabra
relation country of citizenship
action find_reverse
entity Nostorf
relation country of citizenship
['Juan Martín Toribio', 'country of citizenship', 'Bagnara Calabra'] ['Juan Martín Toribio', 'country of citizenship', 'Nostorf']
ASK WHERE { resource:Juan_Martín_Toribio property:country_of_citizenship resource:Bagnara_Calabra . resource:Juan_Martín_Toribio property:country_of_citizenship resource:Nostorf }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q11929316,P27,Q54565) (Q11929316,P27,Q691328)
action is_in
entity Q11929316
action intersection
action find_reverse
entity Q54565
relation P27
action find_reverse
entity Q691328
relation P27
[ANSWER]
['Q11929316', 'P27', 'Q54565'] ['Q11929316', 'P27', 'Q691328']
ASK WHERE { resource:Q11929316 property:P27 resource:Q54565 . resource:Q11929316 property:P27 resource:Q691328 }
No
action is_in
entity Juan Martín Toribio
action intersection
action find_reverse
entity Bagnara Calabra
relation country of citizenship
action find_reverse
entity Nostorf
relation country of citizenship
['Juan Martín Toribio', 'country of citizenship', 'Bagnara Calabra'] ['Juan Martín Toribio', 'country of citizenship', 'Nostorf']
ASK WHERE { resource:Juan_Martín_Toribio property:country_of_citizenship resource:Bagnara_Calabra . resource:Juan_Martín_Toribio property:country_of_citizenship resource:Nostorf }
[]