Simple Question (Direct)
Simple Question
Q1222204
P20
Q56061
USER
Where did Dieter Hülsmanns die ?
(Q1222204,P20,c(Q56061))
action filter_type
action find
entity Q1222204
relation P20
type Q56061
['Q1222204', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q1222204 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Dieter Hülsmanns
action filter_type
action find
entity Dieter Hülsmanns
relation place of death
type administrative territorial entity
['Dieter Hülsmanns', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Dieter_Hülsmanns property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1718
SYSTEM
Düsseldorf
Q1718
(Q1222204,P20,c(Q56061))
action filter_type
action find
entity Q1222204
relation P20
type Q56061
Dieter Hülsmanns died in [ANSWER]
['Q1222204', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q1222204 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Düsseldorf
Dieter Hülsmanns died in Düsseldorf
Düsseldorf
action filter_type
action find
entity Dieter Hülsmanns
relation place of death
type administrative territorial entity
['Dieter Hülsmanns', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Dieter_Hülsmanns property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1222204
P21
Q290
USER
Which sex does that person have ?
(Q1718,P21,c(Q290))
action filter_type
action find
entity Q1222204
relation P21
type Q290
['Q1718', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q1222204 property:P21 ?f . ?f rdf:type ontology:Q290 }
Dieter Hülsmanns
action filter_type
action find
entity Dieter Hülsmanns
relation gender
type sex
['Düsseldorf', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Dieter_Hülsmanns property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1718,P21,c(Q290))
action filter_type
action find
entity Q1222204
relation P21
type Q290
That person has a [ANSWER]
['Q1718', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q1222204 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Dieter Hülsmanns
relation gender
type sex
['Düsseldorf', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Dieter_Hülsmanns property:gender ?f . ?f rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q5640794
P21
Q502895
USER
Does Hal Haydel have the gender as that sex ?
(Q5640794,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q5640794
relation P21
['Q5640794', 'P21', 'Q6581097']
ASK WHERE { resource:Q5640794 property:P21 resource:Q6581097 }
male Hal Haydel
action is_in
entity male
action find
entity Hal Haydel
relation gender
['Hal Haydel', 'gender', 'male']
ASK WHERE { resource:Hal_Haydel property:gender resource:male }
[]
common name
SYSTEM
YES
(Q5640794,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q5640794
relation P21
[ANSWER]
['Q5640794', 'P21', 'Q6581097']
ASK WHERE { resource:Q5640794 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Hal Haydel
relation gender
['Hal Haydel', 'gender', 'male']
ASK WHERE { resource:Hal_Haydel property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1718 Q36312
P915
Q838948
USER
How many works of art were filmed at Düsseldorf or Calgary ?
(c(Q838948),P915,Q1718) (c(Q838948),P915,Q36312)
action count
action union
action filter_type
action find_reverse
entity Q1718
relation P915
type Q838948
action filter_type
action find_reverse
entity Q36312
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q1718'] [{'concept': 'Q838948'}, 'P915', 'Q36312']
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { VALUES ( ?a ) { ( resource:Q1718 ) ( resource:Q36312 ) } . ?u property:P915 ?a }
Düsseldorf Calgary
action count
action union
action filter_type
action find_reverse
entity Düsseldorf
relation filming location
type work of art
action filter_type
action find_reverse
entity Calgary
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Düsseldorf'] [{'concept': 'work of art'}, 'filming location', 'Calgary']
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { VALUES ( ?a ) { ( resource:Düsseldorf ) ( resource:Calgary ) } . ?u property:filming_location ?a }
[]
work of art
SYSTEM
3
Q18002795 Q1132535 Q1296385
(c(Q838948),P915,Q1718) (c(Q838948),P915,Q36312)
action count
action union
action filter_type
action find_reverse
entity Q1718
relation P915
type Q838948
action filter_type
action find_reverse
entity Q36312
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q1718'] [{'concept': 'Q838948'}, 'P915', 'Q36312']
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { VALUES ( ?a ) { ( resource:Q1718 ) ( resource:Q36312 ) } . ?u property:P915 ?a }
The Revenant Little Big Man Snow Day
3
action count
action union
action filter_type
action find_reverse
entity Düsseldorf
relation filming location
type work of art
action filter_type
action find_reverse
entity Calgary
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Düsseldorf'] [{'concept': 'work of art'}, 'filming location', 'Calgary']
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { VALUES ( ?a ) { ( resource:Düsseldorf ) ( resource:Calgary ) } . ?u property:filming_location ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1718
P1376
Q15617994
USER
Which administrative territory has that administrative territory has its center of administration ?
action filter_type
action find
entity Q1718
relation P1376
type Q15617994
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q1718 property:P1376 ?j }
Düsseldorf
action filter_type
action find
entity Düsseldorf
relation capital of
type designation for an administrative territorial entity
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Düsseldorf property:capital_of ?j }
[]
designation for an administrative territorial entity
Q1270638
SYSTEM
Rhine
Q1270638
action filter_type
action find
entity Q1718
relation P1376
type Q15617994
The [ANSWER] has that administrative territory has its center of administration
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q1718 property:P1376 ?j }
Rhine
The Rhine has that administrative territory has its center of administration
Rhine
action filter_type
action find
entity Düsseldorf
relation capital of
type designation for an administrative territorial entity
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Düsseldorf property:capital_of ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1270638
P138
Q355304
USER
Which watercourse is the origin of that administrative territory ?
(Q1270638,P138,c(Q355304))
action filter_type
action find
entity Q1270638
relation P138
type Q355304
['Q1270638', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q355304 . resource:Q1270638 property:P138 ?h }
Rhine
action filter_type
action find
entity Rhine
relation named after
type watercourse
['Rhine', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:watercourse . resource:Rhine property:named_after ?h }
[]
watercourse
Q584
SYSTEM
Rhine
Q584
(Q1270638,P138,c(Q355304))
action filter_type
action find
entity Q1270638
relation P138
type Q355304
[ANSWER] is the origin of that administrative territory
['Q1270638', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q355304 . resource:Q1270638 property:P138 ?h }
Rhine
Rhine is the origin of that administrative territory
Rhine
action filter_type
action find
entity Rhine
relation named after
type watercourse
['Rhine', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:watercourse . resource:Rhine property:named_after ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q823822
Q355304
USER
And what about Ogooué-Ivindo Province?
(Q823822,P138,c(Q355304))
action filter_type
action find
entity Q823822
relation P138
type Q355304
['Q823822', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?f WHERE { resource:Q823822 property:P138 ?f . ?f rdf:type ontology:Q355304 }
Ogooué-Ivindo Province
action filter_type
action find
entity Ogooué-Ivindo Province
relation named after
type watercourse
['Ogooué-Ivindo Province', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?f WHERE { resource:Ogooué-Ivindo_Province property:named_after ?f . ?f rdf:type ontology:watercourse }
[]
watercourse
Q1650057 Q750021
SYSTEM
Ivindo River, Ogooué River
Q1650057 Q750021
(Q823822,P138,c(Q355304))
action filter_type
action find
entity Q823822
relation P138
type Q355304
[ANSWERS]
['Q823822', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?f WHERE { resource:Q823822 property:P138 ?f . ?f rdf:type ontology:Q355304 }
Ivindo River Ogooué River
Ivindo River Ogooué River
action filter_type
action find
entity Ogooué-Ivindo Province
relation named after
type watercourse
['Ogooué-Ivindo Province', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?f WHERE { resource:Ogooué-Ivindo_Province property:named_after ?f . ?f rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1650057 Q750021
P17
Q1048835
USER
Which political territories are Ivindo River and Ogooué River located in ?
(Q1650057,P17,c(Q1048835)) (Q750021,P17,c(Q1048835))
action union
action filter_type
action find
entity Q1650057
relation P17
type Q1048835
action filter_type
action find
entity Q750021
relation P17
type Q1048835
['Q1650057', 'P17', {'concept': 'Q1048835'}] ['Q750021', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { resource:Q750021 property:P17 ?z . ?z rdf:type ontology:Q1048835 } UNION { resource:Q1650057 property:P17 ?z . ?z rdf:type ontology:Q1048835 } }
Ivindo River Ogooué River
action union
action filter_type
action find
entity Ivindo River
relation country
type political territorial entity
action filter_type
action find
entity Ogooué River
relation country
type political territorial entity
['Ivindo River', 'country', {'concept': 'political territorial entity'}] ['Ogooué River', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { resource:Ogooué_River property:country ?z . ?z rdf:type ontology:political_territorial_entity } UNION { resource:Ivindo_River property:country ?z . ?z rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
Q1000 Q1000
SYSTEM
Gabon
Q1000 Q1000
(Q1650057,P17,c(Q1048835)) (Q750021,P17,c(Q1048835))
action union
action filter_type
action find
entity Q1650057
relation P17
type Q1048835
action filter_type
action find
entity Q750021
relation P17
type Q1048835
Which political territories are Ivindo River and Ogooué River located in
['Q1650057', 'P17', {'concept': 'Q1048835'}] ['Q750021', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { resource:Q750021 property:P17 ?z . ?z rdf:type ontology:Q1048835 } UNION { resource:Q1650057 property:P17 ?z . ?z rdf:type ontology:Q1048835 } }
Gabon Gabon
Which political territories are Ivindo River and Ogooué River located in
Gabon Gabon
action union
action filter_type
action find
entity Ivindo River
relation country
type political territorial entity
action filter_type
action find
entity Ogooué River
relation country
type political territorial entity
['Ivindo River', 'country', {'concept': 'political territorial entity'}] ['Ogooué River', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { resource:Ogooué_River property:country ?z . ?z rdf:type ontology:political_territorial_entity } UNION { resource:Ivindo_River property:country ?z . ?z rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q750021
P403
Q355304
USER
Which watercourses drain into Ogooué River ?
(c(Q355304),P403,Q750021)
action filter_type
action find_reverse
entity Q750021
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q750021']
SELECT DISTINCT ?y WHERE { ?y property:P403 resource:Q750021 . ?y rdf:type ontology:Q355304 }
Ogooué River
action filter_type
action find_reverse
entity Ogooué River
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Ogooué River']
SELECT DISTINCT ?y WHERE { ?y property:mouth_of_the_watercourse resource:Ogooué_River . ?y rdf:type ontology:watercourse }
[]
watercourse
Q1650057 Q3134829 Q4784436
SYSTEM
Ivindo River, Ngounie River, Wagny River
Q1650057 Q3134829 Q4784436
(c(Q355304),P403,Q750021)
action filter_type
action find_reverse
entity Q750021
relation P403
type Q355304
River [ANSWERS] drain into Ogooué River
[{'concept': 'Q355304'}, 'P403', 'Q750021']
SELECT DISTINCT ?y WHERE { ?y property:P403 resource:Q750021 . ?y rdf:type ontology:Q355304 }
Ivindo River Ngounie River Wagny River
River Ivindo River, Ngounie River and Wagny River drain into Ogooué River
Ivindo River Ngounie River Wagny River
action filter_type
action find_reverse
entity Ogooué River
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Ogooué River']
SELECT DISTINCT ?y WHERE { ?y property:mouth_of_the_watercourse resource:Ogooué_River . ?y rdf:type ontology:watercourse }
[]