Simple Question (Direct)
Simple Question
Q100558
P39
Q12737077
USER
Which occupation was a position occupied by Helmut Diegel ?
(Q100558,P39,c(Q12737077))
action filter_type
action find
entity Q100558
relation P39
type Q12737077
['Q100558', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q100558 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Helmut Diegel
action filter_type
action find
entity Helmut Diegel
relation position held
type occupation
['Helmut Diegel', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Helmut_Diegel property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q17781726
SYSTEM
member of the Landtag of North Rhine-Westphalia
Q17781726
(Q100558,P39,c(Q12737077))
action filter_type
action find
entity Q100558
relation P39
type Q12737077
A [ANSWER] was a position occupied by Helmut Diegel
['Q100558', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q100558 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
member of the Landtag of North Rhine-Westphalia
A member of the Landtag of North Rhine-Westphalia was a position occupied by Helmut Diegel
member of the Landtag of North Rhine-Westphalia
action filter_type
action find
entity Helmut Diegel
relation position held
type occupation
['Helmut Diegel', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Helmut_Diegel property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q472245 Q100558
P19 P937
Q56061
USER
Which administrative territories are the locations where Helmut Diegel worked or are the birthplace of Jacob van Heemskerk ?
OR((Q100558,P937,c(Q56061)), (Q472245,P19,c(Q56061)))
action filter_type
action union
action find
entity Q100558
relation P937
action find
entity Q472245
relation P19
type Q56061
{'OR': [['Q100558', 'P937', {'concept': 'Q56061'}], ['Q472245', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q472245 property:P19 ?m } UNION { resource:Q100558 property:P937 ?m } } . ?m rdf:type ontology:Q56061 }
Jacob van Heemskerk Helmut Diegel
action filter_type
action union
action find
entity Helmut Diegel
relation work location
action find
entity Jacob van Heemskerk
relation place of birth
type administrative territorial entity
{'OR': [['Helmut Diegel', 'work location', {'concept': 'administrative territorial entity'}], ['Jacob van Heemskerk', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Jacob_van_Heemskerk property:place_of_birth ?m } UNION { resource:Helmut_Diegel property:work_location ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q727 Q1718
SYSTEM
Amsterdam, Düsseldorf
Q727 Q1718
OR((Q100558,P937,c(Q56061)), (Q472245,P19,c(Q56061)))
action filter_type
action union
action find
entity Q100558
relation P937
action find
entity Q472245
relation P19
type Q56061
[ANSWERS] are the locations where Helmut Diegel worked or are the birthplace of Jacob van Heemskerk
{'OR': [['Q100558', 'P937', {'concept': 'Q56061'}], ['Q472245', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q472245 property:P19 ?m } UNION { resource:Q100558 property:P937 ?m } } . ?m rdf:type ontology:Q56061 }
Amsterdam Düsseldorf
Amsterdam and Düsseldorf are the locations where Helmut Diegel worked or are the birthplace of Jacob van Heemskerk
Amsterdam Düsseldorf
action filter_type
action union
action find
entity Helmut Diegel
relation work location
action find
entity Jacob van Heemskerk
relation place of birth
type administrative territorial entity
{'OR': [['Helmut Diegel', 'work location', {'concept': 'administrative territorial entity'}], ['Jacob van Heemskerk', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Jacob_van_Heemskerk property:place_of_birth ?m } UNION { resource:Helmut_Diegel property:work_location ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1964408
P551
Q502895
USER
Does Nan Hoover dwell at those administrative territories ?
(Q1964408,P551,Q727) (Q1964408,P551,Q1718)
action is_in
entity prev_answer
action find
entity Q1964408
relation P551
['Q1964408', 'P551', 'Q727'] ['Q1964408', 'P551', 'Q1718']
ASK WHERE { resource:Q1964408 property:P551 ?r . VALUES ( ?r ) { ( resource:Q727 ) ( resource:Q1718 ) } }
Nan Hoover
action is_in
entity prev_answer
action find
entity Nan Hoover
relation residence
['Nan Hoover', 'residence', 'Amsterdam'] ['Nan Hoover', 'residence', 'Düsseldorf']
ASK WHERE { resource:Nan_Hoover property:residence ?r . VALUES ( ?r ) { ( resource:Amsterdam ) ( resource:Düsseldorf ) } }
[]
common name
SYSTEM
YES
(Q1964408,P551,Q727) (Q1964408,P551,Q1718)
action is_in
entity prev_answer
action find
entity Q1964408
relation P551
[ANSWER]
['Q1964408', 'P551', 'Q727'] ['Q1964408', 'P551', 'Q1718']
ASK WHERE { resource:Q1964408 property:P551 ?r . VALUES ( ?r ) { ( resource:Q727 ) ( resource:Q1718 ) } }
Yes
action is_in
entity prev_answer
action find
entity Nan Hoover
relation residence
['Nan Hoover', 'residence', 'Amsterdam'] ['Nan Hoover', 'residence', 'Düsseldorf']
ASK WHERE { resource:Nan_Hoover property:residence ?r . VALUES ( ?r ) { ( resource:Amsterdam ) ( resource:Düsseldorf ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1718 Q5938472
P6
Q502895
USER
Does Düsseldorf serve as the head of government for José Benito de Aranda ?
(Q1718,P6,Q5938472)
action is_in
entity Q5938472
action find
entity Q1718
relation P6
['Q1718', 'P6', 'Q5938472']
ASK WHERE { resource:Q1718 property:P6 resource:Q5938472 }
Düsseldorf José Benito de Aranda
action is_in
entity José Benito de Aranda
action find
entity Düsseldorf
relation head of government
['Düsseldorf', 'head of government', 'José Benito de Aranda']
ASK WHERE { resource:Düsseldorf property:head_of_government resource:José_Benito_de_Aranda }
[]
common name
SYSTEM
NO
(Q1718,P6,Q5938472)
action is_in
entity Q5938472
action find
entity Q1718
relation P6
[ANSWER]
['Q1718', 'P6', 'Q5938472']
ASK WHERE { resource:Q1718 property:P6 resource:Q5938472 }
No
action is_in
entity José Benito de Aranda
action find
entity Düsseldorf
relation head of government
['Düsseldorf', 'head of government', 'José Benito de Aranda']
ASK WHERE { resource:Düsseldorf property:head_of_government resource:José_Benito_de_Aranda }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q188740
P84
Q502895
USER
Who are the architects of Museum of Modern Art ?
(Q188740,P84,c(Q502895))
action filter_type
action find
entity Q188740
relation P84
type Q502895
['Q188740', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q188740 property:P84 ?k . ?k rdf:type ontology:Q502895 }
Museum of Modern Art
action filter_type
action find
entity Museum of Modern Art
relation architect
type common name
['Museum of Modern Art', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Museum_of_Modern_Art property:architect ?k . ?k rdf:type ontology:common_name }
[]
common name
Q1396719 Q3048508
SYSTEM
Yoshio Taniguchi, Edward Durell Stone
Q1396719 Q3048508
(Q188740,P84,c(Q502895))
action filter_type
action find
entity Q188740
relation P84
type Q502895
The architects of Museum of Modern Art are [ANSWERS]
['Q188740', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q188740 property:P84 ?k . ?k rdf:type ontology:Q502895 }
Yoshio Taniguchi Edward Durell Stone
The architects of Museum of Modern Art are Yoshio Taniguchi and Edward Durell Stone
Yoshio Taniguchi Edward Durell Stone
action filter_type
action find
entity Museum of Modern Art
relation architect
type common name
['Museum of Modern Art', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Museum_of_Modern_Art property:architect ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q188740
P608
Q2424752
USER
Which product was that museum presented at ?
(c(Q2424752),P608,Q1396719) (c(Q2424752),P608,Q3048508)
action filter_type
action find_reverse
entity Q188740
relation P608
type Q2424752
[{'concept': 'Q2424752'}, 'P608', 'Q1396719'] [{'concept': 'Q2424752'}, 'P608', 'Q3048508']
SELECT DISTINCT ?a WHERE { ?a property:P608 resource:Q188740 . ?a rdf:type ontology:Q2424752 }
Museum of Modern Art
action filter_type
action find_reverse
entity Museum of Modern Art
relation exhibition history
type product
[{'concept': 'product'}, 'exhibition history', 'Yoshio Taniguchi'] [{'concept': 'product'}, 'exhibition history', 'Edward Durell Stone']
SELECT DISTINCT ?a WHERE { ?a property:exhibition_history resource:Museum_of_Modern_Art . ?a rdf:type ontology:product }
[]
product
Q18051024
SYSTEM
Bell 47D-1
Q18051024
(c(Q2424752),P608,Q1396719) (c(Q2424752),P608,Q3048508)
action filter_type
action find_reverse
entity Q188740
relation P608
type Q2424752
That museum was presented a [ANSWER]
[{'concept': 'Q2424752'}, 'P608', 'Q1396719'] [{'concept': 'Q2424752'}, 'P608', 'Q3048508']
SELECT DISTINCT ?a WHERE { ?a property:P608 resource:Q188740 . ?a rdf:type ontology:Q2424752 }
Bell 47D-1
That museum was presented a Bell 47D-1
Bell 47D-1
action filter_type
action find_reverse
entity Museum of Modern Art
relation exhibition history
type product
[{'concept': 'product'}, 'exhibition history', 'Yoshio Taniguchi'] [{'concept': 'product'}, 'exhibition history', 'Edward Durell Stone']
SELECT DISTINCT ?a WHERE { ?a property:exhibition_history resource:Museum_of_Modern_Art . ?a rdf:type ontology:product }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3048508
P69
Q163740
USER
What are the nonprofit organizations where Edward Durell Stone were educated ?
(Q3048508,P69,c(Q163740))
action filter_type
action find
entity Q3048508
relation P69
type Q163740
['Q3048508', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?t WHERE { resource:Q3048508 property:P69 ?t . ?t rdf:type ontology:Q163740 }
Edward Durell Stone
action filter_type
action find
entity Edward Durell Stone
relation educated at
type nonprofit organization
['Edward Durell Stone', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?t WHERE { resource:Edward_Durell_Stone property:educated_at ?t . ?t rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49108 Q13371
SYSTEM
Massachusetts Institute of Technology, Harvard University
Q49108 Q13371
(Q3048508,P69,c(Q163740))
action filter_type
action find
entity Q3048508
relation P69
type Q163740
The nonprofit organizations Edward Durell Stone were educated are the [ANSWERS]
['Q3048508', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?t WHERE { resource:Q3048508 property:P69 ?t . ?t rdf:type ontology:Q163740 }
Massachusetts Institute of Technology Harvard University
The nonprofit organizations Edward Durell Stone were educated are the Massachusetts Institute of Technology and Harvard University
Massachusetts Institute of Technology Harvard University
action filter_type
action find
entity Edward Durell Stone
relation educated at
type nonprofit organization
['Edward Durell Stone', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?t WHERE { resource:Edward_Durell_Stone property:educated_at ?t . ?t rdf:type ontology:nonprofit_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3048508
P20
Q56061
USER
How many administrative territories did Edward Durell Stone die ?
(Q3048508,P20,c(Q56061))
action count
action filter_type
action find
entity Q3048508
relation P20
type Q56061
['Q3048508', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Q3048508 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Edward Durell Stone
action count
action filter_type
action find
entity Edward Durell Stone
relation place of death
type administrative territorial entity
['Edward Durell Stone', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Edward_Durell_Stone property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q60
(Q3048508,P20,c(Q56061))
action count
action filter_type
action find
entity Q3048508
relation P20
type Q56061
[ANSWER]
['Q3048508', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Q3048508 property:P20 ?s . ?s rdf:type ontology:Q56061 }
New York City
1
action count
action filter_type
action find
entity Edward Durell Stone
relation place of death
type administrative territorial entity
['Edward Durell Stone', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Edward_Durell_Stone property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q727
P532
Q2235308
USER
Which ship types have Amsterdam as registry port ?
(c(Q2235308),P532,Q727)
action filter_type
action find_reverse
entity Q727
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', 'Q727']
SELECT DISTINCT ?s WHERE { ?s property:P532 resource:Q727 . ?s rdf:type ontology:Q2235308 }
Amsterdam
action filter_type
action find_reverse
entity Amsterdam
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Amsterdam']
SELECT DISTINCT ?s WHERE { ?s property:port_of_registry resource:Amsterdam . ?s rdf:type ontology:ship_type }
[]
ship type
Q1293488 Q168474
SYSTEM
MV Esperanza, MV Arctic Sunrise
Q1293488 Q168474
(c(Q2235308),P532,Q727)
action filter_type
action find_reverse
entity Q727
relation P532
type Q2235308
[ANSWERS] have Amsterdam as registry port
[{'concept': 'Q2235308'}, 'P532', 'Q727']
SELECT DISTINCT ?s WHERE { ?s property:P532 resource:Q727 . ?s rdf:type ontology:Q2235308 }
MV Esperanza MV Arctic Sunrise
MV Esperanza and MV Arctic Sunrise have Amsterdam as registry port
MV Esperanza MV Arctic Sunrise
action filter_type
action find_reverse
entity Amsterdam
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Amsterdam']
SELECT DISTINCT ?s WHERE { ?s property:port_of_registry resource:Amsterdam . ?s rdf:type ontology:ship_type }
[]
Clarification
Simple Question|Single Entity|Indirect
Q168474
P504
Q56061
USER
What serves the home port of that ship type ?
(Q168474,P504,c(Q56061))
action filter_type
action find
entity Q168474
relation P504
type Q56061
['Q168474', 'P504', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q168474 property:P504 ?l . ?l rdf:type ontology:Q56061 }
MV Arctic Sunrise
action filter_type
action find
entity MV Arctic Sunrise
relation home port
type administrative territorial entity
['MV Arctic Sunrise', 'home port', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:MV_Arctic_Sunrise property:home_port ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q1293488
SYSTEM
Did you mean MV Esperanza ?
Q1293488 Q168474
(Q1293488,P504,c(Q56061)) (Q168474,P504,c(Q56061))
[ANSWER]
['Q1293488', 'P504', {'concept': 'Q56061'}] ['Q168474', 'P504', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q168474 property:P504 ?l . ?l rdf:type ontology:Q56061 }
MV Esperanza MV Arctic Sunrise
Did you mean MV Esperanza ?
MV Esperanza
['MV Esperanza', 'home port', {'concept': 'administrative territorial entity'}] ['MV Arctic Sunrise', 'home port', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:MV_Arctic_Sunrise property:home_port ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant MV Arctic Sunrise. Could you tell me the answer for that?
(Q168474,P504,c(Q56061))
Q168474
['Q168474', 'P504', {'concept': 'Q56061'}]
['MV Arctic Sunrise', 'home port', {'concept': 'administrative territorial entity'}]
[]
Q727
SYSTEM
Amsterdam
Q727
(Q168474,P504,c(Q56061))
action filter_type
action find
entity Q168474
relation P504
type Q56061
[ANSWER] serves the home port of that ship type
['Q168474', 'P504', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q168474 property:P504 ?l . ?l rdf:type ontology:Q56061 }
Amsterdam
Amsterdam serves the home port of that ship type
Amsterdam
action filter_type
action find
entity MV Arctic Sunrise
relation home port
type administrative territorial entity
['MV Arctic Sunrise', 'home port', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:MV_Arctic_Sunrise property:home_port ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]