Simple Question (Direct)
Simple Question
Q5934377
P27
Q15617994
USER
Which administrative territory is the native country of Jorge Adrián Jerez Terriaca ?
(Q5934377,P27,c(Q15617994))
action filter_type
action find
entity Q5934377
relation P27
type Q15617994
['Q5934377', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q5934377 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Jorge Adrián Jerez Terriaca
action filter_type
action find
entity Jorge Adrián Jerez Terriaca
relation country of citizenship
type designation for an administrative territorial entity
['Jorge Adrián Jerez Terriaca', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Jorge_Adrián_Jerez_Terriaca property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q5934377,P27,c(Q15617994))
action filter_type
action find
entity Q5934377
relation P27
type Q15617994
[ANSWER] is the native country of Jorge Adrián Jerez Terriaca
['Q5934377', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q5934377 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Argentina
Argentina is the native country of Jorge Adrián Jerez Terriaca
Argentina
action filter_type
action find
entity Jorge Adrián Jerez Terriaca
relation country of citizenship
type designation for an administrative territorial entity
['Jorge Adrián Jerez Terriaca', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Jorge_Adrián_Jerez_Terriaca property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5934377
P1412
Q34770
USER
Which language does that person speak in ?
(Q414,P1412,c(Q34770))
action filter_type
action find
entity Q5934377
relation P1412
type Q34770
['Q414', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q5934377 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Jorge Adrián Jerez Terriaca
action filter_type
action find
entity Jorge Adrián Jerez Terriaca
relation languages spoken, written or signed
type language
['Argentina', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Jorge_Adrián_Jerez_Terriaca property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q414,P1412,c(Q34770))
action filter_type
action find
entity Q5934377
relation P1412
type Q34770
That person speaks a [ANSWER]
['Q414', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q5934377 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Spanish
That person speaks a Spanish
Spanish
action filter_type
action find
entity Jorge Adrián Jerez Terriaca
relation languages spoken, written or signed
type language
['Argentina', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Jorge_Adrián_Jerez_Terriaca property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12261457
P937
Q56061
USER
Where did Kike Amonarriz work ?
(Q12261457,P937,c(Q56061))
action filter_type
action find
entity Q12261457
relation P937
type Q56061
['Q12261457', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q12261457 property:P937 ?t }
Kike Amonarriz
action filter_type
action find
entity Kike Amonarriz
relation work location
type administrative territorial entity
['Kike Amonarriz', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Kike_Amonarriz property:work_location ?t }
[]
administrative territorial entity
Q10313
SYSTEM
Donostia/San Sebastián
Q10313
(Q12261457,P937,c(Q56061))
action filter_type
action find
entity Q12261457
relation P937
type Q56061
Kike Amonarriz worked in [ANSWER]
['Q12261457', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q12261457 property:P937 ?t }
Donostia/San Sebastián
Kike Amonarriz worked in Donostia/San Sebastián
Donostia/San Sebastián
action filter_type
action find
entity Kike Amonarriz
relation work location
type administrative territorial entity
['Kike Amonarriz', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Kike_Amonarriz property:work_location ?t }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2573
Q56061
USER
And what about Gustav Heinemann?
(Q2573,P937,c(Q56061))
action filter_type
action find
entity Q2573
relation P937
type Q56061
['Q2573', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q2573 property:P937 ?p }
Gustav Heinemann
action filter_type
action find
entity Gustav Heinemann
relation work location
type administrative territorial entity
['Gustav Heinemann', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Gustav_Heinemann property:work_location ?p }
[]
administrative territorial entity
Q1718 Q586
SYSTEM
Düsseldorf, Bonn
Q1718 Q586
(Q2573,P937,c(Q56061))
action filter_type
action find
entity Q2573
relation P937
type Q56061
[ANSWERS]
['Q2573', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q2573 property:P937 ?p }
Düsseldorf Bonn
Düsseldorf Bonn
action filter_type
action find
entity Gustav Heinemann
relation work location
type administrative territorial entity
['Gustav Heinemann', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Gustav_Heinemann property:work_location ?p }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P190
Q13220204 Q515
USER
How many administrative country subdivisions or cities are sister town of that administrative territory ?
(c(Q13220204),P190,Q1718) (c(Q515),P190,Q1718) (c(Q13220204),P190,Q1718) (c(Q515),P190,Q1718) (c(Q13220204),P190,Q586) (c(Q515),P190,Q586)
[{'concept': 'Q13220204'}, 'P190', 'Q1718'] [{'concept': 'Q515'}, 'P190', 'Q1718'] [{'concept': 'Q13220204'}, 'P190', 'Q1718'] [{'concept': 'Q515'}, 'P190', 'Q1718'] [{'concept': 'Q13220204'}, 'P190', 'Q586'] [{'concept': 'Q515'}, 'P190', 'Q586']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P190 resource:Q1718 } UNION { ?y property:P190 resource:Q1718 } UNION { ?z property:P190 resource:Q1718 } UNION { ?y property:P190 resource:Q1718 } UNION { ?z property:P190 resource:Q892680 } UNION { ?y property:P190 resource:Q892680 } } . ?z rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q7930989 }
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Düsseldorf'] [{'concept': 'city'}, 'sister city', 'Düsseldorf'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Düsseldorf'] [{'concept': 'city'}, 'sister city', 'Düsseldorf'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Bonn'] [{'concept': 'city'}, 'sister city', 'Bonn']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:sister_city resource:Düsseldorf } UNION { ?y property:sister_city resource:Düsseldorf } UNION { ?z property:sister_city resource:Düsseldorf } UNION { ?y property:sister_city resource:Düsseldorf } UNION { ?z property:sister_city resource:Bonn } UNION { ?y property:sister_city resource:Bonn } } . ?z rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:city }
[]
second-level administrative country subdivision city
Quantitative|Count|Mult. entity type|Clarification
Q1718
SYSTEM
Did you mean Düsseldorf ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P190 resource:Q1718 } UNION { ?y property:P190 resource:Q1718 } UNION { ?z property:P190 resource:Q1718 } UNION { ?y property:P190 resource:Q1718 } UNION { ?z property:P190 resource:Q892680 } UNION { ?y property:P190 resource:Q892680 } } . ?z rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q7930989 }
Did you mean Düsseldorf ?
Düsseldorf
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:sister_city resource:Düsseldorf } UNION { ?y property:sister_city resource:Düsseldorf } UNION { ?z property:sister_city resource:Düsseldorf } UNION { ?y property:sister_city resource:Düsseldorf } UNION { ?z property:sister_city resource:Bonn } UNION { ?y property:sister_city resource:Bonn } } . ?z rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q13220204),P190,Q1718) (c(Q515),P190,Q1718) (c(Q13220204),P190,Q1718) (c(Q515),P190,Q1718) (c(Q13220204),P190,Q586) (c(Q515),P190,Q586)
[{'concept': 'Q13220204'}, 'P190', 'Q1718'] [{'concept': 'Q515'}, 'P190', 'Q1718'] [{'concept': 'Q13220204'}, 'P190', 'Q1718'] [{'concept': 'Q515'}, 'P190', 'Q1718'] [{'concept': 'Q13220204'}, 'P190', 'Q586'] [{'concept': 'Q515'}, 'P190', 'Q586']
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Düsseldorf'] [{'concept': 'city'}, 'sister city', 'Düsseldorf'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Düsseldorf'] [{'concept': 'city'}, 'sister city', 'Düsseldorf'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Bonn'] [{'concept': 'city'}, 'sister city', 'Bonn']
[]
SYSTEM
4
Q101341 Q11725 Q623549 Q2795
(c(Q13220204),P190,Q1718) (c(Q515),P190,Q1718) (c(Q13220204),P190,Q1718) (c(Q515),P190,Q1718) (c(Q13220204),P190,Q586) (c(Q515),P190,Q586)
[ANSWER]
[{'concept': 'Q13220204'}, 'P190', 'Q1718'] [{'concept': 'Q515'}, 'P190', 'Q1718'] [{'concept': 'Q13220204'}, 'P190', 'Q1718'] [{'concept': 'Q515'}, 'P190', 'Q1718'] [{'concept': 'Q13220204'}, 'P190', 'Q586'] [{'concept': 'Q515'}, 'P190', 'Q586']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P190 resource:Q1718 } UNION { ?y property:P190 resource:Q1718 } UNION { ?z property:P190 resource:Q1718 } UNION { ?y property:P190 resource:Q1718 } UNION { ?z property:P190 resource:Q892680 } UNION { ?y property:P190 resource:Q892680 } } . ?z rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q7930989 }
Lillehammer Chongqing Puerto de la Cruz Chemnitz
4
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Düsseldorf'] [{'concept': 'city'}, 'sister city', 'Düsseldorf'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Düsseldorf'] [{'concept': 'city'}, 'sister city', 'Düsseldorf'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Bonn'] [{'concept': 'city'}, 'sister city', 'Bonn']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:sister_city resource:Düsseldorf } UNION { ?y property:sister_city resource:Düsseldorf } UNION { ?z property:sister_city resource:Düsseldorf } UNION { ?y property:sister_city resource:Düsseldorf } UNION { ?z property:sister_city resource:Bonn } UNION { ?y property:sister_city resource:Bonn } } . ?z rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:city }
[]