Simple Question (Direct)
Simple Question
Q3562916
P607
Q198
USER
What battle was Vollrath von Maltzan a part of ?
(Q3562916,P607,c(Q198))
action filter_type
action find
entity Q3562916
relation P607
type Q198
['Q3562916', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?h WHERE { resource:Q3562916 property:P607 ?h . ?h rdf:type ontology:Q198 }
Vollrath von Maltzan
action filter_type
action find
entity Vollrath von Maltzan
relation conflict
type war
['Vollrath von Maltzan', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?h WHERE { resource:Vollrath_von_Maltzan property:conflict ?h . ?h rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q3562916,P607,c(Q198))
action filter_type
action find
entity Q3562916
relation P607
type Q198
[ANSWER] was Vollrath von Maltzan a part of
['Q3562916', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?h WHERE { resource:Q3562916 property:P607 ?h . ?h rdf:type ontology:Q198 }
World War I
World War I was Vollrath von Maltzan a part of
World War I
action filter_type
action find
entity Vollrath von Maltzan
relation conflict
type war
['Vollrath von Maltzan', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?h WHERE { resource:Vollrath_von_Maltzan property:conflict ?h . ?h rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3562916
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q361,P19,c(Q56061))
action filter_type
action find
entity Q3562916
relation P19
type Q56061
['Q361', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q3562916 property:P19 ?x }
Vollrath von Maltzan
action filter_type
action find
entity Vollrath von Maltzan
relation place of birth
type administrative territorial entity
['World War I', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Vollrath_von_Maltzan property:place_of_birth ?x }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q361,P19,c(Q56061))
action filter_type
action find
entity Q3562916
relation P19
type Q56061
That person was born in [ANSWER]
['Q361', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q3562916 property:P19 ?x }
Berlin
That person was born in Berlin
Berlin
action filter_type
action find
entity Vollrath von Maltzan
relation place of birth
type administrative territorial entity
['World War I', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Vollrath_von_Maltzan property:place_of_birth ?x }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q536157 Q3562916
P19
Q56061
USER
Or Charikleia Pantazi?
OR((Q3562916,P19,c(Q56061)), (Q536157,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3562916
relation P19
action find
entity Q536157
relation P19
type Q56061
{'OR': [['Q3562916', 'P19', {'concept': 'Q56061'}], ['Q536157', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q536157 property:P19 ?s } UNION { resource:Q3562916 property:P19 ?s } } . ?s rdf:type ontology:Q56061 }
Charikleia Pantazi Vollrath von Maltzan
action filter_type
action union
action find
entity Vollrath von Maltzan
relation place of birth
action find
entity Charikleia Pantazi
relation place of birth
type administrative territorial entity
{'OR': [['Vollrath von Maltzan', 'place of birth', {'concept': 'administrative territorial entity'}], ['Charikleia Pantazi', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Charikleia_Pantazi property:place_of_birth ?s } UNION { resource:Vollrath_von_Maltzan property:place_of_birth ?s } } . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q1524
SYSTEM
Berlin, Athens
Q64 Q1524
OR((Q3562916,P19,c(Q56061)), (Q536157,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3562916
relation P19
action find
entity Q536157
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q3562916', 'P19', {'concept': 'Q56061'}], ['Q536157', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q536157 property:P19 ?s } UNION { resource:Q3562916 property:P19 ?s } } . ?s rdf:type ontology:Q56061 }
Berlin Athens
Berlin Athens
action filter_type
action union
action find
entity Vollrath von Maltzan
relation place of birth
action find
entity Charikleia Pantazi
relation place of birth
type administrative territorial entity
{'OR': [['Vollrath von Maltzan', 'place of birth', {'concept': 'administrative territorial entity'}], ['Charikleia Pantazi', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Charikleia_Pantazi property:place_of_birth ?s } UNION { resource:Vollrath_von_Maltzan property:place_of_birth ?s } } . ?s rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26364 Q1524
P190
Q56061
USER
Which administrative territories are twin towns of Athens or Wissen ?
OR((Q1524,P190,c(Q56061)), (Q26364,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1524
relation P190
action find
entity Q26364
relation P190
type Q56061
{'OR': [['Q1524', 'P190', {'concept': 'Q56061'}], ['Q26364', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1524 property:P190 ?f } UNION { resource:Q26364 property:P190 ?f } } . ?f rdf:type ontology:Q56061 }
Wissen Athens
action filter_type
action union
action find
entity Athens
relation sister city
action find
entity Wissen
relation sister city
type administrative territorial entity
{'OR': [['Athens', 'sister city', {'concept': 'administrative territorial entity'}], ['Wissen', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Athens property:sister_city ?f } UNION { resource:Wissen property:sister_city ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q5776 Q1297 Q2044 Q3856 Q203263 Q8678 Q1492 Q51103 Q649 Q406
SYSTEM
Some of them are Bethlehem, Chicago, Florence, Nicosia, Athens, Rio de Janeiro, Barcelona, Cali, Moscow, Istanbul
Q437 Q994 Q727 Q3766 Q649 Q193190 Q472 Q100 Q1297 Q3856 Q340 Q8471 Q406 Q983729 Q2634 Q1489 Q1563 Q3551 Q23556 Q203263 Q3711 Q19801 Q5582862 Q1449 Q51103 Q3820 Q270 Q8678 Q2807 Q597 Q956 Q1492 Q2044 Q65 Q135410 Q5776 Q61 Q1085
OR((Q1524,P190,c(Q56061)), (Q26364,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1524
relation P190
action find
entity Q26364
relation P190
type Q56061
[ANSWERS] are twin towns of Athens or Wissen
{'OR': [['Q1524', 'P190', {'concept': 'Q56061'}], ['Q26364', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1524 property:P190 ?f } UNION { resource:Q26364 property:P190 ?f } } . ?f rdf:type ontology:Q56061 }
Ljubljana Tbilisi Amsterdam Damascus Moscow Famagusta Sofia Boston Chicago Nicosia Montreal Reggio Calabria Istanbul Krapkowice Naples Mexico City Havana Rabat Atlanta Athens Belgrade Letchworth Cusco Genoa Cali Beirut Warsaw Rio de Janeiro Madrid Lisbon Beijing Barcelona Florence Los Angeles Domodedovo Bethlehem Washington, D.C. Prague
Bethlehem, Chicago, Florence, Nicosia, Athens, Rio de Janeiro, Barcelona, Cali, Moscow and Istanbul are twin towns of Athens or Wissen
Bethlehem Chicago Florence Nicosia Athens Rio de Janeiro Barcelona Cali Moscow Istanbul
action filter_type
action union
action find
entity Athens
relation sister city
action find
entity Wissen
relation sister city
type administrative territorial entity
{'OR': [['Athens', 'sister city', {'concept': 'administrative territorial entity'}], ['Wissen', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Athens property:sister_city ?f } UNION { resource:Wissen property:sister_city ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1524
P190
Q56061
USER
Are Athens twin town of those ones ?
(Q1524,P190,Q5776) (Q1524,P190,Q1297) (Q1524,P190,Q2044) (Q1524,P190,Q3856) (Q1524,P190,Q203263) (Q1524,P190,Q8678) (Q1524,P190,Q1492) (Q1524,P190,Q51103) (Q1524,P190,Q649) (Q1524,P190,Q406)
action is_in
entity prev_answer
action find
entity Q1524
relation P190
['Q1524', 'P190', 'Q5776'] ['Q1524', 'P190', 'Q1297'] ['Q1524', 'P190', 'Q2044'] ['Q1524', 'P190', 'Q3856'] ['Q1524', 'P190', 'Q203263'] ['Q1524', 'P190', 'Q8678'] ['Q1524', 'P190', 'Q1492'] ['Q1524', 'P190', 'Q51103'] ['Q1524', 'P190', 'Q649'] ['Q1524', 'P190', 'Q406']
ASK WHERE { resource:Q1524 property:P190 ?p . VALUES ( ?p ) { ( resource:Q437 ) ( resource:Q994 ) ( resource:Q727 ) } }
Athens
action is_in
entity prev_answer
action find
entity Athens
relation sister city
['Athens', 'sister city', 'Bethlehem'] ['Athens', 'sister city', 'Chicago'] ['Athens', 'sister city', 'Florence'] ['Athens', 'sister city', 'Nicosia'] ['Athens', 'sister city', 'Athens'] ['Athens', 'sister city', 'Rio de Janeiro'] ['Athens', 'sister city', 'Barcelona'] ['Athens', 'sister city', 'Cali'] ['Athens', 'sister city', 'Moscow'] ['Athens', 'sister city', 'Istanbul']
ASK WHERE { resource:Athens property:sister_city ?p . VALUES ( ?p ) { ( resource:Ljubljana ) ( resource:Tbilisi ) ( resource:Amsterdam ) } }
[]
administrative territorial entity
SYSTEM
YES
(Q1524,P190,Q5776) (Q1524,P190,Q1297) (Q1524,P190,Q2044) (Q1524,P190,Q3856) (Q1524,P190,Q203263) (Q1524,P190,Q8678) (Q1524,P190,Q1492) (Q1524,P190,Q51103) (Q1524,P190,Q649) (Q1524,P190,Q406)
action is_in
entity prev_answer
action find
entity Q1524
relation P190
[ANSWER]
['Q1524', 'P190', 'Q5776'] ['Q1524', 'P190', 'Q1297'] ['Q1524', 'P190', 'Q2044'] ['Q1524', 'P190', 'Q3856'] ['Q1524', 'P190', 'Q203263'] ['Q1524', 'P190', 'Q8678'] ['Q1524', 'P190', 'Q1492'] ['Q1524', 'P190', 'Q51103'] ['Q1524', 'P190', 'Q649'] ['Q1524', 'P190', 'Q406']
ASK WHERE { resource:Q1524 property:P190 ?p . VALUES ( ?p ) { ( resource:Q437 ) ( resource:Q994 ) ( resource:Q727 ) } }
Yes
action is_in
entity prev_answer
action find
entity Athens
relation sister city
['Athens', 'sister city', 'Bethlehem'] ['Athens', 'sister city', 'Chicago'] ['Athens', 'sister city', 'Florence'] ['Athens', 'sister city', 'Nicosia'] ['Athens', 'sister city', 'Athens'] ['Athens', 'sister city', 'Rio de Janeiro'] ['Athens', 'sister city', 'Barcelona'] ['Athens', 'sister city', 'Cali'] ['Athens', 'sister city', 'Moscow'] ['Athens', 'sister city', 'Istanbul']
ASK WHERE { resource:Athens property:sister_city ?p . VALUES ( ?p ) { ( resource:Ljubljana ) ( resource:Tbilisi ) ( resource:Amsterdam ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P138
Q811979
USER
Which architectural structure has Moscow as its toponym ?
(c(Q811979),P138,Q649)
action filter_type
action find_reverse
entity Q649
relation P138
type Q811979
[{'concept': 'Q811979'}, 'P138', 'Q649']
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q649 . ?t rdf:type ontology:Q811979 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation named after
type architectural structure
[{'concept': 'architectural structure'}, 'named after', 'Moscow']
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:Moscow . ?t rdf:type ontology:architectural_structure }
[]
architectural structure
Q767163
SYSTEM
Széll Kálmán tér
Q767163
(c(Q811979),P138,Q649)
action filter_type
action find_reverse
entity Q649
relation P138
type Q811979
[ANSWER] has Moscow as its toponym
[{'concept': 'Q811979'}, 'P138', 'Q649']
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q649 . ?t rdf:type ontology:Q811979 }
Széll Kálmán tér
Széll Kálmán tér has Moscow as its toponym
Széll Kálmán tér
action filter_type
action find_reverse
entity Moscow
relation named after
type architectural structure
[{'concept': 'architectural structure'}, 'named after', 'Moscow']
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:Moscow . ?t rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q767163
P17
Q15617994
USER
Which administrative territory is that architectural structure situated in ?
(Q767163,P17,c(Q15617994))
action filter_type
action find
entity Q767163
relation P17
type Q15617994
['Q767163', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q767163 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Széll Kálmán tér
action filter_type
action find
entity Széll Kálmán tér
relation country
type designation for an administrative territorial entity
['Széll Kálmán tér', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Széll_Kálmán_tér property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q767163,P17,c(Q15617994))
action filter_type
action find
entity Q767163
relation P17
type Q15617994
That architectural structure is situated in [ANSWER]
['Q767163', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q767163 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Hungary
That architectural structure is situated in Hungary
Hungary
action filter_type
action find
entity Széll Kálmán tér
relation country
type designation for an administrative territorial entity
['Széll Kálmán tér', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Széll_Kálmán_tér property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]