Simple Question (Direct)
Simple Question
Q1120043
P19
Q56061
USER
Which administrative territory was Francesco Petagna born at ?
(Q1120043,P19,c(Q56061))
action filter_type
action find
entity Q1120043
relation P19
type Q56061
['Q1120043', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q1120043 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Francesco Petagna
action filter_type
action find
entity Francesco Petagna
relation place of birth
type administrative territorial entity
['Francesco Petagna', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Francesco_Petagna property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13498
SYSTEM
Taranto
Q13498
(Q1120043,P19,c(Q56061))
action filter_type
action find
entity Q1120043
relation P19
type Q56061
Francesco Petagna was born in [ANSWER]
['Q1120043', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q1120043 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Taranto
Francesco Petagna was born in Taranto
Taranto
action filter_type
action find
entity Francesco Petagna
relation place of birth
type administrative territorial entity
['Francesco Petagna', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Francesco_Petagna property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13498
P36
Q15089
USER
Which province of Italy has that administrative territory as its administrative centre ?
(c(Q15089),P36,Q13498)
action filter_type
action find_reverse
entity Q13498
relation P36
type Q15089
[{'concept': 'Q15089'}, 'P36', 'Q13498']
SELECT DISTINCT ?d WHERE { ?d property:P36 resource:Q13498 . ?d rdf:type ontology:Q15089 }
Taranto
action filter_type
action find_reverse
entity Taranto
relation capital
type province of Italy
[{'concept': 'province of Italy'}, 'capital', 'Taranto']
SELECT DISTINCT ?d WHERE { ?d property:capital resource:Taranto . ?d rdf:type ontology:province_of_Italy }
[]
province of Italy
Q16283
SYSTEM
Province of Taranto
Q16283
(c(Q15089),P36,Q13498)
action filter_type
action find_reverse
entity Q13498
relation P36
type Q15089
Of [ANSWER] has that administrative territory as its administrative centre
[{'concept': 'Q15089'}, 'P36', 'Q13498']
SELECT DISTINCT ?d WHERE { ?d property:P36 resource:Q13498 . ?d rdf:type ontology:Q15089 }
Province of Taranto
Of Province of Taranto has that administrative territory as its administrative centre
Province of Taranto
action filter_type
action find_reverse
entity Taranto
relation capital
type province of Italy
[{'concept': 'province of Italy'}, 'capital', 'Taranto']
SELECT DISTINCT ?d WHERE { ?d property:capital resource:Taranto . ?d rdf:type ontology:province_of_Italy }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13498
P931
Q62447
USER
Which aerodrome serves the place named Taranto ?
(c(Q62447),P931,Q13498)
action filter_type
action find_reverse
entity Q13498
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q13498']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q62447 . ?g property:P931 resource:Q13498 }
Taranto
action filter_type
action find_reverse
entity Taranto
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Taranto']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:aerodrome . ?g property:place_served_by_airport resource:Taranto }
[]
aerodrome
Q1056589
SYSTEM
Taranto-Grottaglie Airport
Q1056589
(c(Q62447),P931,Q13498)
action filter_type
action find_reverse
entity Q13498
relation P931
type Q62447
Taranto [ANSWER] serves the place named Taranto
[{'concept': 'Q62447'}, 'P931', 'Q13498']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q62447 . ?g property:P931 resource:Q13498 }
Taranto-Grottaglie Airport
Taranto Taranto-Grottaglie Airport serves the place named Taranto
Taranto-Grottaglie Airport
action filter_type
action find_reverse
entity Taranto
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Taranto']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:aerodrome . ?g property:place_served_by_airport resource:Taranto }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13498
P47
Q15617994
USER
Which administrative territories are bordered by Taranto ?
(Q13498,P47,c(Q15617994))
action filter_type
action find
entity Q13498
relation P47
type Q15617994
['Q13498', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q13498 property:P47 ?o . ?o rdf:type ontology:Q15617994 }
Taranto
action filter_type
action find
entity Taranto
relation shares border with
type designation for an administrative territorial entity
['Taranto', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Taranto property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q52014 Q52012 Q52008
SYSTEM
Grottaglie, Fragagnano, Carosino
Q52012 Q52038 Q52036 Q52014 Q52017 Q52011 Q52025 Q52026 Q52027 Q52024 Q52035 Q52034 Q52033 Q52018 Q52008 Q51882
(Q13498,P47,c(Q15617994))
action filter_type
action find
entity Q13498
relation P47
type Q15617994
[ANSWERS] are bordered by Taranto
['Q13498', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q13498 property:P47 ?o . ?o rdf:type ontology:Q15617994 }
Fragagnano Statte San Marzano di San Giuseppe Grottaglie Leporano Faggiano Monteiasi Montemesola Monteparano Massafra San Giorgio Ionico Roccaforzata Pulsano Lizzano Carosino Villa Castelli
Grottaglie, Fragagnano and Carosino are bordered by Taranto
Grottaglie Fragagnano Carosino
action filter_type
action find
entity Taranto
relation shares border with
type designation for an administrative territorial entity
['Taranto', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Taranto property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q13498
P47
Q56061
USER
Are Taranto bordered by those administrative territories ?
(Q13498,P47,Q52014) (Q13498,P47,Q52012) (Q13498,P47,Q52008)
action is_in
entity prev_answer
action find
entity Q13498
relation P47
['Q13498', 'P47', 'Q52014'] ['Q13498', 'P47', 'Q52012'] ['Q13498', 'P47', 'Q52008']
ASK WHERE { resource:Q13498 property:P47 ?a . VALUES ( ?a ) { ( resource:Q52012 ) ( resource:Q52038 ) ( resource:Q52036 ) } }
Taranto
action is_in
entity prev_answer
action find
entity Taranto
relation shares border with
['Taranto', 'shares border with', 'Grottaglie'] ['Taranto', 'shares border with', 'Fragagnano'] ['Taranto', 'shares border with', 'Carosino']
ASK WHERE { resource:Taranto property:shares_border_with ?a . VALUES ( ?a ) { ( resource:Fragagnano ) ( resource:Statte ) ( resource:San_Marzano_di_San_Giuseppe ) } }
[]
administrative territorial entity
SYSTEM
YES
(Q13498,P47,Q52014) (Q13498,P47,Q52012) (Q13498,P47,Q52008)
action is_in
entity prev_answer
action find
entity Q13498
relation P47
[ANSWER]
['Q13498', 'P47', 'Q52014'] ['Q13498', 'P47', 'Q52012'] ['Q13498', 'P47', 'Q52008']
ASK WHERE { resource:Q13498 property:P47 ?a . VALUES ( ?a ) { ( resource:Q52012 ) ( resource:Q52038 ) ( resource:Q52036 ) } }
Yes
action is_in
entity prev_answer
action find
entity Taranto
relation shares border with
['Taranto', 'shares border with', 'Grottaglie'] ['Taranto', 'shares border with', 'Fragagnano'] ['Taranto', 'shares border with', 'Carosino']
ASK WHERE { resource:Taranto property:shares_border_with ?a . VALUES ( ?a ) { ( resource:Fragagnano ) ( resource:Statte ) ( resource:San_Marzano_di_San_Giuseppe ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with max number of administrative territories ?
(c(Q15617994),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?i ) { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?m ) WHERE { ?w property:P530 ?l . ?w rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 } GROUP BY ?w } } . { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?u ) WHERE { ?p property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?p } . FILTER ( ?u = ?i ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?i ) { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?m ) WHERE { ?w property:diplomatic_relation ?l . ?w rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } } . { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?u ) WHERE { ?p property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?p } . FILTER ( ?u = ?i ) }
[]
political territorial entity designation for an administrative territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q15617994),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWER] have diplomatic relationships with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?i ) { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?m ) WHERE { ?w property:P530 ?l . ?w rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 } GROUP BY ?w } } . { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?u ) WHERE { ?p property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?p } . FILTER ( ?u = ?i ) }
Germany
Germany have diplomatic relationships with max number of administrative territories
Germany
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?i ) { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?m ) WHERE { ?w property:diplomatic_relation ?l . ?w rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } } . { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?u ) WHERE { ?p property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?p } . FILTER ( ?u = ?i ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q52008
P47
Q15617994 Q56061
USER
How many administrative territories and administrative territories have an adjacent border with Carosino ?
(c(Q15617994),P47,Q52008) (c(Q56061),P47,Q52008)
action count
action union
action filter_type
action find_reverse
entity Q52008
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q52008
relation P47
type Q56061
[{'concept': 'Q15617994'}, 'P47', 'Q52008'] [{'concept': 'Q56061'}, 'P47', 'Q52008']
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?p ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?r rdf:type ?p }
Carosino
action count
action union
action filter_type
action find_reverse
entity Carosino
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Carosino
relation shares border with
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Carosino'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Carosino']
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?p ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?r rdf:type ?p }
[]
designation for an administrative territorial entity administrative territorial entity
SYSTEM
6
Q52027 Q52014 Q52025 Q13498 Q52012 Q52035
(c(Q15617994),P47,Q52008) (c(Q56061),P47,Q52008)
action count
action union
action filter_type
action find_reverse
entity Q52008
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q52008
relation P47
type Q56061
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q52008'] [{'concept': 'Q56061'}, 'P47', 'Q52008']
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?p ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?r rdf:type ?p }
Monteparano Grottaglie Monteiasi Taranto Fragagnano San Giorgio Ionico
6
action count
action union
action filter_type
action find_reverse
entity Carosino
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Carosino
relation shares border with
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Carosino'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Carosino']
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { VALUES ( ?p ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?r rdf:type ?p }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q1490 Q13498
P190
Q56061
USER
Which administrative territories are twin cities of Taranto but not Tokyo ?
AND((Q13498,P190,c(Q56061)), NOT((Q1490,P190,c(Q56061))))
action filter_type
action difference
action find
entity Q13498
relation P190
action find
entity Q1490
relation P190
type Q56061
{'AND': [['Q13498', 'P190', {'concept': 'Q56061'}], {'NOT': [['Q1490', 'P190', {'concept': 'Q56061'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Q13498 property:P190 ?a . FILTER NOT EXISTS { resource:Q1490 property:P190 ?a } . ?a rdf:type ontology:Q56061 }
Tokyo Taranto
action filter_type
action difference
action find
entity Taranto
relation sister city
action find
entity Tokyo
relation sister city
type administrative territorial entity
{'AND': [['Taranto', 'sister city', {'concept': 'administrative territorial entity'}], {'NOT': [['Tokyo', 'sister city', {'concept': 'administrative territorial entity'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Taranto property:sister_city ?a . FILTER NOT EXISTS { resource:Tokyo property:sister_city ?a } . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2308046 Q11959 Q43070
SYSTEM
Sparti, Alicante, Donetsk
Q2308046 Q11959 Q43070
AND((Q13498,P190,c(Q56061)), NOT((Q1490,P190,c(Q56061))))
action filter_type
action difference
action find
entity Q13498
relation P190
action find
entity Q1490
relation P190
type Q56061
[ANSWERS] are twin cities of Taranto but not Tokyo
{'AND': [['Q13498', 'P190', {'concept': 'Q56061'}], {'NOT': [['Q1490', 'P190', {'concept': 'Q56061'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Q13498 property:P190 ?a . FILTER NOT EXISTS { resource:Q1490 property:P190 ?a } . ?a rdf:type ontology:Q56061 }
Sparti Alicante Donetsk
Sparti, Alicante and Donetsk are twin cities of Taranto but not Tokyo
Sparti Alicante Donetsk
action filter_type
action difference
action find
entity Taranto
relation sister city
action find
entity Tokyo
relation sister city
type administrative territorial entity
{'AND': [['Taranto', 'sister city', {'concept': 'administrative territorial entity'}], {'NOT': [['Tokyo', 'sister city', {'concept': 'administrative territorial entity'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Taranto property:sister_city ?a . FILTER NOT EXISTS { resource:Tokyo property:sister_city ?a } . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2308046 Q11959 Q43070
P17
Q15617994
USER
Which administrative territories are Sparti, Alicante and Donetsk present in ?
(Q2308046,P17,c(Q15617994)) (Q11959,P17,c(Q15617994)) (Q43070,P17,c(Q15617994))
action union
action filter_type
action find
entity Q2308046
relation P17
type Q15617994
action filter_type
action find
entity Q11959
relation P17
type Q15617994
action filter_type
action find
entity Q43070
relation P17
type Q15617994
['Q2308046', 'P17', {'concept': 'Q15617994'}] ['Q11959', 'P17', {'concept': 'Q15617994'}] ['Q43070', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?m ) { ( resource:Q11959 ) ( resource:Q2308046 ) } . ?m property:P17 ?q }
Sparti Alicante Donetsk
action union
action filter_type
action find
entity Sparti
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Alicante
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Donetsk
relation country
type designation for an administrative territorial entity
['Sparti', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Alicante', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Donetsk', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?m ) { ( resource:Alicante ) ( resource:Sparti ) } . ?m property:country ?q }
[]
designation for an administrative territorial entity
Q41 Q29 Q212
SYSTEM
Greece, Spain, Ukraine
Q41 Q29 Q212
(Q2308046,P17,c(Q15617994)) (Q11959,P17,c(Q15617994)) (Q43070,P17,c(Q15617994))
action union
action filter_type
action find
entity Q2308046
relation P17
type Q15617994
action filter_type
action find
entity Q11959
relation P17
type Q15617994
action filter_type
action find
entity Q43070
relation P17
type Q15617994
[ANSWERS]
['Q2308046', 'P17', {'concept': 'Q15617994'}] ['Q11959', 'P17', {'concept': 'Q15617994'}] ['Q43070', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?m ) { ( resource:Q11959 ) ( resource:Q2308046 ) } . ?m property:P17 ?q }
Greece Spain Ukraine
Which administrative territories are Sparti, Alicante and Donetsk present in
Greece Spain Ukraine
action union
action filter_type
action find
entity Sparti
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Alicante
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Donetsk
relation country
type designation for an administrative territorial entity
['Sparti', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Alicante', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Donetsk', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?m ) { ( resource:Alicante ) ( resource:Sparti ) } . ?m property:country ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P376
Q16889133
USER
Where is Spain located ?
(Q29,P376,c(Q16889133))
action filter_type
action find
entity Q29
relation P376
type Q16889133
['Q29', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?p WHERE { resource:Q29 property:P376 ?p . ?p rdf:type ontology:Q16889133 }
Spain
action filter_type
action find
entity Spain
relation located on astronomical body
type class
['Spain', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?p WHERE { resource:Spain property:located_on_astronomical_body ?p . ?p rdf:type ontology:class }
[]
class
Q2
SYSTEM
Earth
Q2
(Q29,P376,c(Q16889133))
action filter_type
action find
entity Q29
relation P376
type Q16889133
Spain is located on [ANSWER]
['Q29', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?p WHERE { resource:Q29 property:P376 ?p . ?p rdf:type ontology:Q16889133 }
Earth
Spain is located on Earth
Earth
action filter_type
action find
entity Spain
relation located on astronomical body
type class
['Spain', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?p WHERE { resource:Spain property:located_on_astronomical_body ?p . ?p rdf:type ontology:class }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P272
Q838948
USER
Which work of art had Spain as its motion picture studio ?
(c(Q838948),P272,Q29)
action filter_type
action find_reverse
entity Q29
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q29']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q838948 . ?s property:P272 resource:Q29 }
Spain
action filter_type
action find_reverse
entity Spain
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Spain']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:work_of_art . ?s property:production_company resource:Spain }
[]
work of art
Q5664643
SYSTEM
Foosball
Q5664643
(c(Q838948),P272,Q29)
action filter_type
action find_reverse
entity Q29
relation P272
type Q838948
[ANSWER] had Spain as its motion picture studio
[{'concept': 'Q838948'}, 'P272', 'Q29']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q838948 . ?s property:P272 resource:Q29 }
Foosball
Foosball had Spain as its motion picture studio
Foosball
action filter_type
action find_reverse
entity Spain
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Spain']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:work_of_art . ?s property:production_company resource:Spain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5664643
P161
Q502895
USER
Who were casted in that work of art ?
(Q5664643,P161,c(Q502895))
action filter_type
action find
entity Q5664643
relation P161
type Q502895
['Q5664643', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q5664643 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Foosball
action filter_type
action find
entity Foosball
relation cast member
type common name
['Foosball', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Foosball property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
common name
Q295233 Q151892 Q3291248
SYSTEM
John Leguizamo, Ariana Grande, Mariana Otero
Q2484359 Q3291248 Q174346 Q6015813 Q465987 Q7518873 Q16208715 Q6789524 Q338812 Q2269132 Q726925 Q5714512 Q3304492 Q2907990 Q342962 Q295233 Q8777355 Q363978 Q298347 Q3290318 Q294812 Q2706805 Q723256 Q2050620 Q6122946 Q151892 Q5224803 Q19190 Q208117 Q4727306 Q2322261 Q7599998
(Q5664643,P161,c(Q502895))
action filter_type
action find
entity Q5664643
relation P161
type Q502895
[ANSWERS] were casted in that work of art
['Q5664643', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q5664643 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Ralf Little Mariana Otero Katie Holmes Miguel Ángel Rodríguez David Schneider Simon Greenall Jon Glover Matt Wilkinson Chazz Palminteri Diego Ramos Juan J. Campanella Axel Kuschevatzky Eugenio Derbez Bobby Moynihan Anthony Head John Leguizamo Ernesto Claudio Andrew Knott Nicholas Hoult Pablo Rago Matthew Morrison Taran Killam Peter Serafinowicz Alex Norton Sebastián Mogordoy Ariana Grande Darren Boyd Rupert Grint Bella Thorne Alistair McGowan Rob Brydon Stanley Townsend
John Leguizamo, Ariana Grande and Mariana Otero were casted in that work of art
John Leguizamo Ariana Grande Mariana Otero
action filter_type
action find
entity Foosball
relation cast member
type common name
['Foosball', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Foosball property:cast_member ?g . ?g rdf:type ontology:common_name }
[]