Simple Question (Direct)
Simple Question
Q97772
P19
Q56061
USER
Which administrative territory was Ferdinand Dümmler born at ?
(Q97772,P19,c(Q56061))
action filter_type
action find
entity Q97772
relation P19
type Q56061
['Q97772', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q97772 property:P19 ?p }
Ferdinand Dümmler
action filter_type
action find
entity Ferdinand Dümmler
relation place of birth
type administrative territorial entity
['Ferdinand Dümmler', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Ferdinand_Dümmler property:place_of_birth ?p }
[]
administrative territorial entity
Q2814
SYSTEM
Halle (Saale)
Q2814
(Q97772,P19,c(Q56061))
action filter_type
action find
entity Q97772
relation P19
type Q56061
Ferdinand Dümmler was born in [ANSWER]
['Q97772', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q97772 property:P19 ?p }
Halle (Saale)
Ferdinand Dümmler was born in Halle (Saale)
Halle (Saale)
action filter_type
action find
entity Ferdinand Dümmler
relation place of birth
type administrative territorial entity
['Ferdinand Dümmler', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Ferdinand_Dümmler property:place_of_birth ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2814
P6
Q502895
USER
Which person is that administrative territory the head of goverment of ?
(Q2814,P6,c(Q502895))
action filter_type
action find
entity Q2814
relation P6
type Q502895
['Q2814', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q2814 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Halle (Saale)
action filter_type
action find
entity Halle (Saale)
relation head of government
type common name
['Halle (Saale)', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Halle_(Saale) property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
common name
Q824404
SYSTEM
Bernd Wiegand
Q824404
(Q2814,P6,c(Q502895))
action filter_type
action find
entity Q2814
relation P6
type Q502895
[ANSWER] is that administrative territory the head of goverment of
['Q2814', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q2814 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Bernd Wiegand
Bernd Wiegand is that administrative territory the head of goverment of
Bernd Wiegand
action filter_type
action find
entity Halle (Saale)
relation head of government
type common name
['Halle (Saale)', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Halle_(Saale) property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2814
P706
Q515
USER
Where is Halle (Saale) located on ?
(Q2814,P706,c(Q515))
action filter_type
action find
entity Q2814
relation P706
type Q515
['Q2814', 'P706', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q515 . resource:Q2814 property:P706 ?w }
Halle (Saale)
action filter_type
action find
entity Halle (Saale)
relation located on terrain feature
type city
['Halle (Saale)', 'located on terrain feature', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city . resource:Halle_(Saale) property:located_on_terrain_feature ?w }
[]
city
Q805369
SYSTEM
metropolitan area Leipzig-Halle
Q805369
(Q2814,P706,c(Q515))
action filter_type
action find
entity Q2814
relation P706
type Q515
Halle ( Saale ) is located on the [ANSWER]
['Q2814', 'P706', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q515 . resource:Q2814 property:P706 ?w }
metropolitan area Leipzig-Halle
Halle ( Saale ) is located on the metropolitan area Leipzig-Halle
metropolitan area Leipzig-Halle
action filter_type
action find
entity Halle (Saale)
relation located on terrain feature
type city
['Halle (Saale)', 'located on terrain feature', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city . resource:Halle_(Saale) property:located_on_terrain_feature ?w }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2722222
Q515
USER
And how about Meduseld?
(Q2722222,P706,c(Q515))
action filter_type
action find
entity Q2722222
relation P706
type Q515
['Q2722222', 'P706', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q2722222 property:P706 ?i . ?i rdf:type ontology:Q515 }
Meduseld
action filter_type
action find
entity Meduseld
relation located on terrain feature
type city
['Meduseld', 'located on terrain feature', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Meduseld property:located_on_terrain_feature ?i . ?i rdf:type ontology:city }
[]
city
Q2069869
SYSTEM
Edoras
Q2069869
(Q2722222,P706,c(Q515))
action filter_type
action find
entity Q2722222
relation P706
type Q515
[ANSWER]
['Q2722222', 'P706', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q2722222 property:P706 ?i . ?i rdf:type ontology:Q515 }
Edoras
Edoras
action filter_type
action find
entity Meduseld
relation located on terrain feature
type city
['Meduseld', 'located on terrain feature', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Meduseld property:located_on_terrain_feature ?i . ?i rdf:type ontology:city }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5309302 Q824404
P27
Q1048835
USER
Which political territories are Bernd Wiegand or Drumsing an inhabitant of ?
OR((Q824404,P27,c(Q1048835)), (Q5309302,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q824404
relation P27
action find
entity Q5309302
relation P27
type Q1048835
{'OR': [['Q824404', 'P27', {'concept': 'Q1048835'}], ['Q5309302', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { ?o property:P27 ?k . VALUES ( ?o ) { ( resource:Q5309302 ) ( resource:Q824404 ) } } . ?k rdf:type ontology:Q1048835 }
Drumsing Bernd Wiegand
action filter_type
action union
action find
entity Bernd Wiegand
relation country of citizenship
action find
entity Drumsing
relation country of citizenship
type political territorial entity
{'OR': [['Bernd Wiegand', 'country of citizenship', {'concept': 'political territorial entity'}], ['Drumsing', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { ?o property:country_of_citizenship ?k . VALUES ( ?o ) { ( resource:Drumsing ) ( resource:Bernd_Wiegand ) } } . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q40
SYSTEM
Germany, Austria
Q183 Q40
OR((Q824404,P27,c(Q1048835)), (Q5309302,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q824404
relation P27
action find
entity Q5309302
relation P27
type Q1048835
[ANSWERS] are Bernd Wiegand or Drumsing an inhabitant of
{'OR': [['Q824404', 'P27', {'concept': 'Q1048835'}], ['Q5309302', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { ?o property:P27 ?k . VALUES ( ?o ) { ( resource:Q5309302 ) ( resource:Q824404 ) } } . ?k rdf:type ontology:Q1048835 }
Germany Austria
Germany and Austria are Bernd Wiegand or Drumsing an inhabitant of
Germany Austria
action filter_type
action union
action find
entity Bernd Wiegand
relation country of citizenship
action find
entity Drumsing
relation country of citizenship
type political territorial entity
{'OR': [['Bernd Wiegand', 'country of citizenship', {'concept': 'political territorial entity'}], ['Drumsing', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { ?o property:country_of_citizenship ?k . VALUES ( ?o ) { ( resource:Drumsing ) ( resource:Bernd_Wiegand ) } } . ?k rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1708459
P27
Q502895
USER
Are Josephus Simon Sertürner a native of those political territories ?
(Q1708459,P27,Q183) (Q1708459,P27,Q40)
action is_in
entity prev_answer
action find
entity Q1708459
relation P27
['Q1708459', 'P27', 'Q183'] ['Q1708459', 'P27', 'Q40']
ASK WHERE { VALUES ( ?o ) { ( resource:Q183 ) ( resource:Q40 ) } . resource:Q1708459 property:P27 ?o }
Josephus Simon Sertürner
action is_in
entity prev_answer
action find
entity Josephus Simon Sertürner
relation country of citizenship
['Josephus Simon Sertürner', 'country of citizenship', 'Germany'] ['Josephus Simon Sertürner', 'country of citizenship', 'Austria']
ASK WHERE { VALUES ( ?o ) { ( resource:Germany ) ( resource:Austria ) } . resource:Josephus_Simon_Sertürner property:country_of_citizenship ?o }
[]
common name
SYSTEM
YES
(Q1708459,P27,Q183) (Q1708459,P27,Q40)
action is_in
entity prev_answer
action find
entity Q1708459
relation P27
[ANSWER]
['Q1708459', 'P27', 'Q183'] ['Q1708459', 'P27', 'Q40']
ASK WHERE { VALUES ( ?o ) { ( resource:Q183 ) ( resource:Q40 ) } . resource:Q1708459 property:P27 ?o }
Yes
action is_in
entity prev_answer
action find
entity Josephus Simon Sertürner
relation country of citizenship
['Josephus Simon Sertürner', 'country of citizenship', 'Germany'] ['Josephus Simon Sertürner', 'country of citizenship', 'Austria']
ASK WHERE { VALUES ( ?o ) { ( resource:Germany ) ( resource:Austria ) } . resource:Josephus_Simon_Sertürner property:country_of_citizenship ?o }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q699482 Q824404
P27
Q1048835
USER
Which political territories do Bernd Wiegand or Franz Cisar belong to ?
OR((Q824404,P27,c(Q1048835)), (Q699482,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q824404
relation P27
action find
entity Q699482
relation P27
type Q1048835
{'OR': [['Q824404', 'P27', {'concept': 'Q1048835'}], ['Q699482', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { { ?i property:P27 ?m . VALUES ( ?i ) { ( resource:Q699482 ) ( resource:Q824404 ) } } . ?m rdf:type ontology:Q1048835 }
Franz Cisar Bernd Wiegand
action filter_type
action union
action find
entity Bernd Wiegand
relation country of citizenship
action find
entity Franz Cisar
relation country of citizenship
type political territorial entity
{'OR': [['Bernd Wiegand', 'country of citizenship', {'concept': 'political territorial entity'}], ['Franz Cisar', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { ?i property:country_of_citizenship ?m . VALUES ( ?i ) { ( resource:Franz_Cisar ) ( resource:Bernd_Wiegand ) } } . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q40
SYSTEM
Germany, Austria
Q183 Q40
OR((Q824404,P27,c(Q1048835)), (Q699482,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q824404
relation P27
action find
entity Q699482
relation P27
type Q1048835
Bernd Wiegand or Franz Cisar belong to West [ANSWERS]
{'OR': [['Q824404', 'P27', {'concept': 'Q1048835'}], ['Q699482', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { { ?i property:P27 ?m . VALUES ( ?i ) { ( resource:Q699482 ) ( resource:Q824404 ) } } . ?m rdf:type ontology:Q1048835 }
Germany Austria
Bernd Wiegand or Franz Cisar belong to West Germany and Austria
Germany Austria
action filter_type
action union
action find
entity Bernd Wiegand
relation country of citizenship
action find
entity Franz Cisar
relation country of citizenship
type political territorial entity
{'OR': [['Bernd Wiegand', 'country of citizenship', {'concept': 'political territorial entity'}], ['Franz Cisar', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { ?i property:country_of_citizenship ?m . VALUES ( ?i ) { ( resource:Franz_Cisar ) ( resource:Bernd_Wiegand ) } } . ?m rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q119547 Q97772
P27
Q1048835
USER
Which political territories are Ferdinand Dümmler and Otto Maull a civilian of ?
AND((Q97772,P27,c(Q1048835)), (Q119547,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q97772
relation P27
action find
entity Q119547
relation P27
type Q1048835
{'AND': [['Q97772', 'P27', {'concept': 'Q1048835'}], ['Q119547', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { resource:Q97772 property:P27 ?b . resource:Q119547 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Otto Maull Ferdinand Dümmler
action filter_type
action intersection
action find
entity Ferdinand Dümmler
relation country of citizenship
action find
entity Otto Maull
relation country of citizenship
type political territorial entity
{'AND': [['Ferdinand Dümmler', 'country of citizenship', {'concept': 'political territorial entity'}], ['Otto Maull', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Ferdinand_Dümmler property:country_of_citizenship ?b . resource:Otto_Maull property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q97772,P27,c(Q1048835)), (Q119547,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q97772
relation P27
action find
entity Q119547
relation P27
type Q1048835
[ANSWER] is Ferdinand Dümmler and Otto Maull a civilian of
{'AND': [['Q97772', 'P27', {'concept': 'Q1048835'}], ['Q119547', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { resource:Q97772 property:P27 ?b . resource:Q119547 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Germany
Germany is Ferdinand Dümmler and Otto Maull a civilian of
Germany
action filter_type
action intersection
action find
entity Ferdinand Dümmler
relation country of citizenship
action find
entity Otto Maull
relation country of citizenship
type political territorial entity
{'AND': [['Ferdinand Dümmler', 'country of citizenship', {'concept': 'political territorial entity'}], ['Otto Maull', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Ferdinand_Dümmler property:country_of_citizenship ?b . resource:Otto_Maull property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q183 Q1732879
P27
Q502895
USER
Is Karl Schneeberg a native of that political territory ?
(Q1732879,P27,Q183)
action is_in
entity Q183
action find
entity Q1732879
relation P27
['Q1732879', 'P27', 'Q183']
ASK WHERE { resource:Q1732879 property:P27 resource:Q183 }
Germany Karl Schneeberg
action is_in
entity Germany
action find
entity Karl Schneeberg
relation country of citizenship
['Karl Schneeberg', 'country of citizenship', 'Germany']
ASK WHERE { resource:Karl_Schneeberg property:country_of_citizenship resource:Germany }
[]
common name
SYSTEM
YES
(Q1732879,P27,Q183)
action is_in
entity Q183
action find
entity Q1732879
relation P27
[ANSWER]
['Q1732879', 'P27', 'Q183']
ASK WHERE { resource:Q1732879 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Karl Schneeberg
relation country of citizenship
['Karl Schneeberg', 'country of citizenship', 'Germany']
ASK WHERE { resource:Karl_Schneeberg property:country_of_citizenship resource:Germany }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q97772 Q5897 Q183
P27
Q1048835
USER
Is Ferdinand Dümmler a native of Cuxhaven and Germany ?
(Q97772,P27,Q5897) (Q97772,P27,Q183)
action is_in
entity Q97772
action intersection
action find_reverse
entity Q5897
relation P27
action find_reverse
entity Q183
relation P27
['Q97772', 'P27', 'Q5897'] ['Q97772', 'P27', 'Q183']
ASK WHERE { resource:Q97772 property:P27 resource:Q5897 . resource:Q97772 property:P27 resource:Q183 }
Ferdinand Dümmler Cuxhaven Germany
action is_in
entity Ferdinand Dümmler
action intersection
action find_reverse
entity Cuxhaven
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Ferdinand Dümmler', 'country of citizenship', 'Cuxhaven'] ['Ferdinand Dümmler', 'country of citizenship', 'Germany']
ASK WHERE { resource:Ferdinand_Dümmler property:country_of_citizenship resource:Cuxhaven . resource:Ferdinand_Dümmler property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q97772,P27,Q5897) (Q97772,P27,Q183)
action is_in
entity Q97772
action intersection
action find_reverse
entity Q5897
relation P27
action find_reverse
entity Q183
relation P27
[ANSWER]
['Q97772', 'P27', 'Q5897'] ['Q97772', 'P27', 'Q183']
ASK WHERE { resource:Q97772 property:P27 resource:Q5897 . resource:Q97772 property:P27 resource:Q183 }
NO and YES respectively
action is_in
entity Ferdinand Dümmler
action intersection
action find_reverse
entity Cuxhaven
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Ferdinand Dümmler', 'country of citizenship', 'Cuxhaven'] ['Ferdinand Dümmler', 'country of citizenship', 'Germany']
ASK WHERE { resource:Ferdinand_Dümmler property:country_of_citizenship resource:Cuxhaven . resource:Ferdinand_Dümmler property:country_of_citizenship resource:Germany }
[]