Simple Question (Direct)
Simple Question
Q121300
P21
Q290
USER
What is the sex of Aloys Ruppel ?
(Q121300,P21,c(Q290))
action filter_type
action find
entity Q121300
relation P21
type Q290
['Q121300', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q121300 property:P21 ?u . ?u rdf:type ontology:Q290 }
Aloys Ruppel
action filter_type
action find
entity Aloys Ruppel
relation gender
type sex
['Aloys Ruppel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Aloys_Ruppel property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q121300,P21,c(Q290))
action filter_type
action find
entity Q121300
relation P21
type Q290
The sex of Aloys Ruppel is the [ANSWER]
['Q121300', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q121300 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
The sex of Aloys Ruppel is the male
male
action filter_type
action find
entity Aloys Ruppel
relation gender
type sex
['Aloys Ruppel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Aloys_Ruppel property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q121300
P166
Q618779
USER
What were received by Aloys Ruppel ?
(Q121300,P166,c(Q618779))
action filter_type
action find
entity Q121300
relation P166
type Q618779
['Q121300', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { resource:Q121300 property:P166 ?g . ?g rdf:type ontology:Q618779 }
Aloys Ruppel
action filter_type
action find
entity Aloys Ruppel
relation award received
type award
['Aloys Ruppel', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { resource:Aloys_Ruppel property:award_received ?g . ?g rdf:type ontology:award }
[]
award
Q10905276 Q10855195
SYSTEM
Commander's Cross of the Order of Merit of the Federal Republic of Germany, Officer of the Legion of Honour
Q10905276 Q10855195
(Q121300,P166,c(Q618779))
action filter_type
action find
entity Q121300
relation P166
type Q618779
Germany [ANSWERS] were received by Aloys Ruppel
['Q121300', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { resource:Q121300 property:P166 ?g . ?g rdf:type ontology:Q618779 }
Commander's Cross of the Order of Merit of the Federal Republic of Germany Officer of the Legion of Honour
Germany Commander's Cross of the Order of Merit of the Federal Republic of Germany and Officer of the Legion of Honour were received by Aloys Ruppel
Commander's Cross of the Order of Merit of the Federal Republic of Germany Officer of the Legion of Honour
action filter_type
action find
entity Aloys Ruppel
relation award received
type award
['Aloys Ruppel', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { resource:Aloys_Ruppel property:award_received ?g . ?g rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q121300
P19
Q15617994
USER
Which administrative territory is the birthplace of Aloys Ruppel ?
(Q121300,P19,c(Q15617994))
action filter_type
action find
entity Q121300
relation P19
type Q15617994
['Q121300', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q121300 property:P19 ?y . ?y rdf:type ontology:Q15617994 }
Aloys Ruppel
action filter_type
action find
entity Aloys Ruppel
relation place of birth
type designation for an administrative territorial entity
['Aloys Ruppel', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Aloys_Ruppel property:place_of_birth ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q624122
SYSTEM
Neuhof
Q624122
(Q121300,P19,c(Q15617994))
action filter_type
action find
entity Q121300
relation P19
type Q15617994
[ANSWER] is the birthplace of Aloys Ruppel
['Q121300', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q121300 property:P19 ?y . ?y rdf:type ontology:Q15617994 }
Neuhof
Neuhof is the birthplace of Aloys Ruppel
Neuhof
action filter_type
action find
entity Aloys Ruppel
relation place of birth
type designation for an administrative territorial entity
['Aloys Ruppel', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Aloys_Ruppel property:place_of_birth ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q121300
P20
Q515
USER
Where did that person die ?
(Q624122,P20,c(Q515))
action filter_type
action find
entity Q121300
relation P20
type Q515
['Q624122', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q121300 property:P20 ?z . ?z rdf:type ontology:Q515 }
Aloys Ruppel
action filter_type
action find
entity Aloys Ruppel
relation place of death
type city
['Neuhof', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:Aloys_Ruppel property:place_of_death ?z . ?z rdf:type ontology:city }
[]
city
Q1720
SYSTEM
Mainz
Q1720
(Q624122,P20,c(Q515))
action filter_type
action find
entity Q121300
relation P20
type Q515
That person died in [ANSWER]
['Q624122', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q121300 property:P20 ?z . ?z rdf:type ontology:Q515 }
Mainz
That person died in Mainz
Mainz
action filter_type
action find
entity Aloys Ruppel
relation place of death
type city
['Neuhof', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:Aloys_Ruppel property:place_of_death ?z . ?z rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1720
P206
Q355304
USER
Which watercourses are located next to that city ?
(Q1720,P206,c(Q355304))
action filter_type
action find
entity Q1720
relation P206
type Q355304
['Q1720', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?y WHERE { resource:Q1720 property:P206 ?y . ?y rdf:type ontology:Q355304 }
Mainz
action filter_type
action find
entity Mainz
relation located next to body of water
type watercourse
['Mainz', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?y WHERE { resource:Mainz property:located_next_to_body_of_water ?y . ?y rdf:type ontology:watercourse }
[]
watercourse
Q1670 Q584
SYSTEM
Main, Rhine
Q1670 Q584
(Q1720,P206,c(Q355304))
action filter_type
action find
entity Q1720
relation P206
type Q355304
[ANSWERS] are located next to that city
['Q1720', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?y WHERE { resource:Q1720 property:P206 ?y . ?y rdf:type ontology:Q355304 }
Main Rhine
Main and Rhine are located next to that city
Main Rhine
action filter_type
action find
entity Mainz
relation located next to body of water
type watercourse
['Mainz', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?y WHERE { resource:Mainz property:located_next_to_body_of_water ?y . ?y rdf:type ontology:watercourse }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3593437
Q355304
USER
And how about île de la Cohue?
(Q3593437,P206,c(Q355304))
action filter_type
action find
entity Q3593437
relation P206
type Q355304
['Q3593437', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?r WHERE { resource:Q3593437 property:P206 ?r . ?r rdf:type ontology:Q355304 }
île de la Cohue
action filter_type
action find
entity île de la Cohue
relation located next to body of water
type watercourse
['île de la Cohue', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?r WHERE { resource:île_de_la_Cohue property:located_next_to_body_of_water ?r . ?r rdf:type ontology:watercourse }
[]
watercourse
Q200231
SYSTEM
Oise
Q200231
(Q3593437,P206,c(Q355304))
action filter_type
action find
entity Q3593437
relation P206
type Q355304
[ANSWER]
['Q3593437', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?r WHERE { resource:Q3593437 property:P206 ?r . ?r rdf:type ontology:Q355304 }
Oise
Oise
action filter_type
action find
entity île de la Cohue
relation located next to body of water
type watercourse
['île de la Cohue', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?r WHERE { resource:île_de_la_Cohue property:located_next_to_body_of_water ?r . ?r rdf:type ontology:watercourse }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q200231 Q31
P17
Q15617994
USER
Is that watercourse present in Belgium ?
(Q200231,P17,Q31)
action is_in
entity Q31
action find
entity Q200231
relation P17
['Q200231', 'P17', 'Q31']
ASK WHERE { resource:Q200231 property:P17 resource:Q31 }
Oise Belgium
action is_in
entity Belgium
action find
entity Oise
relation country
['Oise', 'country', 'Belgium']
ASK WHERE { resource:Oise property:country resource:Belgium }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q200231,P17,Q31)
action is_in
entity Q31
action find
entity Q200231
relation P17
[ANSWER]
['Q200231', 'P17', 'Q31']
ASK WHERE { resource:Q200231 property:P17 resource:Q31 }
Yes
action is_in
entity Belgium
action find
entity Oise
relation country
['Oise', 'country', 'Belgium']
ASK WHERE { resource:Oise property:country resource:Belgium }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5810755 Q10855195
P17
Q15617994
USER
Which administrative territories are Officer of the Legion of Honour or Ripak-e Abdok a part of ?
OR((Q10855195,P17,c(Q15617994)), (Q5810755,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q10855195
relation P17
action find
entity Q5810755
relation P17
type Q15617994
{'OR': [['Q10855195', 'P17', {'concept': 'Q15617994'}], ['Q5810755', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q10855195 property:P17 ?o } UNION { resource:Q5810755 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
Ripak-e Abdok Officer of the Legion of Honour
action filter_type
action union
action find
entity Officer of the Legion of Honour
relation country
action find
entity Ripak-e Abdok
relation country
type designation for an administrative territorial entity
{'OR': [['Officer of the Legion of Honour', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ripak-e Abdok', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Officer_of_the_Legion_of_Honour property:country ?o } UNION { resource:Ripak-e_Abdok property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q794
SYSTEM
France, Iran
Q142 Q794
OR((Q10855195,P17,c(Q15617994)), (Q5810755,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q10855195
relation P17
action find
entity Q5810755
relation P17
type Q15617994
[ANSWERS] are Officer of the Legion of Honour or Ripak-e Abdok a part of
{'OR': [['Q10855195', 'P17', {'concept': 'Q15617994'}], ['Q5810755', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q10855195 property:P17 ?o } UNION { resource:Q5810755 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
France Iran
France and Iran are Officer of the Legion of Honour or Ripak-e Abdok a part of
France Iran
action filter_type
action union
action find
entity Officer of the Legion of Honour
relation country
action find
entity Ripak-e Abdok
relation country
type designation for an administrative territorial entity
{'OR': [['Officer of the Legion of Honour', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ripak-e Abdok', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Officer_of_the_Legion_of_Honour property:country ?o } UNION { resource:Ripak-e_Abdok property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]