Simple Question (Direct)
Simple Question
Q497856
P69
Q3918
USER
Which university is Chung Jong-soo an alumni of ?
(Q497856,P69,c(Q3918))
action filter_type
action find
entity Q497856
relation P69
type Q3918
['Q497856', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?x WHERE { resource:Q497856 property:P69 ?x . ?x rdf:type ontology:Q3918 }
Chung Jong-soo
action filter_type
action find
entity Chung Jong-soo
relation educated at
type university
['Chung Jong-soo', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?x WHERE { resource:Chung_Jong-soo property:educated_at ?x . ?x rdf:type ontology:university }
[]
university
Q39997
SYSTEM
Korea University
Q39997
(Q497856,P69,c(Q3918))
action filter_type
action find
entity Q497856
relation P69
type Q3918
[ANSWER] is Chung Jong-soo an alumni of
['Q497856', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?x WHERE { resource:Q497856 property:P69 ?x . ?x rdf:type ontology:Q3918 }
Korea University
Korea University is Chung Jong-soo an alumni of
Korea University
action filter_type
action find
entity Chung Jong-soo
relation educated at
type university
['Chung Jong-soo', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?x WHERE { resource:Chung_Jong-soo property:educated_at ?x . ?x rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q497856
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q39997,P27,c(Q15617994))
action filter_type
action find
entity Q497856
relation P27
type Q15617994
['Q39997', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q497856 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Chung Jong-soo
action filter_type
action find
entity Chung Jong-soo
relation country of citizenship
type designation for an administrative territorial entity
['Korea University', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Chung_Jong-soo property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q39997,P27,c(Q15617994))
action filter_type
action find
entity Q497856
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q39997', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q497856 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
South Korea
South Korea is the native country of that person
South Korea
action filter_type
action find
entity Chung Jong-soo
relation country of citizenship
type designation for an administrative territorial entity
['Korea University', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Chung_Jong-soo property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q884 Q103077
P530
Q15617994
USER
Does Castelnuovo di Val di Cecina have diplomatic relationships with South Korea ?
(Q884,P530,Q103077)
action is_in
entity Q103077
action find
entity Q884
relation P530
['Q884', 'P530', 'Q103077']
ASK WHERE { resource:Q884 property:P530 resource:Q103077 }
South Korea Castelnuovo di Val di Cecina
action is_in
entity Castelnuovo di Val di Cecina
action find
entity South Korea
relation diplomatic relation
['South Korea', 'diplomatic relation', 'Castelnuovo di Val di Cecina']
ASK WHERE { resource:South_Korea property:diplomatic_relation resource:Castelnuovo_di_Val_di_Cecina }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q884,P530,Q103077)
action is_in
entity Q103077
action find
entity Q884
relation P530
[ANSWER]
['Q884', 'P530', 'Q103077']
ASK WHERE { resource:Q884 property:P530 resource:Q103077 }
No
action is_in
entity Castelnuovo di Val di Cecina
action find
entity South Korea
relation diplomatic relation
['South Korea', 'diplomatic relation', 'Castelnuovo di Val di Cecina']
ASK WHERE { resource:South_Korea property:diplomatic_relation resource:Castelnuovo_di_Val_di_Cecina }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q884
P176
Q2235308
USER
What was manufactured by South Korea ?
action filter_type
action find_reverse
entity Q884
relation P176
type Q2235308
SELECT DISTINCT ?w WHERE { ?w property:P176 resource:Q884 . ?w rdf:type ontology:Q2235308 }
South Korea
action filter_type
action find_reverse
entity South Korea
relation manufacturer
type ship type
SELECT DISTINCT ?w WHERE { ?w property:manufacturer resource:South_Korea . ?w rdf:type ontology:ship_type }
[]
ship type
Q7818289
SYSTEM
Tomas Batillo-class patrol craft
Q7818289
action filter_type
action find_reverse
entity Q884
relation P176
type Q2235308
[ANSWER] was manufactured by South Korea
SELECT DISTINCT ?w WHERE { ?w property:P176 resource:Q884 . ?w rdf:type ontology:Q2235308 }
Tomas Batillo-class patrol craft
Tomas Batillo-class patrol craft was manufactured by South Korea
Tomas Batillo-class patrol craft
action filter_type
action find_reverse
entity South Korea
relation manufacturer
type ship type
SELECT DISTINCT ?w WHERE { ?w property:manufacturer resource:South_Korea . ?w rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q884
P85
Q484692
USER
Which is the national anthem of South Korea ?
(Q884,P85,c(Q484692))
action filter_type
action find
entity Q884
relation P85
type Q484692
['Q884', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?f WHERE { resource:Q884 property:P85 ?f . ?f rdf:type ontology:Q484692 }
South Korea
action filter_type
action find
entity South Korea
relation anthem
type hymn
['South Korea', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?f WHERE { resource:South_Korea property:anthem ?f . ?f rdf:type ontology:hymn }
[]
hymn
Q193233
SYSTEM
Aegukga
Q193233
(Q884,P85,c(Q484692))
action filter_type
action find
entity Q884
relation P85
type Q484692
The national anthem of South Korea is the [ANSWER]
['Q884', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?f WHERE { resource:Q884 property:P85 ?f . ?f rdf:type ontology:Q484692 }
Aegukga
The national anthem of South Korea is the Aegukga
Aegukga
action filter_type
action find
entity South Korea
relation anthem
type hymn
['South Korea', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?f WHERE { resource:South_Korea property:anthem ?f . ?f rdf:type ontology:hymn }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8646
Q484692
USER
And how about Hong Kong?
(Q8646,P85,c(Q484692))
action filter_type
action find
entity Q8646
relation P85
type Q484692
['Q8646', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?u WHERE { resource:Q8646 property:P85 ?u . ?u rdf:type ontology:Q484692 }
Hong Kong
action filter_type
action find
entity Hong Kong
relation anthem
type hymn
['Hong Kong', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?u WHERE { resource:Hong_Kong property:anthem ?u . ?u rdf:type ontology:hymn }
[]
hymn
Q156136
SYSTEM
March of the Volunteers
Q156136
(Q8646,P85,c(Q484692))
action filter_type
action find
entity Q8646
relation P85
type Q484692
[ANSWER]
['Q8646', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?u WHERE { resource:Q8646 property:P85 ?u . ?u rdf:type ontology:Q484692 }
March of the Volunteers
March of the Volunteers
action filter_type
action find
entity Hong Kong
relation anthem
type hymn
['Hong Kong', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?u WHERE { resource:Hong_Kong property:anthem ?u . ?u rdf:type ontology:hymn }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1650467 Q884
P47 P530
Q1048835
USER
Which political territories have a diplomatic relationship with South Korea or are bordered by Alcubilla de Nogales ?
OR((Q884,P530,c(Q1048835)), (Q1650467,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q884
relation P530
action find
entity Q1650467
relation P47
type Q1048835
{'OR': [['Q884', 'P530', {'concept': 'Q1048835'}], ['Q1650467', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q1650467 property:P47 ?r } UNION { resource:Q884 property:P530 ?r } } . ?r rdf:type ontology:Q1048835 }
Alcubilla de Nogales South Korea
action filter_type
action union
action find
entity South Korea
relation diplomatic relation
action find
entity Alcubilla de Nogales
relation shares border with
type political territorial entity
{'OR': [['South Korea', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Alcubilla de Nogales', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Alcubilla_de_Nogales property:shares_border_with ?r } UNION { resource:South_Korea property:diplomatic_relation ?r } } . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q141191 Q183 Q408 Q16 Q1768976 Q1650448
SYSTEM
San Esteban de Nogales, Germany, Australia, Canada, Villageriz, Arrabalde
Q141191 Q183 Q408 Q16 Q1768976 Q1650448
OR((Q884,P530,c(Q1048835)), (Q1650467,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q884
relation P530
action find
entity Q1650467
relation P47
type Q1048835
[ANSWERS] have a diplomatic relationship with South Korea or are bordered by Alcubilla de Nogales
{'OR': [['Q884', 'P530', {'concept': 'Q1048835'}], ['Q1650467', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q1650467 property:P47 ?r } UNION { resource:Q884 property:P530 ?r } } . ?r rdf:type ontology:Q1048835 }
San Esteban de Nogales Germany Australia Canada Villageriz Arrabalde
San Esteban de Nogales, Germany, Australia, Canada, Villageriz and Arrabalde have a diplomatic relationship with South Korea or are bordered by Alcubilla de Nogales
San Esteban de Nogales Germany Australia Canada Villageriz Arrabalde
action filter_type
action union
action find
entity South Korea
relation diplomatic relation
action find
entity Alcubilla de Nogales
relation shares border with
type political territorial entity
{'OR': [['South Korea', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Alcubilla de Nogales', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Alcubilla_de_Nogales property:shares_border_with ?r } UNION { resource:South_Korea property:diplomatic_relation ?r } } . ?r rdf:type ontology:political_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16
P17
Q1048835
USER
Which political territory is that one present in ?
(Q16,P17,c(Q1048835))
action filter_type
action find
entity Q16
relation P17
type Q1048835
['Q16', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q16 property:P17 ?s . ?s rdf:type ontology:Q1048835 }
Canada
action filter_type
action find
entity Canada
relation country
type political territorial entity
['Canada', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Canada property:country ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q183
SYSTEM
Did you mean Germany ?
Q141191 Q183 Q408 Q16 Q1768976 Q1650448
(Q141191,P17,c(Q1048835)) (Q183,P17,c(Q1048835)) (Q408,P17,c(Q1048835)) (Q16,P17,c(Q1048835)) (Q1768976,P17,c(Q1048835)) (Q1650448,P17,c(Q1048835))
[ANSWER]
['Q141191', 'P17', {'concept': 'Q1048835'}] ['Q183', 'P17', {'concept': 'Q1048835'}] ['Q408', 'P17', {'concept': 'Q1048835'}] ['Q16', 'P17', {'concept': 'Q1048835'}] ['Q1768976', 'P17', {'concept': 'Q1048835'}] ['Q1650448', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q16 property:P17 ?s . ?s rdf:type ontology:Q1048835 }
San Esteban de Nogales Germany Australia Canada Villageriz Arrabalde
Did you mean Germany ?
Germany
['San Esteban de Nogales', 'country', {'concept': 'political territorial entity'}] ['Germany', 'country', {'concept': 'political territorial entity'}] ['Australia', 'country', {'concept': 'political territorial entity'}] ['Canada', 'country', {'concept': 'political territorial entity'}] ['Villageriz', 'country', {'concept': 'political territorial entity'}] ['Arrabalde', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Canada property:country ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Canada. Could you tell me the answer for that?
(Q16,P17,c(Q1048835))
Q16
['Q16', 'P17', {'concept': 'Q1048835'}]
['Canada', 'country', {'concept': 'political territorial entity'}]
[]
Q16
SYSTEM
Canada
Q16
(Q16,P17,c(Q1048835))
action filter_type
action find
entity Q16
relation P17
type Q1048835
Which political territory is that one present in
['Q16', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q16 property:P17 ?s . ?s rdf:type ontology:Q1048835 }
Canada
Which political territory is that one present in
Canada
action filter_type
action find
entity Canada
relation country
type political territorial entity
['Canada', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Canada property:country ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P710
Q180684
USER
What event did that political territory particiate in ?
(c(Q180684),P710,Q16)
action filter_type
action find_reverse
entity Q16
relation P710
type Q180684
[{'concept': 'Q180684'}, 'P710', 'Q16']
SELECT DISTINCT ?k WHERE { ?k property:P710 resource:Q16 . ?k rdf:type ontology:Q180684 }
Canada
action filter_type
action find_reverse
entity Canada
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'Canada']
SELECT DISTINCT ?k WHERE { ?k property:participant resource:Canada . ?k rdf:type ontology:conflict }
[]
conflict
Q911972
SYSTEM
Dunkirk evacuation
Q911972
(c(Q180684),P710,Q16)
action filter_type
action find_reverse
entity Q16
relation P710
type Q180684
That political territory particiated in [ANSWER]
[{'concept': 'Q180684'}, 'P710', 'Q16']
SELECT DISTINCT ?k WHERE { ?k property:P710 resource:Q16 . ?k rdf:type ontology:Q180684 }
Dunkirk evacuation
That political territory particiated in Dunkirk evacuation
Dunkirk evacuation
action filter_type
action find_reverse
entity Canada
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'Canada']
SELECT DISTINCT ?k WHERE { ?k property:participant resource:Canada . ?k rdf:type ontology:conflict }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q911972
P607
Q502895
USER
Which people did that conflict take part in ?
(c(Q502895),P607,Q911972)
action filter_type
action find_reverse
entity Q911972
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q911972']
SELECT DISTINCT ?h WHERE { ?h property:P607 resource:Q911972 . ?h rdf:type ontology:Q502895 }
Dunkirk evacuation
action filter_type
action find_reverse
entity Dunkirk evacuation
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Dunkirk evacuation']
SELECT DISTINCT ?h WHERE { ?h property:conflict resource:Dunkirk_evacuation . ?h rdf:type ontology:common_name }
[]
common name
Q16013715 Q7350405 Q5668334
SYSTEM
John O'Brien, Robert Timbrell, Harry DeWolf
Q16013715 Q7350405 Q5668334
(c(Q502895),P607,Q911972)
action filter_type
action find_reverse
entity Q911972
relation P607
type Q502895
Part that conflict took place [ANSWERS]
[{'concept': 'Q502895'}, 'P607', 'Q911972']
SELECT DISTINCT ?h WHERE { ?h property:P607 resource:Q911972 . ?h rdf:type ontology:Q502895 }
John O'Brien Robert Timbrell Harry DeWolf
Part that conflict took place John O'Brien, Robert Timbrell and Harry DeWolf
John O'Brien Robert Timbrell Harry DeWolf
action filter_type
action find_reverse
entity Dunkirk evacuation
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Dunkirk evacuation']
SELECT DISTINCT ?h WHERE { ?h property:conflict resource:Dunkirk_evacuation . ?h rdf:type ontology:common_name }
[]