Simple Question (Direct)
Simple Question
Q3919
P190
Q56061
USER
Which administrative territory is partner town of Gaborone ?
(Q3919,P190,c(Q56061))
action filter_type
action find
entity Q3919
relation P190
type Q56061
['Q3919', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3919 property:P190 ?k . ?k rdf:type ontology:Q56061 }
Gaborone
action filter_type
action find
entity Gaborone
relation sister city
type administrative territorial entity
['Gaborone', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Gaborone property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q39561
SYSTEM
Burbank
Q39561
(Q3919,P190,c(Q56061))
action filter_type
action find
entity Q3919
relation P190
type Q56061
[ANSWER] is partner town of Gaborone
['Q3919', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3919 property:P190 ?k . ?k rdf:type ontology:Q56061 }
Burbank
Burbank is partner town of Gaborone
Burbank
action filter_type
action find
entity Gaborone
relation sister city
type administrative territorial entity
['Gaborone', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Gaborone property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3919
P1376
Q7275
USER
Which state has Gaborone as its county seat ?
(Q3919,P1376,c(Q7275))
action filter_type
action find
entity Q3919
relation P1376
type Q7275
['Q3919', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { resource:Q3919 property:P1376 ?q . ?q rdf:type ontology:Q7275 }
Gaborone
action filter_type
action find
entity Gaborone
relation capital of
type state
['Gaborone', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { resource:Gaborone property:capital_of ?q . ?q rdf:type ontology:state }
[]
state
Q747314
SYSTEM
Bechuanaland Protectorate
Q747314
(Q3919,P1376,c(Q7275))
action filter_type
action find
entity Q3919
relation P1376
type Q7275
[ANSWER] has Gaborone as its county seat
['Q3919', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { resource:Q3919 property:P1376 ?q . ?q rdf:type ontology:Q7275 }
Bechuanaland Protectorate
Bechuanaland Protectorate has Gaborone as its county seat
Bechuanaland Protectorate
action filter_type
action find
entity Gaborone
relation capital of
type state
['Gaborone', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { resource:Gaborone property:capital_of ?q . ?q rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39561
P47
Q56061
USER
Who shares the border with Burbank ?
(Q39561,P47,c(Q56061))
action filter_type
action find
entity Q39561
relation P47
type Q56061
['Q39561', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q39561 property:P47 ?j }
Burbank
action filter_type
action find
entity Burbank
relation shares border with
type administrative territorial entity
['Burbank', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Burbank property:shares_border_with ?j }
[]
administrative territorial entity
Q1319697
SYSTEM
North Hollywood
Q1319697
(Q39561,P47,c(Q56061))
action filter_type
action find
entity Q39561
relation P47
type Q56061
[ANSWER] shares the border with Burbank
['Q39561', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q39561 property:P47 ?j }
North Hollywood
North Hollywood shares the border with Burbank
North Hollywood
action filter_type
action find
entity Burbank
relation shares border with
type administrative territorial entity
['Burbank', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Burbank property:shares_border_with ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q834337
Q56061
USER
And what about Grass Valley?
(Q834337,P47,c(Q56061))
action filter_type
action find
entity Q834337
relation P47
type Q56061
['Q834337', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q834337 property:P47 ?x . ?x rdf:type ontology:Q56061 }
Grass Valley
action filter_type
action find
entity Grass Valley
relation shares border with
type administrative territorial entity
['Grass Valley', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Grass_Valley property:shares_border_with ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q667268
SYSTEM
Nevada City
Q667268
(Q834337,P47,c(Q56061))
action filter_type
action find
entity Q834337
relation P47
type Q56061
[ANSWER]
['Q834337', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q834337 property:P47 ?x . ?x rdf:type ontology:Q56061 }
Nevada City
Nevada City
action filter_type
action find
entity Grass Valley
relation shares border with
type administrative territorial entity
['Grass Valley', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Grass_Valley property:shares_border_with ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q667268
P17
Q15617994
USER
Which administrative territory is that administrative territory present in ?
(Q667268,P17,c(Q15617994))
action filter_type
action find
entity Q667268
relation P17
type Q15617994
['Q667268', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q667268 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Nevada City
action filter_type
action find
entity Nevada City
relation country
type designation for an administrative territorial entity
['Nevada City', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Nevada_City property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q667268,P17,c(Q15617994))
action filter_type
action find
entity Q667268
relation P17
type Q15617994
That administrative territory is the [ANSWER]
['Q667268', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q667268 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
United States of America
That administrative territory is the United States of America
United States of America
action filter_type
action find
entity Nevada City
relation country
type designation for an administrative territorial entity
['Nevada City', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Nevada_City property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q667268 Q5680262
P17
Q15617994
USER
How many administrative territories are Nevada City or Hastings 2006 a part of ?
(Q667268,P17,c(Q15617994)) (Q5680262,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q667268
relation P17
type Q15617994
action filter_type
action find
entity Q5680262
relation P17
type Q15617994
['Q667268', 'P17', {'concept': 'Q15617994'}] ['Q5680262', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { ?i property:P17 ?o . VALUES ( ?i ) { ( resource:Q667268 ) ( resource:Q5680262 ) } }
Nevada City Hastings 2006
action count
action union
action filter_type
action find
entity Nevada City
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Hastings 2006
relation country
type designation for an administrative territorial entity
['Nevada City', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Hastings 2006', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { ?i property:country ?o . VALUES ( ?i ) { ( resource:Nevada_City ) ( resource:Hastings_2006 ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q30 Q145
(Q667268,P17,c(Q15617994)) (Q5680262,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q667268
relation P17
type Q15617994
action filter_type
action find
entity Q5680262
relation P17
type Q15617994
[ANSWER]
['Q667268', 'P17', {'concept': 'Q15617994'}] ['Q5680262', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { ?i property:P17 ?o . VALUES ( ?i ) { ( resource:Q667268 ) ( resource:Q5680262 ) } }
United States of America United Kingdom
2
action count
action union
action filter_type
action find
entity Nevada City
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Hastings 2006
relation country
type designation for an administrative territorial entity
['Nevada City', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Hastings 2006', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { ?i property:country ?o . VALUES ( ?i ) { ( resource:Nevada_City ) ( resource:Hastings_2006 ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q667268
P551
Q502895
USER
Who lives in Nevada City ?
(c(Q502895),P551,Q667268)
action filter_type
action find_reverse
entity Q667268
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q667268']
SELECT DISTINCT ?q WHERE { ?q property:P551 resource:Q667268 . ?q rdf:type ontology:Q502895 }
Nevada City
action filter_type
action find_reverse
entity Nevada City
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Nevada City']
SELECT DISTINCT ?q WHERE { ?q property:residence resource:Nevada_City . ?q rdf:type ontology:common_name }
[]
common name
Q16121375
SYSTEM
Judith Lowry
Q16121375
(c(Q502895),P551,Q667268)
action filter_type
action find_reverse
entity Q667268
relation P551
type Q502895
The [ANSWER] lives in Nevada City
[{'concept': 'Q502895'}, 'P551', 'Q667268']
SELECT DISTINCT ?q WHERE { ?q property:P551 resource:Q667268 . ?q rdf:type ontology:Q502895 }
Judith Lowry
The Judith Lowry lives in Nevada City
Judith Lowry
action filter_type
action find_reverse
entity Nevada City
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Nevada City']
SELECT DISTINCT ?q WHERE { ?q property:residence resource:Nevada_City . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16121375
P737
Q502895
USER
Which people influenced that one ?
(Q16121375,P737,c(Q502895))
action filter_type
action find
entity Q16121375
relation P737
type Q502895
['Q16121375', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q16121375 property:P737 ?m . ?m rdf:type ontology:Q502895 }
Judith Lowry
action filter_type
action find
entity Judith Lowry
relation influenced by
type common name
['Judith Lowry', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Judith_Lowry property:influenced_by ?m . ?m rdf:type ontology:common_name }
[]
common name
Q5664 Q5669 Q7814
SYSTEM
Fra Angelico, Sandro Botticelli, Giotto di Bondone
Q5668859 Q5669 Q5486173 Q7814 Q5664
(Q16121375,P737,c(Q502895))
action filter_type
action find
entity Q16121375
relation P737
type Q502895
[ANSWERS] influenced that one
['Q16121375', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q16121375 property:P737 ?m . ?m rdf:type ontology:Q502895 }
Harry Fonseca Sandro Botticelli Frank Day Giotto di Bondone Fra Angelico
Fra Angelico, Sandro Botticelli and Giotto di Bondone influenced that one
Fra Angelico Sandro Botticelli Giotto di Bondone
action filter_type
action find
entity Judith Lowry
relation influenced by
type common name
['Judith Lowry', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Judith_Lowry property:influenced_by ?m . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16121375
P737
Q502895
USER
Were Judith Lowry influenced by those ones ?
(Q16121375,P737,Q5664) (Q16121375,P737,Q5669) (Q16121375,P737,Q7814)
action is_in
entity prev_answer
action find
entity Q16121375
relation P737
['Q16121375', 'P737', 'Q5664'] ['Q16121375', 'P737', 'Q5669'] ['Q16121375', 'P737', 'Q7814']
ASK WHERE { resource:Q16121375 property:P737 ?f . VALUES ( ?f ) { ( resource:Q5668859 ) ( resource:Q5669 ) ( resource:Q5486173 ) } }
Judith Lowry
action is_in
entity prev_answer
action find
entity Judith Lowry
relation influenced by
['Judith Lowry', 'influenced by', 'Fra Angelico'] ['Judith Lowry', 'influenced by', 'Sandro Botticelli'] ['Judith Lowry', 'influenced by', 'Giotto di Bondone']
ASK WHERE { resource:Judith_Lowry property:influenced_by ?f . VALUES ( ?f ) { ( resource:Harry_Fonseca ) ( resource:Sandro_Botticelli ) ( resource:Frank_Day ) } }
[]
common name
SYSTEM
YES
(Q16121375,P737,Q5664) (Q16121375,P737,Q5669) (Q16121375,P737,Q7814)
action is_in
entity prev_answer
action find
entity Q16121375
relation P737
[ANSWER]
['Q16121375', 'P737', 'Q5664'] ['Q16121375', 'P737', 'Q5669'] ['Q16121375', 'P737', 'Q7814']
ASK WHERE { resource:Q16121375 property:P737 ?f . VALUES ( ?f ) { ( resource:Q5668859 ) ( resource:Q5669 ) ( resource:Q5486173 ) } }
Yes
action is_in
entity prev_answer
action find
entity Judith Lowry
relation influenced by
['Judith Lowry', 'influenced by', 'Fra Angelico'] ['Judith Lowry', 'influenced by', 'Sandro Botticelli'] ['Judith Lowry', 'influenced by', 'Giotto di Bondone']
ASK WHERE { resource:Judith_Lowry property:influenced_by ?f . VALUES ( ?f ) { ( resource:Harry_Fonseca ) ( resource:Sandro_Botticelli ) ( resource:Frank_Day ) } }
[]