Simple Question (Direct)
Simple Question
Q8578973
P20
Q56061
USER
Where did José María Iribarren die ?
(Q8578973,P20,c(Q56061))
action filter_type
action find
entity Q8578973
relation P20
type Q56061
['Q8578973', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q8578973 property:P20 ?a . ?a rdf:type ontology:Q56061 }
José María Iribarren
action filter_type
action find
entity José María Iribarren
relation place of death
type administrative territorial entity
['José María Iribarren', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:José_María_Iribarren property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q10282
SYSTEM
Pamplona
Q10282
(Q8578973,P20,c(Q56061))
action filter_type
action find
entity Q8578973
relation P20
type Q56061
José María Iribarren died in [ANSWER]
['Q8578973', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q8578973 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Pamplona
José María Iribarren died in Pamplona
Pamplona
action filter_type
action find
entity José María Iribarren
relation place of death
type administrative territorial entity
['José María Iribarren', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:José_María_Iribarren property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8578973
P106
Q12737077
USER
What are the job of that person ?
(Q10282,P106,c(Q12737077))
action filter_type
action find
entity Q8578973
relation P106
type Q12737077
['Q10282', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q8578973 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
José María Iribarren
action filter_type
action find
entity José María Iribarren
relation occupation
type occupation
['Pamplona', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:José_María_Iribarren property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q1930187 Q36180
SYSTEM
journalist, writer
Q1930187 Q36180
(Q10282,P106,c(Q12737077))
action filter_type
action find
entity Q8578973
relation P106
type Q12737077
The job of that person are a [ANSWERS]
['Q10282', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q8578973 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
journalist writer
The job of that person are a journalist and writer
journalist writer
action filter_type
action find
entity José María Iribarren
relation occupation
type occupation
['Pamplona', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:José_María_Iribarren property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2634
P417
Q1445650 Q502895 Q56061
USER
Which administrative territories have greater number of holidays or people as their patron saint than Naples ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q2634
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Q2634 property:P417 ?h . { { ?h rdf:type ontology:Q502895 } UNION { ?h rdf:type ontology:Q1445650 } } } } . FILTER ( ?e > ?o ) . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?e ) WHERE { { ?u property:P417 ?q . ?u rdf:type ontology:Q56061 . ?q rdf:type ontology:Q502895 } UNION { ?u property:P417 ?q . ?q rdf:type ontology:Q1445650 . ?u rdf:type ontology:Q56061 } } GROUP BY ?u } }
Naples
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Naples
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Naples property:patron_saint ?h . { { ?h rdf:type ontology:common_name } UNION { ?h rdf:type ontology:holiday } } } } . FILTER ( ?e > ?o ) . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?e ) WHERE { { ?u property:patron_saint ?q . ?u rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:common_name } UNION { ?u property:patron_saint ?q . ?q rdf:type ontology:holiday . ?u rdf:type ontology:administrative_territorial_entity } } GROUP BY ?u } }
[]
holiday common name administrative territorial entity
Q39519 Q220
SYSTEM
Brinzio, Rome
Q39519 Q220
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q2634
relation P417
type Q1445650
type Q502895
[ANSWERS] have greater number of holidays or people as their patron saint than Naples
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Q2634 property:P417 ?h . { { ?h rdf:type ontology:Q502895 } UNION { ?h rdf:type ontology:Q1445650 } } } } . FILTER ( ?e > ?o ) . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?e ) WHERE { { ?u property:P417 ?q . ?u rdf:type ontology:Q56061 . ?q rdf:type ontology:Q502895 } UNION { ?u property:P417 ?q . ?q rdf:type ontology:Q1445650 . ?u rdf:type ontology:Q56061 } } GROUP BY ?u } }
Brinzio Rome
Brinzio and Rome have greater number of holidays or people as their patron saint than Naples
Brinzio Rome
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Naples
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Naples property:patron_saint ?h . { { ?h rdf:type ontology:common_name } UNION { ?h rdf:type ontology:holiday } } } } . FILTER ( ?e > ?o ) . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?e ) WHERE { { ?u property:patron_saint ?q . ?u rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:common_name } UNION { ?u property:patron_saint ?q . ?q rdf:type ontology:holiday . ?u rdf:type ontology:administrative_territorial_entity } } GROUP BY ?u } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q297224
P417
Q1445650 Q502895 Q56061
USER
And what about Padergnone?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q297224
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?k ) WHERE { { ?i property:P417 ?d . ?d rdf:type ontology:Q1445650 . ?i rdf:type ontology:Q56061 } UNION { ?i property:P417 ?d . ?i rdf:type ontology:Q56061 . ?d rdf:type ontology:Q502895 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q297224 property:P417 ?c . { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } } } } . FILTER ( ?k > ?g ) }
Padergnone
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Padergnone
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?k ) WHERE { { ?i property:patron_saint ?d . ?d rdf:type ontology:holiday . ?i rdf:type ontology:administrative_territorial_entity } UNION { ?i property:patron_saint ?d . ?i rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:common_name } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Padergnone property:patron_saint ?c . { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:holiday ) ( ontology:common_name ) } } } } . FILTER ( ?k > ?g ) }
[]
holiday common name administrative territorial entity
Q649 Q2807 Q490
SYSTEM
Moscow, Madrid, Milan
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q39519 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q220 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q297224
relation P417
type Q1445650
type Q502895
[ANSWERS]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?k ) WHERE { { ?i property:P417 ?d . ?d rdf:type ontology:Q1445650 . ?i rdf:type ontology:Q56061 } UNION { ?i property:P417 ?d . ?i rdf:type ontology:Q56061 . ?d rdf:type ontology:Q502895 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q297224 property:P417 ?c . { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } } } } . FILTER ( ?k > ?g ) }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brinzio Brolo Kastritsa Platres Altrei Molista Mölten Rome Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
Moscow Madrid Milan
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Padergnone
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?k ) WHERE { { ?i property:patron_saint ?d . ?d rdf:type ontology:holiday . ?i rdf:type ontology:administrative_territorial_entity } UNION { ?i property:patron_saint ?d . ?i rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:common_name } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Padergnone property:patron_saint ?c . { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:holiday ) ( ontology:common_name ) } } } } . FILTER ( ?k > ?g ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q262661
P190
Q515
USER
Are Martfű sister town of those administrative territories ?
(Q262661,P190,Q649) (Q262661,P190,Q2807) (Q262661,P190,Q490)
action is_in
entity prev_answer
action find
entity Q262661
relation P190
['Q262661', 'P190', 'Q649'] ['Q262661', 'P190', 'Q2807'] ['Q262661', 'P190', 'Q490']
ASK WHERE { VALUES ( ?n ) { ( resource:Q5818 ) ( resource:Q187352 ) ( resource:Q11974 ) } . resource:Q262661 property:P190 ?n }
Martfű
action is_in
entity prev_answer
action find
entity Martfű
relation sister city
['Martfű', 'sister city', 'Moscow'] ['Martfű', 'sister city', 'Madrid'] ['Martfű', 'sister city', 'Milan']
ASK WHERE { VALUES ( ?n ) { ( resource:Córdoba ) ( resource:Kavala ) ( resource:Las_Palmas_de_Gran_Canaria ) } . resource:Martfű property:sister_city ?n }
[]
city
SYSTEM
NO
(Q262661,P190,Q649) (Q262661,P190,Q2807) (Q262661,P190,Q490)
action is_in
entity prev_answer
action find
entity Q262661
relation P190
[ANSWER]
['Q262661', 'P190', 'Q649'] ['Q262661', 'P190', 'Q2807'] ['Q262661', 'P190', 'Q490']
ASK WHERE { VALUES ( ?n ) { ( resource:Q5818 ) ( resource:Q187352 ) ( resource:Q11974 ) } . resource:Q262661 property:P190 ?n }
No
action is_in
entity prev_answer
action find
entity Martfű
relation sister city
['Martfű', 'sister city', 'Moscow'] ['Martfű', 'sister city', 'Madrid'] ['Martfű', 'sister city', 'Milan']
ASK WHERE { VALUES ( ?n ) { ( resource:Córdoba ) ( resource:Kavala ) ( resource:Las_Palmas_de_Gran_Canaria ) } . resource:Martfű property:sister_city ?n }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1930187 Q7444315 Q36180
P425
Q12737077
USER
Does Secretary of Justice of Puerto Rico and writer belong to journalist ?
(Q1930187,P425,Q7444315) (Q1930187,P425,Q36180)
action is_in
entity Q1930187
action intersection
action find_reverse
entity Q7444315
relation P425
action find_reverse
entity Q36180
relation P425
['Q1930187', 'P425', 'Q7444315'] ['Q1930187', 'P425', 'Q36180']
ASK WHERE { resource:Q1930187 property:P425 resource:Q7444315 . resource:Q1930187 property:P425 resource:Q36180 }
journalist Secretary of Justice of Puerto Rico writer
action is_in
entity journalist
action intersection
action find_reverse
entity Secretary of Justice of Puerto Rico
relation field of this occupation
action find_reverse
entity writer
relation field of this occupation
['journalist', 'field of this occupation', 'Secretary of Justice of Puerto Rico'] ['journalist', 'field of this occupation', 'writer']
ASK WHERE { resource:journalist property:field_of_this_occupation resource:Secretary_of_Justice_of_Puerto_Rico . resource:journalist property:field_of_this_occupation resource:writer }
[]
occupation
SYSTEM
NO and YES respectively
(Q1930187,P425,Q7444315) (Q1930187,P425,Q36180)
action is_in
entity Q1930187
action intersection
action find_reverse
entity Q7444315
relation P425
action find_reverse
entity Q36180
relation P425
[ANSWER]
['Q1930187', 'P425', 'Q7444315'] ['Q1930187', 'P425', 'Q36180']
ASK WHERE { resource:Q1930187 property:P425 resource:Q7444315 . resource:Q1930187 property:P425 resource:Q36180 }
NO and YES respectively
action is_in
entity journalist
action intersection
action find_reverse
entity Secretary of Justice of Puerto Rico
relation field of this occupation
action find_reverse
entity writer
relation field of this occupation
['journalist', 'field of this occupation', 'Secretary of Justice of Puerto Rico'] ['journalist', 'field of this occupation', 'writer']
ASK WHERE { resource:journalist property:field_of_this_occupation resource:Secretary_of_Justice_of_Puerto_Rico . resource:journalist property:field_of_this_occupation resource:writer }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q490 Q53166 Q664998
P47
Q15617994
USER
Does Milan share border with Cordovado and Evessen ?
(Q490,P47,Q53166) (Q490,P47,Q664998)
action is_in
entity Q490
action intersection
action find_reverse
entity Q53166
relation P47
action find_reverse
entity Q664998
relation P47
['Q490', 'P47', 'Q53166'] ['Q490', 'P47', 'Q664998']
ASK WHERE { resource:Q490 property:P47 resource:Q53166 . resource:Q490 property:P47 resource:Q664998 }
Milan Cordovado Evessen
action is_in
entity Milan
action intersection
action find_reverse
entity Cordovado
relation shares border with
action find_reverse
entity Evessen
relation shares border with
['Milan', 'shares border with', 'Cordovado'] ['Milan', 'shares border with', 'Evessen']
ASK WHERE { resource:Milan property:shares_border_with resource:Cordovado . resource:Milan property:shares_border_with resource:Evessen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q490,P47,Q53166) (Q490,P47,Q664998)
action is_in
entity Q490
action intersection
action find_reverse
entity Q53166
relation P47
action find_reverse
entity Q664998
relation P47
[ANSWER]
['Q490', 'P47', 'Q53166'] ['Q490', 'P47', 'Q664998']
ASK WHERE { resource:Q490 property:P47 resource:Q53166 . resource:Q490 property:P47 resource:Q664998 }
No
action is_in
entity Milan
action intersection
action find_reverse
entity Cordovado
relation shares border with
action find_reverse
entity Evessen
relation shares border with
['Milan', 'shares border with', 'Cordovado'] ['Milan', 'shares border with', 'Evessen']
ASK WHERE { resource:Milan property:shares_border_with resource:Cordovado . resource:Milan property:shares_border_with resource:Evessen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1930187 Q19799599
P425
Q12737077
USER
Does mountain biker have journalist as the associated field of occupation ?
(Q1930187,P425,Q19799599)
action is_in
entity Q19799599
action find
entity Q1930187
relation P425
['Q1930187', 'P425', 'Q19799599']
ASK WHERE { resource:Q1930187 property:P425 resource:Q19799599 }
journalist mountain biker
action is_in
entity mountain biker
action find
entity journalist
relation field of this occupation
['journalist', 'field of this occupation', 'mountain biker']
ASK WHERE { resource:journalist property:field_of_this_occupation resource:mountain_biker }
[]
occupation
SYSTEM
NO
(Q1930187,P425,Q19799599)
action is_in
entity Q19799599
action find
entity Q1930187
relation P425
[ANSWER]
['Q1930187', 'P425', 'Q19799599']
ASK WHERE { resource:Q1930187 property:P425 resource:Q19799599 }
No
action is_in
entity mountain biker
action find
entity journalist
relation field of this occupation
['journalist', 'field of this occupation', 'mountain biker']
ASK WHERE { resource:journalist property:field_of_this_occupation resource:mountain_biker }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q649 Q24639
P915
Q838948
USER
How many works of art had Moscow and Vancouver as their location of filming ?
(c(Q838948),P915,Q649) (c(Q838948),P915,Q24639)
action count
action intersection
action filter_type
action find_reverse
entity Q649
relation P915
type Q838948
action filter_type
action find_reverse
entity Q24639
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q649'] [{'concept': 'Q838948'}, 'P915', 'Q24639']
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:P915 resource:Q24639 . ?n rdf:type ontology:Q838948 . ?n property:P915 resource:Q649 . ?n rdf:type ontology:Q838948 }
Moscow Vancouver
action count
action intersection
action filter_type
action find_reverse
entity Moscow
relation filming location
type work of art
action filter_type
action find_reverse
entity Vancouver
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Moscow'] [{'concept': 'work of art'}, 'filming location', 'Vancouver']
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:filming_location resource:Vancouver . ?n rdf:type ontology:work_of_art . ?n property:filming_location resource:Moscow . ?n rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
2
Q628154 Q3429263
(c(Q838948),P915,Q649) (c(Q838948),P915,Q24639)
action count
action intersection
action filter_type
action find_reverse
entity Q649
relation P915
type Q838948
action filter_type
action find_reverse
entity Q24639
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q649'] [{'concept': 'Q838948'}, 'P915', 'Q24639']
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:P915 resource:Q24639 . ?n rdf:type ontology:Q838948 . ?n property:P915 resource:Q649 . ?n rdf:type ontology:Q838948 }
Mission: Impossible – Ghost Protocol Blade
2
action count
action intersection
action filter_type
action find_reverse
entity Moscow
relation filming location
type work of art
action filter_type
action find_reverse
entity Vancouver
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Moscow'] [{'concept': 'work of art'}, 'filming location', 'Vancouver']
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:filming_location resource:Vancouver . ?n rdf:type ontology:work_of_art . ?n property:filming_location resource:Moscow . ?n rdf:type ontology:work_of_art }
[]