Simple Question (Direct)
Simple Question
Q5593528
P54
Q6979593
USER
Which national association football team is Grainne Kierans a member of ?
(Q5593528,P54,c(Q6979593))
action filter_type
action find
entity Q5593528
relation P54
type Q6979593
['Q5593528', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?c WHERE { resource:Q5593528 property:P54 ?c . ?c rdf:type ontology:Q6979593 }
Grainne Kierans
action filter_type
action find
entity Grainne Kierans
relation member of sports team
type national association football team
['Grainne Kierans', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?c WHERE { resource:Grainne_Kierans property:member_of_sports_team ?c . ?c rdf:type ontology:national_association_football_team }
[]
national association football team
Q1093046
SYSTEM
Republic of Ireland women's national football team
Q1093046
(Q5593528,P54,c(Q6979593))
action filter_type
action find
entity Q5593528
relation P54
type Q6979593
The [ANSWER] is Grainne Kierans a member of
['Q5593528', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?c WHERE { resource:Q5593528 property:P54 ?c . ?c rdf:type ontology:Q6979593 }
Republic of Ireland women's national football team
The Republic of Ireland women's national football team is Grainne Kierans a member of
Republic of Ireland women's national football team
action filter_type
action find
entity Grainne Kierans
relation member of sports team
type national association football team
['Grainne Kierans', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?c WHERE { resource:Grainne_Kierans property:member_of_sports_team ?c . ?c rdf:type ontology:national_association_football_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1093046
P1532
Q15617994
USER
Which administrative territory is played by that national association football team ?
(Q1093046,P1532,c(Q15617994))
action filter_type
action find
entity Q1093046
relation P1532
type Q15617994
['Q1093046', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q1093046 property:P1532 ?d . ?d rdf:type ontology:Q15617994 }
Republic of Ireland women's national football team
action filter_type
action find
entity Republic of Ireland women's national football team
relation country for sport
type designation for an administrative territorial entity
["Republic of Ireland women's national football team", 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Republic_of_Ireland_women's_national_football_team property:country_for_sport ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q27
SYSTEM
Ireland
Q27
(Q1093046,P1532,c(Q15617994))
action filter_type
action find
entity Q1093046
relation P1532
type Q15617994
Team [ANSWER] is played by that national association football team
['Q1093046', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q1093046 property:P1532 ?d . ?d rdf:type ontology:Q15617994 }
Ireland
Team Ireland is played by that national association football team
Ireland
action filter_type
action find
entity Republic of Ireland women's national football team
relation country for sport
type designation for an administrative territorial entity
["Republic of Ireland women's national football team", 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Republic_of_Ireland_women's_national_football_team property:country_for_sport ?d . ?d 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
Q27 Q5916686 Q20251
P47
Q15617994
USER
Does that administrative territory shares border with Houston Public Schools and Neive ?
(Q27,P47,Q5916686) (Q27,P47,Q20251)
action is_in
entity Q27
action intersection
action find_reverse
entity Q5916686
relation P47
action find_reverse
entity Q20251
relation P47
['Q27', 'P47', 'Q5916686'] ['Q27', 'P47', 'Q20251']
ASK WHERE { resource:Q27 property:P47 resource:Q5916686 . resource:Q27 property:P47 resource:Q20251 }
Ireland Houston Public Schools Neive
action is_in
entity Ireland
action intersection
action find_reverse
entity Houston Public Schools
relation shares border with
action find_reverse
entity Neive
relation shares border with
['Ireland', 'shares border with', 'Houston Public Schools'] ['Ireland', 'shares border with', 'Neive']
ASK WHERE { resource:Ireland property:shares_border_with resource:Houston_Public_Schools . resource:Ireland property:shares_border_with resource:Neive }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q27,P47,Q5916686) (Q27,P47,Q20251)
action is_in
entity Q27
action intersection
action find_reverse
entity Q5916686
relation P47
action find_reverse
entity Q20251
relation P47
[ANSWER]
['Q27', 'P47', 'Q5916686'] ['Q27', 'P47', 'Q20251']
ASK WHERE { resource:Q27 property:P47 resource:Q5916686 . resource:Q27 property:P47 resource:Q20251 }
No
action is_in
entity Ireland
action intersection
action find_reverse
entity Houston Public Schools
relation shares border with
action find_reverse
entity Neive
relation shares border with
['Ireland', 'shares border with', 'Houston Public Schools'] ['Ireland', 'shares border with', 'Neive']
ASK WHERE { resource:Ireland property:shares_border_with resource:Houston_Public_Schools . resource:Ireland property:shares_border_with resource:Neive }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27
P840
Q15416
USER
Which television programs have their narrative set in Ireland ?
action filter_type
action find_reverse
entity Q27
relation P840
type Q15416
SELECT DISTINCT ?s WHERE { ?s property:P840 resource:Q27 . ?s rdf:type ontology:Q15416 }
Ireland
action filter_type
action find_reverse
entity Ireland
relation narrative location
type television program
SELECT DISTINCT ?s WHERE { ?s property:narrative_location resource:Ireland . ?s rdf:type ontology:television_program }
[]
television program
Q16205080 Q2575053
SYSTEM
Teenage Mutant Ninja Turtles (1987 TV series) (season 7), Ballykissangel
Q16205080 Q2575053
action filter_type
action find_reverse
entity Q27
relation P840
type Q15416
[ANSWERS] have their narrative set in Ireland
SELECT DISTINCT ?s WHERE { ?s property:P840 resource:Q27 . ?s rdf:type ontology:Q15416 }
Teenage Mutant Ninja Turtles (1987 TV series) (season 7) Ballykissangel
Teenage Mutant Ninja Turtles (1987 TV series) (season 7) and Ballykissangel have their narrative set in Ireland
Teenage Mutant Ninja Turtles (1987 TV series) (season 7) Ballykissangel
action filter_type
action find_reverse
entity Ireland
relation narrative location
type television program
SELECT DISTINCT ?s WHERE { ?s property:narrative_location resource:Ireland . ?s rdf:type ontology:television_program }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q15416 Q166142 Q11424
USER
Which television programs do approximately 1 applications and films extend upon ?
(c(Q166142)|c(Q11424),P144,c(Q15416))
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q166142
action find_reverse_tuple_counts
relation P144
type Q15416
type Q11424
value 1
[[{'concept': 'Q166142'}, {'concept': 'Q11424'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) ?o WHERE { ?p rdf:type ?i . VALUES ( ?i ) { ( ontology:Q11424 ) ( ontology:Q166142 ) } } GROUP BY ?o } . FILTER ( ?x = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation based on
type television program
type application
action find_reverse_tuple_counts
relation based on
type television program
type film
value 1
[[{'concept': 'application'}, {'concept': 'film'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) ?o WHERE { ?p rdf:type ?i . VALUES ( ?i ) { ( ontology:film ) ( ontology:application ) } } GROUP BY ?o } . FILTER ( ?x = 1 ) }
[]
television program application film
Q232737 Q56194 Q183513
SYSTEM
The Walking Dead, 24, Buffy the Vampire Slayer
Q92096 Q189411 Q2077112 Q183513 Q162371 Q264198 Q559321 Q3818118 Q304290 Q192259 Q828520 Q611745 Q56194 Q232737
(c(Q166142)|c(Q11424),P144,c(Q15416))
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q166142
action find_reverse_tuple_counts
relation P144
type Q15416
type Q11424
value 1
[ANSWERS] approximately 1 applications and films extend upon
[[{'concept': 'Q166142'}, {'concept': 'Q11424'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) ?o WHERE { ?p rdf:type ?i . VALUES ( ?i ) { ( ontology:Q11424 ) ( ontology:Q166142 ) } } GROUP BY ?o } . FILTER ( ?x = 1 ) }
Fort Boyard CSI: Miami SWAT Kats: The Radical Squadron Buffy the Vampire Slayer Charmed CSI Miami Vice The Yogi Bear Show Rugrats CSI: NY Hercules: The Legendary Journeys Count Duckula 24 The Walking Dead
The Walking Dead, 24 and Buffy the Vampire Slayer approximately 1 applications and films extend upon
The Walking Dead 24 Buffy the Vampire Slayer
action approx
action union
action find_reverse_tuple_counts
relation based on
type television program
type application
action find_reverse_tuple_counts
relation based on
type television program
type film
value 1
[[{'concept': 'application'}, {'concept': 'film'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) ?o WHERE { ?p rdf:type ?i . VALUES ( ?i ) { ( ontology:film ) ( ontology:application ) } } GROUP BY ?o } . FILTER ( ?x = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q183513
P1441
Q95074
USER
Which fictional character appears in that television program ?
(c(Q95074),P1441,Q183513)
action filter_type
action find_reverse
entity Q183513
relation P1441
type Q95074
[{'concept': 'Q95074'}, 'P1441', 'Q183513']
SELECT DISTINCT ?g WHERE { ?g property:P1441 resource:Q183513 . ?g rdf:type ontology:Q95074 }
Buffy the Vampire Slayer
action filter_type
action find_reverse
entity Buffy the Vampire Slayer
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Buffy the Vampire Slayer']
SELECT DISTINCT ?g WHERE { ?g property:present_in_work resource:Buffy_the_Vampire_Slayer . ?g rdf:type ontology:fictional_character }
[]
fictional character
Clarification for simple ques.
Q232737
SYSTEM
Did you mean The Walking Dead ?
Q232737 Q56194 Q183513
(c(Q95074),P1441,Q232737) (c(Q95074),P1441,Q56194) (c(Q95074),P1441,Q183513)
[ANSWER]
[{'concept': 'Q95074'}, 'P1441', 'Q232737'] [{'concept': 'Q95074'}, 'P1441', 'Q56194'] [{'concept': 'Q95074'}, 'P1441', 'Q183513']
SELECT DISTINCT ?g WHERE { ?g property:P1441 resource:Q183513 . ?g rdf:type ontology:Q95074 }
The Walking Dead 24 Buffy the Vampire Slayer
Did you mean The Walking Dead ?
The Walking Dead
[{'concept': 'fictional character'}, 'present in work', 'The Walking Dead'] [{'concept': 'fictional character'}, 'present in work', '24'] [{'concept': 'fictional character'}, 'present in work', 'Buffy the Vampire Slayer']
SELECT DISTINCT ?g WHERE { ?g property:present_in_work resource:Buffy_the_Vampire_Slayer . ?g rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
USER
No, I meant Buffy the Vampire Slayer. Could you tell me the answer for that?
(c(Q95074),P1441,Q183513)
Q183513
[{'concept': 'Q95074'}, 'P1441', 'Q183513']
[{'concept': 'fictional character'}, 'present in work', 'Buffy the Vampire Slayer']
[]
Q376961
SYSTEM
Glory
Q376961
(c(Q95074),P1441,Q183513)
action filter_type
action find_reverse
entity Q183513
relation P1441
type Q95074
[ANSWER] appears in that television program
[{'concept': 'Q95074'}, 'P1441', 'Q183513']
SELECT DISTINCT ?g WHERE { ?g property:P1441 resource:Q183513 . ?g rdf:type ontology:Q95074 }
Glory
Glory appears in that television program
Glory
action filter_type
action find_reverse
entity Buffy the Vampire Slayer
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Buffy the Vampire Slayer']
SELECT DISTINCT ?g WHERE { ?g property:present_in_work resource:Buffy_the_Vampire_Slayer . ?g rdf:type ontology:fictional_character }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q376961 Q1608351 Q298025
P170
Q502895
USER
Was Glory created by Doug Petrie and Joss Whedon ?
(Q376961,P170,Q1608351) (Q376961,P170,Q298025)
action is_in
entity Q376961
action intersection
action find_reverse
entity Q1608351
relation P170
action find_reverse
entity Q298025
relation P170
['Q376961', 'P170', 'Q1608351'] ['Q376961', 'P170', 'Q298025']
ASK WHERE { resource:Q376961 property:P170 resource:Q1608351 . resource:Q376961 property:P170 resource:Q298025 }
Glory Doug Petrie Joss Whedon
action is_in
entity Glory
action intersection
action find_reverse
entity Doug Petrie
relation creator
action find_reverse
entity Joss Whedon
relation creator
['Glory', 'creator', 'Doug Petrie'] ['Glory', 'creator', 'Joss Whedon']
ASK WHERE { resource:Glory property:creator resource:Doug_Petrie . resource:Glory property:creator resource:Joss_Whedon }
[]
common name
SYSTEM
YES
(Q376961,P170,Q1608351) (Q376961,P170,Q298025)
action is_in
entity Q376961
action intersection
action find_reverse
entity Q1608351
relation P170
action find_reverse
entity Q298025
relation P170
[ANSWER]
['Q376961', 'P170', 'Q1608351'] ['Q376961', 'P170', 'Q298025']
ASK WHERE { resource:Q376961 property:P170 resource:Q1608351 . resource:Q376961 property:P170 resource:Q298025 }
Yes
action is_in
entity Glory
action intersection
action find_reverse
entity Doug Petrie
relation creator
action find_reverse
entity Joss Whedon
relation creator
['Glory', 'creator', 'Doug Petrie'] ['Glory', 'creator', 'Joss Whedon']
ASK WHERE { resource:Glory property:creator resource:Doug_Petrie . resource:Glory property:creator resource:Joss_Whedon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q376961
P175
Q502895
USER
What was staged by Glory ?
(Q376961,P175,c(Q502895))
action filter_type
action find
entity Q376961
relation P175
type Q502895
['Q376961', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q376961 property:P175 ?j . ?j rdf:type ontology:Q502895 }
Glory
action filter_type
action find
entity Glory
relation performer
type common name
['Glory', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Glory property:performer ?j . ?j rdf:type ontology:common_name }
[]
common name
Q260455
SYSTEM
Clare Kramer
Q260455
(Q376961,P175,c(Q502895))
action filter_type
action find
entity Q376961
relation P175
type Q502895
The [ANSWER] was staged by Glory
['Q376961', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q376961 property:P175 ?j . ?j rdf:type ontology:Q502895 }
Clare Kramer
The Clare Kramer was staged by Glory
Clare Kramer
action filter_type
action find
entity Glory
relation performer
type common name
['Glory', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Glory property:performer ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6075567
Q502895
USER
And also tell me about Is This Love??
(Q6075567,P175,c(Q502895))
action filter_type
action find
entity Q6075567
relation P175
type Q502895
['Q6075567', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q6075567 property:P175 ?p . ?p rdf:type ontology:Q502895 }
Is This Love?
action filter_type
action find
entity Is This Love?
relation performer
type common name
['Is This Love?', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Is_This_Love? property:performer ?p . ?p rdf:type ontology:common_name }
[]
common name
Q271100
SYSTEM
Bonnie Pink
Q271100
(Q6075567,P175,c(Q502895))
action filter_type
action find
entity Q6075567
relation P175
type Q502895
Tell me about Is This Love And also about [ANSWER]
['Q6075567', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q6075567 property:P175 ?p . ?p rdf:type ontology:Q502895 }
Bonnie Pink
Tell me about Is This Love And also about Bonnie Pink
Bonnie Pink
action filter_type
action find
entity Is This Love?
relation performer
type common name
['Is This Love?', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Is_This_Love? property:performer ?p . ?p rdf:type ontology:common_name }
[]