Simple Question (Direct)
Simple Question
Q5580786
P106
Q12737077
USER
Which occupation is the profession of Hampus Bohman ?
(Q5580786,P106,c(Q12737077))
action filter_type
action find
entity Q5580786
relation P106
type Q12737077
['Q5580786', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q5580786 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Hampus Bohman
action filter_type
action find
entity Hampus Bohman
relation occupation
type occupation
['Hampus Bohman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Hampus_Bohman property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5580786,P106,c(Q12737077))
action filter_type
action find
entity Q5580786
relation P106
type Q12737077
The [ANSWER] is the profession of Hampus Bohman
['Q5580786', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q5580786 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
association football player
The association football player is the profession of Hampus Bohman
association football player
action filter_type
action find
entity Hampus Bohman
relation occupation
type occupation
['Hampus Bohman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Hampus_Bohman property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P921
Q2342494
USER
Which collectables have that occupation as their principal topic ?
(c(Q2342494),P921,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?e WHERE { ?e property:P921 resource:Q937857 . ?e rdf:type ontology:Q2342494 }
association football player
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?e WHERE { ?e property:main_subject resource:association_football_player . ?e rdf:type ontology:collectable }
[]
collectable
Q24787529 Q23730991 Q19845002
SYSTEM
The PFA footballers' who's who 2008-09, Timeless Bees: Brentford F.C. who's who 1920-2006, Citizens and minstermen : a who's who of York City FC, 1922-1997
Q24787529 Q23730991 Q19845002
(c(Q2342494),P921,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[ANSWERS]
[{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?e WHERE { ?e property:P921 resource:Q937857 . ?e rdf:type ontology:Q2342494 }
The PFA footballers' who's who 2008-09 Timeless Bees: Brentford F.C. who's who 1920-2006 Citizens and minstermen : a who's who of York City FC, 1922-1997
The PFA footballers' who's who 2008-09, Timeless Bees: Brentford F.C. who's who 1920-2006 and Citizens and minstermen : a who's who of York City FC, 1922-1997 have that occupation as their principal topic
The PFA footballers' who's who 2008-09 Timeless Bees: Brentford F.C. who's who 1920-2006 Citizens and minstermen : a who's who of York City FC, 1922-1997
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?e WHERE { ?e property:main_subject resource:association_football_player . ?e rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q937857
P364 P921
Q2342494
USER
Which collectables have association football player as their main topic and were originally created in English language ?
AND((c(Q2342494),P921,Q937857), (c(Q2342494),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P921
action find_reverse
entity Q1860
relation P364
type Q2342494
{'AND': [[{'concept': 'Q2342494'}, 'P921', 'Q937857'], [{'concept': 'Q2342494'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?u WHERE { ?u property:P921 resource:Q937857 . ?u property:P364 resource:Q1860 . ?u rdf:type ontology:Q2342494 }
English association football player
action filter_type
action intersection
action find_reverse
entity association football player
relation main subject
action find_reverse
entity English
relation original language of work
type collectable
{'AND': [[{'concept': 'collectable'}, 'main subject', 'association football player'], [{'concept': 'collectable'}, 'original language of work', 'English']]}
SELECT DISTINCT ?u WHERE { ?u property:main_subject resource:association_football_player . ?u property:original_language_of_work resource:English . ?u rdf:type ontology:collectable }
[]
collectable
Q24787529 Q19845002
SYSTEM
The PFA footballers' who's who 2008-09, Citizens and minstermen : a who's who of York City FC, 1922-1997
Q24787529 Q19845002
AND((c(Q2342494),P921,Q937857), (c(Q2342494),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P921
action find_reverse
entity Q1860
relation P364
type Q2342494
[ANSWERS]
{'AND': [[{'concept': 'Q2342494'}, 'P921', 'Q937857'], [{'concept': 'Q2342494'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?u WHERE { ?u property:P921 resource:Q937857 . ?u property:P364 resource:Q1860 . ?u rdf:type ontology:Q2342494 }
The PFA footballers' who's who 2008-09 Citizens and minstermen : a who's who of York City FC, 1922-1997
The PFA footballers' who's who 2008-09 and Citizens and minstermen : a who's who of York City FC, 1922-1997 have association football player as their main topic and were originally created in English language
The PFA footballers' who's who 2008-09 Citizens and minstermen : a who's who of York City FC, 1922-1997
action filter_type
action intersection
action find_reverse
entity association football player
relation main subject
action find_reverse
entity English
relation original language of work
type collectable
{'AND': [[{'concept': 'collectable'}, 'main subject', 'association football player'], [{'concept': 'collectable'}, 'original language of work', 'English']]}
SELECT DISTINCT ?u WHERE { ?u property:main_subject resource:association_football_player . ?u property:original_language_of_work resource:English . ?u rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4184281 Q19845002
P495
Q15617994
USER
Which administrative territories are the origin of Citizens and minstermen : a who's who of York City FC, 1922-1997 or Angel Guts: Red Classroom ?
OR((Q19845002,P495,c(Q15617994)), (Q4184281,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q19845002
relation P495
action find
entity Q4184281
relation P495
type Q15617994
{'OR': [['Q19845002', 'P495', {'concept': 'Q15617994'}], ['Q4184281', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q4184281 property:P495 ?y } UNION { resource:Q19845002 property:P495 ?y } } . ?y rdf:type ontology:Q15617994 }
Angel Guts: Red Classroom Citizens and minstermen : a who's who of York City FC, 1922-1997
action filter_type
action union
action find
entity Citizens and minstermen : a who's who of York City FC, 1922-1997
relation country of origin
action find
entity Angel Guts: Red Classroom
relation country of origin
type designation for an administrative territorial entity
{'OR': [["Citizens and minstermen : a who's who of York City FC, 1922-1997", 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Angel Guts: Red Classroom', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Angel_Guts:_Red_Classroom property:country_of_origin ?y } UNION { resource:Citizens_and_minstermen_:_a_who's_who_of_York_City_FC,_1922-1997 property:country_of_origin ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q145
SYSTEM
Japan, United Kingdom
Q17 Q145
OR((Q19845002,P495,c(Q15617994)), (Q4184281,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q19845002
relation P495
action find
entity Q4184281
relation P495
type Q15617994
[ANSWERS] are the origin of Citizens and minstermen : a who's who of York City FC, 1922-1997 or Angel Guts: Red Classroom
{'OR': [['Q19845002', 'P495', {'concept': 'Q15617994'}], ['Q4184281', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q4184281 property:P495 ?y } UNION { resource:Q19845002 property:P495 ?y } } . ?y rdf:type ontology:Q15617994 }
Japan United Kingdom
Japan and United Kingdom are the origin of Citizens and minstermen : a who's who of York City FC, 1922-1997 or Angel Guts: Red Classroom
Japan United Kingdom
action filter_type
action union
action find
entity Citizens and minstermen : a who's who of York City FC, 1922-1997
relation country of origin
action find
entity Angel Guts: Red Classroom
relation country of origin
type designation for an administrative territorial entity
{'OR': [["Citizens and minstermen : a who's who of York City FC, 1922-1997", 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Angel Guts: Red Classroom', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Angel_Guts:_Red_Classroom property:country_of_origin ?y } UNION { resource:Citizens_and_minstermen_:_a_who's_who_of_York_City_FC,_1922-1997 property:country_of_origin ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1434
Q36649 Q386724 Q2342494
USER
Which collectables build up around 1 visual artss and works ?
(c(Q2342494),P1434,c(Q36649)|c(Q386724))
action approx
action union
action find_tuple_counts
relation P1434
type Q2342494
type Q36649
action find_tuple_counts
relation P1434
type Q2342494
type Q386724
value 1
[{'concept': 'Q2342494'}, 'P1434', [{'concept': 'Q36649'}, {'concept': 'Q386724'}]]
SELECT DISTINCT ?t WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?t WHERE { { ?t property:P1434 ?p . ?t rdf:type ontology:Q2342494 . ?p rdf:type ontology:Q36649 } UNION { ?t property:P1434 ?p . ?t rdf:type ontology:Q2342494 . ?p rdf:type ontology:Q386724 } } GROUP BY ?t } }
action approx
action union
action find_tuple_counts
relation describes the fictional universe
type collectable
type visual arts
action find_tuple_counts
relation describes the fictional universe
type collectable
type work
value 1
[{'concept': 'collectable'}, 'describes the fictional universe', [{'concept': 'visual arts'}, {'concept': 'work'}]]
SELECT DISTINCT ?t WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?t WHERE { { ?t property:describes_the_fictional_universe ?p . ?t rdf:type ontology:collectable . ?p rdf:type ontology:visual_arts } UNION { ?t property:describes_the_fictional_universe ?p . ?t rdf:type ontology:collectable . ?p rdf:type ontology:work } } GROUP BY ?t } }
[]
visual arts work collectable
Q2515250 Q2330751 Q16170368
SYSTEM
The Walking Dead: The Road to Woodbury, The Walking Dead: Rise of the Governor, The Walking Dead: The Fall of the Governor
Q27055639 Q16170368 Q23092039 Q22682114 Q2515250 Q2330751 Q23541423 Q27030881
(c(Q2342494),P1434,c(Q36649)|c(Q386724))
action approx
action union
action find_tuple_counts
relation P1434
type Q2342494
type Q36649
action find_tuple_counts
relation P1434
type Q2342494
type Q386724
value 1
[ANSWERS] build up around 1 visual artss and works
[{'concept': 'Q2342494'}, 'P1434', [{'concept': 'Q36649'}, {'concept': 'Q386724'}]]
SELECT DISTINCT ?t WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?t WHERE { { ?t property:P1434 ?p . ?t rdf:type ontology:Q2342494 . ?p rdf:type ontology:Q36649 } UNION { ?t property:P1434 ?p . ?t rdf:type ontology:Q2342494 . ?p rdf:type ontology:Q386724 } } GROUP BY ?t } }
Alien: The Weyland-Yutani Report The Walking Dead: The Fall of the Governor Robert Kirkman's The Walking Dead: Descent Robert Kirkman's The Walking Dead: Invasion The Walking Dead: The Road to Woodbury The Walking Dead: Rise of the Governor The Walking Dead: The Fall of the Governor (Part 2) Alien Woman: The Making of Lt. Ellen Ripley
The Walking Dead: The Road to Woodbury, The Walking Dead: Rise of the Governor and The Walking Dead: The Fall of the Governor build up around 1 visual artss and works
The Walking Dead: The Road to Woodbury The Walking Dead: Rise of the Governor The Walking Dead: The Fall of the Governor
action approx
action union
action find_tuple_counts
relation describes the fictional universe
type collectable
type visual arts
action find_tuple_counts
relation describes the fictional universe
type collectable
type work
value 1
[{'concept': 'collectable'}, 'describes the fictional universe', [{'concept': 'visual arts'}, {'concept': 'work'}]]
SELECT DISTINCT ?t WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) ?t WHERE { { ?t property:describes_the_fictional_universe ?p . ?t rdf:type ontology:collectable . ?p rdf:type ontology:visual_arts } UNION { ?t property:describes_the_fictional_universe ?p . ?t rdf:type ontology:collectable . ?p rdf:type ontology:work } } GROUP BY ?t } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2330751
P800
Q502895
USER
Who is author of that collectable ?
(c(Q502895),P800,Q2330751)
action filter_type
action find_reverse
entity Q2330751
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q2330751']
SELECT DISTINCT ?a WHERE { ?a property:P800 resource:Q2330751 . ?a rdf:type ontology:Q502895 }
The Walking Dead: Rise of the Governor
action filter_type
action find_reverse
entity The Walking Dead: Rise of the Governor
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Walking Dead: Rise of the Governor']
SELECT DISTINCT ?a WHERE { ?a property:notable_work resource:The_Walking_Dead:_Rise_of_the_Governor . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2515250
SYSTEM
Did you mean The Walking Dead: The Road to Woodbury ?
Q2515250 Q2330751 Q16170368
(c(Q502895),P800,Q2515250) (c(Q502895),P800,Q2330751) (c(Q502895),P800,Q16170368)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q2515250'] [{'concept': 'Q502895'}, 'P800', 'Q2330751'] [{'concept': 'Q502895'}, 'P800', 'Q16170368']
SELECT DISTINCT ?a WHERE { ?a property:P800 resource:Q2330751 . ?a rdf:type ontology:Q502895 }
The Walking Dead: The Road to Woodbury The Walking Dead: Rise of the Governor The Walking Dead: The Fall of the Governor
Did you mean The Walking Dead: The Road to Woodbury ?
The Walking Dead: The Road to Woodbury
[{'concept': 'common name'}, 'notable work', 'The Walking Dead: The Road to Woodbury'] [{'concept': 'common name'}, 'notable work', 'The Walking Dead: Rise of the Governor'] [{'concept': 'common name'}, 'notable work', 'The Walking Dead: The Fall of the Governor']
SELECT DISTINCT ?a WHERE { ?a property:notable_work resource:The_Walking_Dead:_Rise_of_the_Governor . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant The Walking Dead: Rise of the Governor. Could you tell me the answer for that?
(c(Q502895),P800,Q2330751)
Q2330751
[{'concept': 'Q502895'}, 'P800', 'Q2330751']
[{'concept': 'common name'}, 'notable work', 'The Walking Dead: Rise of the Governor']
[]
Q6166426
SYSTEM
Jay Bonansinga
Q6166426
(c(Q502895),P800,Q2330751)
action filter_type
action find_reverse
entity Q2330751
relation P800
type Q502895
[ANSWER] is author of that collectable
[{'concept': 'Q502895'}, 'P800', 'Q2330751']
SELECT DISTINCT ?a WHERE { ?a property:P800 resource:Q2330751 . ?a rdf:type ontology:Q502895 }
Jay Bonansinga
Jay Bonansinga is author of that collectable
Jay Bonansinga
action filter_type
action find_reverse
entity The Walking Dead: Rise of the Governor
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Walking Dead: Rise of the Governor']
SELECT DISTINCT ?a WHERE { ?a property:notable_work resource:The_Walking_Dead:_Rise_of_the_Governor . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q2342494
USER
Which collectables have been dubbed by around 5 people ?
(c(Q2342494),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
value 5
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?c ) WHERE { ?b property:P725 ?t . ?b rdf:type ontology:Q2342494 . ?t rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?c = 5 ) }
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
value 5
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?c ) WHERE { ?b property:voice_actor ?t . ?b rdf:type ontology:collectable . ?t rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?c = 5 ) }
[]
common name collectable
Q53351
SYSTEM
Accel World
Q53351
(c(Q2342494),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
value 5
[ANSWER] have been dubbed by around 5 people
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?c ) WHERE { ?b property:P725 ?t . ?b rdf:type ontology:Q2342494 . ?t rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?c = 5 ) }
Accel World
Accel World have been dubbed by around 5 people
Accel World
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
value 5
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?c ) WHERE { ?b property:voice_actor ?t . ?b rdf:type ontology:collectable . ?t rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?c = 5 ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q53351 Q1085493
P800
Q502895
USER
Does Christoph Marthaler have that collectable as their notable work ?
(Q1085493,P800,Q53351)
action is_in
entity Q1085493
action find
entity Q53351
relation P800
['Q1085493', 'P800', 'Q53351']
ASK WHERE { resource:Q53351 property:P800 resource:Q1085493 }
Accel World Christoph Marthaler
action is_in
entity Christoph Marthaler
action find
entity Accel World
relation notable work
['Christoph Marthaler', 'notable work', 'Accel World']
ASK WHERE { resource:Accel_World property:notable_work resource:Christoph_Marthaler }
[]
common name
SYSTEM
NO
(Q1085493,P800,Q53351)
action is_in
entity Q1085493
action find
entity Q53351
relation P800
[ANSWER]
['Q1085493', 'P800', 'Q53351']
ASK WHERE { resource:Q53351 property:P800 resource:Q1085493 }
No
action is_in
entity Christoph Marthaler
action find
entity Accel World
relation notable work
['Christoph Marthaler', 'notable work', 'Accel World']
ASK WHERE { resource:Accel_World property:notable_work resource:Christoph_Marthaler }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16170368 Q18045418
P50
Q502895
USER
Did ALPrajapati write The Walking Dead: The Fall of the Governor ?
(Q16170368,P50,Q18045418)
action is_in
entity Q18045418
action find
entity Q16170368
relation P50
['Q16170368', 'P50', 'Q18045418']
ASK WHERE { resource:Q16170368 property:P50 resource:Q18045418 }
The Walking Dead: The Fall of the Governor ALPrajapati
action is_in
entity ALPrajapati
action find
entity The Walking Dead: The Fall of the Governor
relation author
['The Walking Dead: The Fall of the Governor', 'author', 'ALPrajapati']
ASK WHERE { resource:The_Walking_Dead:_The_Fall_of_the_Governor property:author resource:ALPrajapati }
[]
common name
SYSTEM
NO
(Q16170368,P50,Q18045418)
action is_in
entity Q18045418
action find
entity Q16170368
relation P50
[ANSWER]
['Q16170368', 'P50', 'Q18045418']
ASK WHERE { resource:Q16170368 property:P50 resource:Q18045418 }
No
action is_in
entity ALPrajapati
action find
entity The Walking Dead: The Fall of the Governor
relation author
['The Walking Dead: The Fall of the Governor', 'author', 'ALPrajapati']
ASK WHERE { resource:The_Walking_Dead:_The_Fall_of_the_Governor property:author resource:ALPrajapati }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16170368
P136
Q1792379
USER
What can be considered as category for that collectable ?
action filter_type
action find
entity Q16170368
relation P136
type Q1792379
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1792379 . resource:Q16170368 property:P136 ?q }
The Walking Dead: The Fall of the Governor
action filter_type
action find
entity The Walking Dead: The Fall of the Governor
relation genre
type art genre
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:art_genre . resource:The_Walking_Dead:_The_Fall_of_the_Governor property:genre ?q }
[]
art genre
Q8261
SYSTEM
novel
Q8261
action filter_type
action find
entity Q16170368
relation P136
type Q1792379
A [ANSWER] can be considered as category for that collectable
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1792379 . resource:Q16170368 property:P136 ?q }
novel
A novel can be considered as category for that collectable
novel
action filter_type
action find
entity The Walking Dead: The Fall of the Governor
relation genre
type art genre
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:art_genre . resource:The_Walking_Dead:_The_Fall_of_the_Governor property:genre ?q }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q17 Q778
P915
Q838948
USER
How many works of art were filmed at Japan and The Bahamas ?
(c(Q838948),P915,Q17) (c(Q838948),P915,Q778)
action count
action intersection
action filter_type
action find_reverse
entity Q17
relation P915
type Q838948
action filter_type
action find_reverse
entity Q778
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q17'] [{'concept': 'Q838948'}, 'P915', 'Q778']
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P915 resource:Q17 . ?j rdf:type ontology:Q838948 . ?j property:P915 resource:Q778 . ?j rdf:type ontology:Q838948 }
Japan The Bahamas
action count
action intersection
action filter_type
action find_reverse
entity Japan
relation filming location
type work of art
action filter_type
action find_reverse
entity The Bahamas
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Japan'] [{'concept': 'work of art'}, 'filming location', 'The Bahamas']
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:filming_location resource:Japan . ?j rdf:type ontology:work_of_art . ?j property:filming_location resource:The_Bahamas . ?j rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
2
Q107761 Q320423
(c(Q838948),P915,Q17) (c(Q838948),P915,Q778)
action count
action intersection
action filter_type
action find_reverse
entity Q17
relation P915
type Q838948
action filter_type
action find_reverse
entity Q778
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q17'] [{'concept': 'Q838948'}, 'P915', 'Q778']
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P915 resource:Q17 . ?j rdf:type ontology:Q838948 . ?j property:P915 resource:Q778 . ?j rdf:type ontology:Q838948 }
You Only Live Twice The Spy Who Loved Me
2
action count
action intersection
action filter_type
action find_reverse
entity Japan
relation filming location
type work of art
action filter_type
action find_reverse
entity The Bahamas
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Japan'] [{'concept': 'work of art'}, 'filming location', 'The Bahamas']
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:filming_location resource:Japan . ?j rdf:type ontology:work_of_art . ?j property:filming_location resource:The_Bahamas . ?j rdf:type ontology:work_of_art }
[]