Simple Question (Direct)
Simple Question
Q3635227
P27
Q15617994
USER
Which administrative territory does Barry Goudreau belong to ?
(Q3635227,P27,c(Q15617994))
action filter_type
action find
entity Q3635227
relation P27
type Q15617994
['Q3635227', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q3635227 property:P27 ?i }
Barry Goudreau
action filter_type
action find
entity Barry Goudreau
relation country of citizenship
type designation for an administrative territorial entity
['Barry Goudreau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Barry_Goudreau property:country_of_citizenship ?i }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3635227,P27,c(Q15617994))
action filter_type
action find
entity Q3635227
relation P27
type Q15617994
Barry Goudreau belongs to [ANSWER]
['Q3635227', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q3635227 property:P27 ?i }
United States of America
Barry Goudreau belongs to United States of America
United States of America
action filter_type
action find
entity Barry Goudreau
relation country of citizenship
type designation for an administrative territorial entity
['Barry Goudreau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Barry_Goudreau property:country_of_citizenship ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P101
Q502895
USER
Which person has his/her area as that administrative territory ?
(c(Q502895),P101,Q30)
action filter_type
action find_reverse
entity Q30
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q30']
SELECT DISTINCT ?n WHERE { ?n property:P101 resource:Q30 . ?n rdf:type ontology:Q502895 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'United States of America']
SELECT DISTINCT ?n WHERE { ?n property:field_of_work resource:United_States_of_America . ?n rdf:type ontology:common_name }
[]
common name
Q498840
SYSTEM
David Janssen
Q498840
(c(Q502895),P101,Q30)
action filter_type
action find_reverse
entity Q30
relation P101
type Q502895
[ANSWER] has his/her area as that administrative territory
[{'concept': 'Q502895'}, 'P101', 'Q30']
SELECT DISTINCT ?n WHERE { ?n property:P101 resource:Q30 . ?n rdf:type ontology:Q502895 }
David Janssen
David Janssen has his/her area as that administrative territory
David Janssen
action filter_type
action find_reverse
entity United States of America
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'United States of America']
SELECT DISTINCT ?n WHERE { ?n property:field_of_work resource:United_States_of_America . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q96
P937
Q502895
USER
Which people have Mexico as work location ?
(c(Q502895),P937,Q96)
action filter_type
action find_reverse
entity Q96
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q96']
SELECT DISTINCT ?g WHERE { ?g property:P937 resource:Q96 . ?g rdf:type ontology:Q502895 }
Mexico
action filter_type
action find_reverse
entity Mexico
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Mexico']
SELECT DISTINCT ?g WHERE { ?g property:work_location resource:Mexico . ?g rdf:type ontology:common_name }
[]
common name
Q5850012 Q24260636 Q24520536
SYSTEM
Bruno Oteiza, Ángel Pons, Loló de la Torriente
Q5850012 Q24260636 Q24520536 Q5868728
(c(Q502895),P937,Q96)
action filter_type
action find_reverse
entity Q96
relation P937
type Q502895
[ANSWERS] have Mexico as work location
[{'concept': 'Q502895'}, 'P937', 'Q96']
SELECT DISTINCT ?g WHERE { ?g property:P937 resource:Q96 . ?g rdf:type ontology:Q502895 }
Bruno Oteiza Ángel Pons Loló de la Torriente François Aubert
Bruno Oteiza, Ángel Pons and Loló de la Torriente have Mexico as work location
Bruno Oteiza Ángel Pons Loló de la Torriente
action filter_type
action find_reverse
entity Mexico
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Mexico']
SELECT DISTINCT ?g WHERE { ?g property:work_location resource:Mexico . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q96
P30
Q2221906
USER
Which geographic location is that administrative territory located in ?
(Q5850012,P30,c(Q2221906)) (Q24260636,P30,c(Q2221906)) (Q24520536,P30,c(Q2221906))
action filter_type
action find
entity Q96
relation P30
type Q2221906
['Q5850012', 'P30', {'concept': 'Q2221906'}] ['Q24260636', 'P30', {'concept': 'Q2221906'}] ['Q24520536', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { resource:Q96 property:P30 ?o . ?o rdf:type ontology:Q2221906 }
Mexico
action filter_type
action find
entity Mexico
relation continent
type geographic location
['Bruno Oteiza', 'continent', {'concept': 'geographic location'}] ['Ángel Pons', 'continent', {'concept': 'geographic location'}] ['Loló de la Torriente', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { resource:Mexico property:continent ?o . ?o rdf:type ontology:geographic_location }
[]
geographic location
Q49
SYSTEM
North America
Q49
(Q5850012,P30,c(Q2221906)) (Q24260636,P30,c(Q2221906)) (Q24520536,P30,c(Q2221906))
action filter_type
action find
entity Q96
relation P30
type Q2221906
That administrative territory is located in [ANSWER]
['Q5850012', 'P30', {'concept': 'Q2221906'}] ['Q24260636', 'P30', {'concept': 'Q2221906'}] ['Q24520536', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { resource:Q96 property:P30 ?o . ?o rdf:type ontology:Q2221906 }
North America
That administrative territory is located in North America
North America
action filter_type
action find
entity Mexico
relation continent
type geographic location
['Bruno Oteiza', 'continent', {'concept': 'geographic location'}] ['Ángel Pons', 'continent', {'concept': 'geographic location'}] ['Loló de la Torriente', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { resource:Mexico property:continent ?o . ?o rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q49 Q21964462 Q130018
P610
Q14524493
USER
Is Coolawatinnie Hill and Denali the highest point of North America ?
(Q49,P610,Q21964462) (Q49,P610,Q130018)
action is_in
entity Q49
action intersection
action find_reverse
entity Q21964462
relation P610
action find_reverse
entity Q130018
relation P610
['Q49', 'P610', 'Q21964462'] ['Q49', 'P610', 'Q130018']
ASK WHERE { resource:Q49 property:P610 resource:Q21964462 . resource:Q49 property:P610 resource:Q130018 }
North America Coolawatinnie Hill Denali
action is_in
entity North America
action intersection
action find_reverse
entity Coolawatinnie Hill
relation highest point
action find_reverse
entity Denali
relation highest point
['North America', 'highest point', 'Coolawatinnie Hill'] ['North America', 'highest point', 'Denali']
ASK WHERE { resource:North_America property:highest_point resource:Coolawatinnie_Hill . resource:North_America property:highest_point resource:Denali }
[]
terrain
SYSTEM
NO and YES respectively
(Q49,P610,Q21964462) (Q49,P610,Q130018)
action is_in
entity Q49
action intersection
action find_reverse
entity Q21964462
relation P610
action find_reverse
entity Q130018
relation P610
[ANSWER]
['Q49', 'P610', 'Q21964462'] ['Q49', 'P610', 'Q130018']
ASK WHERE { resource:Q49 property:P610 resource:Q21964462 . resource:Q49 property:P610 resource:Q130018 }
NO and YES respectively
action is_in
entity North America
action intersection
action find_reverse
entity Coolawatinnie Hill
relation highest point
action find_reverse
entity Denali
relation highest point
['North America', 'highest point', 'Coolawatinnie Hill'] ['North America', 'highest point', 'Denali']
ASK WHERE { resource:North_America property:highest_point resource:Coolawatinnie_Hill . resource:North_America property:highest_point resource:Denali }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P530
Q1048835
USER
How many political territories have a diplomatic relationship with United States of America ?
(Q30,P530,c(Q1048835))
action count
action filter_type
action find
entity Q30
relation P530
type Q1048835
['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Q30 property:P530 ?i . ?i rdf:type ontology:Q1048835 }
United States of America
action count
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:United_States_of_America property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
3
Q183 Q408 Q16
(Q30,P530,c(Q1048835))
action count
action filter_type
action find
entity Q30
relation P530
type Q1048835
[ANSWER]
['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Q30 property:P530 ?i . ?i rdf:type ontology:Q1048835 }
Germany Australia Canada
3
action count
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:United_States_of_America property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P194
Q11204
USER
Which legislature governs that administrative territory ?
action filter_type
action find
entity Q30
relation P194
type Q11204
SELECT DISTINCT ?j WHERE { resource:Q30 property:P194 ?j . ?j rdf:type ontology:Q11204 }
United States of America
action filter_type
action find
entity United States of America
relation legislative body
type legislature
SELECT DISTINCT ?j WHERE { resource:United_States_of_America property:legislative_body ?j . ?j rdf:type ontology:legislature }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
action filter_type
action find
entity Q30
relation P194
type Q11204
[ANSWER] governs that administrative territory
SELECT DISTINCT ?j WHERE { resource:Q30 property:P194 ?j . ?j rdf:type ontology:Q11204 }
United States Congress
United States Congress governs that administrative territory
United States Congress
action filter_type
action find
entity United States of America
relation legislative body
type legislature
SELECT DISTINCT ?j WHERE { resource:United_States_of_America property:legislative_body ?j . ?j rdf:type ontology:legislature }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P194
Q11204 Q515
USER
Which cities have max number of legislatures as their legislative body ?
(c(Q515),P194,c(Q11204))
action argmax
action find_tuple_counts
relation P194
type Q515
type Q11204
[{'concept': 'Q515'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?l ) WHERE { ?h property:P194 ?o . ?h rdf:type ontology:Q515 . ?o rdf:type ontology:Q11204 } GROUP BY ?h } } . { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?s ) WHERE { ?j rdf:type ontology:Q515 . ?k rdf:type ontology:Q11204 . ?j property:P194 ?k } GROUP BY ?j } . FILTER ( ?s = ?q ) }
action argmax
action find_tuple_counts
relation legislative body
type city
type legislature
[{'concept': 'city'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?l ) WHERE { ?h property:legislative_body ?o . ?h rdf:type ontology:city . ?o rdf:type ontology:legislature } GROUP BY ?h } } . { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?s ) WHERE { ?j rdf:type ontology:city . ?k rdf:type ontology:legislature . ?j property:legislative_body ?k } GROUP BY ?j } . FILTER ( ?s = ?q ) }
[]
legislature city
Q235 Q1467 Q1889017
SYSTEM
Monaco, Cebu City, Mandaue
Q235 Q1826 Q316527 Q574903 Q1467 Q316197 Q1889017 Q315851
(c(Q515),P194,c(Q11204))
action argmax
action find_tuple_counts
relation P194
type Q515
type Q11204
[ANSWERS] have max number of legislatures as their legislative body
[{'concept': 'Q515'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?l ) WHERE { ?h property:P194 ?o . ?h rdf:type ontology:Q515 . ?o rdf:type ontology:Q11204 } GROUP BY ?h } } . { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?s ) WHERE { ?j rdf:type ontology:Q515 . ?k rdf:type ontology:Q11204 . ?j property:P194 ?k } GROUP BY ?j } . FILTER ( ?s = ?q ) }
Monaco Tagbilaran Toledo Lapu-Lapu Cebu City Naga Mandaue Carcar
Monaco, Cebu City and Mandaue have max number of legislatures as their legislative body
Monaco Cebu City Mandaue
action argmax
action find_tuple_counts
relation legislative body
type city
type legislature
[{'concept': 'city'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?l ) WHERE { ?h property:legislative_body ?o . ?h rdf:type ontology:city . ?o rdf:type ontology:legislature } GROUP BY ?h } } . { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?s ) WHERE { ?j rdf:type ontology:city . ?k rdf:type ontology:legislature . ?j property:legislative_body ?k } GROUP BY ?j } . FILTER ( ?s = ?q ) }
[]