Simple Question (Direct)
Simple Question
Q21030686
P551
Q56061
USER
What were the places of residence of Annie Law ?
(Q21030686,P551,c(Q56061))
action filter_type
action find
entity Q21030686
relation P551
type Q56061
['Q21030686', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q21030686 property:P551 ?w . ?w rdf:type ontology:Q56061 }
Annie Law
action filter_type
action find
entity Annie Law
relation residence
type administrative territorial entity
['Annie Law', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Annie_Law property:residence ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1094500 Q936919 Q913543
SYSTEM
Maryville, Hollister, Watsonville
Q1094500 Q936919 Q913543
(Q21030686,P551,c(Q56061))
action filter_type
action find
entity Q21030686
relation P551
type Q56061
The places of residence of Annie Law were at [ANSWERS]
['Q21030686', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q21030686 property:P551 ?w . ?w rdf:type ontology:Q56061 }
Maryville Hollister Watsonville
The places of residence of Annie Law were at Maryville, Hollister and Watsonville
Maryville Hollister Watsonville
action filter_type
action find
entity Annie Law
relation residence
type administrative territorial entity
['Annie Law', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Annie_Law property:residence ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q913543
P17
Q15617994
USER
Which administrative territory is Watsonville a part of ?
(Q913543,P17,c(Q15617994))
action filter_type
action find
entity Q913543
relation P17
type Q15617994
['Q913543', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q913543 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Watsonville
action filter_type
action find
entity Watsonville
relation country
type designation for an administrative territorial entity
['Watsonville', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Watsonville property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q913543,P17,c(Q15617994))
action filter_type
action find
entity Q913543
relation P17
type Q15617994
Which administrative territory is Watsonville a part of
['Q913543', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q913543 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
Which administrative territory is Watsonville a part of
United States of America
action filter_type
action find
entity Watsonville
relation country
type designation for an administrative territorial entity
['Watsonville', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Watsonville property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1629203
Q15617994
USER
And also tell me about Free Company of Volunteers of Catalonia?
(Q1629203,P17,c(Q15617994))
action filter_type
action find
entity Q1629203
relation P17
type Q15617994
['Q1629203', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1629203 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Free Company of Volunteers of Catalonia
action filter_type
action find
entity Free Company of Volunteers of Catalonia
relation country
type designation for an administrative territorial entity
['Free Company of Volunteers of Catalonia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Free_Company_of_Volunteers_of_Catalonia property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1629203,P17,c(Q15617994))
action filter_type
action find
entity Q1629203
relation P17
type Q15617994
[ANSWER]
['Q1629203', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1629203 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Spain
Spain
action filter_type
action find
entity Free Company of Volunteers of Catalonia
relation country
type designation for an administrative territorial entity
['Free Company of Volunteers of Catalonia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Free_Company_of_Volunteers_of_Catalonia property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q29 Q93265 Q4968814
P47
Q15617994
USER
Does that administrative territory have an adjacent border with Neschwitz and Bristol Borough School District ?
(Q29,P47,Q93265) (Q29,P47,Q4968814)
action is_in
entity Q29
action intersection
action find_reverse
entity Q93265
relation P47
action find_reverse
entity Q4968814
relation P47
['Q29', 'P47', 'Q93265'] ['Q29', 'P47', 'Q4968814']
ASK WHERE { resource:Q29 property:P47 resource:Q93265 . resource:Q29 property:P47 resource:Q4968814 }
Spain Neschwitz Bristol Borough School District
action is_in
entity Spain
action intersection
action find_reverse
entity Neschwitz
relation shares border with
action find_reverse
entity Bristol Borough School District
relation shares border with
['Spain', 'shares border with', 'Neschwitz'] ['Spain', 'shares border with', 'Bristol Borough School District']
ASK WHERE { resource:Spain property:shares_border_with resource:Neschwitz . resource:Spain property:shares_border_with resource:Bristol_Borough_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q29,P47,Q93265) (Q29,P47,Q4968814)
action is_in
entity Q29
action intersection
action find_reverse
entity Q93265
relation P47
action find_reverse
entity Q4968814
relation P47
[ANSWER]
['Q29', 'P47', 'Q93265'] ['Q29', 'P47', 'Q4968814']
ASK WHERE { resource:Q29 property:P47 resource:Q93265 . resource:Q29 property:P47 resource:Q4968814 }
No
action is_in
entity Spain
action intersection
action find_reverse
entity Neschwitz
relation shares border with
action find_reverse
entity Bristol Borough School District
relation shares border with
['Spain', 'shares border with', 'Neschwitz'] ['Spain', 'shares border with', 'Bristol Borough School District']
ASK WHERE { resource:Spain property:shares_border_with resource:Neschwitz . resource:Spain property:shares_border_with resource:Bristol_Borough_School_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic relations with atmost 44 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 44
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?r ) WHERE { ?o rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 . ?g property:P530 ?o } GROUP BY ?g } . FILTER ( ?r <= 44 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 44
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?r ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity . ?g property:diplomatic_relation ?o } GROUP BY ?g } . FILTER ( ?r <= 44 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 44
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?r ) WHERE { ?o rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 . ?g property:P530 ?o } GROUP BY ?g } . FILTER ( ?r <= 44 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 44
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?r ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity . ?g property:diplomatic_relation ?o } GROUP BY ?g } . FILTER ( ?r <= 44 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21030686
P734
Q82799
USER
Who has the surname Annie Law ?
(Q21030686,P734,c(Q82799))
action filter_type
action find
entity Q21030686
relation P734
type Q82799
['Q21030686', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q21030686 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Annie Law
action filter_type
action find
entity Annie Law
relation family name
type name
['Annie Law', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Annie_Law property:family_name ?d . ?d rdf:type ontology:name }
[]
name
Q16871926
SYSTEM
Law
Q16871926
(Q21030686,P734,c(Q82799))
action filter_type
action find
entity Q21030686
relation P734
type Q82799
The [ANSWER] has the surname Annie [ANSWER]
['Q21030686', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q21030686 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Law
The Law has the surname Annie Law
Law
action filter_type
action find
entity Annie Law
relation family name
type name
['Annie Law', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Annie_Law property:family_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21030686
P19
Q56061
USER
Which administrative territory was Annie Law born at ?
(Q21030686,P19,c(Q56061))
action filter_type
action find
entity Q21030686
relation P19
type Q56061
['Q21030686', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q21030686 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Annie Law
action filter_type
action find
entity Annie Law
relation place of birth
type administrative territorial entity
['Annie Law', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Annie_Law property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q192896
SYSTEM
Carlisle
Q192896
(Q21030686,P19,c(Q56061))
action filter_type
action find
entity Q21030686
relation P19
type Q56061
Annie Law was born in [ANSWER]
['Q21030686', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q21030686 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Carlisle
Annie Law was born in Carlisle
Carlisle
action filter_type
action find
entity Annie Law
relation place of birth
type administrative territorial entity
['Annie Law', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Annie_Law property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q192896 Q145
P17
Q15617994
USER
Is that administrative territory located in United Kingdom ?
(Q192896,P17,Q145)
action is_in
entity Q145
action find
entity Q192896
relation P17
['Q192896', 'P17', 'Q145']
ASK WHERE { resource:Q192896 property:P17 resource:Q145 }
Carlisle United Kingdom
action is_in
entity United Kingdom
action find
entity Carlisle
relation country
['Carlisle', 'country', 'United Kingdom']
ASK WHERE { resource:Carlisle property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q192896,P17,Q145)
action is_in
entity Q145
action find
entity Q192896
relation P17
[ANSWER]
['Q192896', 'P17', 'Q145']
ASK WHERE { resource:Q192896 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Carlisle
relation country
['Carlisle', 'country', 'United Kingdom']
ASK WHERE { resource:Carlisle property:country resource:United_Kingdom }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q936919
P20
Q502895
USER
Which person has Hollister as place of death ?
(c(Q502895),P20,Q936919)
action filter_type
action find_reverse
entity Q936919
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q936919']
SELECT DISTINCT ?h WHERE { ?h property:P20 resource:Q936919 . ?h rdf:type ontology:Q502895 }
Hollister
action filter_type
action find_reverse
entity Hollister
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Hollister']
SELECT DISTINCT ?h WHERE { ?h property:place_of_death resource:Hollister . ?h rdf:type ontology:common_name }
[]
common name
Q1253601
SYSTEM
Jack Z. Anderson
Q1253601
(c(Q502895),P20,Q936919)
action filter_type
action find_reverse
entity Q936919
relation P20
type Q502895
[ANSWER] has Hollister as place of death
[{'concept': 'Q502895'}, 'P20', 'Q936919']
SELECT DISTINCT ?h WHERE { ?h property:P20 resource:Q936919 . ?h rdf:type ontology:Q502895 }
Jack Z. Anderson
Jack Z. Anderson has Hollister as place of death
Jack Z. Anderson
action filter_type
action find_reverse
entity Hollister
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Hollister']
SELECT DISTINCT ?h WHERE { ?h property:place_of_death resource:Hollister . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q936919
P1408
Q4830453
USER
Which business enterprises are responsible for broadcasting to that administrative territory ?
(c(Q4830453),P1408,Q1253601)
action filter_type
action find_reverse
entity Q936919
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q1253601']
SELECT DISTINCT ?a WHERE { ?a property:P1408 resource:Q936919 . ?a rdf:type ontology:Q4830453 }
Hollister
action filter_type
action find_reverse
entity Hollister
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Jack Z. Anderson']
SELECT DISTINCT ?a WHERE { ?a property:licensed_to_broadcast_to resource:Hollister . ?a rdf:type ontology:business_enterprise }
[]
business enterprise
Q6330317 Q6333807
SYSTEM
KHRI, KMPG
Q6330317 Q6333807
(c(Q4830453),P1408,Q1253601)
action filter_type
action find_reverse
entity Q936919
relation P1408
type Q4830453
[ANSWERS] are responsible for broadcasting to that administrative territory
[{'concept': 'Q4830453'}, 'P1408', 'Q1253601']
SELECT DISTINCT ?a WHERE { ?a property:P1408 resource:Q936919 . ?a rdf:type ontology:Q4830453 }
KHRI KMPG
KHRI and KMPG are responsible for broadcasting to that administrative territory
KHRI KMPG
action filter_type
action find_reverse
entity Hollister
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Jack Z. Anderson']
SELECT DISTINCT ?a WHERE { ?a property:licensed_to_broadcast_to resource:Hollister . ?a rdf:type ontology:business_enterprise }
[]