Simple Question (Direct)
Simple Question
Q6251703
P102
Q7210356
USER
Which party is John P. Slattery affiliated with ?
(Q6251703,P102,c(Q7210356))
action filter_type
action find
entity Q6251703
relation P102
type Q7210356
['Q6251703', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q6251703 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
John P. Slattery
action filter_type
action find
entity John P. Slattery
relation member of political party
type political organization
['John P. Slattery', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:John_P._Slattery property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q6251703,P102,c(Q7210356))
action filter_type
action find
entity Q6251703
relation P102
type Q7210356
John P. Slattery is affiliated with [ANSWER]
['Q6251703', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q6251703 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Democratic Party
John P. Slattery is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity John P. Slattery
relation member of political party
type political organization
['John P. Slattery', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:John_P._Slattery property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29552
P749
Q7210356
USER
Which political organizations are owned by that one ?
(c(Q7210356),P749,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P749
type Q7210356
[{'concept': 'Q7210356'}, 'P749', 'Q29552']
SELECT DISTINCT ?x WHERE { ?x property:P749 resource:Q29552 . ?x rdf:type ontology:Q7210356 }
Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation parent organization
type political organization
[{'concept': 'political organization'}, 'parent organization', 'Democratic Party']
SELECT DISTINCT ?x WHERE { ?x property:parent_organization resource:Democratic_Party . ?x rdf:type ontology:political_organization }
[]
political organization
Q7008134 Q5020399
SYSTEM
New Hampshire Democratic Party, California Democratic Party
Q7008134 Q5020399
(c(Q7210356),P749,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P749
type Q7210356
And [ANSWERS] are owned by that one
[{'concept': 'Q7210356'}, 'P749', 'Q29552']
SELECT DISTINCT ?x WHERE { ?x property:P749 resource:Q29552 . ?x rdf:type ontology:Q7210356 }
New Hampshire Democratic Party California Democratic Party
And New Hampshire Democratic Party and California Democratic Party are owned by that one
New Hampshire Democratic Party California Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation parent organization
type political organization
[{'concept': 'political organization'}, 'parent organization', 'Democratic Party']
SELECT DISTINCT ?x WHERE { ?x property:parent_organization resource:Democratic_Party . ?x rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29552 Q41300
P710
Q1190554
USER
How many events did Democratic Party or Knights Templar participate in ?
(c(Q1190554),P710,Q29552) (c(Q1190554),P710,Q41300)
action count
action union
action filter_type
action find_reverse
entity Q29552
relation P710
type Q1190554
action filter_type
action find_reverse
entity Q41300
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q29552'] [{'concept': 'Q1190554'}, 'P710', 'Q41300']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:P710 ?i . VALUES ( ?i ) { ( resource:Q29552 ) ( resource:Q41300 ) } }
Democratic Party Knights Templar
action count
action union
action filter_type
action find_reverse
entity Democratic Party
relation participant
type event
action filter_type
action find_reverse
entity Knights Templar
relation participant
type event
[{'concept': 'event'}, 'participant', 'Democratic Party'] [{'concept': 'event'}, 'participant', 'Knights Templar']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:participant ?i . VALUES ( ?i ) { ( resource:Democratic_Party ) ( resource:Knights_Templar ) } }
[]
event
SYSTEM
5
Q577190 Q51654 Q4890612 Q636520 Q159512
(c(Q1190554),P710,Q29552) (c(Q1190554),P710,Q41300)
action count
action union
action filter_type
action find_reverse
entity Q29552
relation P710
type Q1190554
action filter_type
action find_reverse
entity Q41300
relation P710
type Q1190554
[ANSWER]
[{'concept': 'Q1190554'}, 'P710', 'Q29552'] [{'concept': 'Q1190554'}, 'P710', 'Q41300']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:P710 ?i . VALUES ( ?i ) { ( resource:Q29552 ) ( resource:Q41300 ) } }
Battle of Cresson Second Crusade Siege of Al-Dāmūs Battle of Marj Ayyun Battle of Legnica
5
action count
action union
action filter_type
action find_reverse
entity Democratic Party
relation participant
type event
action filter_type
action find_reverse
entity Knights Templar
relation participant
type event
[{'concept': 'event'}, 'participant', 'Democratic Party'] [{'concept': 'event'}, 'participant', 'Knights Templar']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:participant ?i . VALUES ( ?i ) { ( resource:Democratic_Party ) ( resource:Knights_Templar ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6251703
P937
Q56061
USER
What is the location where John P. Slattery worked ?
(Q6251703,P937,c(Q56061))
action filter_type
action find
entity Q6251703
relation P937
type Q56061
['Q6251703', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q6251703 property:P937 ?r . ?r rdf:type ontology:Q56061 }
John P. Slattery
action filter_type
action find
entity John P. Slattery
relation work location
type administrative territorial entity
['John P. Slattery', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:John_P._Slattery property:work_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q100
SYSTEM
Boston
Q100
(Q6251703,P937,c(Q56061))
action filter_type
action find
entity Q6251703
relation P937
type Q56061
The location John P. is in [ANSWER]
['Q6251703', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q6251703 property:P937 ?r . ?r rdf:type ontology:Q56061 }
Boston
The location John P. is in Boston
Boston
action filter_type
action find
entity John P. Slattery
relation work location
type administrative territorial entity
['John P. Slattery', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:John_P._Slattery property:work_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q100
P206
Q15324 Q355304
USER
How many bodies of water or watercourses are located next to Boston ?
(Q100,P206,c(Q15324)) (Q100,P206,c(Q355304))
action count
action union
action filter_type
action find
entity Q100
relation P206
type Q15324
action filter_type
action find
entity Q100
relation P206
type Q355304
['Q100', 'P206', {'concept': 'Q15324'}] ['Q100', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { resource:Q100 property:P206 ?r . ?r rdf:type ontology:Q15324 } UNION { resource:Q100 property:P206 ?r . ?r rdf:type ontology:Q355304 } }
Boston
action count
action union
action filter_type
action find
entity Boston
relation located next to body of water
type body of water
action filter_type
action find
entity Boston
relation located next to body of water
type watercourse
['Boston', 'located next to body of water', {'concept': 'body of water'}] ['Boston', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { resource:Boston property:located_next_to_body_of_water ?r . ?r rdf:type ontology:body_of_water } UNION { resource:Boston property:located_next_to_body_of_water ?r . ?r rdf:type ontology:watercourse } }
[]
body of water watercourse
SYSTEM
4
Q1332459 Q894564 Q794927 Q1758000
(Q100,P206,c(Q15324)) (Q100,P206,c(Q355304))
action count
action union
action filter_type
action find
entity Q100
relation P206
type Q15324
action filter_type
action find
entity Q100
relation P206
type Q355304
[ANSWER]
['Q100', 'P206', {'concept': 'Q15324'}] ['Q100', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { resource:Q100 property:P206 ?r . ?r rdf:type ontology:Q15324 } UNION { resource:Q100 property:P206 ?r . ?r rdf:type ontology:Q355304 } }
Neponset River Boston Harbor Charles River Mystic River
4
action count
action union
action filter_type
action find
entity Boston
relation located next to body of water
type body of water
action filter_type
action find
entity Boston
relation located next to body of water
type watercourse
['Boston', 'located next to body of water', {'concept': 'body of water'}] ['Boston', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { resource:Boston property:located_next_to_body_of_water ?r . ?r rdf:type ontology:body_of_water } UNION { resource:Boston property:located_next_to_body_of_water ?r . ?r rdf:type ontology:watercourse } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q100
P915
Q838948
USER
Which works of art were filmed in the location that administrative territory ?
action filter_type
action find_reverse
entity Q100
relation P915
type Q838948
SELECT DISTINCT ?o WHERE { ?o property:P915 resource:Q100 . ?o rdf:type ontology:Q838948 }
Boston
action filter_type
action find_reverse
entity Boston
relation filming location
type work of art
SELECT DISTINCT ?o WHERE { ?o property:filming_location resource:Boston . ?o rdf:type ontology:work_of_art }
[]
work of art
Q18154496 Q20120108
SYSTEM
Spotlight, Ghostbusters
Q18154496 Q20120108
action filter_type
action find_reverse
entity Q100
relation P915
type Q838948
[ANSWERS] were filmed in the location that administrative territory
SELECT DISTINCT ?o WHERE { ?o property:P915 resource:Q100 . ?o rdf:type ontology:Q838948 }
Spotlight Ghostbusters
Spotlight and Ghostbusters were filmed in the location that administrative territory
Spotlight Ghostbusters
action filter_type
action find_reverse
entity Boston
relation filming location
type work of art
SELECT DISTINCT ?o WHERE { ?o property:filming_location resource:Boston . ?o rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q384426
P1445
Q838948 Q386724
USER
How many works represents a fictional universe described in less number of works of art than Pirates of the Caribbean ?
(c(Q386724),P1445,c(Q838948))
action count
action less
action find_tuple_counts
relation P1445
type Q386724
type Q838948
action count
action filter_type
action find
entity Q384426
relation P1445
type Q838948
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?l ) WHERE { ?t property:P1445 ?x . ?x rdf:type ontology:Q838948 . ?t rdf:type ontology:Q386724 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q384426 property:P1445 ?y . ?y rdf:type ontology:Q838948 } } . FILTER ( ?l < ?f ) }
Pirates of the Caribbean
action count
action less
action find_tuple_counts
relation fictional universe described in
type work
type work of art
action count
action filter_type
action find
entity Pirates of the Caribbean
relation fictional universe described in
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?l ) WHERE { ?t property:fictional_universe_described_in ?x . ?x rdf:type ontology:work_of_art . ?t rdf:type ontology:work } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Pirates_of_the_Caribbean property:fictional_universe_described_in ?y . ?y rdf:type ontology:work_of_art } } . FILTER ( ?l < ?f ) }
[]
work of art work
SYSTEM
4
Q1203222 Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q838948))
action count
action less
action find_tuple_counts
relation P1445
type Q386724
type Q838948
action count
action filter_type
action find
entity Q384426
relation P1445
type Q838948
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?l ) WHERE { ?t property:P1445 ?x . ?x rdf:type ontology:Q838948 . ?t rdf:type ontology:Q386724 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q384426 property:P1445 ?y . ?y rdf:type ontology:Q838948 } } . FILTER ( ?l < ?f ) }
Shrek Aladdin media franchise Stargate The Walking Dead
4
action count
action less
action find_tuple_counts
relation fictional universe described in
type work
type work of art
action count
action filter_type
action find
entity Pirates of the Caribbean
relation fictional universe described in
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?l ) WHERE { ?t property:fictional_universe_described_in ?x . ?x rdf:type ontology:work_of_art . ?t rdf:type ontology:work } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Pirates_of_the_Caribbean property:fictional_universe_described_in ?y . ?y rdf:type ontology:work_of_art } } . FILTER ( ?l < ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1445
Q838948 Q386724
USER
How many works are set up by atleast 4 works of art ?
(c(Q386724),P1445,c(Q838948))
action count
action atleast
action find_tuple_counts
relation P1445
type Q386724
type Q838948
value 4
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?e ) WHERE { ?w rdf:type ontology:Q386724 . ?b rdf:type ontology:Q838948 . ?w property:P1445 ?b } GROUP BY ?w } . FILTER ( ?e >= 4 ) }
action count
action atleast
action find_tuple_counts
relation fictional universe described in
type work
type work of art
value 4
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?e ) WHERE { ?w rdf:type ontology:work . ?b rdf:type ontology:work_of_art . ?w property:fictional_universe_described_in ?b } GROUP BY ?w } . FILTER ( ?e >= 4 ) }
[]
work of art work
SYSTEM
1
Q384426
(c(Q386724),P1445,c(Q838948))
action count
action atleast
action find_tuple_counts
relation P1445
type Q386724
type Q838948
value 4
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?e ) WHERE { ?w rdf:type ontology:Q386724 . ?b rdf:type ontology:Q838948 . ?w property:P1445 ?b } GROUP BY ?w } . FILTER ( ?e >= 4 ) }
Pirates of the Caribbean
1
action count
action atleast
action find_tuple_counts
relation fictional universe described in
type work
type work of art
value 4
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?e ) WHERE { ?w rdf:type ontology:work . ?b rdf:type ontology:work_of_art . ?w property:fictional_universe_described_in ?b } GROUP BY ?w } . FILTER ( ?e >= 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18154496
P1411
Q4220917
USER
Which film awards did Spotlight receive ?
(Q18154496,P1411,c(Q4220917))
action filter_type
action find
entity Q18154496
relation P1411
type Q4220917
['Q18154496', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?u WHERE { resource:Q18154496 property:P1411 ?u . ?u rdf:type ontology:Q4220917 }
Spotlight
action filter_type
action find
entity Spotlight
relation nominated for
type film award
['Spotlight', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?u WHERE { resource:Spotlight property:nominated_for ?u . ?u rdf:type ontology:film_award }
[]
film award
Q106301 Q106291 Q102427
SYSTEM
Academy Award for Best Supporting Actress, Academy Award for Best Supporting Actor, Academy Award for Best Picture
Q106301 Q102427 Q106291 Q103360 Q281939 Q41417
(Q18154496,P1411,c(Q4220917))
action filter_type
action find
entity Q18154496
relation P1411
type Q4220917
Spotlight received the [ANSWERS]
['Q18154496', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?u WHERE { resource:Q18154496 property:P1411 ?u . ?u rdf:type ontology:Q4220917 }
Academy Award for Best Supporting Actress Academy Award for Best Picture Academy Award for Best Supporting Actor Academy Award for Best Director Academy Award for Best Film Editing Academy Award for Best Writing, Original Screenplay
Spotlight received the Academy Award for Best Supporting Actress, Academy Award for Best Supporting Actor and Academy Award for Best Picture
Academy Award for Best Supporting Actress Academy Award for Best Supporting Actor Academy Award for Best Picture
action filter_type
action find
entity Spotlight
relation nominated for
type film award
['Spotlight', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?u WHERE { resource:Spotlight property:nominated_for ?u . ?u rdf:type ontology:film_award }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q18154496
Q618779
USER
And which award?
(Q18154496,P1411,c(Q618779))
action filter_type
action find
entity Q18154496
relation P1411
type Q618779
['Q18154496', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?h WHERE { resource:Q18154496 property:P1411 ?h . ?h rdf:type ontology:Q618779 }
Spotlight
action filter_type
action find
entity Spotlight
relation nominated for
type award
['Spotlight', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?h WHERE { resource:Spotlight property:nominated_for ?h . ?h rdf:type ontology:award }
[]
award
Q2530270
SYSTEM
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
Q2530270
(Q18154496,P1411,c(Q618779))
action filter_type
action find
entity Q18154496
relation P1411
type Q618779
[ANSWER]
['Q18154496', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?h WHERE { resource:Q18154496 property:P1411 ?h . ?h rdf:type ontology:Q618779 }
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
action filter_type
action find
entity Spotlight
relation nominated for
type award
['Spotlight', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?h WHERE { resource:Spotlight property:nominated_for ?h . ?h rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P166
Q502895
USER
How many people were awarded with that award ?
(c(Q502895),P166,Q2530270)
action count
action filter_type
action find_reverse
entity Q2530270
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q2530270']
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P166 resource:Q2530270 . ?t rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series']
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:award_received resource:Screen_Actors_Guild_Award_for_Outstanding_Performance_by_an_Ensemble_in_a_Drama_Series . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
44
Q446717 Q2118568 Q888178 Q235328 Q229319 Q229319 Q311892 Q184572 Q2491464 Q1150569 Q1150569 Q302794 Q302794 Q1190693 Q1086977 Q310551 Q1138674 Q1059226 Q104061 Q442300 Q114447 Q114447 Q115134 Q230109 Q299700 Q352180 Q352180 Q862039 Q862039 Q1117390 Q354181 Q354181 Q40048 Q4752066 Q4752066 Q23844 Q23844 Q23844 Q23844 Q294586 Q117995 Q185554 Q259760 Q230383
(c(Q502895),P166,Q2530270)
action count
action filter_type
action find_reverse
entity Q2530270
relation P166
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P166', 'Q2530270']
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P166 resource:Q2530270 . ?t rdf:type ontology:Q502895 }
Dabney Coleman RJ Mitte Bob Odenkirk Alison Brie Lorraine Bracco Lorraine Bracco William Petersen Martin Sheen David Robb Rich Sommer Rich Sommer Aaron Staton Aaron Staton Jack Huston Christopher Stanley Harold Perrineau Jesse Plemons James McDaniel Steve Buscemi Mark Moses Janel Moloney Janel Moloney Aida Turturro Cynthia Watros Daniel Dae Kim Bradley Whitford Bradley Whitford Robert Iler Robert Iler Stockard Channing Steven Van Zandt Steven Van Zandt Isaiah Washington Anatol Yusef Anatol Yusef George Clooney George Clooney George Clooney George Clooney Adewale Akinnuoye-Agbaje Phyllis Logan Matthew Fox Michelle Dockery Kelly Macdonald
44
action count
action filter_type
action find_reverse
entity Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series']
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:award_received resource:Screen_Actors_Guild_Award_for_Outstanding_Performance_by_an_Ensemble_in_a_Drama_Series . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18154496
P57
Q502895
USER
Who directed Spotlight ?
(Q18154496,P57,c(Q502895))
action filter_type
action find
entity Q18154496
relation P57
type Q502895
['Q18154496', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q18154496 property:P57 ?f }
Spotlight
action filter_type
action find
entity Spotlight
relation director
type common name
['Spotlight', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Spotlight property:director ?f }
[]
common name
Q514527
SYSTEM
Tom McCarthy
Q514527
(Q18154496,P57,c(Q502895))
action filter_type
action find
entity Q18154496
relation P57
type Q502895
[ANSWER] directed Spotlight
['Q18154496', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q18154496 property:P57 ?f }
Tom McCarthy
Tom McCarthy directed Spotlight
Tom McCarthy
action filter_type
action find
entity Spotlight
relation director
type common name
['Spotlight', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Spotlight property:director ?f }
[]