Simple Question (Direct)
Simple Question
Q528279
P734
Q82799
USER
Which name is associated with Takuma Ueda ?
(Q528279,P734,c(Q82799))
action filter_type
action find
entity Q528279
relation P734
type Q82799
['Q528279', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q82799 . resource:Q528279 property:P734 ?x }
Takuma Ueda
action filter_type
action find
entity Takuma Ueda
relation family name
type name
['Takuma Ueda', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:name . resource:Takuma_Ueda property:family_name ?x }
[]
name
Q18210630
SYSTEM
Ueda
Q18210630
(Q528279,P734,c(Q82799))
action filter_type
action find
entity Q528279
relation P734
type Q82799
[ANSWER] is associated with Takuma [ANSWER]
['Q528279', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q82799 . resource:Q528279 property:P734 ?x }
Ueda
Ueda is associated with Takuma Ueda
Ueda
action filter_type
action find
entity Takuma Ueda
relation family name
type name
['Takuma Ueda', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:name . resource:Takuma_Ueda property:family_name ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q528279
P21
Q290
USER
Which sex does Takuma Ueda have ?
(Q528279,P21,c(Q290))
action filter_type
action find
entity Q528279
relation P21
type Q290
['Q528279', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q528279 property:P21 ?q . ?q rdf:type ontology:Q290 }
Takuma Ueda
action filter_type
action find
entity Takuma Ueda
relation gender
type sex
['Takuma Ueda', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Takuma_Ueda property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q528279,P21,c(Q290))
action filter_type
action find
entity Q528279
relation P21
type Q290
Takuma Ueda has a [ANSWER]
['Q528279', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q528279 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
Takuma Ueda has a male
male
action filter_type
action find
entity Takuma Ueda
relation gender
type sex
['Takuma Ueda', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Takuma_Ueda property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q528279
P641
Q349
USER
What did Takuma Ueda participate in ?
(Q528279,P641,c(Q349))
action filter_type
action find
entity Q528279
relation P641
type Q349
['Q528279', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q528279 property:P641 ?c . ?c rdf:type ontology:Q349 }
Takuma Ueda
action filter_type
action find
entity Takuma Ueda
relation sport
type sport
['Takuma Ueda', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Takuma_Ueda property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q7291
SYSTEM
badminton
Q7291
(Q528279,P641,c(Q349))
action filter_type
action find
entity Q528279
relation P641
type Q349
Takuma Ueda participated in [ANSWER]
['Q528279', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q528279 property:P641 ?c . ?c rdf:type ontology:Q349 }
badminton
Takuma Ueda participated in badminton
badminton
action filter_type
action find
entity Takuma Ueda
relation sport
type sport
['Takuma Ueda', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Takuma_Ueda property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q528279
P106
Q12737077
USER
What is the profession of Takuma Ueda ?
(Q528279,P106,c(Q12737077))
action filter_type
action find
entity Q528279
relation P106
type Q12737077
['Q528279', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q528279 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Takuma Ueda
action filter_type
action find
entity Takuma Ueda
relation occupation
type occupation
['Takuma Ueda', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Takuma_Ueda property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q13141064
SYSTEM
badminton player
Q13141064
(Q528279,P106,c(Q12737077))
action filter_type
action find
entity Q528279
relation P106
type Q12737077
The profession of Takuma Ueda is a [ANSWER]
['Q528279', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q528279 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
badminton player
The profession of Takuma Ueda is a badminton player
badminton player
action filter_type
action find
entity Takuma Ueda
relation occupation
type occupation
['Takuma Ueda', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Takuma_Ueda property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q528279
P27
Q15617994
USER
Which administrative territory is Takuma Ueda a civilian of ?
(Q528279,P27,c(Q15617994))
action filter_type
action find
entity Q528279
relation P27
type Q15617994
['Q528279', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q528279 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Takuma Ueda
action filter_type
action find
entity Takuma Ueda
relation country of citizenship
type designation for an administrative territorial entity
['Takuma Ueda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Takuma_Ueda property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q528279,P27,c(Q15617994))
action filter_type
action find
entity Q528279
relation P27
type Q15617994
[ANSWER] is Takuma Ueda a civilian of
['Q528279', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q528279 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Japan
Japan is Takuma Ueda a civilian of
Japan
action filter_type
action find
entity Takuma Ueda
relation country of citizenship
type designation for an administrative territorial entity
['Takuma Ueda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Takuma_Ueda property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24621982
Q15617994
USER
And also tell me about Peter van Aarle?
(Q24621982,P27,c(Q15617994))
action filter_type
action find
entity Q24621982
relation P27
type Q15617994
['Q24621982', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q24621982 property:P27 ?c }
Peter van Aarle
action filter_type
action find
entity Peter van Aarle
relation country of citizenship
type designation for an administrative territorial entity
['Peter van Aarle', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Peter_van_Aarle property:country_of_citizenship ?c }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q24621982,P27,c(Q15617994))
action filter_type
action find
entity Q24621982
relation P27
type Q15617994
[ANSWER]
['Q24621982', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q24621982 property:P27 ?c }
Kingdom of the Netherlands
Kingdom of the Netherlands
action filter_type
action find
entity Peter van Aarle
relation country of citizenship
type designation for an administrative territorial entity
['Peter van Aarle', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Peter_van_Aarle property:country_of_citizenship ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1001
Q1292279 Q192350
USER
How many political borders and ministries have control over the jurisdiction of that administrative territory ?
(c(Q1292279),P1001,Q29999) (c(Q192350),P1001,Q29999) (c(Q1292279),P1001,Q29999) (c(Q192350),P1001,Q29999)
action count
action union
action filter_type
action find_reverse
entity Q29999
relation P1001
type Q1292279
action filter_type
action find_reverse
entity Q29999
relation P1001
type Q192350
[{'concept': 'Q1292279'}, 'P1001', 'Q29999'] [{'concept': 'Q192350'}, 'P1001', 'Q29999'] [{'concept': 'Q1292279'}, 'P1001', 'Q29999'] [{'concept': 'Q192350'}, 'P1001', 'Q29999']
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { ?r property:P1001 resource:Q29999 . ?r rdf:type ontology:Q192350 } UNION { ?r property:P1001 resource:Q29999 . ?r rdf:type ontology:Q1292279 } }
action count
action union
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation applies to jurisdiction
type political border
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation applies to jurisdiction
type ministry
[{'concept': 'political border'}, 'applies to jurisdiction', 'Kingdom of the Netherlands'] [{'concept': 'ministry'}, 'applies to jurisdiction', 'Kingdom of the Netherlands'] [{'concept': 'political border'}, 'applies to jurisdiction', 'Kingdom of the Netherlands'] [{'concept': 'ministry'}, 'applies to jurisdiction', 'Kingdom of the Netherlands']
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { ?r property:applies_to_jurisdiction resource:Kingdom_of_the_Netherlands . ?r rdf:type ontology:ministry } UNION { ?r property:applies_to_jurisdiction resource:Kingdom_of_the_Netherlands . ?r rdf:type ontology:political_border } }
[]
political border ministry
SYSTEM
6 political borders and 1 ministries
Q17351344 Q1996259 Q17351745 Q898882 Q17351814 Q17351815 Q3088843
(c(Q1292279),P1001,Q29999) (c(Q192350),P1001,Q29999) (c(Q1292279),P1001,Q29999) (c(Q192350),P1001,Q29999)
action count
action union
action filter_type
action find_reverse
entity Q29999
relation P1001
type Q1292279
action filter_type
action find_reverse
entity Q29999
relation P1001
type Q192350
[ANSWER]
[{'concept': 'Q1292279'}, 'P1001', 'Q29999'] [{'concept': 'Q192350'}, 'P1001', 'Q29999'] [{'concept': 'Q1292279'}, 'P1001', 'Q29999'] [{'concept': 'Q192350'}, 'P1001', 'Q29999']
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { ?r property:P1001 resource:Q29999 . ?r rdf:type ontology:Q192350 } UNION { ?r property:P1001 resource:Q29999 . ?r rdf:type ontology:Q1292279 } }
Netherlands–United Kingdom border France–Netherlands border Dominican Republic–Netherlands border Ministry of Agriculture, Nature and Food Quality Netherlands–Saint Kitts and Nevis border Netherlands–Venezuela border Belgium–Netherlands border
6 political borders and 1 ministries
action count
action union
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation applies to jurisdiction
type political border
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation applies to jurisdiction
type ministry
[{'concept': 'political border'}, 'applies to jurisdiction', 'Kingdom of the Netherlands'] [{'concept': 'ministry'}, 'applies to jurisdiction', 'Kingdom of the Netherlands'] [{'concept': 'political border'}, 'applies to jurisdiction', 'Kingdom of the Netherlands'] [{'concept': 'ministry'}, 'applies to jurisdiction', 'Kingdom of the Netherlands']
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { ?r property:applies_to_jurisdiction resource:Kingdom_of_the_Netherlands . ?r rdf:type ontology:ministry } UNION { ?r property:applies_to_jurisdiction resource:Kingdom_of_the_Netherlands . ?r rdf:type ontology:political_border } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q553661 Q24621982
P19 P20
Q56061
USER
Which administrative territories did the expiration of Peter van Aarle occur or were Jozafat Ołeh Howera born ?
OR((Q24621982,P20,c(Q56061)), (Q553661,P19,c(Q56061)))
action filter_type
action union
action find
entity Q24621982
relation P20
action find
entity Q553661
relation P19
type Q56061
{'OR': [['Q24621982', 'P20', {'concept': 'Q56061'}], ['Q553661', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . { { resource:Q24621982 property:P20 ?f } UNION { resource:Q553661 property:P19 ?f } } }
Jozafat Ołeh Howera Peter van Aarle
action filter_type
action union
action find
entity Peter van Aarle
relation place of death
action find
entity Jozafat Ołeh Howera
relation place of birth
type administrative territorial entity
{'OR': [['Peter van Aarle', 'place of death', {'concept': 'administrative territorial entity'}], ['Jozafat Ołeh Howera', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . { { resource:Peter_van_Aarle property:place_of_death ?f } UNION { resource:Jozafat_Ołeh_Howera property:place_of_birth ?f } } }
[]
administrative territorial entity
Q36600 Q156726
SYSTEM
The Hague, Ivano-Frankivsk
Q36600 Q156726
OR((Q24621982,P20,c(Q56061)), (Q553661,P19,c(Q56061)))
action filter_type
action union
action find
entity Q24621982
relation P20
action find
entity Q553661
relation P19
type Q56061
The expiration of Peter van Aarle occurred in [ANSWERS] or Jozafat Ołeh Howera
{'OR': [['Q24621982', 'P20', {'concept': 'Q56061'}], ['Q553661', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . { { resource:Q24621982 property:P20 ?f } UNION { resource:Q553661 property:P19 ?f } } }
The Hague Ivano-Frankivsk
The expiration of Peter van Aarle occurred in The Hague and Ivano-Frankivsk or Jozafat Ołeh Howera
The Hague Ivano-Frankivsk
action filter_type
action union
action find
entity Peter van Aarle
relation place of death
action find
entity Jozafat Ołeh Howera
relation place of birth
type administrative territorial entity
{'OR': [['Peter van Aarle', 'place of death', {'concept': 'administrative territorial entity'}], ['Jozafat Ołeh Howera', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . { { resource:Peter_van_Aarle property:place_of_death ?f } UNION { resource:Jozafat_Ołeh_Howera property:place_of_birth ?f } } }
[]