Simple Question (Direct)
Simple Question
Q3592096
P20
Q56061
USER
Where did the expiration of Étienne Canaye occur ?
(Q3592096,P20,c(Q56061))
action filter_type
action find
entity Q3592096
relation P20
type Q56061
['Q3592096', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q3592096 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Étienne Canaye
action filter_type
action find
entity Étienne Canaye
relation place of death
type administrative territorial entity
['Étienne Canaye', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Étienne_Canaye property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3592096,P20,c(Q56061))
action filter_type
action find
entity Q3592096
relation P20
type Q56061
The expiration of Étienne Canaye occurred in [ANSWER]
['Q3592096', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q3592096 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Paris
The expiration of Étienne Canaye occurred in Paris
Paris
action filter_type
action find
entity Étienne Canaye
relation place of death
type administrative territorial entity
['Étienne Canaye', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Étienne_Canaye property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P237
Q17335294
USER
What is the ensign for that administrative territory ?
(Q90,P237,c(Q17335294))
action filter_type
action find
entity Q90
relation P237
type Q17335294
['Q90', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?e WHERE { resource:Q90 property:P237 ?e . ?e rdf:type ontology:Q17335294 }
Paris
action filter_type
action find
entity Paris
relation coat of arms
type flag or coat of arms
['Paris', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?e WHERE { resource:Paris property:coat_of_arms ?e . ?e rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q1925366
SYSTEM
coat of arms of Paris
Q1925366
(Q90,P237,c(Q17335294))
action filter_type
action find
entity Q90
relation P237
type Q17335294
The ensign for that administrative territory is the [ANSWER]
['Q90', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?e WHERE { resource:Q90 property:P237 ?e . ?e rdf:type ontology:Q17335294 }
coat of arms of Paris
The ensign for that administrative territory is the coat of arms of Paris
coat of arms of Paris
action filter_type
action find
entity Paris
relation coat of arms
type flag or coat of arms
['Paris', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?e WHERE { resource:Paris property:coat_of_arms ?e . ?e rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P206
Q355304
USER
Which watercourse is located next to that administrative territory ?
(Q1925366,P206,c(Q355304))
action filter_type
action find
entity Q90
relation P206
type Q355304
['Q1925366', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?j WHERE { resource:Q90 property:P206 ?j . ?j rdf:type ontology:Q355304 }
Paris
action filter_type
action find
entity Paris
relation located next to body of water
type watercourse
['coat of arms of Paris', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?j WHERE { resource:Paris property:located_next_to_body_of_water ?j . ?j rdf:type ontology:watercourse }
[]
watercourse
Q1471
SYSTEM
Seine
Q1471
(Q1925366,P206,c(Q355304))
action filter_type
action find
entity Q90
relation P206
type Q355304
[ANSWER] is located next to that administrative territory
['Q1925366', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?j WHERE { resource:Q90 property:P206 ?j . ?j rdf:type ontology:Q355304 }
Seine
Seine is located next to that administrative territory
Seine
action filter_type
action find
entity Paris
relation located next to body of water
type watercourse
['coat of arms of Paris', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?j WHERE { resource:Paris property:located_next_to_body_of_water ?j . ?j rdf:type ontology:watercourse }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P180
Q3305213 Q811979
USER
How many paintings or architectural structures depict that watercourse ?
(c(Q3305213),P180,Q1471) (c(Q811979),P180,Q1471) (c(Q3305213),P180,Q1471) (c(Q811979),P180,Q1471)
action count
action union
action filter_type
action find_reverse
entity Q1471
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q1471
relation P180
type Q811979
[{'concept': 'Q3305213'}, 'P180', 'Q1471'] [{'concept': 'Q811979'}, 'P180', 'Q1471'] [{'concept': 'Q3305213'}, 'P180', 'Q1471'] [{'concept': 'Q811979'}, 'P180', 'Q1471']
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { ?o rdf:type ontology:Q811979 . ?o property:P180 resource:Q1471 } UNION { ?o property:P180 resource:Q1471 . ?o rdf:type ontology:Q3305213 } }
action count
action union
action filter_type
action find_reverse
entity Seine
relation depicts
type painting
action filter_type
action find_reverse
entity Seine
relation depicts
type architectural structure
[{'concept': 'painting'}, 'depicts', 'Seine'] [{'concept': 'architectural structure'}, 'depicts', 'Seine'] [{'concept': 'painting'}, 'depicts', 'Seine'] [{'concept': 'architectural structure'}, 'depicts', 'Seine']
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { ?o rdf:type ontology:architectural_structure . ?o property:depicts resource:Seine } UNION { ?o property:depicts resource:Seine . ?o rdf:type ontology:painting } }
[]
painting architectural structure
SYSTEM
2
Q16941162 Q3076034
(c(Q3305213),P180,Q1471) (c(Q811979),P180,Q1471) (c(Q3305213),P180,Q1471) (c(Q811979),P180,Q1471)
action count
action union
action filter_type
action find_reverse
entity Q1471
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q1471
relation P180
type Q811979
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q1471'] [{'concept': 'Q811979'}, 'P180', 'Q1471'] [{'concept': 'Q3305213'}, 'P180', 'Q1471'] [{'concept': 'Q811979'}, 'P180', 'Q1471']
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { ?o rdf:type ontology:Q811979 . ?o property:P180 resource:Q1471 } UNION { ?o property:P180 resource:Q1471 . ?o rdf:type ontology:Q3305213 } }
June Fontaine Miroir d'eau, la Seine et ses affluents
2
action count
action union
action filter_type
action find_reverse
entity Seine
relation depicts
type painting
action filter_type
action find_reverse
entity Seine
relation depicts
type architectural structure
[{'concept': 'painting'}, 'depicts', 'Seine'] [{'concept': 'architectural structure'}, 'depicts', 'Seine'] [{'concept': 'painting'}, 'depicts', 'Seine'] [{'concept': 'architectural structure'}, 'depicts', 'Seine']
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { ?o rdf:type ontology:architectural_structure . ?o property:depicts resource:Seine } UNION { ?o property:depicts resource:Seine . ?o rdf:type ontology:painting } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1492
P417
Q502895 Q1445650 Q56061
USER
Which administrative territories have adopted greater number of people and holidays as patron saint than Barcelona ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q1492
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Q1492 property:P417 ?y . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q1445650 } } } } . FILTER ( ?g > ?i ) . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?g ) WHERE { VALUES ( ?l ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?t rdf:type ?l } GROUP BY ?r } }
Barcelona
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Barcelona
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Barcelona property:patron_saint ?y . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:holiday } } } } . FILTER ( ?g > ?i ) . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?g ) WHERE { VALUES ( ?l ) { ( ontology:holiday ) ( ontology:common_name ) } . ?t rdf:type ?l } GROUP BY ?r } }
[]
common name holiday administrative territorial entity
Q39519 Q220
SYSTEM
Brinzio, Rome
Q39519 Q220
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q1492
relation P417
type Q502895
type Q1445650
[ANSWERS] have adopted greater number of people and holidays as patron saint than Barcelona
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Q1492 property:P417 ?y . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q1445650 } } } } . FILTER ( ?g > ?i ) . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?g ) WHERE { VALUES ( ?l ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?t rdf:type ?l } GROUP BY ?r } }
Brinzio Rome
Brinzio and Rome have adopted greater number of people and holidays as patron saint than Barcelona
Brinzio Rome
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Barcelona
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Barcelona property:patron_saint ?y . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:holiday } } } } . FILTER ( ?g > ?i ) . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?g ) WHERE { VALUES ( ?l ) { ( ontology:holiday ) ( ontology:common_name ) } . ?t rdf:type ?l } GROUP BY ?r } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3415
P417
Q502895 Q1445650 Q56061
USER
And also tell me about Ancona?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q3415
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } . resource:Q3415 property:P417 ?z } } . FILTER ( ?u > ?v ) . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?i } }
Ancona
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Ancona
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:common_name ) ( ontology:holiday ) } } . resource:Ancona property:patron_saint ?z } } . FILTER ( ?u > ?v ) . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?i } }
[]
common name holiday administrative territorial entity
Q39519 Q220
SYSTEM
Brinzio, Rome
Q39519 Q220
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q3415
relation P417
type Q502895
type Q1445650
[ANSWERS]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } . resource:Q3415 property:P417 ?z } } . FILTER ( ?u > ?v ) . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?i } }
Brinzio Rome
Brinzio Rome
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Ancona
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:common_name ) ( ontology:holiday ) } } . resource:Ancona property:patron_saint ?z } } . FILTER ( ?u > ?v ) . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?i } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q15617994 Q56061
USER
How many administrative territories or administrative territories share the border with that administrative territory ?
(Q39519,P47,c(Q15617994)) (Q39519,P47,c(Q56061)) (Q39519,P47,c(Q15617994)) (Q39519,P47,c(Q56061)) (Q220,P47,c(Q15617994)) (Q220,P47,c(Q56061))
['Q39519', 'P47', {'concept': 'Q15617994'}] ['Q39519', 'P47', {'concept': 'Q56061'}] ['Q39519', 'P47', {'concept': 'Q15617994'}] ['Q39519', 'P47', {'concept': 'Q56061'}] ['Q220', 'P47', {'concept': 'Q15617994'}] ['Q220', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Q39519 property:P47 ?z } UNION { resource:Q39519 property:P47 ?y } UNION { resource:Q39519 property:P47 ?z } UNION { resource:Q39519 property:P47 ?y } UNION { resource:Q6580 property:P47 ?z } UNION { resource:Q6580 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q56061 }
['Brinzio', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brinzio', 'shares border with', {'concept': 'administrative territorial entity'}] ['Brinzio', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brinzio', 'shares border with', {'concept': 'administrative territorial entity'}] ['Rome', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Rome', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Brinzio property:shares_border_with ?z } UNION { resource:Brinzio property:shares_border_with ?y } UNION { resource:Brinzio property:shares_border_with ?z } UNION { resource:Brinzio property:shares_border_with ?y } UNION { resource:Rome property:shares_border_with ?z } UNION { resource:Rome property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:administrative_territorial_entity }
[]
designation for an administrative territorial entity administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q39519
SYSTEM
Did you mean Brinzio ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Q39519 property:P47 ?z } UNION { resource:Q39519 property:P47 ?y } UNION { resource:Q39519 property:P47 ?z } UNION { resource:Q39519 property:P47 ?y } UNION { resource:Q6580 property:P47 ?z } UNION { resource:Q6580 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q56061 }
Did you mean Brinzio ?
Brinzio
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Brinzio property:shares_border_with ?z } UNION { resource:Brinzio property:shares_border_with ?y } UNION { resource:Brinzio property:shares_border_with ?z } UNION { resource:Brinzio property:shares_border_with ?y } UNION { resource:Rome property:shares_border_with ?z } UNION { resource:Rome property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q39519,P47,c(Q15617994)) (Q39519,P47,c(Q56061)) (Q39519,P47,c(Q15617994)) (Q39519,P47,c(Q56061)) (Q220,P47,c(Q15617994)) (Q220,P47,c(Q56061))
['Q39519', 'P47', {'concept': 'Q15617994'}] ['Q39519', 'P47', {'concept': 'Q56061'}] ['Q39519', 'P47', {'concept': 'Q15617994'}] ['Q39519', 'P47', {'concept': 'Q56061'}] ['Q220', 'P47', {'concept': 'Q15617994'}] ['Q220', 'P47', {'concept': 'Q56061'}]
['Brinzio', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brinzio', 'shares border with', {'concept': 'administrative territorial entity'}] ['Brinzio', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brinzio', 'shares border with', {'concept': 'administrative territorial entity'}] ['Rome', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Rome', 'shares border with', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
6
Q40768 Q40525 Q39505 Q40911 Q40229 Q6285
(Q39519,P47,c(Q15617994)) (Q39519,P47,c(Q56061)) (Q39519,P47,c(Q15617994)) (Q39519,P47,c(Q56061)) (Q220,P47,c(Q15617994)) (Q220,P47,c(Q56061))
[ANSWER]
['Q39519', 'P47', {'concept': 'Q15617994'}] ['Q39519', 'P47', {'concept': 'Q56061'}] ['Q39519', 'P47', {'concept': 'Q15617994'}] ['Q39519', 'P47', {'concept': 'Q56061'}] ['Q220', 'P47', {'concept': 'Q15617994'}] ['Q220', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Q39519 property:P47 ?z } UNION { resource:Q39519 property:P47 ?y } UNION { resource:Q39519 property:P47 ?z } UNION { resource:Q39519 property:P47 ?y } UNION { resource:Q6580 property:P47 ?z } UNION { resource:Q6580 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q56061 }
Valganna Rancio Valcuvia Castello Cabiaglio Bedero Valcuvia Induno Olona Varese
6
['Brinzio', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brinzio', 'shares border with', {'concept': 'administrative territorial entity'}] ['Brinzio', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brinzio', 'shares border with', {'concept': 'administrative territorial entity'}] ['Rome', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Rome', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { resource:Brinzio property:shares_border_with ?z } UNION { resource:Brinzio property:shares_border_with ?y } UNION { resource:Brinzio property:shares_border_with ?z } UNION { resource:Brinzio property:shares_border_with ?y } UNION { resource:Rome property:shares_border_with ?z } UNION { resource:Rome property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q220 Q18432
P6
Q502895
USER
How many people have Rome or Staten Island as their heads of government ?
(Q220,P6,c(Q502895)) (Q18432,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q220
relation P6
type Q502895
action filter_type
action find
entity Q18432
relation P6
type Q502895
['Q220', 'P6', {'concept': 'Q502895'}] ['Q18432', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?j property:P6 ?m . VALUES ( ?j ) { ( resource:Q220 ) ( resource:Q18432 ) } }
Rome Staten Island
action count
action union
action filter_type
action find
entity Rome
relation head of government
type common name
action filter_type
action find
entity Staten Island
relation head of government
type common name
['Rome', 'head of government', {'concept': 'common name'}] ['Staten Island', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?j property:head_of_government ?m . VALUES ( ?j ) { ( resource:Rome ) ( resource:Staten_Island ) } }
[]
common name
SYSTEM
3
Q6140579 Q23766020 Q405098
(Q220,P6,c(Q502895)) (Q18432,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q220
relation P6
type Q502895
action filter_type
action find
entity Q18432
relation P6
type Q502895
[ANSWER]
['Q220', 'P6', {'concept': 'Q502895'}] ['Q18432', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?j property:P6 ?m . VALUES ( ?j ) { ( resource:Q220 ) ( resource:Q18432 ) } }
James Oddo Virginia Raggi Ignazio Marino
3
action count
action union
action filter_type
action find
entity Rome
relation head of government
type common name
action filter_type
action find
entity Staten Island
relation head of government
type common name
['Rome', 'head of government', {'concept': 'common name'}] ['Staten Island', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?j property:head_of_government ?m . VALUES ( ?j ) { ( resource:Rome ) ( resource:Staten_Island ) } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q3554281 Q90
P840 P161
Q838948
USER
Which works of art have their narrative set in Paris and does not have Valérie Lagrange as actor ?
AND((c(Q838948),P840,Q90), NOT((c(Q838948),P161,Q3554281)))
action filter_type
action difference
action find_reverse
entity Q90
relation P840
action find_reverse
entity Q3554281
relation P161
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P840', 'Q90'], {'NOT': [[{'concept': 'Q838948'}, 'P161', 'Q3554281']]}]}
SELECT DISTINCT ?q WHERE { MINUS { ?q property:P161 resource:Q3554281 } . ?q property:P840 resource:Q90 . ?q rdf:type ontology:Q838948 }
Valérie Lagrange Paris
action filter_type
action difference
action find_reverse
entity Paris
relation narrative location
action find_reverse
entity Valérie Lagrange
relation cast member
type work of art
{'AND': [[{'concept': 'work of art'}, 'narrative location', 'Paris'], {'NOT': [[{'concept': 'work of art'}, 'cast member', 'Valérie Lagrange']]}]}
SELECT DISTINCT ?q WHERE { MINUS { ?q property:cast_member resource:Valérie_Lagrange } . ?q property:narrative_location resource:Paris . ?q rdf:type ontology:work_of_art }
[]
work of art
Q615629 Q288645 Q705232 Q7889876 Q2073748 Q1497343 Q1430490 Q1167731 Q206576 Q2275853
SYSTEM
Some of them are Black Venus, G.I. Joe: The Rise of Cobra, Arsène Lupin, Papa, maman, la bonne et moi, Goodbye First Love, Shots in Threequarter Time, A Tale of Two Cities, The Flying Deuces, Hugo, Mauvais Sang
Q3336853 Q1679822 Q2755366 Q687227 Q383355 Q344537 Q629181 Q152456 Q70069 Q164813 Q760244 Q1962088 Q3413468 Q2414388 Q3232939 Q165630 Q3470289 Q3088861 Q3433058 Q1756026 Q3230901 Q613216 Q1072666 Q1962409 Q3216383 Q1514402 Q3541061 Q318910 Q1168531 Q499851 Q1216344 Q498109 Q641200 Q2470361 Q2910170 Q3208284 Q1897128 Q152206 Q772786 Q201115 Q3818763 Q2602786 Q7730083 Q2162066 Q1049604 Q486591 Q2153741 Q2337365 Q2603395 Q1508611 Q1449551 Q3576777 Q17018370 Q637169 Q3535730 Q3222592 Q2986159 Q3072646 Q544943 Q15726752 Q505135 Q2592862 Q3226228 Q130297 Q1213495 Q3228290 Q905658 Q3228527 Q3365327 Q661693 Q388360 Q3483702 Q2315036 Q17632564 Q185033 Q6692304 Q3399892 Q1140906 Q2364856 Q700573 Q3220821 Q754745 Q506279 Q842714 Q1334572 Q1142181 Q468484 Q2060283 Q12978455 Q310617 Q1444948 Q1047872 Q2249423 Q1196439 Q2275853 Q1216022 Q3226620 Q1170077 Q689393 Q3226054 Q7755144 Q666084 Q1167731 Q616921 Q1430568 Q4141651 Q206124 Q1962618 Q14901482 Q183239 Q3177781 Q2884134 Q621716 Q15079015 Q7736562 Q2405812 Q2456779 Q686653 Q936037 Q767416 Q2576433 Q2893048 Q3549732 Q1094894 Q3344775 Q3562156 Q820501 Q7137182 Q804816 Q134075 Q971492 Q841390 Q3308281 Q1346590 Q383220 Q1169975 Q105624 Q6091800 Q14549501 Q911775 Q1144055 Q576371 Q2690314 Q1197778 Q3278302 Q277527 Q471239 Q300434 Q1197293 Q4985891 Q589894 Q3156595 Q2909320 Q3273495 Q956955 Q1497343 Q1498130 Q3206711 Q595612 Q1961742 Q2700632 Q3790748 Q7733564 Q920218 Q5533648 Q2630299 Q466101 Q1435221 Q2248179 Q595 Q3234453 Q3230487 Q1676240 Q2079962 Q846908 Q3201554 Q2713325 Q2886062 Q129044 Q444066 Q3087477 Q278476 Q593767 Q1169399 Q786222 Q1608853 Q94943 Q747570 Q598177 Q6902556 Q1827484 Q1125687 Q3208096 Q4157281 Q1156447 Q2824971 Q3212207 Q317311 Q511332 Q492332 Q2403656 Q1320416 Q1189690 Q8990628 Q15139304 Q132689 Q3235828 Q3234141 Q756572 Q228667 Q5564456 Q152181 Q1212609 Q816169 Q15990773 Q431660 Q128927 Q1579358 Q1195980 Q950893 Q3365330 Q821062 Q909561 Q906639 Q2870409 Q3222675 Q2405854 Q1754754 Q468868 Q2028403 Q377274 Q2839031 Q3346123 Q1516428 Q535316 Q1578604 Q2023726 Q2394596 Q629975 Q1643330 Q1212124 Q3235137 Q7435666 Q2932271 Q1407062 Q947729 Q128646 Q1424273 Q3223421 Q3527366 Q553879 Q1138798 Q3480723 Q3480725 Q232075 Q1862822 Q2471653 Q2308797 Q330332 Q1162072 Q655315 Q2288511 Q3203548 Q14895327 Q2365712 Q451434 Q2658078 Q11390744 Q630855 Q3431845 Q1426803 Q3005861 Q700726 Q225553 Q971985 Q17087335 Q1972090 Q1165071 Q1499699 Q191100 Q2870309 Q734672 Q2054923 Q2403045 Q865346 Q652114 Q1214253 Q63991 Q865580 Q1365797 Q3220367 Q952692 Q579608 Q324933 Q387370 Q1444720 Q822946 Q1964566 Q392424 Q4959480 Q152232 Q185445 Q1210863 Q86427 Q7770301 Q5595084 Q245638 Q1199687 Q531362 Q1530901 Q1798609 Q627975 Q16534305 Q339087 Q1217355 Q1746058 Q1858039 Q2571471 Q3208780 Q3212098 Q652186 Q12127509 Q7786068 Q1647641 Q3273963 Q2279661 Q522185 Q795223 Q3482860 Q8058267 Q2922145 Q935331 Q900708 Q576941 Q63278 Q829365 Q470330 Q1114422 Q570567 Q748599 Q601113 Q735383 Q2000541 Q939692 Q165847 Q2249260 Q3066636 Q1130211 Q7228009 Q1233213 Q3549647 Q1199881 Q2943857 Q240765 Q3032174 Q3814726 Q496266 Q1768311 Q617784 Q2270093 Q15904854 Q3228079 Q1218143 Q2824425 Q107724 Q512350 Q609488 Q7655394 Q1306660 Q304739 Q2922091 Q14901494 Q1235550 Q3567052 Q2298864 Q470806 Q628999 Q3206424 Q332085 Q244767 Q1757196 Q1058218 Q2609486 Q932814 Q1507299 Q3321478 Q2056463 Q3278366 Q7756859 Q664726 Q2300191 Q7839650 Q500304 Q223367 Q3560473 Q16219562 Q1924126 Q14949964 Q550558 Q17005003 Q5310154 Q19405 Q3966787 Q471951 Q195402 Q16248494 Q544664 Q1061541 Q3365258 Q2625628 Q1127625 Q7093143 Q1632158 Q617246 Q1199628 Q584766 Q1516603 Q3021408 Q6496466 Q1504143 Q2790720 Q2385231 Q1548895 Q2922219 Q1985917 Q16800962 Q3225457 Q3234838 Q1602612 Q1856418 Q3234529 Q3235762 Q2313239 Q3263650 Q309248 Q618499 Q207921 Q2045006 Q3220218 Q1540181 Q3851947 Q3228386 Q647814 Q211009 Q534447 Q7033619 Q586836 Q696122 Q927919 Q1262927 Q907640 Q3020363 Q300345 Q1257189 Q470375 Q6578100 Q3167518 Q768966 Q674851 Q939410 Q2258320 Q25513 Q2095063 Q1989547 Q17032458 Q3208935 Q383173 Q1774309 Q14914033 Q467283 Q3235614 Q1193923 Q3226558 Q1193924 Q788284 Q17363277 Q696057 Q723416 Q271690 Q193573 Q1094519 Q227548 Q162331 Q989225 Q3061609 Q1753626 Q683360 Q1283546 Q681962 Q1970972 Q1754626 Q819972 Q1455280 Q1170481 Q1452426 Q151737 Q1030261 Q678464 Q3209368 Q126652 Q1057015 Q1428430 Q3203700 Q3148529 Q208344 Q3493985 Q1953176 Q243643 Q2931932 Q3793591 Q1306717 Q3006902 Q2824418 Q2377198 Q1257118 Q15068448 Q1033136 Q21685110 Q6357059 Q2754899 Q1124617 Q2547714 Q1313289 Q996020 Q3233125 Q978949 Q1214555 Q232161 Q3202931 Q59026 Q2520816 Q3425443 Q12121757 Q545616 Q471913 Q71920 Q151606 Q3205197 Q3205196 Q3278137 Q3576623 Q5911818 Q508766 Q600674 Q3535913 Q3086650 Q2528652 Q29603 Q16202837 Q711916 Q582138 Q13642776 Q559310 Q2299961 Q602998 Q1304955 Q3552081 Q318838 Q903930 Q533789 Q1430490 Q1305647 Q17988542 Q25508 Q13553887 Q768133 Q834165 Q1062362 Q153723 Q24585 Q277281 Q6529947 Q2000427 Q670904 Q1808904 Q7760458 Q921042 Q18154116 Q3225250 Q236217 Q1643166 Q11547111 Q1219828 Q3546565 Q1383269 Q3494885 Q568465 Q1216114 Q1772459 Q2063364 Q25188 Q1887345 Q3421612 Q14942817 Q821767 Q7759016 Q653336 Q1056903 Q1272835 Q14949786 Q1454574 Q2321751 Q1166180 Q38561 Q160560 Q3352544 Q2016952 Q1139259 Q730765 Q17109064 Q662436 Q3895938 Q230616 Q2843580 Q701252 Q2891031 Q1107196 Q648168 Q332368 Q642559 Q3525728 Q1031257 Q634809 Q7740384 Q151792 Q1538224 Q3820012 Q107226 Q3213184 Q933437 Q3987896 Q222770 Q3058423 Q758587 Q231998 Q1636338 Q11682483 Q476311 Q2134387 Q6529364 Q743928 Q2387864 Q1127205 Q936425 Q751401 Q749169 Q12145585 Q380349 Q3265938 Q3211390 Q210812 Q2390111 Q1760597 Q1158191 Q913953 Q2182637 Q3235299 Q1962025 Q568518 Q1117790 Q615629 Q815681 Q3549320 Q1090970 Q142751 Q245465 Q10501864 Q184605 Q1528525 Q3203141 Q590444 Q426332 Q3561465 Q3204910 Q18636368 Q221102 Q547209 Q3469484 Q18209863 Q2397097 Q776085 Q319171 Q2586610 Q276407 Q1455551 Q7744530 Q3820032 Q14901478 Q873564 Q1044859 Q2162087 Q622785 Q1431780 Q3233639 Q2329314 Q1144399 Q2825316 Q784195 Q497308 Q1962098 Q3366044 Q2742237 Q2378372 Q2073748 Q1535201 Q3696453 Q308920 Q1144787 Q1702810 Q2979521 Q3222329 Q901140 Q3114616 Q722794 Q577757 Q3548431 Q12125315 Q780016 Q2382933 Q2625031 Q18421 Q5104788 Q249422 Q3339721 Q1192633 Q16677629 Q3208658 Q2026801 Q3407439 Q736420 Q484048 Q1195727 Q931671 Q531261 Q702437 Q288645 Q1282161 Q1253366 Q3525931 Q15624215 Q1189436 Q894896 Q3522995 Q25503 Q1405943 Q12126886 Q208108 Q3002614 Q3549295 Q994421 Q3235331 Q27795079 Q1193937 Q3492392 Q2806855 Q7137259 Q1218111 Q256416 Q673153 Q369393 Q904088 Q1403104 Q16254204 Q1406079 Q1167896 Q3232801 Q185048 Q3221640 Q3365358 Q1031821 Q267672 Q570780 Q2819226 Q20680329 Q3441169 Q1481125 Q206576 Q3470948 Q380848 Q830553 Q156519 Q2088887 Q1187607 Q1280179 Q347260 Q7757877 Q129068 Q5084671 Q1182497 Q167905 Q2721711 Q3474998 Q15907466 Q476439 Q16028676 Q2084770 Q18124648 Q3400630 Q1239178 Q1400547 Q1211134 Q277080 Q18170549 Q17063634 Q391143 Q3208871 Q6691591 Q1139698 Q3211510 Q1133651 Q3232035 Q16252581 Q1198812 Q1024660 Q2910266 Q174785 Q1058682 Q1653284 Q3824224 Q1662399 Q3576597 Q303235 Q705232 Q3333892 Q28234 Q681225 Q12339733 Q6417061 Q3211779 Q232020 Q586782 Q860371 Q1416440 Q521256 Q658847 Q637820 Q1394424 Q1372845 Q178700 Q2614123 Q3576187 Q152493 Q2927264 Q1784824 Q543462 Q148383 Q518485 Q245205 Q3224830 Q3790756 Q7889876 Q1216559 Q2413039 Q3548852 Q543860 Q282064 Q302695 Q7995389 Q3319961 Q406936 Q625780 Q1840729 Q3230495 Q1500287 Q177203 Q2627558 Q1306265 Q3025347 Q3139399 Q3461256 Q4371720 Q1056912 Q278997 Q15095097 Q2884090 Q3549890 Q3210569 Q487789 Q945470 Q2275081 Q634729 Q431477 Q1781433 Q827105 Q1088433 Q2394581 Q147068 Q223316 Q2478879 Q2860192 Q2401518 Q3209331 Q472105 Q1962929 Q1756571 Q7458614 Q1111576 Q3064669 Q1039018 Q1271407 Q11602165 Q1451948 Q232091 Q1211824 Q21998244 Q1877554 Q1664534 Q115214 Q504101 Q3362959 Q2930247 Q1403096 Q567577 Q550248 Q18228840 Q3425262 Q105031 Q3365095 Q15242249 Q3398002 Q2922980 Q1143501 Q2822909 Q1475617 Q248289 Q3241494 Q17264698 Q1736777 Q639855 Q1336867 Q1199513 Q185490 Q409064 Q3538167 Q3233232 Q3521913 Q2466298 Q2723719 Q914146 Q3411666 Q4407383 Q1726605 Q544607 Q636093 Q3561474 Q7720263 Q469480 Q244875 Q1627917 Q2162104 Q2053405 Q16028778 Q1168705 Q590397
AND((c(Q838948),P840,Q90), NOT((c(Q838948),P161,Q3554281)))
action filter_type
action difference
action find_reverse
entity Q90
relation P840
action find_reverse
entity Q3554281
relation P161
type Q838948
[ANSWERS] have their narrative set in Paris and does not have Valérie Lagrange as actor
{'AND': [[{'concept': 'Q838948'}, 'P840', 'Q90'], {'NOT': [[{'concept': 'Q838948'}, 'P161', 'Q3554281']]}]}
SELECT DISTINCT ?q WHERE { MINUS { ?q property:P161 resource:Q3554281 } . ?q property:P840 resource:Q90 . ?q rdf:type ontology:Q838948 }
His Brother Outside the Law L'Atlantide The Last Mistress Gentlemen Prefer Blondes Actrices The Boat on the Grass Munich District 13 Perfume: The Story of a Murderer Eyes Without a Face Lady L Four Adventures of Reinette and Mirabelle On Guard The Holes A Monster in Paris Hi Cousin! Les Brigades du Tigre My New Partner II Hell Les Aveux de l'innocent Zero for Conduct North Un indien dans la ville Laisse tes mains sur mes hanches Renaissance Truands Interview with the Vampire The Lavender Hill Mob Now You See Me The Passerby Rush Hour 3 In Case of Adversity Skate or Die Bonjour Paris ! La Dilettante Marie Antoinette César and Rosalie Gigot Stella The Art of Love Alice of Wonderland in Paris The Diamond Queen Casque d'or The Last Metro Anastasia The Long Teeth Modigliani La Chienne Moulin Rouge Fréquence meurtre In the French Style Secrets of the French Police Cloudy with a Chance of Meatballs All Fired Up Le désordre et la nuit My Sex Life... or How I Got into an Argument Le courage d'aimer Angelica and the King Get on Up Green Card I Don't Kiss An Adventurous Automobile Trip Metroland La Horde The Imaginary Voyage The Madwoman of Chaillot Speaking of Murder Paris Still Sings Anything for Her National Treasure: Book of Secrets Signes extérieurs de richesse Mister Lonely The Great Man Stealing Heaven Lovely to Look At Lovers of Paris To the Wonder Six in Paris The Round Up Le Capital Irréversible Night on Earth Jet Lag Everyone Says I Love You Revenge of the Pink Panther The Longest Day Savage Grace Sivandha Mann Paris, je t'aime A Chef in Love The Adventures of Picasso The Merry Widow The Umbrella Coup Mauvais Sang Who Is Killing the Great Chefs of Europe? Confessions of a Cheat The Phantom of the Opera The Aviator's Wife The President The Only Way Mata Hari The Flying Deuces La Tour Montparnasse Infernale The Marseille Contract Hollywood, je t'aime Midnight in Paris La Gifle Love Is in the Air The Curious Case of Benjamin Button Jet Set Bluebeard Madame Curie La Sapienza The Girl from Maxim's Fashions of 1934 A Little Romance Naughty Girl Victor Victoria Chinese in Paris Buffet froid Beau-père Une robe noire pour un tueur Beautiful But Dangerous Notre Paradis Voici le temps des assassins Housewives on the Job Paris: XY Faites sauter la banque! Les Mystères de Paris Me and the Colonel Le Solitaire Michael Kael in Katango Mon Oncle The Under-Gifted The Secret The Bourne Identity It Happened in Paris Quai d'Orsay Prêt-à-Porter District 13: Ultimatum Round Midnight The Great Garrick I Vampiri Hand in Hand Love in Paris Monsieur Batignole Le Bonheur de Pierre Le Jour Se Lève X-Men: Days of Future Past Ninotchka I Can't Sleep Bolero My Cousin from Warshaw Les Misérables Shots in Threequarter Time Exposed The Blonde from Peking De-Lovely Banzaï The Women on the 6th Floor I due mafiosi The Favour, the Watch and the Very Big Fish The Story of Adele H. Gentille Alouette Wild Side La Haine Phantom of the Opera The Three Musketeers The Intouchables Les Parents terribles Les Ambassadeurs The Spirit of St. Louis The Art of Love Reunion in France The Queen's Necklace Les Enfants Terribles Bartleby Max, Mon Amour Tanguy French Rarebit Le Signe du Lion The Sleeping Car Murders Le Concert A Gentle Woman Point Blank Angélique, Marquise des Anges An American in Paris Maximum Risk Monsieur Sans-Gêne Read My Lips Teheran 43 La dame de chez Maxim's Delta of Venus Le Père Noël est une ordure Adorable Liar The Queen of Hearts Un amour de Swann Bonjour tristesse Female Agents Babette Goes to War Killer Elite De l'autre côté du lit Viva la libertà 2 Autumns, 3 Winters Casablanca Young Sinners Les Nanas Taxi 2 99 Francs Girl Without a Room Max et les Ferrailleurs Girl on the Bridge Belphegor, Phantom of the Louvre Diplomacy Godzilla: Final Wars Monsieur Ibrahim La Chamade The Names of Love Elevator to the Gallows Maid in Paris Berlin Express Is Paris Burning? Wasabi In the Name of the Law The Phantom of the Moulin Rouge Baby Love Air of Paris The Return of the Tall Blond Man with One Black Shoe Under the Sand The Last Adventure Here's Berlin Nuit d'ivresse Hellphone At Sword's Point Goodbye Again Once a Lady If Paris Were Told to Us The Tourist Jefferson in Paris The Hedgehog Rendezvous in Paris Scotland Yard Investigator Cabaret Paradis Maytime A Bedtime Story 2 Days in Paris If I Were a Rich Man Le Guetteur Therese Code Unknown That Obscure Object of Desire Seul dans la nuit Seul dans Paris La Traversée de Paris Roberta The Beloved When the Cat's Away Mr. Bean's Holiday A New Kind of Love Le Dîner de Cons Crossroads The Story of a Boy Who Wanted to Be Kissed Eastern Boys The Other Side of Midnight La Jetée Les Dames du Bois de Boulogne Venus in Fur Love in the Afternoon Riens du tout Mad Love Mood Indigo The Night of the Generals Gervaise Target Wer I Met Him in Paris Danton Dear Brigitte Transformers: Revenge of the Fallen Under the Rainbow Celine and Julie Go Boating The French, They Are a Funny Race Tempo From Paris with Love La Boum 2 The Lady and the Duke Trouble Every Day Children of Paradise L'Auberge espagnole Happenstance The Two Orphans Above Suspicion Stolen Kisses Irma la Douce Destroy All Monsters The Dreamers Door on the Left as You Leave the Elevator Act of Love Breakfast in Paris Womanlight A Married Woman The Mad Adventures of Rabbi Jacob Breathless The Triumph of the Rat Grand Slam The Man Who Sleeps Herbie Goes to Monte Carlo Angel-A Casa Ricordi La Balance Bed and Board Brèves de comptoir The Big Picture The Truth Violette Nozière Svengali The Corsican File The Scarlet Lady Heartbeat Detector Before Sunset Simon Killer This Is the Night Made in U.S.A Back Streets of Paris Antoine and Antoinette Femme Fatale B. Monkey If You Die, I'll Kill You Young Man's Fancy Boum sur Paris Vidocq Sabrina Jhoom Barabar Jhoom The Woman in the Fifth Don't Touch the White Woman! La Grande Bouffe Les Misérables Last Tango in Paris The Rules of the Game House of Cards Diva Full Moon in Paris La Reine Margot 102 Dalmatians Seventh Heaven Fantômas The Double Life of Véronique Pont Neuf Dobermann Paris by Night Le deuxième souffle Va savoir Venus Beauty Institute In Praise of Love Kept Husbands Charade Bloodline Nana Le Petit Nicolas 27°C – Loaf Rock Le Viager Five Miles to Midnight Adieu les beaux jours Thunderball Jules and Jim L.627 Sweet Lies One Hour with You Holy Motors Bedevilled Age of Panic W.E. Innocents in Paris Trapeze Le Professionnel Chair de poule La Bandera Le Péril jeune Passport to Paris Born in 68 Sous le ciel de Paris Avenue Montaigne Three Colors: Blue Human Zoo Monsieur Taxi Cardinal Richelieu Meet the Twins 4 The Phantom of the Opera at the Royal Albert Hall Pickpocket Quartet Trhala fialky dynamitem Those Magnificent Men in their Flying Machines The Queen Imperial Violets Eden Grande École Night Train to Paris The Muppets Flowers from Nice Dual Alibi The Ninth Gate Foreign Intrigue The Man Who Cried What's New Pussycat? As Above, So Below Bel Ami A Prophet Paris Connections The Moderns Take Her, She's Mine One Rainy Afternoon Napoléon Good Morning, Boys Cléo from 5 to 7 Something's Gotta Give The Last Mitterrand Del Shodegan Latin Quarter Brother Orchid Paris Is Always Paris How Sweet It Is! The Lady in Question Final Arrangements The End of Agent W4C Picture Paris Little Boy Lost Gates of the Night All This, and Heaven Too Rififi Pearls of the Crown Beneath the Rooftops of Paris The Murderer Lives at Number 21 Louise The Three Musketeers Le Samouraï Chariots of Fire Peut-être The Ball of the Actresses Made in Paris Wedding in Paris The Counterfeiters of Paris Good Guys Wear Black Van Helsing An Elephant Can Be Extremely Deceptive Night in Montmartre The Witnesses Escape to Victory The Phantom of the Opera Polisse Team America: World Police On the Other Side of the Tracks A Cat in Paris Bob le flambeur Belle de Jour Cupcakes Anatomy of a Marriage: My Days with Jean-Marc Beyond the Clouds My New Partner The Rebound Seed Paris Belongs to Us The Story of Vernon and Irene Castle Boudu Saved from Drowning Seven Faces A Single Girl Caché L'Arbre, le maire et la médiathèque Bad Boy Street An American Werewolf in Paris Les Sous-doués en vacances The Hunchback of Notre Dame Le Roi des Champs-Élysées The Hunchback of Notre Dame Caprice Kvadrat Around the World in 80 Days French Cancan Mars Attacks! Moulin Rouge! The Tall Blond Man with One Black Shoe 36 Quai des Orfèvres The 400 Blows Madame Rosa Malavita Woman Times Seven Madeline Eden Log Tinker Tailor Soldier Spy Triple Agent The Private Affairs of Bel Ami The Transporter French Kiss The Brain Elena and Her Men Nathalie... Tatie Danielle Bonsoir La Garçonne Frantic Taken 2 Earth vs. the Flying Saucers Fanny by Gaslight Never Say... Never! Armageddon A Burning Hot Summer Man of the World Sherlock Holmes: A Game of Shadows CQ Count Max A Simple Story The Minister Adieu Philippine Tovarich Three Men and a Cradle Young Eagles Declaration of War Lost in Paris The Past The Bohemian Life Condorman The Mother and the Whore Emmanuelle Fantômas Black Thursday All the Boys Are Called Patrick Les Amants du Pont-Neuf One Day The Trap Three Worlds Covered Tracks Hold Back The Flying Fool The Tango Lesson Kiss of the Dragon La Moustache Place Vendôme School for Coquettes School for Coquettes Maigret Sees Red Because, Because of a Woman Hotel Paradiso La Reine Margot Last Known Address Tovaritch Anatomy of a Marriage: My Days with Françoise Arch of Triumph Les Jolies Choses China White Flight of the Red Balloon Henry & June Last Song in Paris Maigret Sets a Trap A Soldier's Daughter Never Cries Les Vampires A Man and His Dog Adieu Paris Tenue de soirée RED 2 La Boîte noire A Tale of Two Cities Anthony Adverse 1001 Grams Love on the Ground Nos héros sont morts ce soir Le Gentleman d'Epsom Looney Tunes: Back in Action Love Songs Inglourious Basterds July 14 Love on the Run Les Rois mages Ricky Chopin: Desire for Love Design for Living The Return of the Rat Inspector Clouseau The Smell of Us The Bet La Vie en Rose Hôtel du Nord No Tears for a Killer Four Horsemen of the Apocalypse Pirate TV Ex Tout ce qui brille Klimt Les Anges gardiens The Story of Marie and Julien Mesrine Inception The Refuge The Man Who Watched Trains Go By Le Week-End Wonder Bar The Queen of Moulin Rouge Head in the Clouds Quai des Orfèvres The Statement The Little Cafe Playtime The Perfect Furlough Julia The Madwoman of Chaillot The Da Vinci Code One Two Two Dans Paris The Class Blame It on Fidel Wild Over You Don: The Chase Begins Again Parigi o cara Hunting and Gathering Amitiés sincères Séraphine La Vérité si je mens ! Le Marginal Monsieur Klein A View to a Kill EuroTrip Thomas the Impostor Empire of the Wolves Paris Blues The Hostage Tower The Science of Sleep National Lampoon's European Vacation Charlie Chan in Paris The Bourne Ultimatum La Totale! Three Colors: White The Last Flight French Postcards Spy(ies) Pédale douce Two Brothers The Crazy Ray The Gilded Cage The Left-Handed Woman Razzia sur la chnouf Les Coeurs brûlés Nikita Bon Voyage The Colonel A Very Long Engagement Ronin Tais-toi ! Walking a Tightrope The Extraordinary Adventures of Adèle Blanc-Sec Lucky Jo La Passante The Expendables 2 Once a Thief Forget Paris The Last Time I Saw Paris Time to Leave The Legend of the Holy Drinker Bastards Le Diable et les Dix Commandements Love at Twenty The Emperor's New Clothes Black Venus The Pink Panther 2 A Private Affair Chéri The Train 5x2 Gabrielle 2012 Le Bossu L'Ennui LOL Les Bonnes Femmes Vive la France The Archangel Bastille Day 28 Weeks Later Silk Stockings Window to Paris Ballerina Chouchou Russian Dolls That Man from Rio La Belle Verte The Phantom of the Opera Obsession The King and the Chorus Girl The Man on the Eiffel Tower 16 ans... ou presque Everyman's Feast Coco Before Chanel Orpheus Coco Chanel & Igor Stravinsky Rendez-vous Les mains libres Bobby Deerfield For Scent-imental Reasons Adrienne Lecouvreur The Thief of Paris Americano Gay Purr-ee Have Mercy on Us All Rich, Young and Pretty The Game Is Over Goodbye First Love Nighthawks Antonieta The Discreet Charm of the Bourgeoisie Mad About Music Something in the Air My Way Le Dindon The Day of the Jackal Hannibal Rising Cafe Metropole Gigi A Certain Smile Justice League: The Flashpoint Paradox L'Atalante Le Jaguar A Woman Is a Woman The Clowns Travels with My Aunt À travers la forêt Nick Carter, le roi des détectives Hold-Up Sous les jupes des filles It's Voltaire's Fault Fantômas Promotion canapé Belle Toujours Amélie Marathon Man The Beat That My Heart Skipped Night and Day God of Gamblers Returns G.I. Joe: The Rise of Cobra Lenin in Paris The Smurfs 2 3 Days to Kill Lucy OSS 117: Cairo, Nest of Spies Bottle Shock Third Person Le Pont du Nord Wise Guys Paris in Spring Catch Me If You Can Love Crime A Lady in Paris L'aile ou la cuisse Les Saveurs du Palais. Le Pétomane The Hunchback of Notre Dame II Souvenirs 10th District Court Paris Calling The Three Musketeers Trouble in Paradise Same Old Song The Tragedy of Man Zarafa Marguerite de la nuit Playboy of Paris So Long Das Fräulein von Scuderi Les Fruits de l'été Dodsworth Maigret a Pigalle Paris or Perish Can-Can Superman II The Truth About Charlie AKA Comme un frère Rome-Paris-Rome Yamakasi Hugo Samson Julie & Julia Dangerous Liaisons Around the World in 80 Days The Passionate Plumber Edge of Tomorrow How Much Do You Love Me? ...And If We All Lived Together The Postman from Longjumeau Retro Puppet Master Charlie Chan in City in Darkness Marat/Sade Zazie dans le Métro Tout Va Bien A Scandal in Paris Queen Shoot the Piano Player The Marchers Paris Manhattan Erotic Liaisons Bachelor Days Are Over The Massacre at Paris LOL (Laughing Out Loud) Colonel Chabert Taken The Transporter Legacy Typhoon Chinese Zodiac The Ambassador's Daughter Love and Bruises House of Tolerance The Chocolate Girl Three Lives and Only One Death The Two Orphans The Little Cafe The Conformist Cash One Step to Eternity Savage Nights Café de Flore 360 Ladies Should Listen My Best Friend Paris Holiday The Three Musketeers Arsène Lupin Metropolitan Les Misérables Army of Shadows Three Girls in Paris Kiss and Make-Up La Poison Les Biches April in Paris Chato's Land Le Cercle rouge Trans-Europ-Express How to Steal a Million Amour Fall The Valet Merveilleuse Angélique The Players Zouzou Sabrina Two People Micmacs Total Eclipse Meeting Venus Tangos, the Exile of Gardel The Thirteen Chairs The Scarlet Pimpernel The Two Orphans Papa, maman, la bonne et moi L'Étudiante Fric-Frac Love Without Pity Peur sur la ville The Three Brothers L'Argent White Shoulders My Worst Nightmare The Sucker The Red Shoes Midnight The Friends Killing Zoe La Boum The Chef Le Divorce Deuxième vie Hollywoo Diamond Safari Killer Tomatoes Eat France La Traviata Big Fish Neuf mois ferme Villa Amalia Une époque formidable... The Mark of the Angels – Miserere La Grande Vadrouille Désirée Paris When It Sizzles Subway Boeing Boeing Sarah's Key Delicatessen Chrysalis Les Misérables Funny Face The Devil Wears Prada La Chinoise Archimède le clochard Le Magnifique Holiday for Henrietta The Return of the Musketeers Jupiter's Thigh Un monde nouveau Sexton Blake and the Hooded Terror Elles News Items Keroro Gunso the Super Movie 4: Gekishin Dragon Warriors Delicacy Young & Beautiful Paris Two English Girls The Bakery Girl of Monceau Paris 05:59 Mr. Arkadin Inside The Lady Banker The Razor's Edge Papy fait de la résistance It Happened in Paris Without Leaving an Address The League of Extraordinary Gentlemen Monte Carlo Le noir (te) vous va si bien Rendezvous in July Home Alone Paris, Palace Hôtel Doutes Populaire Boy Meets Girl A Shot in the Dark Accused The Young Lions The Accidental Tourist Linear My Old Lady Mauvaise Graine Paris 36 Hitting a New High Armour of God Hereafter The Concorde ... Airport '79 Housewarming Free Men The Moon and Sixpence Catacombs The Lovers of Montparnasse Inspector Blunder Pédale dure Monuments Men More The Blood of Others Love from Paris Vive la mariée... et la libération du Kurdistan The Broken Melody The Man Who Was Sherlock Holmes The Sun Also Rises Shall We Kiss? Under the Roofs of Paris The Fire Within Paris After Dark The Affair of the Necklace La Carapate
Black Venus, G.I. Joe: The Rise of Cobra, Arsène Lupin, Papa, maman, la bonne et moi, Goodbye First Love, Shots in Threequarter Time, A Tale of Two Cities, The Flying Deuces, Hugo and Mauvais Sang have their narrative set in Paris and does not have Valérie Lagrange as actor
Black Venus G.I. Joe: The Rise of Cobra Arsène Lupin Papa, maman, la bonne et moi Goodbye First Love Shots in Threequarter Time A Tale of Two Cities The Flying Deuces Hugo Mauvais Sang
action filter_type
action difference
action find_reverse
entity Paris
relation narrative location
action find_reverse
entity Valérie Lagrange
relation cast member
type work of art
{'AND': [[{'concept': 'work of art'}, 'narrative location', 'Paris'], {'NOT': [[{'concept': 'work of art'}, 'cast member', 'Valérie Lagrange']]}]}
SELECT DISTINCT ?q WHERE { MINUS { ?q property:cast_member resource:Valérie_Lagrange } . ?q property:narrative_location resource:Paris . ?q rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q288645
P86
Q502895
USER
Who composed that work of art ?
(Q288645,P86,c(Q502895))
action filter_type
action find
entity Q288645
relation P86
type Q502895
['Q288645', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q288645 property:P86 ?k . ?k rdf:type ontology:Q502895 }
G.I. Joe: The Rise of Cobra
action filter_type
action find
entity G.I. Joe: The Rise of Cobra
relation composer
type common name
['G.I. Joe: The Rise of Cobra', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:G.I._Joe:_The_Rise_of_Cobra property:composer ?k . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1497343
SYSTEM
Did you mean Shots in Threequarter Time ?
Q615629 Q288645 Q705232 Q7889876 Q2073748 Q1497343 Q1430490 Q1167731 Q206576 Q2275853
(Q615629,P86,c(Q502895)) (Q288645,P86,c(Q502895)) (Q705232,P86,c(Q502895)) (Q7889876,P86,c(Q502895)) (Q2073748,P86,c(Q502895)) (Q1497343,P86,c(Q502895)) (Q1430490,P86,c(Q502895)) (Q1167731,P86,c(Q502895)) (Q206576,P86,c(Q502895)) (Q2275853,P86,c(Q502895))
[ANSWER]
['Q615629', 'P86', {'concept': 'Q502895'}] ['Q288645', 'P86', {'concept': 'Q502895'}] ['Q705232', 'P86', {'concept': 'Q502895'}] ['Q7889876', 'P86', {'concept': 'Q502895'}] ['Q2073748', 'P86', {'concept': 'Q502895'}] ['Q1497343', 'P86', {'concept': 'Q502895'}] ['Q1430490', 'P86', {'concept': 'Q502895'}] ['Q1167731', 'P86', {'concept': 'Q502895'}] ['Q206576', 'P86', {'concept': 'Q502895'}] ['Q2275853', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q288645 property:P86 ?k . ?k rdf:type ontology:Q502895 }
Black Venus G.I. Joe: The Rise of Cobra Arsène Lupin Papa, maman, la bonne et moi Goodbye First Love Shots in Threequarter Time A Tale of Two Cities The Flying Deuces Hugo Mauvais Sang
Did you mean Shots in Threequarter Time ?
Shots in Threequarter Time
['Black Venus', 'composer', {'concept': 'common name'}] ['G.I. Joe: The Rise of Cobra', 'composer', {'concept': 'common name'}] ['Arsène Lupin', 'composer', {'concept': 'common name'}] ['Papa, maman, la bonne et moi', 'composer', {'concept': 'common name'}] ['Goodbye First Love', 'composer', {'concept': 'common name'}] ['Shots in Threequarter Time', 'composer', {'concept': 'common name'}] ['A Tale of Two Cities', 'composer', {'concept': 'common name'}] ['The Flying Deuces', 'composer', {'concept': 'common name'}] ['Hugo', 'composer', {'concept': 'common name'}] ['Mauvais Sang', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:G.I._Joe:_The_Rise_of_Cobra property:composer ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant G.I. Joe: The Rise of Cobra. Could you tell me the answer for that?
(Q288645,P86,c(Q502895))
Q288645
['Q288645', 'P86', {'concept': 'Q502895'}]
['G.I. Joe: The Rise of Cobra', 'composer', {'concept': 'common name'}]
[]
Q313537
SYSTEM
Alan Silvestri
Q313537
(Q288645,P86,c(Q502895))
action filter_type
action find
entity Q288645
relation P86
type Q502895
[ANSWER] composed that work of art
['Q288645', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q288645 property:P86 ?k . ?k rdf:type ontology:Q502895 }
Alan Silvestri
Alan Silvestri composed that work of art
Alan Silvestri
action filter_type
action find
entity G.I. Joe: The Rise of Cobra
relation composer
type common name
['G.I. Joe: The Rise of Cobra', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:G.I._Joe:_The_Rise_of_Cobra property:composer ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q313537 Q30
P27
Q15617994
USER
Is that person an inhabitant of United States of America ?
(Q313537,P27,Q30)
action is_in
entity Q30
action find
entity Q313537
relation P27
['Q313537', 'P27', 'Q30']
ASK WHERE { resource:Q313537 property:P27 resource:Q30 }
Alan Silvestri United States of America
action is_in
entity United States of America
action find
entity Alan Silvestri
relation country of citizenship
['Alan Silvestri', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Alan_Silvestri property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q313537,P27,Q30)
action is_in
entity Q30
action find
entity Q313537
relation P27
[ANSWER]
['Q313537', 'P27', 'Q30']
ASK WHERE { resource:Q313537 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Alan Silvestri
relation country of citizenship
['Alan Silvestri', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Alan_Silvestri property:country_of_citizenship resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2275853 Q106275
P161
Q502895
USER
Did Juliette Binoche star in Mauvais Sang ?
(Q2275853,P161,Q106275)
action is_in
entity Q106275
action find
entity Q2275853
relation P161
['Q2275853', 'P161', 'Q106275']
ASK WHERE { resource:Q2275853 property:P161 resource:Q106275 }
Mauvais Sang Juliette Binoche
action is_in
entity Juliette Binoche
action find
entity Mauvais Sang
relation cast member
['Mauvais Sang', 'cast member', 'Juliette Binoche']
ASK WHERE { resource:Mauvais_Sang property:cast_member resource:Juliette_Binoche }
[]
common name
SYSTEM
YES
(Q2275853,P161,Q106275)
action is_in
entity Q106275
action find
entity Q2275853
relation P161
[ANSWER]
['Q2275853', 'P161', 'Q106275']
ASK WHERE { resource:Q2275853 property:P161 resource:Q106275 }
Yes
action is_in
entity Juliette Binoche
action find
entity Mauvais Sang
relation cast member
['Mauvais Sang', 'cast member', 'Juliette Binoche']
ASK WHERE { resource:Mauvais_Sang property:cast_member resource:Juliette_Binoche }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2563510
P1303
Q34379 Q502895
USER
How many musical instruments do less number of people know to play than steel-string acoustic guitar ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q2563510
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:P1303 resource:Q2563510 . ?y rdf:type ontology:Q502895 } } . FILTER ( ?e < ?c ) }
steel-string acoustic guitar
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity steel-string acoustic guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:instrument resource:steel-string_acoustic_guitar . ?y rdf:type ontology:common_name } } . FILTER ( ?e < ?c ) }
[]
musical instrument common name
SYSTEM
49
Q201129 Q424017 Q890073 Q1178361 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q320341 Q1300012 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q2563510
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:P1303 resource:Q2563510 . ?y rdf:type ontology:Q502895 } } . FILTER ( ?e < ?c ) }
lyre acoustic bass guitar Body percussion davul Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone celesta toy piano cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
49
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity steel-string acoustic guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:instrument resource:steel-string_acoustic_guitar . ?y rdf:type ontology:common_name } } . FILTER ( ?e < ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3382191
P1303
Q34379 Q502895
USER
And also tell me about upright piano?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q3382191
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:P1303 resource:Q3382191 . ?h rdf:type ontology:Q502895 } } . FILTER ( ?n < ?b ) . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?c } }
upright piano
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity upright piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:instrument resource:upright_piano . ?h rdf:type ontology:common_name } } . FILTER ( ?n < ?b ) . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?c } }
[]
musical instrument common name
SYSTEM
53
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q3382191
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:P1303 resource:Q3382191 . ?h rdf:type ontology:Q502895 } } . FILTER ( ?n < ?b ) . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?c } }
lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar drum Kayamb Paraguayan harp
53
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity upright piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:instrument resource:upright_piano . ?h rdf:type ontology:common_name } } . FILTER ( ?n < ?b ) . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?n ) WHERE { ?k property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?c } }
[]