Simple Question (Direct)
Simple Question
Q5170460
P69
Q9826
USER
Where was Corey Webster educated ?
(Q5170460,P69,c(Q9826))
action filter_type
action find
entity Q5170460
relation P69
type Q9826
['Q5170460', 'P69', {'concept': 'Q9826'}]
SELECT DISTINCT ?f WHERE { resource:Q5170460 property:P69 ?f . ?f rdf:type ontology:Q9826 }
Corey Webster
action filter_type
action find
entity Corey Webster
relation educated at
type high school
['Corey Webster', 'educated at', {'concept': 'high school'}]
SELECT DISTINCT ?f WHERE { resource:Corey_Webster property:educated_at ?f . ?f rdf:type ontology:high_school }
[]
high school
Q7988966
SYSTEM
Westlake Boys High School
Q7988966
(Q5170460,P69,c(Q9826))
action filter_type
action find
entity Q5170460
relation P69
type Q9826
Corey Webster was educated at [ANSWER]
['Q5170460', 'P69', {'concept': 'Q9826'}]
SELECT DISTINCT ?f WHERE { resource:Q5170460 property:P69 ?f . ?f rdf:type ontology:Q9826 }
Westlake Boys High School
Corey Webster was educated at Westlake Boys High School
Westlake Boys High School
action filter_type
action find
entity Corey Webster
relation educated at
type high school
['Corey Webster', 'educated at', {'concept': 'high school'}]
SELECT DISTINCT ?f WHERE { resource:Corey_Webster property:educated_at ?f . ?f rdf:type ontology:high_school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7988966
P17
Q1048835
USER
Which political territory is that high school situated in ?
(Q7988966,P17,c(Q1048835))
action filter_type
action find
entity Q7988966
relation P17
type Q1048835
['Q7988966', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q7988966 property:P17 ?b . ?b rdf:type ontology:Q1048835 }
Westlake Boys High School
action filter_type
action find
entity Westlake Boys High School
relation country
type political territorial entity
['Westlake Boys High School', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Westlake_Boys_High_School property:country ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664
SYSTEM
New Zealand
Q664
(Q7988966,P17,c(Q1048835))
action filter_type
action find
entity Q7988966
relation P17
type Q1048835
That high school is situated in [ANSWER]
['Q7988966', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q7988966 property:P17 ?b . ?b rdf:type ontology:Q1048835 }
New Zealand
That high school is situated in New Zealand
New Zealand
action filter_type
action find
entity Westlake Boys High School
relation country
type political territorial entity
['Westlake Boys High School', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Westlake_Boys_High_School property:country ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories have a diplomatic relationship with that political territory ?
(Q664,P530,c(Q15617994)) (Q664,P530,c(Q1048835)) (Q664,P530,c(Q15617994)) (Q664,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q664
relation P530
type Q15617994
action filter_type
action find
entity Q664
relation P530
type Q1048835
['Q664', 'P530', {'concept': 'Q15617994'}] ['Q664', 'P530', {'concept': 'Q1048835'}] ['Q664', 'P530', {'concept': 'Q15617994'}] ['Q664', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
action count
action union
action filter_type
action find
entity New Zealand
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
['New Zealand', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['New Zealand', 'diplomatic relation', {'concept': 'political territorial entity'}] ['New Zealand', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['New Zealand', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a rdf:type ?y . VALUES ( ?y ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
5
Q16 Q408 Q38 Q34020 Q183
(Q664,P530,c(Q15617994)) (Q664,P530,c(Q1048835)) (Q664,P530,c(Q15617994)) (Q664,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q664
relation P530
type Q15617994
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWER]
['Q664', 'P530', {'concept': 'Q15617994'}] ['Q664', 'P530', {'concept': 'Q1048835'}] ['Q664', 'P530', {'concept': 'Q15617994'}] ['Q664', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
Canada Australia Italy Niue Germany
5
action count
action union
action filter_type
action find
entity New Zealand
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
['New Zealand', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['New Zealand', 'diplomatic relation', {'concept': 'political territorial entity'}] ['New Zealand', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['New Zealand', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a rdf:type ?y . VALUES ( ?y ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q7988966
P69 P21
Q502895
USER
Which people were educated at Westlake Boys High School and have the gender as male ?
AND((c(Q502895),P69,Q7988966), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q7988966
relation P69
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q7988966'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d property:P69 resource:Q7988966 . ?d property:P21 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
male Westlake Boys High School
action filter_type
action intersection
action find_reverse
entity Westlake Boys High School
relation educated at
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Westlake Boys High School'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d property:educated_at resource:Westlake_Boys_High_School . ?d property:gender resource:male . ?d rdf:type ontology:common_name }
[]
common name
Q5170460 Q3807365 Q3938343 Q17319081 Q1739591 Q17597219 Q723355
SYSTEM
Corey Webster, Jarrod Kenny, Robert Loe, Ron Williams, Kerrin Harrison, Tai Webster, Nick Evans
Q5170460 Q3807365 Q3938343 Q17319081 Q1739591 Q17597219 Q723355
AND((c(Q502895),P69,Q7988966), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q7988966
relation P69
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were educated at Westlake Boys High School and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q7988966'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d property:P69 resource:Q7988966 . ?d property:P21 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
Corey Webster Jarrod Kenny Robert Loe Ron Williams Kerrin Harrison Tai Webster Nick Evans
Corey Webster, Jarrod Kenny, Robert Loe, Ron Williams, Kerrin Harrison, Tai Webster and Nick Evans were educated at Westlake Boys High School and have the gender as male
Corey Webster Jarrod Kenny Robert Loe Ron Williams Kerrin Harrison Tai Webster Nick Evans
action filter_type
action intersection
action find_reverse
entity Westlake Boys High School
relation educated at
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Westlake Boys High School'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d property:educated_at resource:Westlake_Boys_High_School . ?d property:gender resource:male . ?d rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1554836 Q5170460
P27
Q1048835
USER
Which political territories are the countries of citizenship of Corey Webster or Gunnhild Ruben ?
OR((Q5170460,P27,c(Q1048835)), (Q1554836,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q5170460
relation P27
action find
entity Q1554836
relation P27
type Q1048835
{'OR': [['Q5170460', 'P27', {'concept': 'Q1048835'}], ['Q1554836', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { { ?u property:P27 ?o . VALUES ( ?u ) { ( resource:Q5170460 ) ( resource:Q1554836 ) } } . ?o rdf:type ontology:Q1048835 }
Gunnhild Ruben Corey Webster
action filter_type
action union
action find
entity Corey Webster
relation country of citizenship
action find
entity Gunnhild Ruben
relation country of citizenship
type political territorial entity
{'OR': [['Corey Webster', 'country of citizenship', {'concept': 'political territorial entity'}], ['Gunnhild Ruben', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { ?u property:country_of_citizenship ?o . VALUES ( ?u ) { ( resource:Corey_Webster ) ( resource:Gunnhild_Ruben ) } } . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q183
SYSTEM
New Zealand, Germany
Q664 Q183
OR((Q5170460,P27,c(Q1048835)), (Q1554836,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q5170460
relation P27
action find
entity Q1554836
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Corey Webster or Gunnhild Ruben
{'OR': [['Q5170460', 'P27', {'concept': 'Q1048835'}], ['Q1554836', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { { ?u property:P27 ?o . VALUES ( ?u ) { ( resource:Q5170460 ) ( resource:Q1554836 ) } } . ?o rdf:type ontology:Q1048835 }
New Zealand Germany
New Zealand and Germany are the countries of citizenship of Corey Webster or Gunnhild Ruben
New Zealand Germany
action filter_type
action union
action find
entity Corey Webster
relation country of citizenship
action find
entity Gunnhild Ruben
relation country of citizenship
type political territorial entity
{'OR': [['Corey Webster', 'country of citizenship', {'concept': 'political territorial entity'}], ['Gunnhild Ruben', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { ?u property:country_of_citizenship ?o . VALUES ( ?u ) { ( resource:Corey_Webster ) ( resource:Gunnhild_Ruben ) } } . ?o rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q247410
P530
Q15617994
USER
Do Temnitzquell have tactful political relations with those political territories ?
(Q247410,P530,Q664) (Q247410,P530,Q183)
action is_in
entity prev_answer
action find
entity Q247410
relation P530
['Q247410', 'P530', 'Q664'] ['Q247410', 'P530', 'Q183']
ASK WHERE { VALUES ( ?y ) { ( resource:Q664 ) ( resource:Q183 ) } . resource:Q247410 property:P530 ?y }
Temnitzquell
action is_in
entity prev_answer
action find
entity Temnitzquell
relation diplomatic relation
['Temnitzquell', 'diplomatic relation', 'New Zealand'] ['Temnitzquell', 'diplomatic relation', 'Germany']
ASK WHERE { VALUES ( ?y ) { ( resource:New_Zealand ) ( resource:Germany ) } . resource:Temnitzquell property:diplomatic_relation ?y }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q247410,P530,Q664) (Q247410,P530,Q183)
action is_in
entity prev_answer
action find
entity Q247410
relation P530
[ANSWER]
['Q247410', 'P530', 'Q664'] ['Q247410', 'P530', 'Q183']
ASK WHERE { VALUES ( ?y ) { ( resource:Q664 ) ( resource:Q183 ) } . resource:Q247410 property:P530 ?y }
No
action is_in
entity prev_answer
action find
entity Temnitzquell
relation diplomatic relation
['Temnitzquell', 'diplomatic relation', 'New Zealand'] ['Temnitzquell', 'diplomatic relation', 'Germany']
ASK WHERE { VALUES ( ?y ) { ( resource:New_Zealand ) ( resource:Germany ) } . resource:Temnitzquell property:diplomatic_relation ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5170460 Q37100
P19
Q56061
USER
Was Corey Webster born in Auckland ?
(Q5170460,P19,Q37100)
action is_in
entity Q37100
action find
entity Q5170460
relation P19
['Q5170460', 'P19', 'Q37100']
ASK WHERE { resource:Q5170460 property:P19 resource:Q37100 }
Corey Webster Auckland
action is_in
entity Auckland
action find
entity Corey Webster
relation place of birth
['Corey Webster', 'place of birth', 'Auckland']
ASK WHERE { resource:Corey_Webster property:place_of_birth resource:Auckland }
[]
administrative territorial entity
SYSTEM
YES
(Q5170460,P19,Q37100)
action is_in
entity Q37100
action find
entity Q5170460
relation P19
[ANSWER]
['Q5170460', 'P19', 'Q37100']
ASK WHERE { resource:Q5170460 property:P19 resource:Q37100 }
Yes
action is_in
entity Auckland
action find
entity Corey Webster
relation place of birth
['Corey Webster', 'place of birth', 'Auckland']
ASK WHERE { resource:Corey_Webster property:place_of_birth resource:Auckland }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5170460
P3279
Q1656682
USER
What is Corey Webster the statistical leader of ?
(c(Q1656682),P3279,Q5170460)
action filter_type
action find_reverse
entity Q5170460
relation P3279
type Q1656682
[{'concept': 'Q1656682'}, 'P3279', 'Q5170460']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1656682 . ?i property:P3279 resource:Q5170460 }
Corey Webster
action filter_type
action find_reverse
entity Corey Webster
relation statistical leader
type event
[{'concept': 'event'}, 'statistical leader', 'Corey Webster']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:event . ?i property:statistical_leader resource:Corey_Webster }
[]
event
Q19870389
SYSTEM
2015 FIBA Oceania Championship
Q19870389
(c(Q1656682),P3279,Q5170460)
action filter_type
action find_reverse
entity Q5170460
relation P3279
type Q1656682
Corey Webster the statistical leader of is the [ANSWER]
[{'concept': 'Q1656682'}, 'P3279', 'Q5170460']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1656682 . ?i property:P3279 resource:Q5170460 }
2015 FIBA Oceania Championship
Corey Webster the statistical leader of is the 2015 FIBA Oceania Championship
2015 FIBA Oceania Championship
action filter_type
action find_reverse
entity Corey Webster
relation statistical leader
type event
[{'concept': 'event'}, 'statistical leader', 'Corey Webster']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:event . ?i property:statistical_leader resource:Corey_Webster }
[]