Simple Question (Direct)
Simple Question
Q1706036
P20
Q56061
USER
Where did Josef Wiedemann expire ?
(Q1706036,P20,c(Q56061))
action filter_type
action find
entity Q1706036
relation P20
type Q56061
['Q1706036', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q1706036 property:P20 ?k }
Josef Wiedemann
action filter_type
action find
entity Josef Wiedemann
relation place of death
type administrative territorial entity
['Josef Wiedemann', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Josef_Wiedemann property:place_of_death ?k }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q1706036,P20,c(Q56061))
action filter_type
action find
entity Q1706036
relation P20
type Q56061
Josef Wiedemann expired in [ANSWER]
['Q1706036', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q1706036 property:P20 ?k }
Munich
Josef Wiedemann expired in Munich
Munich
action filter_type
action find
entity Josef Wiedemann
relation place of death
type administrative territorial entity
['Josef Wiedemann', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Josef_Wiedemann property:place_of_death ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1706036
P21
Q290
USER
Which sex does that person belong to ?
(Q1726,P21,c(Q290))
action filter_type
action find
entity Q1706036
relation P21
type Q290
['Q1726', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q1706036 property:P21 ?d . ?d rdf:type ontology:Q290 }
Josef Wiedemann
action filter_type
action find
entity Josef Wiedemann
relation gender
type sex
['Munich', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Josef_Wiedemann property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1726,P21,c(Q290))
action filter_type
action find
entity Q1706036
relation P21
type Q290
That person belongs to [ANSWER]
['Q1726', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q1706036 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Josef Wiedemann
relation gender
type sex
['Munich', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Josef_Wiedemann property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1706036
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q1706036
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q1706036 property:P19 ?f }
Josef Wiedemann
action filter_type
action find
entity Josef Wiedemann
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Josef_Wiedemann property:place_of_birth ?f }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q1706036
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q1706036 property:P19 ?f }
Munich
Munich is the place of birth of that person
Munich
action filter_type
action find
entity Josef Wiedemann
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Josef_Wiedemann property:place_of_birth ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1726
P1071
Q811704
USER
Which class has that administrative territory as its finally place of assembly ?
(c(Q811704),P1071,Q1726)
action filter_type
action find_reverse
entity Q1726
relation P1071
type Q811704
[{'concept': 'Q811704'}, 'P1071', 'Q1726']
SELECT DISTINCT ?v WHERE { ?v property:P1071 resource:Q1726 . ?v rdf:type ontology:Q811704 }
Munich
action filter_type
action find_reverse
entity Munich
relation location of final assembly
type class
[{'concept': 'class'}, 'location of final assembly', 'Munich']
SELECT DISTINCT ?v WHERE { ?v property:location_of_final_assembly resource:Munich . ?v rdf:type ontology:class }
[]
class
Q293803
SYSTEM
ÖLEG A
Q293803
(c(Q811704),P1071,Q1726)
action filter_type
action find_reverse
entity Q1726
relation P1071
type Q811704
Öleg A has that administrative territory as its finally place of assembly
[{'concept': 'Q811704'}, 'P1071', 'Q1726']
SELECT DISTINCT ?v WHERE { ?v property:P1071 resource:Q1726 . ?v rdf:type ontology:Q811704 }
ÖLEG A
Öleg A has that administrative territory as its finally place of assembly
ÖLEG A
action filter_type
action find_reverse
entity Munich
relation location of final assembly
type class
[{'concept': 'class'}, 'location of final assembly', 'Munich']
SELECT DISTINCT ?v WHERE { ?v property:location_of_final_assembly resource:Munich . ?v rdf:type ontology:class }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q293803
P176
Q362482
USER
Who is the maker of that class ?
(Q293803,P176,c(Q362482))
action filter_type
action find
entity Q293803
relation P176
type Q362482
['Q293803', 'P176', {'concept': 'Q362482'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q362482 . resource:Q293803 property:P176 ?b }
ÖLEG A
action filter_type
action find
entity ÖLEG A
relation manufacturer
type operation
['ÖLEG A', 'manufacturer', {'concept': 'operation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:operation . resource:ÖLEG_A property:manufacturer ?b }
[]
operation
Q16283636
SYSTEM
Lokomotivfabrik Krauss & Co.
Q16283636
(Q293803,P176,c(Q362482))
action filter_type
action find
entity Q293803
relation P176
type Q362482
The maker of that class is the [ANSWER]
['Q293803', 'P176', {'concept': 'Q362482'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q362482 . resource:Q293803 property:P176 ?b }
Lokomotivfabrik Krauss & Co.
The maker of that class is the Lokomotivfabrik Krauss & Co.
Lokomotivfabrik Krauss & Co.
action filter_type
action find
entity ÖLEG A
relation manufacturer
type operation
['ÖLEG A', 'manufacturer', {'concept': 'operation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:operation . resource:ÖLEG_A property:manufacturer ?b }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1689948 Q1706036
P27
Q1048835
USER
Which political territories do Josef Wiedemann or Werner Spiess belong to ?
OR((Q1706036,P27,c(Q1048835)), (Q1689948,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1706036
relation P27
action find
entity Q1689948
relation P27
type Q1048835
{'OR': [['Q1706036', 'P27', {'concept': 'Q1048835'}], ['Q1689948', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1706036 property:P27 ?f } UNION { resource:Q1689948 property:P27 ?f } } . ?f rdf:type ontology:Q1048835 }
Werner Spiess Josef Wiedemann
action filter_type
action union
action find
entity Josef Wiedemann
relation country of citizenship
action find
entity Werner Spiess
relation country of citizenship
type political territorial entity
{'OR': [['Josef Wiedemann', 'country of citizenship', {'concept': 'political territorial entity'}], ['Werner Spiess', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Josef_Wiedemann property:country_of_citizenship ?f } UNION { resource:Werner_Spiess property:country_of_citizenship ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
OR((Q1706036,P27,c(Q1048835)), (Q1689948,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1706036
relation P27
action find
entity Q1689948
relation P27
type Q1048835
Josef Wiedemann or Werner Spiess belong to Nazi [ANSWER]
{'OR': [['Q1706036', 'P27', {'concept': 'Q1048835'}], ['Q1689948', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1706036 property:P27 ?f } UNION { resource:Q1689948 property:P27 ?f } } . ?f rdf:type ontology:Q1048835 }
Germany
Josef Wiedemann or Werner Spiess belong to Nazi Germany
Germany
action filter_type
action union
action find
entity Josef Wiedemann
relation country of citizenship
action find
entity Werner Spiess
relation country of citizenship
type political territorial entity
{'OR': [['Josef Wiedemann', 'country of citizenship', {'concept': 'political territorial entity'}], ['Werner Spiess', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Josef_Wiedemann property:country_of_citizenship ?f } UNION { resource:Werner_Spiess property:country_of_citizenship ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1230093 Q1689948
P47 P27
Q1048835
USER
Which political territories are Werner Spiess a civilian of or share the border with La Secuita ?
OR((Q1689948,P27,c(Q1048835)), (Q1230093,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1689948
relation P27
action find
entity Q1230093
relation P47
type Q1048835
{'OR': [['Q1689948', 'P27', {'concept': 'Q1048835'}], ['Q1230093', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q1689948 property:P27 ?h } UNION { resource:Q1230093 property:P47 ?h } } . ?h rdf:type ontology:Q1048835 }
La Secuita Werner Spiess
action filter_type
action union
action find
entity Werner Spiess
relation country of citizenship
action find
entity La Secuita
relation shares border with
type political territorial entity
{'OR': [['Werner Spiess', 'country of citizenship', {'concept': 'political territorial entity'}], ['La Secuita', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Werner_Spiess property:country_of_citizenship ?h } UNION { resource:La_Secuita property:shares_border_with ?h } } . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q596705 Q531967 Q594741 Q1228586 Q1233541 Q183 Q576658 Q178822
SYSTEM
Els Pallaresos, Perafort, El Catllar, Els Garidells, Renau, Germany, Vallmoll, Nulles
Q596705 Q531967 Q594741 Q1228586 Q1233541 Q183 Q576658 Q178822
OR((Q1689948,P27,c(Q1048835)), (Q1230093,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1689948
relation P27
action find
entity Q1230093
relation P47
type Q1048835
[ANSWERS] are Werner Spiess a civilian of or share the border with La Secuita
{'OR': [['Q1689948', 'P27', {'concept': 'Q1048835'}], ['Q1230093', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q1689948 property:P27 ?h } UNION { resource:Q1230093 property:P47 ?h } } . ?h rdf:type ontology:Q1048835 }
Els Pallaresos Perafort El Catllar Els Garidells Renau Germany Vallmoll Nulles
Els Pallaresos, Perafort, El Catllar, Els Garidells, Renau, Germany, Vallmoll and Nulles are Werner Spiess a civilian of or share the border with La Secuita
Els Pallaresos Perafort El Catllar Els Garidells Renau Germany Vallmoll Nulles
action filter_type
action union
action find
entity Werner Spiess
relation country of citizenship
action find
entity La Secuita
relation shares border with
type political territorial entity
{'OR': [['Werner Spiess', 'country of citizenship', {'concept': 'political territorial entity'}], ['La Secuita', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Werner_Spiess property:country_of_citizenship ?h } UNION { resource:La_Secuita property:shares_border_with ?h } } . ?h rdf:type ontology:political_territorial_entity }
[]