Simple Question (Direct)
Simple Question
Q215779
P19
Q56061
USER
Which administrative territory is the birthplace of Arthur Ruppin ?
(Q215779,P19,c(Q56061))
action filter_type
action find
entity Q215779
relation P19
type Q56061
['Q215779', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q215779 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Arthur Ruppin
action filter_type
action find
entity Arthur Ruppin
relation place of birth
type administrative territorial entity
['Arthur Ruppin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Arthur_Ruppin property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q52898
SYSTEM
Rawicz
Q52898
(Q215779,P19,c(Q56061))
action filter_type
action find
entity Q215779
relation P19
type Q56061
[ANSWER] is the birthplace of Arthur Ruppin
['Q215779', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q215779 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Rawicz
Rawicz is the birthplace of Arthur Ruppin
Rawicz
action filter_type
action find
entity Arthur Ruppin
relation place of birth
type administrative territorial entity
['Arthur Ruppin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Arthur_Ruppin property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q215779
P20
Q56061
USER
Where did the expiration of Arthur Ruppin occur ?
(Q215779,P20,c(Q56061))
action filter_type
action find
entity Q215779
relation P20
type Q56061
['Q215779', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q215779 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Arthur Ruppin
action filter_type
action find
entity Arthur Ruppin
relation place of death
type administrative territorial entity
['Arthur Ruppin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Arthur_Ruppin property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1218
SYSTEM
Jerusalem
Q1218
(Q215779,P20,c(Q56061))
action filter_type
action find
entity Q215779
relation P20
type Q56061
The expiration of Arthur Ruppin occurred in [ANSWER]
['Q215779', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q215779 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Jerusalem
The expiration of Arthur Ruppin occurred in Jerusalem
Jerusalem
action filter_type
action find
entity Arthur Ruppin
relation place of death
type administrative territorial entity
['Arthur Ruppin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Arthur_Ruppin property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q707143
Q56061
USER
And how about Martin Ohm?
(Q707143,P20,c(Q56061))
action filter_type
action find
entity Q707143
relation P20
type Q56061
['Q707143', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q707143 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Martin Ohm
action filter_type
action find
entity Martin Ohm
relation place of death
type administrative territorial entity
['Martin Ohm', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Martin_Ohm property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q707143,P20,c(Q56061))
action filter_type
action find
entity Q707143
relation P20
type Q56061
[ANSWER]
['Q707143', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q707143 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Berlin
Berlin
action filter_type
action find
entity Martin Ohm
relation place of death
type administrative territorial entity
['Martin Ohm', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Martin_Ohm property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q64 Q4512193 Q1642703
P1376
Q1048835
USER
Is Berlin the county seat for Novokalcheve and Redecilla del Campo ?
(Q64,P1376,Q4512193) (Q64,P1376,Q1642703)
action is_in
entity Q64
action intersection
action find_reverse
entity Q4512193
relation P1376
action find_reverse
entity Q1642703
relation P1376
['Q64', 'P1376', 'Q4512193'] ['Q64', 'P1376', 'Q1642703']
ASK WHERE { resource:Q64 property:P1376 resource:Q4512193 . resource:Q64 property:P1376 resource:Q1642703 }
Berlin Novokalcheve Redecilla del Campo
action is_in
entity Berlin
action intersection
action find_reverse
entity Novokalcheve
relation capital of
action find_reverse
entity Redecilla del Campo
relation capital of
['Berlin', 'capital of', 'Novokalcheve'] ['Berlin', 'capital of', 'Redecilla del Campo']
ASK WHERE { resource:Berlin property:capital_of resource:Novokalcheve . resource:Berlin property:capital_of resource:Redecilla_del_Campo }
[]
political territorial entity
SYSTEM
NO
(Q64,P1376,Q4512193) (Q64,P1376,Q1642703)
action is_in
entity Q64
action intersection
action find_reverse
entity Q4512193
relation P1376
action find_reverse
entity Q1642703
relation P1376
[ANSWER]
['Q64', 'P1376', 'Q4512193'] ['Q64', 'P1376', 'Q1642703']
ASK WHERE { resource:Q64 property:P1376 resource:Q4512193 . resource:Q64 property:P1376 resource:Q1642703 }
No
action is_in
entity Berlin
action intersection
action find_reverse
entity Novokalcheve
relation capital of
action find_reverse
entity Redecilla del Campo
relation capital of
['Berlin', 'capital of', 'Novokalcheve'] ['Berlin', 'capital of', 'Redecilla del Campo']
ASK WHERE { resource:Berlin property:capital_of resource:Novokalcheve . resource:Berlin property:capital_of resource:Redecilla_del_Campo }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q64 Q3947
P180
Q3305213
USER
How many paintings depict Berlin or house ?
(c(Q3305213),P180,Q64) (c(Q3305213),P180,Q3947)
action count
action union
action filter_type
action find_reverse
entity Q64
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q3947
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q64'] [{'concept': 'Q3305213'}, 'P180', 'Q3947']
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { VALUES ( ?s ) { ( resource:Q64 ) ( resource:Q3947 ) } . ?a property:P180 ?s }
Berlin house
action count
action union
action filter_type
action find_reverse
entity Berlin
relation depicts
type painting
action filter_type
action find_reverse
entity house
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Berlin'] [{'concept': 'painting'}, 'depicts', 'house']
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { VALUES ( ?s ) { ( resource:Berlin ) ( resource:house ) } . ?a property:depicts ?s }
[]
painting
SYSTEM
16
Q20631614 Q22914523 Q19963590 Q24039998 Q20022416 Q18510551 Q22915291 Q20631718 Q24576756 Q23063007 Q22915338 Q22915268 Q22915279 Q22915409 Q5856992 Q19963602
(c(Q3305213),P180,Q64) (c(Q3305213),P180,Q3947)
action count
action union
action filter_type
action find_reverse
entity Q64
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q3947
relation P180
type Q3305213
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q64'] [{'concept': 'Q3305213'}, 'P180', 'Q3947']
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { VALUES ( ?s ) { ( resource:Q64 ) ( resource:Q3947 ) } . ?a property:P180 ?s }
Warren House, Roxbury View near Fishkill, New York Fribourg, Schweizer Häuser Roman Street Scene View of a Roman house Daura House at Dusk Long Pond, Foot of Red Hill Harbor Hegdehaugsvn. nr. 23 The Cathedral and the Apse of the Collegiate Notre-Dame Near Florence Conway Castle, Wales Graycliff, the Artist's Home, Newport, Rhode Island View of the Artist's Home, Graycliff, Newport, Rhode Island February Berliner Hütte
16
action count
action union
action filter_type
action find_reverse
entity Berlin
relation depicts
type painting
action filter_type
action find_reverse
entity house
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Berlin'] [{'concept': 'painting'}, 'depicts', 'house']
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { VALUES ( ?s ) { ( resource:Berlin ) ( resource:house ) } . ?a property:depicts ?s }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1476 Q1218
P190
Q515
USER
Which cities are partner towns of Jerusalem or Le Mans ?
OR((Q1218,P190,c(Q515)), (Q1476,P190,c(Q515)))
action filter_type
action union
action find
entity Q1218
relation P190
action find
entity Q1476
relation P190
type Q515
{'OR': [['Q1218', 'P190', {'concept': 'Q515'}], ['Q1476', 'P190', {'concept': 'Q515'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?a ) { ( resource:Q1218 ) ( resource:Q1476 ) } . ?a property:P190 ?x } . ?x rdf:type ontology:Q515 }
Le Mans Jerusalem
action filter_type
action union
action find
entity Jerusalem
relation sister city
action find
entity Le Mans
relation sister city
type city
{'OR': [['Jerusalem', 'sister city', {'concept': 'city'}], ['Le Mans', 'sister city', {'concept': 'city'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?a ) { ( resource:Jerusalem ) ( resource:Le_Mans ) } . ?a property:sister_city ?x } . ?x rdf:type ontology:city }
[]
city
Q497341 Q1486 Q3616 Q694370 Q207311
SYSTEM
Xianyang, Buenos Aires, Tehran, Ayabe, Suzuka
Q497341 Q1486 Q3616 Q694370 Q207311
OR((Q1218,P190,c(Q515)), (Q1476,P190,c(Q515)))
action filter_type
action union
action find
entity Q1218
relation P190
action find
entity Q1476
relation P190
type Q515
[ANSWERS] are partner towns of Jerusalem or Le Mans
{'OR': [['Q1218', 'P190', {'concept': 'Q515'}], ['Q1476', 'P190', {'concept': 'Q515'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?a ) { ( resource:Q1218 ) ( resource:Q1476 ) } . ?a property:P190 ?x } . ?x rdf:type ontology:Q515 }
Xianyang Buenos Aires Tehran Ayabe Suzuka
Xianyang, Buenos Aires, Tehran, Ayabe and Suzuka are partner towns of Jerusalem or Le Mans
Xianyang Buenos Aires Tehran Ayabe Suzuka
action filter_type
action union
action find
entity Jerusalem
relation sister city
action find
entity Le Mans
relation sister city
type city
{'OR': [['Jerusalem', 'sister city', {'concept': 'city'}], ['Le Mans', 'sister city', {'concept': 'city'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?a ) { ( resource:Jerusalem ) ( resource:Le_Mans ) } . ?a property:sister_city ?x } . ?x rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q497341 Q1486 Q3616 Q694370 Q207311
P17
Q15617994
USER
Which administrative territories do Xianyang, Buenos Aires, Tehran, Ayabe and Suzuka belong to ?
(Q497341,P17,c(Q15617994)) (Q1486,P17,c(Q15617994)) (Q3616,P17,c(Q15617994)) (Q694370,P17,c(Q15617994)) (Q207311,P17,c(Q15617994))
action union
action filter_type
action find
entity Q497341
relation P17
type Q15617994
action filter_type
action find
entity Q1486
relation P17
type Q15617994
action filter_type
action find
entity Q3616
relation P17
type Q15617994
action filter_type
action find
entity Q694370
relation P17
type Q15617994
action filter_type
action find
entity Q207311
relation P17
type Q15617994
['Q497341', 'P17', {'concept': 'Q15617994'}] ['Q1486', 'P17', {'concept': 'Q15617994'}] ['Q3616', 'P17', {'concept': 'Q15617994'}] ['Q694370', 'P17', {'concept': 'Q15617994'}] ['Q207311', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?s property:P17 ?l . VALUES ( ?s ) { ( resource:Q497341 ) ( resource:Q1486 ) } }
Xianyang Buenos Aires Tehran Ayabe Suzuka
action union
action filter_type
action find
entity Xianyang
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Buenos Aires
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Tehran
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ayabe
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Suzuka
relation country
type designation for an administrative territorial entity
['Xianyang', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Buenos Aires', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Tehran', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ayabe', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Suzuka', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?s property:country ?l . VALUES ( ?s ) { ( resource:Xianyang ) ( resource:Buenos_Aires ) } }
[]
designation for an administrative territorial entity
Q148 Q17 Q17
SYSTEM
People's Republic of China for 1st, Japan for 2nd, 3rd
Q148 Q414 Q794 Q17 Q17
(Q497341,P17,c(Q15617994)) (Q1486,P17,c(Q15617994)) (Q3616,P17,c(Q15617994)) (Q694370,P17,c(Q15617994)) (Q207311,P17,c(Q15617994))
action union
action filter_type
action find
entity Q497341
relation P17
type Q15617994
action filter_type
action find
entity Q1486
relation P17
type Q15617994
action filter_type
action find
entity Q3616
relation P17
type Q15617994
action filter_type
action find
entity Q694370
relation P17
type Q15617994
action filter_type
action find
entity Q207311
relation P17
type Q15617994
[ANSWERS]
['Q497341', 'P17', {'concept': 'Q15617994'}] ['Q1486', 'P17', {'concept': 'Q15617994'}] ['Q3616', 'P17', {'concept': 'Q15617994'}] ['Q694370', 'P17', {'concept': 'Q15617994'}] ['Q207311', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?s property:P17 ?l . VALUES ( ?s ) { ( resource:Q497341 ) ( resource:Q1486 ) } }
People's Republic of China Argentina Iran Japan Japan
People's Republic of China, Japan and Japan Xianyang, Buenos Aires, Tehran, Ayabe and Suzuka belong to
People's Republic of China Japan Japan
action union
action filter_type
action find
entity Xianyang
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Buenos Aires
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Tehran
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ayabe
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Suzuka
relation country
type designation for an administrative territorial entity
['Xianyang', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Buenos Aires', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Tehran', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ayabe', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Suzuka', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?s property:country ?l . VALUES ( ?s ) { ( resource:Xianyang ) ( resource:Buenos_Aires ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17
P30
Q2221906
USER
Which geographic location is that administrative territory situated in ?
(Q17,P30,c(Q2221906))
action filter_type
action find
entity Q17
relation P30
type Q2221906
['Q17', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { resource:Q17 property:P30 ?w . ?w rdf:type ontology:Q2221906 }
Japan
action filter_type
action find
entity Japan
relation continent
type geographic location
['Japan', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { resource:Japan property:continent ?w . ?w rdf:type ontology:geographic_location }
[]
geographic location
Clarification for simple ques.
Q17
SYSTEM
Did you mean Japan ?
Q148 Q17 Q17
(Q148,P30,c(Q2221906)) (Q17,P30,c(Q2221906)) (Q17,P30,c(Q2221906))
[ANSWER]
['Q148', 'P30', {'concept': 'Q2221906'}] ['Q17', 'P30', {'concept': 'Q2221906'}] ['Q17', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { resource:Q17 property:P30 ?w . ?w rdf:type ontology:Q2221906 }
People's Republic of China Japan Japan
Did you mean Japan ?
Japan
["People's Republic of China", 'continent', {'concept': 'geographic location'}] ['Japan', 'continent', {'concept': 'geographic location'}] ['Japan', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { resource:Japan property:continent ?w . ?w rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
USER
Yes
(Q17,P30,c(Q2221906))
['Q17', 'P30', {'concept': 'Q2221906'}]
['Japan', 'continent', {'concept': 'geographic location'}]
[]
Q48
SYSTEM
Asia
Q48
(Q17,P30,c(Q2221906))
action filter_type
action find
entity Q17
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
['Q17', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { resource:Q17 property:P30 ?w . ?w rdf:type ontology:Q2221906 }
Asia
That administrative territory is situated in Asia
Asia
action filter_type
action find
entity Japan
relation continent
type geographic location
['Japan', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { resource:Japan property:continent ?w . ?w rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q48 Q2035462 Q4647821
P361
Q2221906
USER
Is that geographic location a component of Ostfeste and A. Grenville and William Davis Courthouse ?
(Q48,P361,Q2035462) (Q48,P361,Q4647821)
action is_in
entity Q48
action intersection
action find_reverse
entity Q2035462
relation P361
action find_reverse
entity Q4647821
relation P361
['Q48', 'P361', 'Q2035462'] ['Q48', 'P361', 'Q4647821']
ASK WHERE { resource:Q48 property:P361 resource:Q2035462 . resource:Q48 property:P361 resource:Q4647821 }
Asia Ostfeste A. Grenville and William Davis Courthouse
action is_in
entity Asia
action intersection
action find_reverse
entity Ostfeste
relation part of
action find_reverse
entity A. Grenville and William Davis Courthouse
relation part of
['Asia', 'part of', 'Ostfeste'] ['Asia', 'part of', 'A. Grenville and William Davis Courthouse']
ASK WHERE { resource:Asia property:part_of resource:Ostfeste . resource:Asia property:part_of resource:A._Grenville_and_William_Davis_Courthouse }
[]
geographic location
SYSTEM
YES and NO respectively
(Q48,P361,Q2035462) (Q48,P361,Q4647821)
action is_in
entity Q48
action intersection
action find_reverse
entity Q2035462
relation P361
action find_reverse
entity Q4647821
relation P361
[ANSWER]
['Q48', 'P361', 'Q2035462'] ['Q48', 'P361', 'Q4647821']
ASK WHERE { resource:Q48 property:P361 resource:Q2035462 . resource:Q48 property:P361 resource:Q4647821 }
YES and NO respectively
action is_in
entity Asia
action intersection
action find_reverse
entity Ostfeste
relation part of
action find_reverse
entity A. Grenville and William Davis Courthouse
relation part of
['Asia', 'part of', 'Ostfeste'] ['Asia', 'part of', 'A. Grenville and William Davis Courthouse']
ASK WHERE { resource:Asia property:part_of resource:Ostfeste . resource:Asia property:part_of resource:A._Grenville_and_William_Davis_Courthouse }
[]