Simple Question (Direct)
Simple Question
Q3078290
P21
Q290
USER
Which sex does Takanori Hatakeyama belong to ?
(Q3078290,P21,c(Q290))
action filter_type
action find
entity Q3078290
relation P21
type Q290
['Q3078290', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3078290 property:P21 ?s . ?s rdf:type ontology:Q290 }
Takanori Hatakeyama
action filter_type
action find
entity Takanori Hatakeyama
relation gender
type sex
['Takanori Hatakeyama', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Takanori_Hatakeyama property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3078290,P21,c(Q290))
action filter_type
action find
entity Q3078290
relation P21
type Q290
Takanori Hatakeyama belongs to [ANSWER]
['Q3078290', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3078290 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Takanori Hatakeyama belongs to male
male
action filter_type
action find
entity Takanori Hatakeyama
relation gender
type sex
['Takanori Hatakeyama', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Takanori_Hatakeyama property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3078290
P106
Q12737077
USER
What are the professions of Takanori Hatakeyama ?
(Q3078290,P106,c(Q12737077))
action filter_type
action find
entity Q3078290
relation P106
type Q12737077
['Q3078290', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q3078290 property:P106 ?x }
Takanori Hatakeyama
action filter_type
action find
entity Takanori Hatakeyama
relation occupation
type occupation
['Takanori Hatakeyama', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Takanori_Hatakeyama property:occupation ?x }
[]
occupation
Q2705098 Q33999 Q11338576
SYSTEM
tarento, actor, boxer
Q2705098 Q33999 Q11338576
(Q3078290,P106,c(Q12737077))
action filter_type
action find
entity Q3078290
relation P106
type Q12737077
The professions of Takanori Hatakeyama are the [ANSWERS]
['Q3078290', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q3078290 property:P106 ?x }
tarento actor boxer
The professions of Takanori Hatakeyama are the tarento, actor and boxer
tarento actor boxer
action filter_type
action find
entity Takanori Hatakeyama
relation occupation
type occupation
['Takanori Hatakeyama', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Takanori_Hatakeyama property:occupation ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3078290
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q2705098,P19,c(Q56061)) (Q33999,P19,c(Q56061)) (Q11338576,P19,c(Q56061))
action filter_type
action find
entity Q3078290
relation P19
type Q56061
['Q2705098', 'P19', {'concept': 'Q56061'}] ['Q33999', 'P19', {'concept': 'Q56061'}] ['Q11338576', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3078290 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Takanori Hatakeyama
action filter_type
action find
entity Takanori Hatakeyama
relation place of birth
type administrative territorial entity
['tarento', 'place of birth', {'concept': 'administrative territorial entity'}] ['actor', 'place of birth', {'concept': 'administrative territorial entity'}] ['boxer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Takanori_Hatakeyama property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q146790
SYSTEM
Aomori
Q146790
(Q2705098,P19,c(Q56061)) (Q33999,P19,c(Q56061)) (Q11338576,P19,c(Q56061))
action filter_type
action find
entity Q3078290
relation P19
type Q56061
That person was born in [ANSWER]
['Q2705098', 'P19', {'concept': 'Q56061'}] ['Q33999', 'P19', {'concept': 'Q56061'}] ['Q11338576', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3078290 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Aomori
That person was born in Aomori
Aomori
action filter_type
action find
entity Takanori Hatakeyama
relation place of birth
type administrative territorial entity
['tarento', 'place of birth', {'concept': 'administrative territorial entity'}] ['actor', 'place of birth', {'concept': 'administrative territorial entity'}] ['boxer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Takanori_Hatakeyama property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q146790 Q12571970
P20
Q502895
USER
Did Ernst Boos die in that administrative territory ?
(Q12571970,P20,Q146790)
action is_in
entity Q12571970
action find
entity Q146790
relation P20
['Q12571970', 'P20', 'Q146790']
ASK WHERE { resource:Q146790 property:P20 resource:Q12571970 }
Aomori Ernst Boos
action is_in
entity Ernst Boos
action find
entity Aomori
relation place of death
['Ernst Boos', 'place of death', 'Aomori']
ASK WHERE { resource:Aomori property:place_of_death resource:Ernst_Boos }
[]
common name
SYSTEM
NO
(Q12571970,P20,Q146790)
action is_in
entity Q12571970
action find
entity Q146790
relation P20
[ANSWER]
['Q12571970', 'P20', 'Q146790']
ASK WHERE { resource:Q146790 property:P20 resource:Q12571970 }
No
action is_in
entity Ernst Boos
action find
entity Aomori
relation place of death
['Ernst Boos', 'place of death', 'Aomori']
ASK WHERE { resource:Aomori property:place_of_death resource:Ernst_Boos }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q146790
P47
Q515
USER
Which cities are bordered by that administrative territory ?
action filter_type
action find
entity Q146790
relation P47
type Q515
SELECT DISTINCT ?p WHERE { resource:Q146790 property:P47 ?p . ?p rdf:type ontology:Q515 }
Aomori
action filter_type
action find
entity Aomori
relation shares border with
type city
SELECT DISTINCT ?p WHERE { resource:Aomori property:shares_border_with ?p . ?p rdf:type ontology:city }
[]
city
Q695930 Q646818 Q496702
SYSTEM
Hirakawa, Towada, Goshogawara
Q496412 Q695930 Q496702 Q646818
action filter_type
action find
entity Q146790
relation P47
type Q515
[ANSWERS] are bordered by that administrative territory
SELECT DISTINCT ?p WHERE { resource:Q146790 property:P47 ?p . ?p rdf:type ontology:Q515 }
Kuroishi Hirakawa Goshogawara Towada
Hirakawa, Towada and Goshogawara are bordered by that administrative territory
Hirakawa Towada Goshogawara
action filter_type
action find
entity Aomori
relation shares border with
type city
SELECT DISTINCT ?p WHERE { resource:Aomori property:shares_border_with ?p . ?p rdf:type ontology:city }
[]
Clarification
Simple Question|Single Entity|Indirect
Q496702
P159
Q43229
USER
Which organization has its HQ location at that city ?
(c(Q43229),P159,Q496702)
action filter_type
action find_reverse
entity Q496702
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q496702']
SELECT DISTINCT ?r WHERE { ?r property:P159 resource:Q496702 . ?r rdf:type ontology:Q43229 }
Goshogawara
action filter_type
action find_reverse
entity Goshogawara
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Goshogawara']
SELECT DISTINCT ?r WHERE { ?r property:headquarters_location resource:Goshogawara . ?r rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q695930
SYSTEM
Did you mean Hirakawa ?
Q695930 Q646818 Q496702
(c(Q43229),P159,Q695930) (c(Q43229),P159,Q646818) (c(Q43229),P159,Q496702)
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q695930'] [{'concept': 'Q43229'}, 'P159', 'Q646818'] [{'concept': 'Q43229'}, 'P159', 'Q496702']
SELECT DISTINCT ?r WHERE { ?r property:P159 resource:Q496702 . ?r rdf:type ontology:Q43229 }
Hirakawa Towada Goshogawara
Did you mean Hirakawa ?
Hirakawa
[{'concept': 'organization'}, 'headquarters location', 'Hirakawa'] [{'concept': 'organization'}, 'headquarters location', 'Towada'] [{'concept': 'organization'}, 'headquarters location', 'Goshogawara']
SELECT DISTINCT ?r WHERE { ?r property:headquarters_location resource:Goshogawara . ?r rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Goshogawara. Could you tell me the answer for that?
(c(Q43229),P159,Q496702)
Q496702
[{'concept': 'Q43229'}, 'P159', 'Q496702']
[{'concept': 'organization'}, 'headquarters location', 'Goshogawara']
[]
Q16939067
SYSTEM
Tsugaru Railway Company
Q16939067
(c(Q43229),P159,Q496702)
action filter_type
action find_reverse
entity Q496702
relation P159
type Q43229
[ANSWER] has its HQ location at that city
[{'concept': 'Q43229'}, 'P159', 'Q496702']
SELECT DISTINCT ?r WHERE { ?r property:P159 resource:Q496702 . ?r rdf:type ontology:Q43229 }
Tsugaru Railway Company
Tsugaru Railway Company has its HQ location at that city
Tsugaru Railway Company
action filter_type
action find_reverse
entity Goshogawara
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Goshogawara']
SELECT DISTINCT ?r WHERE { ?r property:headquarters_location resource:Goshogawara . ?r rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q43229 Q62447
USER
How many aerodromes were managed by atleast 1 organization ?
(c(Q62447),P137,c(Q43229))
action count
action atleast
action find_tuple_counts
relation P137
type Q62447
type Q43229
value 1
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?l ) WHERE { ?k property:P137 ?n . ?n rdf:type ontology:Q43229 . ?k rdf:type ontology:Q62447 } GROUP BY ?k } . FILTER ( ?l >= 1 ) }
action count
action atleast
action find_tuple_counts
relation operator
type aerodrome
type organization
value 1
[{'concept': 'aerodrome'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?l ) WHERE { ?k property:operator ?n . ?n rdf:type ontology:organization . ?k rdf:type ontology:aerodrome } GROUP BY ?k } . FILTER ( ?l >= 1 ) }
[]
organization aerodrome
SYSTEM
22
Q2449054 Q2901042 Q221351 Q1360523 Q4747210 Q898928 Q2161272 Q478595 Q4156 Q2667407 Q3029774 Q4993139 Q53080 Q2279248 Q4992232 Q1836709 Q278667 Q186614 Q11295440 Q19803527 Q3049018 Q619825
(c(Q62447),P137,c(Q43229))
action count
action atleast
action find_tuple_counts
relation P137
type Q62447
type Q43229
value 1
[ANSWER]
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?l ) WHERE { ?k property:P137 ?n . ?n rdf:type ontology:Q43229 . ?k rdf:type ontology:Q62447 } GROUP BY ?k } . FILTER ( ?l >= 1 ) }
Salak Airport Bamenda Airport Yaoundé Nsimalen International Airport Luis Muñoz Marín International Airport Ammassivik Heliport Douala International Airport Garoua International Airport Tan Son Nhat International Airport Dong Hoi Airport Stornoway Airport Aappilattoq Heliport Qasigiannguit Heliport Piedras Negras International Airport Ngaoundéré Airport Qeqertarsuaq Heliport Chalgrove Airfield Rajiv Gandhi International Airport Domodedovo International Airport Akunnaaq Heliport Cricklewood Aerodrome Nerlerit Inaat Airport Bertoua Airport
22
action count
action atleast
action find_tuple_counts
relation operator
type aerodrome
type organization
value 1
[{'concept': 'aerodrome'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?l ) WHERE { ?k property:operator ?n . ?n rdf:type ontology:organization . ?k rdf:type ontology:aerodrome } GROUP BY ?k } . FILTER ( ?l >= 1 ) }
[]