Simple Question (Direct)
Simple Question
Q2849817
P69
Q3918
USER
Which university is Angus MacLean an alumni of ?
(Q2849817,P69,c(Q3918))
action filter_type
action find
entity Q2849817
relation P69
type Q3918
['Q2849817', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?b WHERE { resource:Q2849817 property:P69 ?b . ?b rdf:type ontology:Q3918 }
Angus MacLean
action filter_type
action find
entity Angus MacLean
relation educated at
type university
['Angus MacLean', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?b WHERE { resource:Angus_MacLean property:educated_at ?b . ?b rdf:type ontology:university }
[]
university
Q391028
SYSTEM
University of British Columbia
Q391028
(Q2849817,P69,c(Q3918))
action filter_type
action find
entity Q2849817
relation P69
type Q3918
The [ANSWER] is Angus MacLean an alumni of
['Q2849817', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?b WHERE { resource:Q2849817 property:P69 ?b . ?b rdf:type ontology:Q3918 }
University of British Columbia
The University of British Columbia is Angus MacLean an alumni of
University of British Columbia
action filter_type
action find
entity Angus MacLean
relation educated at
type university
['Angus MacLean', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?b WHERE { resource:Angus_MacLean property:educated_at ?b . ?b rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2849817
P21
Q290
USER
Which sex does Angus MacLean belong to ?
(Q2849817,P21,c(Q290))
action filter_type
action find
entity Q2849817
relation P21
type Q290
['Q2849817', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q2849817 property:P21 ?m . ?m rdf:type ontology:Q290 }
Angus MacLean
action filter_type
action find
entity Angus MacLean
relation gender
type sex
['Angus MacLean', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Angus_MacLean property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2849817,P21,c(Q290))
action filter_type
action find
entity Q2849817
relation P21
type Q290
Angus MacLean belongs to [ANSWER]
['Q2849817', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q2849817 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
Angus MacLean belongs to male
male
action filter_type
action find
entity Angus MacLean
relation gender
type sex
['Angus MacLean', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Angus_MacLean property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2849817
P166
Q618779
USER
Which award was received by Angus MacLean ?
(Q2849817,P166,c(Q618779))
action filter_type
action find
entity Q2849817
relation P166
type Q618779
['Q2849817', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q2849817 property:P166 ?p . ?p rdf:type ontology:Q618779 }
Angus MacLean
action filter_type
action find
entity Angus MacLean
relation award received
type award
['Angus MacLean', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Angus_MacLean property:award_received ?p . ?p rdf:type ontology:award }
[]
award
Q1229534
SYSTEM
Distinguished Flying Cross
Q1229534
(Q2849817,P166,c(Q618779))
action filter_type
action find
entity Q2849817
relation P166
type Q618779
Dame [ANSWER] was received by Angus MacLean
['Q2849817', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q2849817 property:P166 ?p . ?p rdf:type ontology:Q618779 }
Distinguished Flying Cross
Dame Distinguished Flying Cross was received by Angus MacLean
Distinguished Flying Cross
action filter_type
action find
entity Angus MacLean
relation award received
type award
['Angus MacLean', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Angus_MacLean property:award_received ?p . ?p rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2849817
P102
Q7210356
USER
Which political organizations are Angus MacLean a member of ?
(Q2849817,P102,c(Q7210356))
action filter_type
action find
entity Q2849817
relation P102
type Q7210356
['Q2849817', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q2849817 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Angus MacLean
action filter_type
action find
entity Angus MacLean
relation member of political party
type political organization
['Angus MacLean', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Angus_MacLean property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
political organization
Q247332 Q1292617
SYSTEM
Progressive Conservative Party of Prince Edward Island, Progressive Conservative Party of Canada
Q247332 Q1292617
(Q2849817,P102,c(Q7210356))
action filter_type
action find
entity Q2849817
relation P102
type Q7210356
The [ANSWERS] are Angus MacLean a member of
['Q2849817', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q2849817 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Progressive Conservative Party of Prince Edward Island Progressive Conservative Party of Canada
The Progressive Conservative Party of Prince Edward Island and Progressive Conservative Party of Canada are Angus MacLean a member of
Progressive Conservative Party of Prince Edward Island Progressive Conservative Party of Canada
action filter_type
action find
entity Angus MacLean
relation member of political party
type political organization
['Angus MacLean', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Angus_MacLean property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q760858
Q7210356
USER
And how about August Batzem?
(Q760858,P102,c(Q7210356))
action filter_type
action find
entity Q760858
relation P102
type Q7210356
['Q760858', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q760858 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
August Batzem
action filter_type
action find
entity August Batzem
relation member of political party
type political organization
['August Batzem', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:August_Batzem property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q760858,P102,c(Q7210356))
action filter_type
action find
entity Q760858
relation P102
type Q7210356
[ANSWER]
['Q760858', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q760858 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Nazi Party
Nazi Party
action filter_type
action find
entity August Batzem
relation member of political party
type political organization
['August Batzem', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:August_Batzem property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q2668072 Q35798 Q618779
USER
How many awards are a component of around 1 collections or executive branches ?
(c(Q618779),P361,c(Q2668072)|c(Q35798))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q618779
type Q2668072
action find_tuple_counts
relation P361
type Q618779
type Q35798
value 1
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q2668072'}, {'concept': 'Q35798'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?i WHERE { { ?i property:P361 ?o . ?i rdf:type ontology:Q618779 . ?o rdf:type ontology:Q2668072 } UNION { ?i property:P361 ?o . ?i rdf:type ontology:Q618779 . ?o rdf:type ontology:Q35798 } } GROUP BY ?i } . FILTER ( ?e = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type award
type collection
action find_tuple_counts
relation part of
type award
type executive branch
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'collection'}, {'concept': 'executive branch'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?i WHERE { { ?i property:part_of ?o . ?i rdf:type ontology:award . ?o rdf:type ontology:collection } UNION { ?i property:part_of ?o . ?i rdf:type ontology:award . ?o rdf:type ontology:executive_branch } } GROUP BY ?i } . FILTER ( ?e = 1 ) }
[]
collection executive branch award
SYSTEM
2
Q3068024 Q15271575
(c(Q618779),P361,c(Q2668072)|c(Q35798))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q618779
type Q2668072
action find_tuple_counts
relation P361
type Q618779
type Q35798
value 1
[ANSWER]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q2668072'}, {'concept': 'Q35798'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?i WHERE { { ?i property:P361 ?o . ?i rdf:type ontology:Q618779 . ?o rdf:type ontology:Q2668072 } UNION { ?i property:P361 ?o . ?i rdf:type ontology:Q618779 . ?o rdf:type ontology:Q35798 } } GROUP BY ?i } . FILTER ( ?e = 1 ) }
First Secretary of State Sport Australia Hall of Fame
2
action count
action approx
action union
action find_tuple_counts
relation part of
type award
type collection
action find_tuple_counts
relation part of
type award
type executive branch
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'collection'}, {'concept': 'executive branch'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?i WHERE { { ?i property:part_of ?o . ?i rdf:type ontology:award . ?o rdf:type ontology:collection } UNION { ?i property:part_of ?o . ?i rdf:type ontology:award . ?o rdf:type ontology:executive_branch } } GROUP BY ?i } . FILTER ( ?e = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q247332
P159
Q56061
USER
Where is the head office for Progressive Conservative Party of Prince Edward Island located ?
(Q247332,P159,c(Q56061))
action filter_type
action find
entity Q247332
relation P159
type Q56061
['Q247332', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q247332 property:P159 ?j . ?j rdf:type ontology:Q56061 }
Progressive Conservative Party of Prince Edward Island
action filter_type
action find
entity Progressive Conservative Party of Prince Edward Island
relation headquarters location
type administrative territorial entity
['Progressive Conservative Party of Prince Edward Island', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Progressive_Conservative_Party_of_Prince_Edward_Island property:headquarters_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2127
SYSTEM
Charlottetown
Q2127
(Q247332,P159,c(Q56061))
action filter_type
action find
entity Q247332
relation P159
type Q56061
Located in [ANSWER] is the head office for Progressive Conservative Party of Prince Edward Island
['Q247332', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q247332 property:P159 ?j . ?j rdf:type ontology:Q56061 }
Charlottetown
Located in Charlottetown is the head office for Progressive Conservative Party of Prince Edward Island
Charlottetown
action filter_type
action find
entity Progressive Conservative Party of Prince Edward Island
relation headquarters location
type administrative territorial entity
['Progressive Conservative Party of Prince Edward Island', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Progressive_Conservative_Party_of_Prince_Edward_Island property:headquarters_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2127
P138
Q502895
USER
Which person is that administrative territory named after ?
(Q2127,P138,c(Q502895))
action filter_type
action find
entity Q2127
relation P138
type Q502895
['Q2127', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q2127 property:P138 ?d . ?d rdf:type ontology:Q502895 }
Charlottetown
action filter_type
action find
entity Charlottetown
relation named after
type common name
['Charlottetown', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Charlottetown property:named_after ?d . ?d rdf:type ontology:common_name }
[]
common name
Q161159
SYSTEM
Charlotte of Mecklenburg-Strelitz
Q161159
(Q2127,P138,c(Q502895))
action filter_type
action find
entity Q2127
relation P138
type Q502895
That administrative territory is named after [ANSWER]
['Q2127', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q2127 property:P138 ?d . ?d rdf:type ontology:Q502895 }
Charlotte of Mecklenburg-Strelitz
That administrative territory is named after Charlotte of Mecklenburg-Strelitz
Charlotte of Mecklenburg-Strelitz
action filter_type
action find
entity Charlottetown
relation named after
type common name
['Charlottetown', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Charlottetown property:named_after ?d . ?d rdf:type ontology:common_name }
[]