Simple Question (Direct)
Simple Question
Q1478466
P106
Q12737077
USER
Which occupation is the profession of Vic Berton ?
(Q1478466,P106,c(Q12737077))
action filter_type
action find
entity Q1478466
relation P106
type Q12737077
['Q1478466', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1478466 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Vic Berton
action filter_type
action find
entity Vic Berton
relation occupation
type occupation
['Vic Berton', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Vic_Berton property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q15981151
SYSTEM
jazz musician
Q15981151
(Q1478466,P106,c(Q12737077))
action filter_type
action find
entity Q1478466
relation P106
type Q12737077
The [ANSWER] is the profession of Vic Berton
['Q1478466', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1478466 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
jazz musician
The jazz musician is the profession of Vic Berton
jazz musician
action filter_type
action find
entity Vic Berton
relation occupation
type occupation
['Vic Berton', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Vic_Berton property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1478466
P735
Q82799
USER
Which name is that person known by ?
(Q15981151,P735,c(Q82799))
action filter_type
action find
entity Q1478466
relation P735
type Q82799
['Q15981151', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q1478466 property:P735 ?j . ?j rdf:type ontology:Q82799 }
Vic Berton
action filter_type
action find
entity Vic Berton
relation given name
type name
['jazz musician', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Vic_Berton property:given_name ?j . ?j rdf:type ontology:name }
[]
name
Q16282445
SYSTEM
Vic
Q16282445
(Q15981151,P735,c(Q82799))
action filter_type
action find
entity Q1478466
relation P735
type Q82799
That person is known as [ANSWER]
['Q15981151', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q1478466 property:P735 ?j . ?j rdf:type ontology:Q82799 }
Vic
That person is known as Vic
Vic
action filter_type
action find
entity Vic Berton
relation given name
type name
['jazz musician', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Vic_Berton property:given_name ?j . ?j rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7659924 Q1478466
P735
Q82799
USER
Or Sydney Fairbairn?
OR((Q1478466,P735,c(Q82799)), (Q7659924,P735,c(Q82799)))
action filter_type
action union
action find
entity Q1478466
relation P735
action find
entity Q7659924
relation P735
type Q82799
{'OR': [['Q1478466', 'P735', {'concept': 'Q82799'}], ['Q7659924', 'P735', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q82799 . { ?f property:P735 ?w . VALUES ( ?f ) { ( resource:Q1478466 ) ( resource:Q7659924 ) } } }
Sydney Fairbairn Vic Berton
action filter_type
action union
action find
entity Vic Berton
relation given name
action find
entity Sydney Fairbairn
relation given name
type name
{'OR': [['Vic Berton', 'given name', {'concept': 'name'}], ['Sydney Fairbairn', 'given name', {'concept': 'name'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:name . { ?f property:given_name ?w . VALUES ( ?f ) { ( resource:Vic_Berton ) ( resource:Sydney_Fairbairn ) } } }
[]
name
Q18915128 Q16282445
SYSTEM
Sydney, Vic
Q18915128 Q16282445
OR((Q1478466,P735,c(Q82799)), (Q7659924,P735,c(Q82799)))
action filter_type
action union
action find
entity Q1478466
relation P735
action find
entity Q7659924
relation P735
type Q82799
[ANSWERS]
{'OR': [['Q1478466', 'P735', {'concept': 'Q82799'}], ['Q7659924', 'P735', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q82799 . { ?f property:P735 ?w . VALUES ( ?f ) { ( resource:Q1478466 ) ( resource:Q7659924 ) } } }
Sydney Vic
Sydney Vic
action filter_type
action union
action find
entity Vic Berton
relation given name
action find
entity Sydney Fairbairn
relation given name
type name
{'OR': [['Vic Berton', 'given name', {'concept': 'name'}], ['Sydney Fairbairn', 'given name', {'concept': 'name'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:name . { ?f property:given_name ?w . VALUES ( ?f ) { ( resource:Vic_Berton ) ( resource:Sydney_Fairbairn ) } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4801906 Q1478466
P19
Q56061
USER
Which administrative territories are the birthplace of Vic Berton or Artyom Orsayev ?
OR((Q1478466,P19,c(Q56061)), (Q4801906,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1478466
relation P19
action find
entity Q4801906
relation P19
type Q56061
{'OR': [['Q1478466', 'P19', {'concept': 'Q56061'}], ['Q4801906', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . { VALUES ( ?e ) { ( resource:Q4801906 ) ( resource:Q1478466 ) } . ?e property:P19 ?i } }
Artyom Orsayev Vic Berton
action filter_type
action union
action find
entity Vic Berton
relation place of birth
action find
entity Artyom Orsayev
relation place of birth
type administrative territorial entity
{'OR': [['Vic Berton', 'place of birth', {'concept': 'administrative territorial entity'}], ['Artyom Orsayev', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . { VALUES ( ?e ) { ( resource:Artyom_Orsayev ) ( resource:Vic_Berton ) } . ?e property:place_of_birth ?i } }
[]
administrative territorial entity
Q1297 Q908
SYSTEM
Chicago, Rostov-on-Don
Q1297 Q908
OR((Q1478466,P19,c(Q56061)), (Q4801906,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1478466
relation P19
action find
entity Q4801906
relation P19
type Q56061
[ANSWERS] are the birthplace of Vic Berton or Artyom Orsayev
{'OR': [['Q1478466', 'P19', {'concept': 'Q56061'}], ['Q4801906', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . { VALUES ( ?e ) { ( resource:Q4801906 ) ( resource:Q1478466 ) } . ?e property:P19 ?i } }
Chicago Rostov-on-Don
Chicago and Rostov-on-Don are the birthplace of Vic Berton or Artyom Orsayev
Chicago Rostov-on-Don
action filter_type
action union
action find
entity Vic Berton
relation place of birth
action find
entity Artyom Orsayev
relation place of birth
type administrative territorial entity
{'OR': [['Vic Berton', 'place of birth', {'concept': 'administrative territorial entity'}], ['Artyom Orsayev', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . { VALUES ( ?e ) { ( resource:Artyom_Orsayev ) ( resource:Vic_Berton ) } . ?e property:place_of_birth ?i } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1297 Q908
P190
Q515
USER
Which cities are partner towns of Chicago and Rostov-on-Don ?
(Q1297,P190,c(Q515)) (Q908,P190,c(Q515))
action union
action filter_type
action find
entity Q1297
relation P190
type Q515
action filter_type
action find
entity Q908
relation P190
type Q515
['Q1297', 'P190', {'concept': 'Q515'}] ['Q908', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?d ) { ( resource:Q1297 ) ( resource:Q908 ) } . ?d property:P190 ?x }
Chicago Rostov-on-Don
action union
action filter_type
action find
entity Chicago
relation sister city
type city
action filter_type
action find
entity Rostov-on-Don
relation sister city
type city
['Chicago', 'sister city', {'concept': 'city'}] ['Rostov-on-Don', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?d ) { ( resource:Chicago ) ( resource:Rostov-on-Don ) } . ?d property:sister_city ?x }
[]
city
Q1899 Q1953 Q3750
SYSTEM
Kyiv, Yerevan, Gera
Q16520 Q1899 Q3750 Q1953 Q487439
(Q1297,P190,c(Q515)) (Q908,P190,c(Q515))
action union
action filter_type
action find
entity Q1297
relation P190
type Q515
action filter_type
action find
entity Q908
relation P190
type Q515
[ANSWERS] are partner towns of Chicago and Rostov-on-Don
['Q1297', 'P190', {'concept': 'Q515'}] ['Q908', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?d ) { ( resource:Q1297 ) ( resource:Q908 ) } . ?d property:P190 ?x }
Busan Kyiv Gera Yerevan Oral
Kyiv, Yerevan and Gera are partner towns of Chicago and Rostov-on-Don
Kyiv Yerevan Gera
action union
action filter_type
action find
entity Chicago
relation sister city
type city
action filter_type
action find
entity Rostov-on-Don
relation sister city
type city
['Chicago', 'sister city', {'concept': 'city'}] ['Rostov-on-Don', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?d ) { ( resource:Chicago ) ( resource:Rostov-on-Don ) } . ?d property:sister_city ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1297
P127
Q811430
USER
Which construction is owned by Chicago ?
(c(Q811430),P127,Q1297)
action filter_type
action find_reverse
entity Q1297
relation P127
type Q811430
[{'concept': 'Q811430'}, 'P127', 'Q1297']
SELECT DISTINCT ?f WHERE { ?f property:P127 resource:Q1297 . ?f rdf:type ontology:Q811430 }
Chicago
action filter_type
action find_reverse
entity Chicago
relation owned by
type construction
[{'concept': 'construction'}, 'owned by', 'Chicago']
SELECT DISTINCT ?f WHERE { ?f property:owned_by resource:Chicago . ?f rdf:type ontology:construction }
[]
construction
Q5419995
SYSTEM
Exelon Pavilions
Q5419995
(c(Q811430),P127,Q1297)
action filter_type
action find_reverse
entity Q1297
relation P127
type Q811430
[ANSWER] is owned by Chicago
[{'concept': 'Q811430'}, 'P127', 'Q1297']
SELECT DISTINCT ?f WHERE { ?f property:P127 resource:Q1297 . ?f rdf:type ontology:Q811430 }
Exelon Pavilions
Exelon Pavilions is owned by Chicago
Exelon Pavilions
action filter_type
action find_reverse
entity Chicago
relation owned by
type construction
[{'concept': 'construction'}, 'owned by', 'Chicago']
SELECT DISTINCT ?f WHERE { ?f property:owned_by resource:Chicago . ?f rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5419995
P84
Q502895
USER
Who is the designer of that construction ?
(Q5419995,P84,c(Q502895))
action filter_type
action find
entity Q5419995
relation P84
type Q502895
['Q5419995', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q5419995 property:P84 ?r . ?r rdf:type ontology:Q502895 }
Exelon Pavilions
action filter_type
action find
entity Exelon Pavilions
relation architect
type common name
['Exelon Pavilions', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Exelon_Pavilions property:architect ?r . ?r rdf:type ontology:common_name }
[]
common name
Q190148
SYSTEM
Renzo Piano
Q190148
(Q5419995,P84,c(Q502895))
action filter_type
action find
entity Q5419995
relation P84
type Q502895
The designer of that construction is Giuseppe [ANSWER]
['Q5419995', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q5419995 property:P84 ?r . ?r rdf:type ontology:Q502895 }
Renzo Piano
The designer of that construction is Giuseppe Renzo Piano
Renzo Piano
action filter_type
action find
entity Exelon Pavilions
relation architect
type common name
['Exelon Pavilions', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Exelon_Pavilions property:architect ?r . ?r rdf:type ontology:common_name }
[]