Simple Question (Direct)
Simple Question
Q6273417
P108
Q43229
USER
Which organization is the workplace of Jonathan Holmes ?
(Q6273417,P108,c(Q43229))
action filter_type
action find
entity Q6273417
relation P108
type Q43229
['Q6273417', 'P108', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { resource:Q6273417 property:P108 ?i . ?i rdf:type ontology:Q43229 }
Jonathan Holmes
action filter_type
action find
entity Jonathan Holmes
relation employer
type organization
['Jonathan Holmes', 'employer', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { resource:Jonathan_Holmes property:employer ?i . ?i rdf:type ontology:organization }
[]
organization
Q9531
SYSTEM
BBC
Q9531
(Q6273417,P108,c(Q43229))
action filter_type
action find
entity Q6273417
relation P108
type Q43229
[ANSWER] is the workplace of Jonathan Holmes
['Q6273417', 'P108', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { resource:Q6273417 property:P108 ?i . ?i rdf:type ontology:Q43229 }
BBC
BBC is the workplace of Jonathan Holmes
BBC
action filter_type
action find
entity Jonathan Holmes
relation employer
type organization
['Jonathan Holmes', 'employer', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { resource:Jonathan_Holmes property:employer ?i . ?i rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6273417
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q9531,P27,c(Q1048835))
action filter_type
action find
entity Q6273417
relation P27
type Q1048835
['Q9531', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q6273417 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Jonathan Holmes
action filter_type
action find
entity Jonathan Holmes
relation country of citizenship
type political territorial entity
['BBC', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Jonathan_Holmes property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q9531,P27,c(Q1048835))
action filter_type
action find
entity Q6273417
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q9531', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q6273417 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Australia
Australia is the native country of that person
Australia
action filter_type
action find
entity Jonathan Holmes
relation country of citizenship
type political territorial entity
['BBC', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Jonathan_Holmes property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q408
P1344
Q350604 Q198
USER
How many armed conflicts or wars did Australia compete in ?
(Q408,P1344,c(Q350604)) (Q408,P1344,c(Q198))
action count
action union
action filter_type
action find
entity Q408
relation P1344
type Q350604
action filter_type
action find
entity Q408
relation P1344
type Q198
['Q408', 'P1344', {'concept': 'Q350604'}] ['Q408', 'P1344', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { resource:Q408 property:P1344 ?m . ?m rdf:type ontology:Q198 } UNION { ?m rdf:type ontology:Q350604 . resource:Q408 property:P1344 ?m } }
Australia
action count
action union
action filter_type
action find
entity Australia
relation participant of
type armed conflict
action filter_type
action find
entity Australia
relation participant of
type war
['Australia', 'participant of', {'concept': 'armed conflict'}] ['Australia', 'participant of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { resource:Australia property:participant_of ?m . ?m rdf:type ontology:war } UNION { ?m rdf:type ontology:armed_conflict . resource:Australia property:participant_of ?m } }
[]
armed conflict war
SYSTEM
10
Q361 Q8663 Q182865 Q37643 Q362 Q79911 Q8740 Q17507684 Q545449 Q215112
(Q408,P1344,c(Q350604)) (Q408,P1344,c(Q198))
action count
action union
action filter_type
action find
entity Q408
relation P1344
type Q350604
action filter_type
action find
entity Q408
relation P1344
type Q198
[ANSWER]
['Q408', 'P1344', {'concept': 'Q350604'}] ['Q408', 'P1344', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { resource:Q408 property:P1344 ?m . ?m rdf:type ontology:Q198 } UNION { ?m rdf:type ontology:Q350604 . resource:Q408 property:P1344 ?m } }
World War I Korean War War in Afghanistan Gulf War World War II Russian Civil War Vietnam War military intervention against ISIL Iraq War Second Boer War
10
action count
action union
action filter_type
action find
entity Australia
relation participant of
type armed conflict
action filter_type
action find
entity Australia
relation participant of
type war
['Australia', 'participant of', {'concept': 'armed conflict'}] ['Australia', 'participant of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { { resource:Australia property:participant_of ?m . ?m rdf:type ontology:war } UNION { ?m rdf:type ontology:armed_conflict . resource:Australia property:participant_of ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P710
Q1190554
USER
Which events did Australia participate in ?
(c(Q1190554),P710,Q408)
action filter_type
action find_reverse
entity Q408
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q408']
SELECT DISTINCT ?m WHERE { ?m property:P710 resource:Q408 . ?m rdf:type ontology:Q1190554 }
Australia
action filter_type
action find_reverse
entity Australia
relation participant
type event
[{'concept': 'event'}, 'participant', 'Australia']
SELECT DISTINCT ?m WHERE { ?m property:participant resource:Australia . ?m rdf:type ontology:event }
[]
event
Q218678 Q16470 Q3636355
SYSTEM
North African Campaign, Normandy landings, Battle of Broodseinde
Q1934591 Q16470 Q620215 Q218678 Q4871421 Q3636355
(c(Q1190554),P710,Q408)
action filter_type
action find_reverse
entity Q408
relation P710
type Q1190554
Australia participated in [ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q408']
SELECT DISTINCT ?m WHERE { ?m property:P710 resource:Q408 . ?m rdf:type ontology:Q1190554 }
Battle of North Borneo Normandy landings Battle of Mont Saint-Quentin North African Campaign Battle of Khaz Oruzgan Battle of Broodseinde
Australia participated in North African Campaign, Normandy landings and Battle of Broodseinde
North African Campaign Normandy landings Battle of Broodseinde
action filter_type
action find_reverse
entity Australia
relation participant
type event
[{'concept': 'event'}, 'participant', 'Australia']
SELECT DISTINCT ?m WHERE { ?m property:participant resource:Australia . ?m rdf:type ontology:event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q218678
P276
Q161243
USER
Where can that event be found ?
(Q218678,P276,c(Q161243))
action filter_type
action find
entity Q218678
relation P276
type Q161243
['Q218678', 'P276', {'concept': 'Q161243'}]
SELECT DISTINCT ?r WHERE { resource:Q218678 property:P276 ?r . ?r rdf:type ontology:Q161243 }
North African Campaign
action filter_type
action find
entity North African Campaign
relation location
type dependent territory
['North African Campaign', 'location', {'concept': 'dependent territory'}]
SELECT DISTINCT ?r WHERE { resource:North_African_Campaign property:location ?r . ?r rdf:type ontology:dependent_territory }
[]
dependent territory
Clarification for simple ques.
Q218678
SYSTEM
Did you mean North African Campaign ?
Q218678 Q16470 Q3636355
(Q218678,P276,c(Q161243)) (Q16470,P276,c(Q161243)) (Q3636355,P276,c(Q161243))
[ANSWER]
['Q218678', 'P276', {'concept': 'Q161243'}] ['Q16470', 'P276', {'concept': 'Q161243'}] ['Q3636355', 'P276', {'concept': 'Q161243'}]
SELECT DISTINCT ?r WHERE { resource:Q218678 property:P276 ?r . ?r rdf:type ontology:Q161243 }
North African Campaign Normandy landings Battle of Broodseinde
Did you mean North African Campaign ?
North African Campaign
['North African Campaign', 'location', {'concept': 'dependent territory'}] ['Normandy landings', 'location', {'concept': 'dependent territory'}] ['Battle of Broodseinde', 'location', {'concept': 'dependent territory'}]
SELECT DISTINCT ?r WHERE { resource:North_African_Campaign property:location ?r . ?r rdf:type ontology:dependent_territory }
[]
Simple Question (Coreferenced)
USER
Yes
(Q218678,P276,c(Q161243))
['Q218678', 'P276', {'concept': 'Q161243'}]
['North African Campaign', 'location', {'concept': 'dependent territory'}]
[]
Q218272 Q907234 Q2017684
SYSTEM
French Algeria, French protectorate in Morocco, French protectorate of Tunisia
Q218272 Q2017684 Q907234
(Q218678,P276,c(Q161243))
action filter_type
action find
entity Q218678
relation P276
type Q161243
That event can be found in [ANSWERS]
['Q218678', 'P276', {'concept': 'Q161243'}]
SELECT DISTINCT ?r WHERE { resource:Q218678 property:P276 ?r . ?r rdf:type ontology:Q161243 }
French Algeria French protectorate of Tunisia French protectorate in Morocco
That event can be found in French Algeria, French protectorate in Morocco and French protectorate of Tunisia
French Algeria French protectorate in Morocco French protectorate of Tunisia
action filter_type
action find
entity North African Campaign
relation location
type dependent territory
['North African Campaign', 'location', {'concept': 'dependent territory'}]
SELECT DISTINCT ?r WHERE { resource:North_African_Campaign property:location ?r . ?r rdf:type ontology:dependent_territory }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q218678
P710
Q1190554
USER
Do North African Campaign have those dependent territories as their participant ?
(Q218678,P710,Q218272) (Q218678,P710,Q907234) (Q218678,P710,Q2017684)
action is_in
entity prev_answer
action find
entity Q218678
relation P710
['Q218678', 'P710', 'Q218272'] ['Q218678', 'P710', 'Q907234'] ['Q218678', 'P710', 'Q2017684']
ASK WHERE { resource:Q218678 property:P710 ?f . VALUES ( ?f ) { ( resource:Q218272 ) ( resource:Q2017684 ) ( resource:Q907234 ) } }
North African Campaign
action is_in
entity prev_answer
action find
entity North African Campaign
relation participant
['North African Campaign', 'participant', 'French Algeria'] ['North African Campaign', 'participant', 'French protectorate in Morocco'] ['North African Campaign', 'participant', 'French protectorate of Tunisia']
ASK WHERE { resource:North_African_Campaign property:participant ?f . VALUES ( ?f ) { ( resource:French_Algeria ) ( resource:French_protectorate_of_Tunisia ) ( resource:French_protectorate_in_Morocco ) } }
[]
event
SYSTEM
YES
(Q218678,P710,Q218272) (Q218678,P710,Q907234) (Q218678,P710,Q2017684)
action is_in
entity prev_answer
action find
entity Q218678
relation P710
[ANSWER]
['Q218678', 'P710', 'Q218272'] ['Q218678', 'P710', 'Q907234'] ['Q218678', 'P710', 'Q2017684']
ASK WHERE { resource:Q218678 property:P710 ?f . VALUES ( ?f ) { ( resource:Q218272 ) ( resource:Q2017684 ) ( resource:Q907234 ) } }
Yes
action is_in
entity prev_answer
action find
entity North African Campaign
relation participant
['North African Campaign', 'participant', 'French Algeria'] ['North African Campaign', 'participant', 'French protectorate in Morocco'] ['North African Campaign', 'participant', 'French protectorate of Tunisia']
ASK WHERE { resource:North_African_Campaign property:participant ?f . VALUES ( ?f ) { ( resource:French_Algeria ) ( resource:French_protectorate_of_Tunisia ) ( resource:French_protectorate_in_Morocco ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q9531 Q2359751
P112
Q502895
USER
BBC ?
(Q9531,P112,Q2359751)
action is_in
entity Q2359751
action find
entity Q9531
relation P112
['Q9531', 'P112', 'Q2359751']
ASK WHERE { resource:Q9531 property:P112 resource:Q2359751 }
BBC George Villiers, 6th Earl of Clarendon
action is_in
entity George Villiers, 6th Earl of Clarendon
action find
entity BBC
relation founder
['BBC', 'founder', 'George Villiers, 6th Earl of Clarendon']
ASK WHERE { resource:BBC property:founder resource:George_Villiers,_6th_Earl_of_Clarendon }
[]
common name
SYSTEM
YES
(Q9531,P112,Q2359751)
action is_in
entity Q2359751
action find
entity Q9531
relation P112
[ANSWER]
['Q9531', 'P112', 'Q2359751']
ASK WHERE { resource:Q9531 property:P112 resource:Q2359751 }
Yes
action is_in
entity George Villiers, 6th Earl of Clarendon
action find
entity BBC
relation founder
['BBC', 'founder', 'George Villiers, 6th Earl of Clarendon']
ASK WHERE { resource:BBC property:founder resource:George_Villiers,_6th_Earl_of_Clarendon }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q9531 Q2932616
P355
Q131257
USER
How many intellectual properties are subsidiaries of BBC or Cadbury France ?
(Q9531,P355,c(Q131257)) (Q2932616,P355,c(Q131257))
action count
action union
action filter_type
action find
entity Q9531
relation P355
type Q131257
action filter_type
action find
entity Q2932616
relation P355
type Q131257
['Q9531', 'P355', {'concept': 'Q131257'}] ['Q2932616', 'P355', {'concept': 'Q131257'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?r property:P355 ?y . VALUES ( ?r ) { ( resource:Q9531 ) ( resource:Q2932616 ) } }
BBC Cadbury France
action count
action union
action filter_type
action find
entity BBC
relation subsidiary
type intellectual property
action filter_type
action find
entity Cadbury France
relation subsidiary
type intellectual property
['BBC', 'subsidiary', {'concept': 'intellectual property'}] ['Cadbury France', 'subsidiary', {'concept': 'intellectual property'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?r property:subsidiary ?y . VALUES ( ?r ) { ( resource:BBC ) ( resource:Cadbury_France ) } }
[]
intellectual property
SYSTEM
2
Q3139416 Q3211619
(Q9531,P355,c(Q131257)) (Q2932616,P355,c(Q131257))
action count
action union
action filter_type
action find
entity Q9531
relation P355
type Q131257
action filter_type
action find
entity Q2932616
relation P355
type Q131257
[ANSWER]
['Q9531', 'P355', {'concept': 'Q131257'}] ['Q2932616', 'P355', {'concept': 'Q131257'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?r property:P355 ?y . VALUES ( ?r ) { ( resource:Q9531 ) ( resource:Q2932616 ) } }
Hollywood Chewing Gum La Pie qui Chante
2
action count
action union
action filter_type
action find
entity BBC
relation subsidiary
type intellectual property
action filter_type
action find
entity Cadbury France
relation subsidiary
type intellectual property
['BBC', 'subsidiary', {'concept': 'intellectual property'}] ['Cadbury France', 'subsidiary', {'concept': 'intellectual property'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?r property:subsidiary ?y . VALUES ( ?r ) { ( resource:BBC ) ( resource:Cadbury_France ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9531
P1037
Q502895
USER
Who is the director of BBC ?
(Q9531,P1037,c(Q502895))
action filter_type
action find
entity Q9531
relation P1037
type Q502895
['Q9531', 'P1037', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q9531 property:P1037 ?a . ?a rdf:type ontology:Q502895 }
BBC
action filter_type
action find
entity BBC
relation manager/director
type common name
['BBC', 'manager/director', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:BBC property:manager/director ?a . ?a rdf:type ontology:common_name }
[]
common name
Q80390
SYSTEM
Tony Hall, Baron Hall of Birkenhead
Q80390
(Q9531,P1037,c(Q502895))
action filter_type
action find
entity Q9531
relation P1037
type Q502895
The director of BBC is Sir [ANSWER]
['Q9531', 'P1037', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q9531 property:P1037 ?a . ?a rdf:type ontology:Q502895 }
Tony Hall, Baron Hall of Birkenhead
The director of BBC is Sir Tony Hall, Baron Hall of Birkenhead
Tony Hall, Baron Hall of Birkenhead
action filter_type
action find
entity BBC
relation manager/director
type common name
['BBC', 'manager/director', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:BBC property:manager/director ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q530991
Q502895
USER
And how about Helmut Schmidt University?
(Q530991,P1037,c(Q502895))
action filter_type
action find
entity Q530991
relation P1037
type Q502895
['Q530991', 'P1037', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q530991 property:P1037 ?x . ?x rdf:type ontology:Q502895 }
Helmut Schmidt University
action filter_type
action find
entity Helmut Schmidt University
relation manager/director
type common name
['Helmut Schmidt University', 'manager/director', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Helmut_Schmidt_University property:manager/director ?x . ?x rdf:type ontology:common_name }
[]
common name
Q1629876 Q2571357 Q2423680
SYSTEM
Horst Sanmann, Wilfried Seidel, Thomas Ellwein
Q17574912 Q1579021 Q17575813 Q2571357 Q2423680 Q17575330 Q1629876 Q17575294
(Q530991,P1037,c(Q502895))
action filter_type
action find
entity Q530991
relation P1037
type Q502895
[ANSWERS]
['Q530991', 'P1037', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q530991 property:P1037 ?x . ?x rdf:type ontology:Q502895 }
Gerhard Strunk Hans Christoph Zeidler Horst H. Homuth Wilfried Seidel Thomas Ellwein Hans Georg Wäßerling Horst Sanmann Hans-Georg Schultz-Gerstein
Horst Sanmann Wilfried Seidel Thomas Ellwein
action filter_type
action find
entity Helmut Schmidt University
relation manager/director
type common name
['Helmut Schmidt University', 'manager/director', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Helmut_Schmidt_University property:manager/director ?x . ?x rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q530991
P1037
Q3918
USER
Are Helmut Schmidt University managed by those people ?
(Q530991,P1037,Q1629876) (Q530991,P1037,Q2571357) (Q530991,P1037,Q2423680)
action is_in
entity prev_answer
action find
entity Q530991
relation P1037
['Q530991', 'P1037', 'Q1629876'] ['Q530991', 'P1037', 'Q2571357'] ['Q530991', 'P1037', 'Q2423680']
ASK WHERE { resource:Q530991 property:P1037 ?a . VALUES ( ?a ) { ( resource:Q17574912 ) ( resource:Q1579021 ) ( resource:Q17575813 ) } }
Helmut Schmidt University
action is_in
entity prev_answer
action find
entity Helmut Schmidt University
relation manager/director
['Helmut Schmidt University', 'manager/director', 'Horst Sanmann'] ['Helmut Schmidt University', 'manager/director', 'Wilfried Seidel'] ['Helmut Schmidt University', 'manager/director', 'Thomas Ellwein']
ASK WHERE { resource:Helmut_Schmidt_University property:manager/director ?a . VALUES ( ?a ) { ( resource:Gerhard_Strunk ) ( resource:Hans_Christoph_Zeidler ) ( resource:Horst_H._Homuth ) } }
[]
university
SYSTEM
YES
(Q530991,P1037,Q1629876) (Q530991,P1037,Q2571357) (Q530991,P1037,Q2423680)
action is_in
entity prev_answer
action find
entity Q530991
relation P1037
[ANSWER]
['Q530991', 'P1037', 'Q1629876'] ['Q530991', 'P1037', 'Q2571357'] ['Q530991', 'P1037', 'Q2423680']
ASK WHERE { resource:Q530991 property:P1037 ?a . VALUES ( ?a ) { ( resource:Q17574912 ) ( resource:Q1579021 ) ( resource:Q17575813 ) } }
Yes
action is_in
entity prev_answer
action find
entity Helmut Schmidt University
relation manager/director
['Helmut Schmidt University', 'manager/director', 'Horst Sanmann'] ['Helmut Schmidt University', 'manager/director', 'Wilfried Seidel'] ['Helmut Schmidt University', 'manager/director', 'Thomas Ellwein']
ASK WHERE { resource:Helmut_Schmidt_University property:manager/director ?a . VALUES ( ?a ) { ( resource:Gerhard_Strunk ) ( resource:Hans_Christoph_Zeidler ) ( resource:Horst_H._Homuth ) } }
[]