Simple Question (Direct)
Simple Question
Q115715
P20
Q13220204
USER
Where did Hans Ruesch expire ?
(Q115715,P20,c(Q13220204))
action filter_type
action find
entity Q115715
relation P20
type Q13220204
['Q115715', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?h WHERE { resource:Q115715 property:P20 ?h . ?h rdf:type ontology:Q13220204 }
Hans Ruesch
action filter_type
action find
entity Hans Ruesch
relation place of death
type second-level administrative country subdivision
['Hans Ruesch', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?h WHERE { resource:Hans_Ruesch property:place_of_death ?h . ?h rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q67055
SYSTEM
Massagno
Q67055
(Q115715,P20,c(Q13220204))
action filter_type
action find
entity Q115715
relation P20
type Q13220204
[ANSWER]
['Q115715', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?h WHERE { resource:Q115715 property:P20 ?h . ?h rdf:type ontology:Q13220204 }
Massagno
Massagno
action filter_type
action find
entity Hans Ruesch
relation place of death
type second-level administrative country subdivision
['Hans Ruesch', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?h WHERE { resource:Hans_Ruesch property:place_of_death ?h . ?h rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q115715
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q67055,P1412,c(Q34770))
action filter_type
action find
entity Q115715
relation P1412
type Q34770
['Q67055', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q115715 property:P1412 ?j }
Hans Ruesch
action filter_type
action find
entity Hans Ruesch
relation languages spoken, written or signed
type language
['Massagno', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:Hans_Ruesch property:languages_spoken,_written_or_signed ?j }
[]
language
Q1860
SYSTEM
English
Q1860
(Q67055,P1412,c(Q34770))
action filter_type
action find
entity Q115715
relation P1412
type Q34770
[ANSWER]
['Q67055', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q115715 property:P1412 ?j }
English
English
action filter_type
action find
entity Hans Ruesch
relation languages spoken, written or signed
type language
['Massagno', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:Hans_Ruesch property:languages_spoken,_written_or_signed ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q115715
P106
Q12737077
USER
What do that person do for a living ?
(Q1860,P106,c(Q12737077))
action filter_type
action find
entity Q115715
relation P106
type Q12737077
['Q1860', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q115715 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Hans Ruesch
action filter_type
action find
entity Hans Ruesch
relation occupation
type occupation
['English', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Hans_Ruesch property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q15958185 Q36180
SYSTEM
racecar driver, writer
Q15958185 Q36180
(Q1860,P106,c(Q12737077))
action filter_type
action find
entity Q115715
relation P106
type Q12737077
[ANSWERS]
['Q1860', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q115715 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
racecar driver writer
racecar driver writer
action filter_type
action find
entity Hans Ruesch
relation occupation
type occupation
['English', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Hans_Ruesch property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7815810
P106
Q502895
USER
Do Tom Fletcher Mayson have career as those occupations ?
(Q7815810,P106,Q15958185) (Q7815810,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q7815810
relation P106
['Q7815810', 'P106', 'Q15958185'] ['Q7815810', 'P106', 'Q36180']
ASK WHERE { VALUES ( ?g ) { ( resource:Q15958185 ) ( resource:Q36180 ) } . resource:Q7815810 property:P106 ?g }
Tom Fletcher Mayson
action is_in
entity prev_answer
action find
entity Tom Fletcher Mayson
relation occupation
['Tom Fletcher Mayson', 'occupation', 'racecar driver'] ['Tom Fletcher Mayson', 'occupation', 'writer']
ASK WHERE { VALUES ( ?g ) { ( resource:racecar_driver ) ( resource:writer ) } . resource:Tom_Fletcher_Mayson property:occupation ?g }
[]
common name
SYSTEM
NO
(Q7815810,P106,Q15958185) (Q7815810,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q7815810
relation P106
[ANSWER]
['Q7815810', 'P106', 'Q15958185'] ['Q7815810', 'P106', 'Q36180']
ASK WHERE { VALUES ( ?g ) { ( resource:Q15958185 ) ( resource:Q36180 ) } . resource:Q7815810 property:P106 ?g }
No
action is_in
entity prev_answer
action find
entity Tom Fletcher Mayson
relation occupation
['Tom Fletcher Mayson', 'occupation', 'racecar driver'] ['Tom Fletcher Mayson', 'occupation', 'writer']
ASK WHERE { VALUES ( ?g ) { ( resource:racecar_driver ) ( resource:writer ) } . resource:Tom_Fletcher_Mayson property:occupation ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q67055
P37
Q34770
USER
What is the official language of Massagno ?
(Q67055,P37,c(Q34770))
action filter_type
action find
entity Q67055
relation P37
type Q34770
['Q67055', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q67055 property:P37 ?m . ?m rdf:type ontology:Q34770 }
Massagno
action filter_type
action find
entity Massagno
relation official language
type language
['Massagno', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Massagno property:official_language ?m . ?m rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q67055,P37,c(Q34770))
action filter_type
action find
entity Q67055
relation P37
type Q34770
[ANSWER]
['Q67055', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q67055 property:P37 ?m . ?m rdf:type ontology:Q34770 }
Italian
Italian
action filter_type
action find
entity Massagno
relation official language
type language
['Massagno', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Massagno property:official_language ?m . ?m rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q67055
P190
Q13220204
USER
Which administrative country subdivision is a sister city of that one ?
(c(Q13220204),P190,Q652)
action filter_type
action find
entity Q67055
relation P190
type Q13220204
[{'concept': 'Q13220204'}, 'P190', 'Q652']
SELECT DISTINCT ?k WHERE { resource:Q67055 property:P190 ?k . ?k rdf:type ontology:Q13220204 }
Massagno
action filter_type
action find
entity Massagno
relation sister city
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Italian']
SELECT DISTINCT ?k WHERE { resource:Massagno property:sister_city ?k . ?k rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q68240
SYSTEM
Onex
Q68240
(c(Q13220204),P190,Q652)
action filter_type
action find
entity Q67055
relation P190
type Q13220204
[ANSWER]
[{'concept': 'Q13220204'}, 'P190', 'Q652']
SELECT DISTINCT ?k WHERE { resource:Q67055 property:P190 ?k . ?k rdf:type ontology:Q13220204 }
Onex
Onex
action filter_type
action find
entity Massagno
relation sister city
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Italian']
SELECT DISTINCT ?k WHERE { resource:Massagno property:sister_city ?k . ?k rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q68240
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that administrative country subdivision ?
(Q68240,P1313,c(Q12737077))
action filter_type
action find
entity Q68240
relation P1313
type Q12737077
['Q68240', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q68240 property:P1313 ?y . ?y rdf:type ontology:Q12737077 }
Onex
action filter_type
action find
entity Onex
relation office held by head of government
type occupation
['Onex', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Onex property:office_held_by_head_of_government ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q24703297
SYSTEM
Mayor of Onex
Q24703297
(Q68240,P1313,c(Q12737077))
action filter_type
action find
entity Q68240
relation P1313
type Q12737077
[ANSWER]
['Q68240', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q68240 property:P1313 ?y . ?y rdf:type ontology:Q12737077 }
Mayor of Onex
Mayor of Onex
action filter_type
action find
entity Onex
relation office held by head of government
type occupation
['Onex', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Onex property:office_held_by_head_of_government ?y . ?y rdf:type ontology:occupation }
[]