Simple Question (Direct)
Simple Question
Q3013237
P27
Q15617994
USER
Which administrative territory is Dan Ward-Smith a civilian of ?
(Q3013237,P27,c(Q15617994))
action filter_type
action find
entity Q3013237
relation P27
type Q15617994
['Q3013237', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3013237 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Dan Ward-Smith
action filter_type
action find
entity Dan Ward-Smith
relation country of citizenship
type designation for an administrative territorial entity
['Dan Ward-Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Dan_Ward-Smith property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q3013237,P27,c(Q15617994))
action filter_type
action find
entity Q3013237
relation P27
type Q15617994
[ANSWER] is Dan Ward-Smith a civilian of
['Q3013237', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3013237 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is Dan Ward-Smith a civilian of
United Kingdom
action filter_type
action find
entity Dan Ward-Smith
relation country of citizenship
type designation for an administrative territorial entity
['Dan Ward-Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Dan_Ward-Smith property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3013237
P54
Q12973014
USER
Which sports teams are Dan Ward-Smith a member of ?
(Q3013237,P54,c(Q12973014))
action filter_type
action find
entity Q3013237
relation P54
type Q12973014
['Q3013237', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12973014 . resource:Q3013237 property:P54 ?c }
Dan Ward-Smith
action filter_type
action find
entity Dan Ward-Smith
relation member of sports team
type sports team
['Dan Ward-Smith', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sports_team . resource:Dan_Ward-Smith property:member_of_sports_team ?c }
[]
sports team
Q3392807 Q917973 Q1150127
SYSTEM
Plymouth Albion R.F.C., Bristol Rugby, Wasps RFC
Q3392807 Q917973 Q1150127
(Q3013237,P54,c(Q12973014))
action filter_type
action find
entity Q3013237
relation P54
type Q12973014
[ANSWERS] are Dan Ward-Smith a member of
['Q3013237', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12973014 . resource:Q3013237 property:P54 ?c }
Plymouth Albion R.F.C. Bristol Rugby Wasps RFC
Plymouth Albion R.F.C., Bristol Rugby and Wasps RFC are Dan Ward-Smith a member of
Plymouth Albion R.F.C. Bristol Rugby Wasps RFC
action filter_type
action find
entity Dan Ward-Smith
relation member of sports team
type sports team
['Dan Ward-Smith', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sports_team . resource:Dan_Ward-Smith property:member_of_sports_team ?c }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1689207
Q12973014
USER
And also tell me about Jim Rutherford?
(Q1689207,P54,c(Q12973014))
action filter_type
action find
entity Q1689207
relation P54
type Q12973014
['Q1689207', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?t WHERE { resource:Q1689207 property:P54 ?t . ?t rdf:type ontology:Q12973014 }
Jim Rutherford
action filter_type
action find
entity Jim Rutherford
relation member of sports team
type sports team
['Jim Rutherford', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?t WHERE { resource:Jim_Rutherford property:member_of_sports_team ?t . ?t rdf:type ontology:sports_team }
[]
sports team
Q194116 Q193643 Q203384
SYSTEM
Detroit Red Wings, Pittsburgh Penguins, Toronto Maple Leafs
Q193643 Q203008 Q194116 Q203384
(Q1689207,P54,c(Q12973014))
action filter_type
action find
entity Q1689207
relation P54
type Q12973014
[ANSWERS]
['Q1689207', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?t WHERE { resource:Q1689207 property:P54 ?t . ?t rdf:type ontology:Q12973014 }
Pittsburgh Penguins Los Angeles Kings Detroit Red Wings Toronto Maple Leafs
Detroit Red Wings Pittsburgh Penguins Toronto Maple Leafs
action filter_type
action find
entity Jim Rutherford
relation member of sports team
type sports team
['Jim Rutherford', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?t WHERE { resource:Jim_Rutherford property:member_of_sports_team ?t . ?t rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q194116
P466
Q811979
USER
Which architectural structures are occupied by Detroit Red Wings ?
(c(Q811979),P466,Q194116)
action filter_type
action find_reverse
entity Q194116
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q194116']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q811979 . ?x property:P466 resource:Q194116 }
Detroit Red Wings
action filter_type
action find_reverse
entity Detroit Red Wings
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Detroit Red Wings']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:architectural_structure . ?x property:occupant resource:Detroit_Red_Wings }
[]
architectural structure
Q18154984 Q8024565
SYSTEM
Little Caesars Arena, Windsor Arena
Q18154984 Q8024565
(c(Q811979),P466,Q194116)
action filter_type
action find_reverse
entity Q194116
relation P466
type Q811979
As [ANSWERS] are occupied by Detroit Red Wings
[{'concept': 'Q811979'}, 'P466', 'Q194116']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q811979 . ?x property:P466 resource:Q194116 }
Little Caesars Arena Windsor Arena
As Little Caesars Arena and Windsor Arena are occupied by Detroit Red Wings
Little Caesars Arena Windsor Arena
action filter_type
action find_reverse
entity Detroit Red Wings
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Detroit Red Wings']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:architectural_structure . ?x property:occupant resource:Detroit_Red_Wings }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q18154984 Q8024565
P115
Q12973014
USER
Which sports teams have those architectural structures as their home field ?
(c(Q12973014),P115,Q18154984) (c(Q12973014),P115,Q8024565)
action filter_type
action find_reverse
entity prev_answer
relation P115
type Q12973014
[{'concept': 'Q12973014'}, 'P115', 'Q18154984'] [{'concept': 'Q12973014'}, 'P115', 'Q8024565']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12973014 . ?g property:P115 ?p . VALUES ( ?p ) { ( resource:Q18154984 ) ( resource:Q8024565 ) } }
Little Caesars Arena Windsor Arena
action filter_type
action find_reverse
entity prev_answer
relation home venue
type sports team
[{'concept': 'sports team'}, 'home venue', 'Little Caesars Arena'] [{'concept': 'sports team'}, 'home venue', 'Windsor Arena']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sports_team . ?g property:home_venue ?p . VALUES ( ?p ) { ( resource:Little_Caesars_Arena ) ( resource:Windsor_Arena ) } }
[]
sports team
Q194116
SYSTEM
Detroit Red Wings
Q194116
(c(Q12973014),P115,Q18154984) (c(Q12973014),P115,Q8024565)
action filter_type
action find_reverse
entity prev_answer
relation P115
type Q12973014
[ANSWER] have those architectural structures as their home field
[{'concept': 'Q12973014'}, 'P115', 'Q18154984'] [{'concept': 'Q12973014'}, 'P115', 'Q8024565']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12973014 . ?g property:P115 ?p . VALUES ( ?p ) { ( resource:Q18154984 ) ( resource:Q8024565 ) } }
Detroit Red Wings
Detroit Red Wings have those architectural structures as their home field
Detroit Red Wings
action filter_type
action find_reverse
entity prev_answer
relation home venue
type sports team
[{'concept': 'sports team'}, 'home venue', 'Little Caesars Arena'] [{'concept': 'sports team'}, 'home venue', 'Windsor Arena']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sports_team . ?g property:home_venue ?p . VALUES ( ?p ) { ( resource:Little_Caesars_Arena ) ( resource:Windsor_Arena ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q194116
P108
Q502895
USER
Which people work for that sports team ?
(c(Q502895),P108,Q194116)
action filter_type
action find_reverse
entity Q194116
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q194116']
SELECT DISTINCT ?l WHERE { ?l property:P108 resource:Q194116 . ?l rdf:type ontology:Q502895 }
Detroit Red Wings
action filter_type
action find_reverse
entity Detroit Red Wings
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Detroit Red Wings']
SELECT DISTINCT ?l WHERE { ?l property:employer resource:Detroit_Red_Wings . ?l rdf:type ontology:common_name }
[]
common name
Q5963325 Q1365746
SYSTEM
Håkan Andersson, Ken Holland
Q5963325 Q1365746
(c(Q502895),P108,Q194116)
action filter_type
action find_reverse
entity Q194116
relation P108
type Q502895
[ANSWERS] work for that sports team
[{'concept': 'Q502895'}, 'P108', 'Q194116']
SELECT DISTINCT ?l WHERE { ?l property:P108 resource:Q194116 . ?l rdf:type ontology:Q502895 }
Håkan Andersson Ken Holland
Håkan Andersson and Ken Holland work for that sports team
Håkan Andersson Ken Holland
action filter_type
action find_reverse
entity Detroit Red Wings
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Detroit Red Wings']
SELECT DISTINCT ?l WHERE { ?l property:employer resource:Detroit_Red_Wings . ?l rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q194116
P21 P108
Q502895
USER
Which people work for Detroit Red Wings and have male as the sex ?
AND((c(Q502895),P108,Q194116), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q194116
relation P108
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P108', 'Q194116'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e property:P108 resource:Q194116 . ?e property:P21 resource:Q6581097 . ?e rdf:type ontology:Q502895 }
male Detroit Red Wings
action filter_type
action intersection
action find_reverse
entity Detroit Red Wings
relation employer
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'employer', 'Detroit Red Wings'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e property:employer resource:Detroit_Red_Wings . ?e property:gender resource:male . ?e rdf:type ontology:common_name }
[]
common name
Q5963325 Q1365746
SYSTEM
Håkan Andersson, Ken Holland
Q5963325 Q1365746
AND((c(Q502895),P108,Q194116), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q194116
relation P108
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] work for Detroit Red Wings and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P108', 'Q194116'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e property:P108 resource:Q194116 . ?e property:P21 resource:Q6581097 . ?e rdf:type ontology:Q502895 }
Håkan Andersson Ken Holland
Håkan Andersson and Ken Holland work for Detroit Red Wings and have male as the sex
Håkan Andersson Ken Holland
action filter_type
action intersection
action find_reverse
entity Detroit Red Wings
relation employer
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'employer', 'Detroit Red Wings'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e property:employer resource:Detroit_Red_Wings . ?e property:gender resource:male . ?e rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3235151
P725
Q502895 Q15961987
USER
Which television genres have been dubbed by approximately the same number of people as VeggieTales ?
(c(Q15961987),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q3235151
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?n ) WHERE { ?z property:P725 ?t . ?z rdf:type ontology:Q15961987 . ?t rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q3235151 property:P725 ?f . ?f rdf:type ontology:Q15961987 } } . FILTER ( ?n = ?w ) }
VeggieTales
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity VeggieTales
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?n ) WHERE { ?z property:voice_actor ?t . ?z rdf:type ontology:television_genre . ?t rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:VeggieTales property:voice_actor ?f . ?f rdf:type ontology:television_genre } } . FILTER ( ?n = ?w ) }
[]
common name television genre
Q886 Q11572 Q24034511
SYSTEM
The Simpsons, Avatar: The Last Airbender, Voltron: Legendary Defender
Q11572 Q24034511 Q11296848 Q3235151 Q576501 Q847219 Q753848 Q886 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q3235151
relation P725
type Q15961987
[ANSWERS] have been dubbed by approximately the same number of people as VeggieTales
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?n ) WHERE { ?z property:P725 ?t . ?z rdf:type ontology:Q15961987 . ?t rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q3235151 property:P725 ?f . ?f rdf:type ontology:Q15961987 } } . FILTER ( ?n = ?w ) }
Avatar: The Last Airbender Voltron: Legendary Defender Kiteretsu Daihyakka VeggieTales Garfield and Friends Pururun! Shizuku-chan TaleSpin The Simpsons The Garfield Show Hellsing Ultimate
The Simpsons, Avatar: The Last Airbender and Voltron: Legendary Defender have been dubbed by approximately the same number of people as VeggieTales
The Simpsons Avatar: The Last Airbender Voltron: Legendary Defender
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity VeggieTales
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?n ) WHERE { ?z property:voice_actor ?t . ?z rdf:type ontology:television_genre . ?t rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:VeggieTales property:voice_actor ?f . ?f rdf:type ontology:television_genre } } . FILTER ( ?n = ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q576501
P725
Q502895 Q15961987
USER
And how about Garfield and Friends?
(c(Q15961987),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q576501
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?f ) WHERE { ?t property:P725 ?i . ?t rdf:type ontology:Q15961987 . ?i rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?f = ?e ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w rdf:type ontology:Q15961987 . resource:Q576501 property:P725 ?w } } }
Garfield and Friends
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Garfield and Friends
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?f ) WHERE { ?t property:voice_actor ?i . ?t rdf:type ontology:television_genre . ?i rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?f = ?e ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w rdf:type ontology:television_genre . resource:Garfield_and_Friends property:voice_actor ?w } } }
[]
common name television genre
Q886 Q11572 Q24034511
SYSTEM
The Simpsons, Avatar: The Last Airbender, Voltron: Legendary Defender
Q11572 Q24034511 Q11296848 Q3235151 Q576501 Q847219 Q753848 Q886 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q576501
relation P725
type Q15961987
[ANSWERS]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?f ) WHERE { ?t property:P725 ?i . ?t rdf:type ontology:Q15961987 . ?i rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?f = ?e ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w rdf:type ontology:Q15961987 . resource:Q576501 property:P725 ?w } } }
Avatar: The Last Airbender Voltron: Legendary Defender Kiteretsu Daihyakka VeggieTales Garfield and Friends Pururun! Shizuku-chan TaleSpin The Simpsons The Garfield Show Hellsing Ultimate
The Simpsons Avatar: The Last Airbender Voltron: Legendary Defender
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Garfield and Friends
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?f ) WHERE { ?t property:voice_actor ?i . ?t rdf:type ontology:television_genre . ?i rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?f = ?e ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w rdf:type ontology:television_genre . resource:Garfield_and_Friends property:voice_actor ?w } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q194116
P466
Q811979 Q41176
USER
How many architectural structures or buildings were inhabited by Detroit Red Wings ?
(c(Q811979),P466,Q194116) (c(Q41176),P466,Q194116)
action count
action union
action filter_type
action find_reverse
entity Q194116
relation P466
type Q811979
action filter_type
action find_reverse
entity Q194116
relation P466
type Q41176
[{'concept': 'Q811979'}, 'P466', 'Q194116'] [{'concept': 'Q41176'}, 'P466', 'Q194116']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { ?h property:P466 resource:Q194116 . ?h rdf:type ontology:Q811979 } UNION { ?h property:P466 resource:Q194116 . ?h rdf:type ontology:Q41176 } }
Detroit Red Wings
action count
action union
action filter_type
action find_reverse
entity Detroit Red Wings
relation occupant
type architectural structure
action filter_type
action find_reverse
entity Detroit Red Wings
relation occupant
type building
[{'concept': 'architectural structure'}, 'occupant', 'Detroit Red Wings'] [{'concept': 'building'}, 'occupant', 'Detroit Red Wings']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { ?h property:occupant resource:Detroit_Red_Wings . ?h rdf:type ontology:architectural_structure } UNION { ?h property:occupant resource:Detroit_Red_Wings . ?h rdf:type ontology:building } }
[]
architectural structure building
SYSTEM
3
Q18154984 Q168579 Q8024565
(c(Q811979),P466,Q194116) (c(Q41176),P466,Q194116)
action count
action union
action filter_type
action find_reverse
entity Q194116
relation P466
type Q811979
action filter_type
action find_reverse
entity Q194116
relation P466
type Q41176
[ANSWER]
[{'concept': 'Q811979'}, 'P466', 'Q194116'] [{'concept': 'Q41176'}, 'P466', 'Q194116']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { ?h property:P466 resource:Q194116 . ?h rdf:type ontology:Q811979 } UNION { ?h property:P466 resource:Q194116 . ?h rdf:type ontology:Q41176 } }
Little Caesars Arena Joe Louis Arena Windsor Arena
3
action count
action union
action filter_type
action find_reverse
entity Detroit Red Wings
relation occupant
type architectural structure
action filter_type
action find_reverse
entity Detroit Red Wings
relation occupant
type building
[{'concept': 'architectural structure'}, 'occupant', 'Detroit Red Wings'] [{'concept': 'building'}, 'occupant', 'Detroit Red Wings']
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { ?h property:occupant resource:Detroit_Red_Wings . ?h rdf:type ontology:architectural_structure } UNION { ?h property:occupant resource:Detroit_Red_Wings . ?h rdf:type ontology:building } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3392807
P17
Q15617994
USER
Which administrative territory is Plymouth Albion R.F.C. situated in ?
(Q3392807,P17,c(Q15617994))
action filter_type
action find
entity Q3392807
relation P17
type Q15617994
['Q3392807', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q3392807 property:P17 ?n }
Plymouth Albion R.F.C.
action filter_type
action find
entity Plymouth Albion R.F.C.
relation country
type designation for an administrative territorial entity
['Plymouth Albion R.F.C.', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Plymouth_Albion_R.F.C. property:country ?n }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q3392807,P17,c(Q15617994))
action filter_type
action find
entity Q3392807
relation P17
type Q15617994
Plymouth Albion R.F.C. is situated in [ANSWER]
['Q3392807', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q3392807 property:P17 ?n }
United Kingdom
Plymouth Albion R.F.C. is situated in United Kingdom
United Kingdom
action filter_type
action find
entity Plymouth Albion R.F.C.
relation country
type designation for an administrative territorial entity
['Plymouth Albion R.F.C.', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Plymouth_Albion_R.F.C. property:country ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q886
P1411
Q1407225
USER
What television awards do The Simpsons have ?
(Q886,P1411,c(Q1407225))
action filter_type
action find
entity Q886
relation P1411
type Q1407225
['Q886', 'P1411', {'concept': 'Q1407225'}]
SELECT DISTINCT ?q WHERE { resource:Q886 property:P1411 ?q . ?q rdf:type ontology:Q1407225 }
The Simpsons
action filter_type
action find
entity The Simpsons
relation nominated for
type television award
['The Simpsons', 'nominated for', {'concept': 'television award'}]
SELECT DISTINCT ?q WHERE { resource:The_Simpsons property:nominated_for ?q . ?q rdf:type ontology:television_award }
[]
television award
Q7669610 Q7669613 Q7669624
SYSTEM
TCA Award for Individual Achievement in Comedy, TCA Award for Outstanding Achievement in Comedy, TCA Award for Program of the Year
Q7669613 Q7669610 Q7669624 Q6363478 Q6363475
(Q886,P1411,c(Q1407225))
action filter_type
action find
entity Q886
relation P1411
type Q1407225
The Simpsons have won [ANSWERS]
['Q886', 'P1411', {'concept': 'Q1407225'}]
SELECT DISTINCT ?q WHERE { resource:Q886 property:P1411 ?q . ?q rdf:type ontology:Q1407225 }
TCA Award for Outstanding Achievement in Comedy TCA Award for Individual Achievement in Comedy TCA Award for Program of the Year Kids' Choice Award for Favorite TV Show Kids' Choice Award for Favorite Cartoon
The Simpsons have won TCA Award for Individual Achievement in Comedy, TCA Award for Outstanding Achievement in Comedy and TCA Award for Program of the Year
TCA Award for Individual Achievement in Comedy TCA Award for Outstanding Achievement in Comedy TCA Award for Program of the Year
action filter_type
action find
entity The Simpsons
relation nominated for
type television award
['The Simpsons', 'nominated for', {'concept': 'television award'}]
SELECT DISTINCT ?q WHERE { resource:The_Simpsons property:nominated_for ?q . ?q rdf:type ontology:television_award }
[]