Simple Question (Direct)
Simple Question
Q11466304
P734
Q82799
USER
Which name is associated with Hajime Yamamoto ?
(Q11466304,P734,c(Q82799))
action filter_type
action find
entity Q11466304
relation P734
type Q82799
['Q11466304', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q11466304 property:P734 ?l }
Hajime Yamamoto
action filter_type
action find
entity Hajime Yamamoto
relation family name
type name
['Hajime Yamamoto', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Hajime_Yamamoto property:family_name ?l }
[]
name
Q231555
SYSTEM
Yamamoto
Q231555
(Q11466304,P734,c(Q82799))
action filter_type
action find
entity Q11466304
relation P734
type Q82799
[ANSWER] is associated with Hajime [ANSWER]
['Q11466304', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q11466304 property:P734 ?l }
Yamamoto
Yamamoto is associated with Hajime Yamamoto
Yamamoto
action filter_type
action find
entity Hajime Yamamoto
relation family name
type name
['Hajime Yamamoto', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Hajime_Yamamoto property:family_name ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q11466304
P27
Q15617994
USER
How many administrative territories are the native countriesof Hajime Yamamoto ?
(Q11466304,P27,c(Q15617994))
action count
action filter_type
action find
entity Q11466304
relation P27
type Q15617994
['Q11466304', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Q11466304 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Hajime Yamamoto
action count
action filter_type
action find
entity Hajime Yamamoto
relation country of citizenship
type designation for an administrative territorial entity
['Hajime Yamamoto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Hajime_Yamamoto property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q17
(Q11466304,P27,c(Q15617994))
action count
action filter_type
action find
entity Q11466304
relation P27
type Q15617994
[ANSWER]
['Q11466304', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Q11466304 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Japan
1
action count
action filter_type
action find
entity Hajime Yamamoto
relation country of citizenship
type designation for an administrative territorial entity
['Hajime Yamamoto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Hajime_Yamamoto property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q20020457
P27
Q15617994
USER
And how about Amar Shankar Sable?
(Q20020457,P27,c(Q15617994))
action count
action filter_type
action find
entity Q20020457
relation P27
type Q15617994
['Q20020457', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Q20020457 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Amar Shankar Sable
action count
action filter_type
action find
entity Amar Shankar Sable
relation country of citizenship
type designation for an administrative territorial entity
['Amar Shankar Sable', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Amar_Shankar_Sable property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q668
(Q20020457,P27,c(Q15617994))
action count
action filter_type
action find
entity Q20020457
relation P27
type Q15617994
[ANSWER]
['Q20020457', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Q20020457 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
India
1
action count
action filter_type
action find
entity Amar Shankar Sable
relation country of citizenship
type designation for an administrative territorial entity
['Amar Shankar Sable', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Amar_Shankar_Sable property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1246175
Q15617994
USER
And what about Alfredo Ormando?
(Q1246175,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1246175
relation P27
type Q15617994
['Q1246175', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q1246175 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Alfredo Ormando
action count
action filter_type
action find
entity Alfredo Ormando
relation country of citizenship
type designation for an administrative territorial entity
['Alfredo Ormando', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Alfredo_Ormando property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q1246175,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1246175
relation P27
type Q15617994
[ANSWER]
['Q1246175', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q1246175 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Alfredo Ormando
relation country of citizenship
type designation for an administrative territorial entity
['Alfredo Ormando', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Alfredo_Ormando property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5592671 Q1246175
P19 P20
Q56061
USER
Which administrative territories did the expiration of Alfredo Ormando occur or were Graham Bidstrup born in ?
OR((Q1246175,P20,c(Q56061)), (Q5592671,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1246175
relation P20
action find
entity Q5592671
relation P19
type Q56061
{'OR': [['Q1246175', 'P20', {'concept': 'Q56061'}], ['Q5592671', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q1246175 property:P20 ?e } UNION { resource:Q5592671 property:P19 ?e } } . ?e rdf:type ontology:Q56061 }
Graham Bidstrup Alfredo Ormando
action filter_type
action union
action find
entity Alfredo Ormando
relation place of death
action find
entity Graham Bidstrup
relation place of birth
type administrative territorial entity
{'OR': [['Alfredo Ormando', 'place of death', {'concept': 'administrative territorial entity'}], ['Graham Bidstrup', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Alfredo_Ormando property:place_of_death ?e } UNION { resource:Graham_Bidstrup property:place_of_birth ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220 Q5112
SYSTEM
Rome, Adelaide
Q220 Q5112
OR((Q1246175,P20,c(Q56061)), (Q5592671,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1246175
relation P20
action find
entity Q5592671
relation P19
type Q56061
The expiration of Alfredo Ormando occurred in [ANSWERS] or Graham Bidstrup
{'OR': [['Q1246175', 'P20', {'concept': 'Q56061'}], ['Q5592671', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q1246175 property:P20 ?e } UNION { resource:Q5592671 property:P19 ?e } } . ?e rdf:type ontology:Q56061 }
Rome Adelaide
The expiration of Alfredo Ormando occurred in Rome and Adelaide or Graham Bidstrup
Rome Adelaide
action filter_type
action union
action find
entity Alfredo Ormando
relation place of death
action find
entity Graham Bidstrup
relation place of birth
type administrative territorial entity
{'OR': [['Alfredo Ormando', 'place of death', {'concept': 'administrative territorial entity'}], ['Graham Bidstrup', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Alfredo_Ormando property:place_of_death ?e } UNION { resource:Graham_Bidstrup property:place_of_birth ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]