Simple Question (Direct)
Simple Question
Q5235344
P27
Q1048835
USER
Which political territory is the country of citizenship of David Ing ?
(Q5235344,P27,c(Q1048835))
action filter_type
action find
entity Q5235344
relation P27
type Q1048835
['Q5235344', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q5235344 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
David Ing
action filter_type
action find
entity David Ing
relation country of citizenship
type political territorial entity
['David Ing', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:David_Ing property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q5235344,P27,c(Q1048835))
action filter_type
action find
entity Q5235344
relation P27
type Q1048835
[ANSWER] is the country of citizenship of David Ing
['Q5235344', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q5235344 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Canada
Canada is the country of citizenship of David Ing
Canada
action filter_type
action find
entity David Ing
relation country of citizenship
type political territorial entity
['David Ing', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:David_Ing property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5235344
P69
Q3918
USER
Which university was that person educated at ?
(Q16,P69,c(Q3918))
action filter_type
action find
entity Q5235344
relation P69
type Q3918
['Q16', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q3918 . resource:Q5235344 property:P69 ?v }
David Ing
action filter_type
action find
entity David Ing
relation educated at
type university
['Canada', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:university . resource:David_Ing property:educated_at ?v }
[]
university
Q391028
SYSTEM
University of British Columbia
Q391028
(Q16,P69,c(Q3918))
action filter_type
action find
entity Q5235344
relation P69
type Q3918
That person was educated by [ANSWER]
['Q16', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q3918 . resource:Q5235344 property:P69 ?v }
University of British Columbia
That person was educated by University of British Columbia
University of British Columbia
action filter_type
action find
entity David Ing
relation educated at
type university
['Canada', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:university . resource:David_Ing property:educated_at ?v }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q391028 Q7461790
P108
Q502895
USER
Is Kazuo Watanabe working for that university ?
(Q7461790,P108,Q391028)
action is_in
entity Q7461790
action find
entity Q391028
relation P108
['Q7461790', 'P108', 'Q391028']
ASK WHERE { resource:Q391028 property:P108 resource:Q7461790 }
University of British Columbia Kazuo Watanabe
action is_in
entity Kazuo Watanabe
action find
entity University of British Columbia
relation employer
['Kazuo Watanabe', 'employer', 'University of British Columbia']
ASK WHERE { resource:University_of_British_Columbia property:employer resource:Kazuo_Watanabe }
[]
common name
SYSTEM
NO
(Q7461790,P108,Q391028)
action is_in
entity Q7461790
action find
entity Q391028
relation P108
[ANSWER]
['Q7461790', 'P108', 'Q391028']
ASK WHERE { resource:Q391028 property:P108 resource:Q7461790 }
No
action is_in
entity Kazuo Watanabe
action find
entity University of British Columbia
relation employer
['Kazuo Watanabe', 'employer', 'University of British Columbia']
ASK WHERE { resource:University_of_British_Columbia property:employer resource:Kazuo_Watanabe }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16 Q956796
P47
Q15617994
USER
Does Urho District have a shared border with Canada ?
(Q16,P47,Q956796)
action is_in
entity Q956796
action find
entity Q16
relation P47
['Q16', 'P47', 'Q956796']
ASK WHERE { resource:Q16 property:P47 resource:Q956796 }
Canada Urho District
action is_in
entity Urho District
action find
entity Canada
relation shares border with
['Canada', 'shares border with', 'Urho District']
ASK WHERE { resource:Canada property:shares_border_with resource:Urho_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q16,P47,Q956796)
action is_in
entity Q956796
action find
entity Q16
relation P47
[ANSWER]
['Q16', 'P47', 'Q956796']
ASK WHERE { resource:Q16 property:P47 resource:Q956796 }
No
action is_in
entity Urho District
action find
entity Canada
relation shares border with
['Canada', 'shares border with', 'Urho District']
ASK WHERE { resource:Canada property:shares_border_with resource:Urho_District }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q391028 Q492748 Q1448047
P17
Q1048835
USER
Is University of British Columbia present in Estepona and Berlangas de Roa ?
(Q391028,P17,Q492748) (Q391028,P17,Q1448047)
action is_in
entity Q391028
action intersection
action find_reverse
entity Q492748
relation P17
action find_reverse
entity Q1448047
relation P17
['Q391028', 'P17', 'Q492748'] ['Q391028', 'P17', 'Q1448047']
ASK WHERE { resource:Q391028 property:P17 resource:Q1448047 . resource:Q391028 property:P17 resource:Q492748 }
University of British Columbia Estepona Berlangas de Roa
action is_in
entity University of British Columbia
action intersection
action find_reverse
entity Estepona
relation country
action find_reverse
entity Berlangas de Roa
relation country
['University of British Columbia', 'country', 'Estepona'] ['University of British Columbia', 'country', 'Berlangas de Roa']
ASK WHERE { resource:University_of_British_Columbia property:country resource:Berlangas_de_Roa . resource:University_of_British_Columbia property:country resource:Estepona }
[]
political territorial entity
SYSTEM
NO
(Q391028,P17,Q492748) (Q391028,P17,Q1448047)
action is_in
entity Q391028
action intersection
action find_reverse
entity Q492748
relation P17
action find_reverse
entity Q1448047
relation P17
[ANSWER]
['Q391028', 'P17', 'Q492748'] ['Q391028', 'P17', 'Q1448047']
ASK WHERE { resource:Q391028 property:P17 resource:Q1448047 . resource:Q391028 property:P17 resource:Q492748 }
No
action is_in
entity University of British Columbia
action intersection
action find_reverse
entity Estepona
relation country
action find_reverse
entity Berlangas de Roa
relation country
['University of British Columbia', 'country', 'Estepona'] ['University of British Columbia', 'country', 'Berlangas de Roa']
ASK WHERE { resource:University_of_British_Columbia property:country resource:Berlangas_de_Roa . resource:University_of_British_Columbia property:country resource:Estepona }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q16
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories have a diplomatic relationship with Canada ?
(Q16,P530,c(Q15617994)) (Q16,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q16
relation P530
type Q15617994
action filter_type
action find
entity Q16
relation P530
type Q1048835
['Q16', 'P530', {'concept': 'Q15617994'}] ['Q16', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { VALUES ( ?w ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?x rdf:type ?w }
Canada
action count
action union
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Canada', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { VALUES ( ?w ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?x rdf:type ?w }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
38
Q804 Q801 Q843 Q1029 Q1028 Q664 Q145 Q229 Q33 Q30 Q36 Q79 Q34 Q77 Q39 Q38 Q878 Q739 Q833 Q711 Q35 Q1030 Q851 Q29999 Q183 Q928 Q408 Q115 Q258 Q212 Q159 Q43 Q155 Q218 Q20 Q423 Q252 Q884
(Q16,P530,c(Q15617994)) (Q16,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q16
relation P530
type Q15617994
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWER]
['Q16', 'P530', {'concept': 'Q15617994'}] ['Q16', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { VALUES ( ?w ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?x rdf:type ?w }
Panama Israel Pakistan Mozambique Morocco New Zealand United Kingdom Cyprus Finland United States of America Poland Egypt Sweden Uruguay Switzerland Italy United Arab Emirates Colombia Malaysia Mongolia Denmark Namibia Saudi Arabia Kingdom of the Netherlands Germany Philippines Australia Ethiopia South Africa Ukraine Russia Turkey Brazil Romania Norway North Korea Indonesia South Korea
38
action count
action union
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Canada', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { VALUES ( ?w ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?x rdf:type ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5235344
P21
Q290
USER
Which sex does David Ing belong to ?
(Q5235344,P21,c(Q290))
action filter_type
action find
entity Q5235344
relation P21
type Q290
['Q5235344', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q5235344 property:P21 ?f }
David Ing
action filter_type
action find
entity David Ing
relation gender
type sex
['David Ing', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:David_Ing property:gender ?f }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5235344,P21,c(Q290))
action filter_type
action find
entity Q5235344
relation P21
type Q290
David Ing belongs to [ANSWER]
['Q5235344', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q5235344 property:P21 ?f }
male
David Ing belongs to male
male
action filter_type
action find
entity David Ing
relation gender
type sex
['David Ing', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:David_Ing property:gender ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4766707
Q290
USER
And also tell me about Ann Torregrossa?
(Q4766707,P21,c(Q290))
action filter_type
action find
entity Q4766707
relation P21
type Q290
['Q4766707', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q4766707 property:P21 ?a . ?a rdf:type ontology:Q290 }
Ann Torregrossa
action filter_type
action find
entity Ann Torregrossa
relation gender
type sex
['Ann Torregrossa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Ann_Torregrossa property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q4766707,P21,c(Q290))
action filter_type
action find
entity Q4766707
relation P21
type Q290
[ANSWER]
['Q4766707', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q4766707 property:P21 ?a . ?a rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Ann Torregrossa
relation gender
type sex
['Ann Torregrossa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Ann_Torregrossa property:gender ?a . ?a rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16 Q1136614
P840
Q838948
USER
How many works of art have their narrative set in Canada or Palazzo Barberini ?
(c(Q838948),P840,Q16) (c(Q838948),P840,Q1136614)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P840
type Q838948
action filter_type
action find_reverse
entity Q1136614
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q16'] [{'concept': 'Q838948'}, 'P840', 'Q1136614']
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P840 ?d . VALUES ( ?d ) { ( resource:Q16 ) ( resource:Q1136614 ) } }
Canada Palazzo Barberini
action count
action union
action filter_type
action find_reverse
entity Canada
relation narrative location
type work of art
action filter_type
action find_reverse
entity Palazzo Barberini
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Canada'] [{'concept': 'work of art'}, 'narrative location', 'Palazzo Barberini']
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:narrative_location ?d . VALUES ( ?d ) { ( resource:Canada ) ( resource:Palazzo_Barberini ) } }
[]
work of art
SYSTEM
2
Q15079015 Q7741564
(c(Q838948),P840,Q16) (c(Q838948),P840,Q1136614)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P840
type Q838948
action filter_type
action find_reverse
entity Q1136614
relation P840
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P840', 'Q16'] [{'concept': 'Q838948'}, 'P840', 'Q1136614']
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P840 ?d . VALUES ( ?d ) { ( resource:Q16 ) ( resource:Q1136614 ) } }
La Sapienza The Importance of Being Icelandic
2
action count
action union
action filter_type
action find_reverse
entity Canada
relation narrative location
type work of art
action filter_type
action find_reverse
entity Palazzo Barberini
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Canada'] [{'concept': 'work of art'}, 'narrative location', 'Palazzo Barberini']
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:narrative_location ?d . VALUES ( ?d ) { ( resource:Canada ) ( resource:Palazzo_Barberini ) } }
[]