Simple Question (Direct)
Simple Question
Q153120
P106
Q28640
USER
What do Rudolf Sieber do for a living ?
(Q153120,P106,c(Q28640))
action filter_type
action find
entity Q153120
relation P106
type Q28640
['Q153120', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?r WHERE { resource:Q153120 property:P106 ?r . ?r rdf:type ontology:Q28640 }
Rudolf Sieber
action filter_type
action find
entity Rudolf Sieber
relation occupation
type profession
['Rudolf Sieber', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?r WHERE { resource:Rudolf_Sieber property:occupation ?r . ?r rdf:type ontology:profession }
[]
profession
Q3282637 Q28389
SYSTEM
film producer, screenwriter
Q3282637 Q28389
(Q153120,P106,c(Q28640))
action filter_type
action find
entity Q153120
relation P106
type Q28640
[ANSWERS] Rudolf Sieber do for a living
['Q153120', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?r WHERE { resource:Q153120 property:P106 ?r . ?r rdf:type ontology:Q28640 }
film producer screenwriter
Film producer and screenwriter Rudolf Sieber do for a living
film producer screenwriter
action filter_type
action find
entity Rudolf Sieber
relation occupation
type profession
['Rudolf Sieber', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?r WHERE { resource:Rudolf_Sieber property:occupation ?r . ?r rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q153120
P509
Q2057971
USER
What caused the death of Rudolf Sieber ?
(Q153120,P509,c(Q2057971))
action filter_type
action find
entity Q153120
relation P509
type Q2057971
['Q153120', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?y WHERE { resource:Q153120 property:P509 ?y . ?y rdf:type ontology:Q2057971 }
Rudolf Sieber
action filter_type
action find
entity Rudolf Sieber
relation cause of death
type health problem
['Rudolf Sieber', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?y WHERE { resource:Rudolf_Sieber property:cause_of_death ?y . ?y rdf:type ontology:health_problem }
[]
health problem
Q181257
SYSTEM
prostate cancer
Q181257
(Q153120,P509,c(Q2057971))
action filter_type
action find
entity Q153120
relation P509
type Q2057971
[ANSWER] caused the death of Rudolf Sieber
['Q153120', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?y WHERE { resource:Q153120 property:P509 ?y . ?y rdf:type ontology:Q2057971 }
prostate cancer
Prostate cancer caused the death of Rudolf Sieber
prostate cancer
action filter_type
action find
entity Rudolf Sieber
relation cause of death
type health problem
['Rudolf Sieber', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?y WHERE { resource:Rudolf_Sieber property:cause_of_death ?y . ?y rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q153120
P22
Q502895
USER
Which person has Rudolf Sieber as dad ?
(c(Q502895),P22,Q153120)
action filter_type
action find_reverse
entity Q153120
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q153120']
SELECT DISTINCT ?v WHERE { ?v property:P22 resource:Q153120 . ?v rdf:type ontology:Q502895 }
Rudolf Sieber
action filter_type
action find_reverse
entity Rudolf Sieber
relation father
type common name
[{'concept': 'common name'}, 'father', 'Rudolf Sieber']
SELECT DISTINCT ?v WHERE { ?v property:father resource:Rudolf_Sieber . ?v rdf:type ontology:common_name }
[]
common name
Q449649
SYSTEM
Maria Riva
Q449649
(c(Q502895),P22,Q153120)
action filter_type
action find_reverse
entity Q153120
relation P22
type Q502895
[ANSWER] has Rudolf Sieber as dad
[{'concept': 'Q502895'}, 'P22', 'Q153120']
SELECT DISTINCT ?v WHERE { ?v property:P22 resource:Q153120 . ?v rdf:type ontology:Q502895 }
Maria Riva
Maria Riva has Rudolf Sieber as dad
Maria Riva
action filter_type
action find_reverse
entity Rudolf Sieber
relation father
type common name
[{'concept': 'common name'}, 'father', 'Rudolf Sieber']
SELECT DISTINCT ?v WHERE { ?v property:father resource:Rudolf_Sieber . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q449649
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q449649,P19,c(Q56061))
action filter_type
action find
entity Q449649
relation P19
type Q56061
['Q449649', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q449649 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Maria Riva
action filter_type
action find
entity Maria Riva
relation place of birth
type administrative territorial entity
['Maria Riva', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Maria_Riva property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q449649,P19,c(Q56061))
action filter_type
action find
entity Q449649
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q449649', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q449649 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Berlin
Berlin is the place of birth of that person
Berlin
action filter_type
action find
entity Maria Riva
relation place of birth
type administrative territorial entity
['Maria Riva', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Maria_Riva property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P138
Q34442 Q2235308
USER
How many roads or ship types are named after that administrative territory ?
(c(Q34442),P138,Q64) (c(Q2235308),P138,Q64) (c(Q34442),P138,Q64) (c(Q2235308),P138,Q64)
action count
action union
action filter_type
action find_reverse
entity Q64
relation P138
type Q34442
action filter_type
action find_reverse
entity Q64
relation P138
type Q2235308
[{'concept': 'Q34442'}, 'P138', 'Q64'] [{'concept': 'Q2235308'}, 'P138', 'Q64'] [{'concept': 'Q34442'}, 'P138', 'Q64'] [{'concept': 'Q2235308'}, 'P138', 'Q64']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { VALUES ( ?o ) { ( ontology:Q34442 ) ( ontology:Q2235308 ) } . ?b rdf:type ?o }
action count
action union
action filter_type
action find_reverse
entity Berlin
relation named after
type road
action filter_type
action find_reverse
entity Berlin
relation named after
type ship type
[{'concept': 'road'}, 'named after', 'Berlin'] [{'concept': 'ship type'}, 'named after', 'Berlin'] [{'concept': 'road'}, 'named after', 'Berlin'] [{'concept': 'ship type'}, 'named after', 'Berlin']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { VALUES ( ?o ) { ( ontology:road ) ( ontology:ship_type ) } . ?b rdf:type ?o }
[]
road ship type
SYSTEM
5
Q24027247 Q15728920 Q359115 Q21938060 Q15813036
(c(Q34442),P138,Q64) (c(Q2235308),P138,Q64) (c(Q34442),P138,Q64) (c(Q2235308),P138,Q64)
action count
action union
action filter_type
action find_reverse
entity Q64
relation P138
type Q34442
action filter_type
action find_reverse
entity Q64
relation P138
type Q2235308
[ANSWER]
[{'concept': 'Q34442'}, 'P138', 'Q64'] [{'concept': 'Q2235308'}, 'P138', 'Q64'] [{'concept': 'Q34442'}, 'P138', 'Q64'] [{'concept': 'Q2235308'}, 'P138', 'Q64']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { VALUES ( ?o ) { ( ontology:Q34442 ) ( ontology:Q2235308 ) } . ?b rdf:type ?o }
Berlin Berliner Straße SS Admiral Nakhimov Berliner Straße Berliner Freiheit
5
action count
action union
action filter_type
action find_reverse
entity Berlin
relation named after
type road
action filter_type
action find_reverse
entity Berlin
relation named after
type ship type
[{'concept': 'road'}, 'named after', 'Berlin'] [{'concept': 'ship type'}, 'named after', 'Berlin'] [{'concept': 'road'}, 'named after', 'Berlin'] [{'concept': 'ship type'}, 'named after', 'Berlin']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { VALUES ( ?o ) { ( ontology:road ) ( ontology:ship_type ) } . ?b rdf:type ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q449649
P25
Q502895
USER
Who was the mother of Maria Riva ?
(Q449649,P25,c(Q502895))
action filter_type
action find
entity Q449649
relation P25
type Q502895
['Q449649', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q449649 property:P25 ?g . ?g rdf:type ontology:Q502895 }
Maria Riva
action filter_type
action find
entity Maria Riva
relation mother
type common name
['Maria Riva', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Maria_Riva property:mother ?g . ?g rdf:type ontology:common_name }
[]
common name
Q4612
SYSTEM
Marlene Dietrich
Q4612
(Q449649,P25,c(Q502895))
action filter_type
action find
entity Q449649
relation P25
type Q502895
The mother of Maria Riva was born [ANSWER]
['Q449649', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q449649 property:P25 ?g . ?g rdf:type ontology:Q502895 }
Marlene Dietrich
The mother of Maria Riva was born Marlene Dietrich
Marlene Dietrich
action filter_type
action find
entity Maria Riva
relation mother
type common name
['Maria Riva', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Maria_Riva property:mother ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4612
P20
Q15640612
USER
Where did the expiration of that person occur ?
(Q4612,P20,c(Q15640612))
action filter_type
action find
entity Q4612
relation P20
type Q15640612
['Q4612', 'P20', {'concept': 'Q15640612'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15640612 . resource:Q4612 property:P20 ?v }
Marlene Dietrich
action filter_type
action find
entity Marlene Dietrich
relation place of death
type fifth-level administrative country subdivision
['Marlene Dietrich', 'place of death', {'concept': 'fifth-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:fifth-level_administrative_country_subdivision . resource:Marlene_Dietrich property:place_of_death ?v }
[]
fifth-level administrative country subdivision
Q270230
SYSTEM
8th arrondissement of Paris
Q270230
(Q4612,P20,c(Q15640612))
action filter_type
action find
entity Q4612
relation P20
type Q15640612
The expiration of that person occurred in [ANSWER]
['Q4612', 'P20', {'concept': 'Q15640612'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15640612 . resource:Q4612 property:P20 ?v }
8th arrondissement of Paris
The expiration of that person occurred in 8th arrondissement of Paris
8th arrondissement of Paris
action filter_type
action find
entity Marlene Dietrich
relation place of death
type fifth-level administrative country subdivision
['Marlene Dietrich', 'place of death', {'concept': 'fifth-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:fifth-level_administrative_country_subdivision . resource:Marlene_Dietrich property:place_of_death ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4612
P161
Q838948
USER
How many works of art have Marlene Dietrich as actor ?
(c(Q838948),P161,Q4612)
action count
action filter_type
action find_reverse
entity Q4612
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q4612']
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P161 resource:Q4612 . ?o rdf:type ontology:Q838948 }
Marlene Dietrich
action count
action filter_type
action find_reverse
entity Marlene Dietrich
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Marlene Dietrich']
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:cast_member resource:Marlene_Dietrich . ?o rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
45
Q1543253 Q778161 Q2043040 Q173945 Q123558 Q21869738 Q2662951 Q1215722 Q1214860 Q1169701 Q488496 Q502530 Q1831792 Q21869635 Q479455 Q3828661 Q158047 Q3489278 Q279465 Q2699012 Q1193704 Q2518268 Q2663133 Q15990821 Q309545 Q632375 Q577754 Q1615135 Q1197364 Q2275081 Q2076920 Q594385 Q589237 Q1344526 Q880259 Q3208990 Q607524 Q1306289 Q1168840 Q1647821 Q2071375 Q17127730 Q19948770 Q696057 Q196977
(c(Q838948),P161,Q4612)
action count
action filter_type
action find_reverse
entity Q4612
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q4612']
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P161 resource:Q4612 . ?o rdf:type ontology:Q838948 }
Shanghai Express Touch of Evil The Lady is Willing A Foreign Affair The Flame of New Orleans Princess Olala The Spoilers No Highway in the Sky The Monte Carlo Story Rancho Notorious Café Elektric Stage Fright The Song of Songs The Monk from Santarem Marlene The Love Goddesses The Blue Angel The Film Parade The Scarlet Empress Kismet The Garden of Allah Knight Without Armour Golden Earrings Grischa the Cook Judgment at Nuremberg Just a Gigolo Morocco Manpower The Devil Is a Woman Paris When It Sizzles Martin Roumagnac Blonde Venus Angel Dishonored Black Fox: The Rise and Fall of Adolf Hitler Pittsburgh Destry Rides Again A Modern Dubarry Seven Sinners Follow the Boys Desire Tragedy of Love From Caligari to Hitler: German Cinema in the Age of the Masses Around the World in 80 Days Witness for the Prosecution
45
action count
action filter_type
action find_reverse
entity Marlene Dietrich
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Marlene Dietrich']
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:cast_member resource:Marlene_Dietrich . ?o rdf:type ontology:work_of_art }
[]