Simple Question (Direct)
Simple Question
Q22671034
P1435
Q2065736
USER
Which cultural property gives the heritage status of Altar Wings of Roudníky ?
(Q22671034,P1435,c(Q2065736))
action filter_type
action find
entity Q22671034
relation P1435
type Q2065736
['Q22671034', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?v WHERE { resource:Q22671034 property:P1435 ?v . ?v rdf:type ontology:Q2065736 }
Altar Wings of Roudníky
action filter_type
action find
entity Altar Wings of Roudníky
relation heritage status
type cultural property
['Altar Wings of Roudníky', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?v WHERE { resource:Altar_Wings_of_Roudníky property:heritage_status ?v . ?v rdf:type ontology:cultural_property }
[]
cultural property
Q649434
SYSTEM
national monument of the Czech Republic
Q649434
(Q22671034,P1435,c(Q2065736))
action filter_type
action find
entity Q22671034
relation P1435
type Q2065736
The [ANSWER] gives the heritage status of Altar Wings of Roudníky
['Q22671034', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?v WHERE { resource:Q22671034 property:P1435 ?v . ?v rdf:type ontology:Q2065736 }
national monument of the Czech Republic
The national monument of the Czech Republic gives the heritage status of Altar Wings of Roudníky
national monument of the Czech Republic
action filter_type
action find
entity Altar Wings of Roudníky
relation heritage status
type cultural property
['Altar Wings of Roudníky', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?v WHERE { resource:Altar_Wings_of_Roudníky property:heritage_status ?v . ?v rdf:type ontology:cultural_property }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22671034
P186
Q214609
USER
Which material is used to manufacture that painting ?
(Q649434,P186,c(Q214609))
action filter_type
action find
entity Q22671034
relation P186
type Q214609
['Q649434', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?g WHERE { resource:Q22671034 property:P186 ?g . ?g rdf:type ontology:Q214609 }
Altar Wings of Roudníky
action filter_type
action find
entity Altar Wings of Roudníky
relation material used
type material
['national monument of the Czech Republic', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?g WHERE { resource:Altar_Wings_of_Roudníky property:material_used ?g . ?g rdf:type ontology:material }
[]
material
Q175166
SYSTEM
tempera
Q175166
(Q649434,P186,c(Q214609))
action filter_type
action find
entity Q22671034
relation P186
type Q214609
[ANSWER] is used to manufacture that painting
['Q649434', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?g WHERE { resource:Q22671034 property:P186 ?g . ?g rdf:type ontology:Q214609 }
tempera
Tempera is used to manufacture that painting
tempera
action filter_type
action find
entity Altar Wings of Roudníky
relation material used
type material
['national monument of the Czech Republic', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?g WHERE { resource:Altar_Wings_of_Roudníky property:material_used ?g . ?g rdf:type ontology:material }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22671034
P195
Q2668072
USER
Where is that painting preserved in ?
(Q175166,P195,c(Q2668072))
action filter_type
action find
entity Q22671034
relation P195
type Q2668072
['Q175166', 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?q WHERE { resource:Q22671034 property:P195 ?q . ?q rdf:type ontology:Q2668072 }
Altar Wings of Roudníky
action filter_type
action find
entity Altar Wings of Roudníky
relation collection
type collection
['tempera', 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?q WHERE { resource:Altar_Wings_of_Roudníky property:collection ?q . ?q rdf:type ontology:collection }
[]
collection
Q22671042
SYSTEM
Hussite Museum in Tabor
Q22671042
(Q175166,P195,c(Q2668072))
action filter_type
action find
entity Q22671034
relation P195
type Q2668072
That painting is preserved in the [ANSWER]
['Q175166', 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?q WHERE { resource:Q22671034 property:P195 ?q . ?q rdf:type ontology:Q2668072 }
Hussite Museum in Tabor
That painting is preserved in the Hussite Museum in Tabor
Hussite Museum in Tabor
action filter_type
action find
entity Altar Wings of Roudníky
relation collection
type collection
['tempera', 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?q WHERE { resource:Altar_Wings_of_Roudníky property:collection ?q . ?q rdf:type ontology:collection }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22671042
P17
Q15617994
USER
Which administrative territory is that collection a part of ?
(Q22671042,P17,c(Q15617994))
action filter_type
action find
entity Q22671042
relation P17
type Q15617994
['Q22671042', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q22671042 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Hussite Museum in Tabor
action filter_type
action find
entity Hussite Museum in Tabor
relation country
type designation for an administrative territorial entity
['Hussite Museum in Tabor', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Hussite_Museum_in_Tabor property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q22671042,P17,c(Q15617994))
action filter_type
action find
entity Q22671042
relation P17
type Q15617994
The [ANSWER] is that collection a part of
['Q22671042', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q22671042 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Czech Republic
The Czech Republic is that collection a part of
Czech Republic
action filter_type
action find
entity Hussite Museum in Tabor
relation country
type designation for an administrative territorial entity
['Hussite Museum in Tabor', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Hussite_Museum_in_Tabor property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q213 Q3259877
P47
Q1048835
USER
Does Lot 18, Prince Edward Island share border with that administrative territory ?
(Q213,P47,Q3259877)
action is_in
entity Q3259877
action find
entity Q213
relation P47
['Q213', 'P47', 'Q3259877']
ASK WHERE { resource:Q213 property:P47 resource:Q3259877 }
Czech Republic Lot 18, Prince Edward Island
action is_in
entity Lot 18, Prince Edward Island
action find
entity Czech Republic
relation shares border with
['Czech Republic', 'shares border with', 'Lot 18, Prince Edward Island']
ASK WHERE { resource:Czech_Republic property:shares_border_with resource:Lot_18,_Prince_Edward_Island }
[]
political territorial entity
SYSTEM
NO
(Q213,P47,Q3259877)
action is_in
entity Q3259877
action find
entity Q213
relation P47
[ANSWER]
['Q213', 'P47', 'Q3259877']
ASK WHERE { resource:Q213 property:P47 resource:Q3259877 }
No
action is_in
entity Lot 18, Prince Edward Island
action find
entity Czech Republic
relation shares border with
['Czech Republic', 'shares border with', 'Lot 18, Prince Edward Island']
ASK WHERE { resource:Czech_Republic property:shares_border_with resource:Lot_18,_Prince_Edward_Island }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q29
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with more number of administrative territories than Spain ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q29
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?e ) WHERE { ?h rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?h property:P530 ?y } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Q29 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?t ) }
Spain
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Spain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?e ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?y } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Spain property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?t ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
43
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q34 Q38 Q423 Q27 Q843 Q227 Q222 Q347 Q17 Q1033 Q213 Q916 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q29
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?e ) WHERE { ?h rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?h property:P530 ?y } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Q29 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?t ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Sweden Italy North Korea Ireland Pakistan Azerbaijan Albania Liechtenstein Japan Nigeria Czech Republic Angola Egypt Libya Cape Verde Zambia
43
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Spain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?e ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?y } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Spain property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q252
P530
Q15617994 Q15617994
USER
And what about Indonesia?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q252
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?a ) WHERE { ?e rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?e property:P530 ?y } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q252 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?a > ?w ) }
Indonesia
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Indonesia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?a ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?y } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Indonesia property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a > ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
21
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q403 Q159 Q43 Q155 Q796 Q794 Q30 Q38 Q347 Q17 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q252
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?a ) WHERE { ?e rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?e property:P530 ?y } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q252 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?a > ?w ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Serbia Russia Turkey Brazil Iraq Iran United States of America Italy Liechtenstein Japan Egypt Libya Cape Verde Zambia
21
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Indonesia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?a ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?y } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Indonesia property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a > ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P608
Q2668072 Q3084961 Q2424752
USER
Which collections were min number of product linings or products exhibited at ?
(c(Q3084961)|c(Q2424752),P608,c(Q2668072))
action argmin
action union
action find_reverse_tuple_counts
relation P608
type Q2668072
type Q3084961
action find_reverse_tuple_counts
relation P608
type Q2668072
type Q2424752
[[{'concept': 'Q3084961'}, {'concept': 'Q2424752'}], 'P608', {'concept': 'Q2668072'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?s ) { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?d ) WHERE { { ?y property:P608 ?x . ?y rdf:type ontology:Q2424752 . ?x rdf:type ontology:Q2668072 } UNION { ?y property:P608 ?x . ?x rdf:type ontology:Q2668072 . ?y rdf:type ontology:Q3084961 } } GROUP BY ?x } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?r ) WHERE { { ?j rdf:type ontology:Q2668072 . ?v rdf:type ontology:Q3084961 . ?v property:P608 ?j } UNION { ?j rdf:type ontology:Q2668072 . ?v rdf:type ontology:Q2424752 . ?v property:P608 ?j } } GROUP BY ?j } . FILTER ( ?r = ?s ) }
action argmin
action union
action find_reverse_tuple_counts
relation exhibition history
type collection
type product lining
action find_reverse_tuple_counts
relation exhibition history
type collection
type product
[[{'concept': 'product lining'}, {'concept': 'product'}], 'exhibition history', {'concept': 'collection'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?s ) { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?d ) WHERE { { ?y property:exhibition_history ?x . ?y rdf:type ontology:product . ?x rdf:type ontology:collection } UNION { ?y property:exhibition_history ?x . ?x rdf:type ontology:collection . ?y rdf:type ontology:product_lining } } GROUP BY ?x } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?r ) WHERE { { ?j rdf:type ontology:collection . ?v rdf:type ontology:product_lining . ?v property:exhibition_history ?j } UNION { ?j rdf:type ontology:collection . ?v rdf:type ontology:product . ?v property:exhibition_history ?j } } GROUP BY ?j } . FILTER ( ?r = ?s ) }
[]
collection product lining product
Q812285 Q190804 Q23402
SYSTEM
Bavarian State Painting Collections, Rijksmuseum, Musée d'Orsay
Q700959 Q1641836 Q3094695 Q4827110 Q2042148 Q569445 Q1568434 Q864957 Q3469929 Q290549 Q255409 Q1955739 Q277316 Q677561 Q812285 Q1632912 Q18350783 Q3716330 Q1840249 Q4752732 Q2324938 Q213322 Q324658 Q386286 Q260913 Q656296 Q122945 Q18699920 Q461277 Q1499958 Q6373 Q273593 Q188112 Q316514 Q1895953 Q679527 Q2261423 Q958750 Q877714 Q670595 Q2114028 Q1074318 Q23402 Q246821 Q566661 Q3923979 Q162077 Q1410617 Q848313 Q190804 Q1928672 Q902706 Q2475379 Q131617 Q924335 Q879960
(c(Q3084961)|c(Q2424752),P608,c(Q2668072))
action argmin
action union
action find_reverse_tuple_counts
relation P608
type Q2668072
type Q3084961
action find_reverse_tuple_counts
relation P608
type Q2668072
type Q2424752
[ANSWERS]
[[{'concept': 'Q3084961'}, {'concept': 'Q2424752'}], 'P608', {'concept': 'Q2668072'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?s ) { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?d ) WHERE { { ?y property:P608 ?x . ?y rdf:type ontology:Q2424752 . ?x rdf:type ontology:Q2668072 } UNION { ?y property:P608 ?x . ?x rdf:type ontology:Q2668072 . ?y rdf:type ontology:Q3084961 } } GROUP BY ?x } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?r ) WHERE { { ?j rdf:type ontology:Q2668072 . ?v rdf:type ontology:Q3084961 . ?v property:P608 ?j } UNION { ?j rdf:type ontology:Q2668072 . ?v rdf:type ontology:Q2424752 . ?v property:P608 ?j } } GROUP BY ?j } . FILTER ( ?r = ?s ) }
Wallraf-Richartz Museum Los Angeles County Museum of Art Galeries nationales du Grand Palais Autry National Center Witte de With Martin-Gropius-Bau Yale University Art Gallery Tokyo Metropolitan Art Museum Sacre Hall Museo Nazionale di Capodimonte Museum Mesdag musée des beaux-arts de Dijon Rembrandt House Museum Hammer Museum Bavarian State Painting Collections Musée Galliera Palais des Beaux Arts de Charleroi Cathedral of Asolo musée de l'Évêché de Limoges Anchorage Museum Staatsgalerie Altdeutsche Meister Victoria and Albert Museum Kunsthalle Düsseldorf Basel Historical Museum Centraal Museum Galerie nationale du Jeu de Paume Peabody Museum of Natural History Pinacoteca Civica Bruno Molajoli Museum Kunstpalast Gemeentemuseum Den Haag British Museum École nationale supérieure des Beaux-Arts National Museum Museum Wiesbaden Musée National d'Art Moderne Museum Boijmans Van Beuningen Museum of Pavilions Ludwig Museum Budapest Oakland Museum of California Swiss Transport Museum Museum Arnhem National Museum of China Musée d'Orsay Goya Museum Museum der bildenden Künste Rectory of Saints Michael and Francis Glyptothek Louisiana Museum of Modern Art Fries Museum Rijksmuseum Mu.ZEE Cleveland Museum of Natural History Ulmer Museum Deutsches Museum Stedelijk Museum Amsterdam Kunst- und Ausstellungshalle der Bundesrepublik Deutschland
Bavarian State Painting Collections Rijksmuseum Musée d'Orsay
action argmin
action union
action find_reverse_tuple_counts
relation exhibition history
type collection
type product lining
action find_reverse_tuple_counts
relation exhibition history
type collection
type product
[[{'concept': 'product lining'}, {'concept': 'product'}], 'exhibition history', {'concept': 'collection'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?s ) { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?d ) WHERE { { ?y property:exhibition_history ?x . ?y rdf:type ontology:product . ?x rdf:type ontology:collection } UNION { ?y property:exhibition_history ?x . ?x rdf:type ontology:collection . ?y rdf:type ontology:product_lining } } GROUP BY ?x } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?r ) WHERE { { ?j rdf:type ontology:collection . ?v rdf:type ontology:product_lining . ?v property:exhibition_history ?j } UNION { ?j rdf:type ontology:collection . ?v rdf:type ontology:product . ?v property:exhibition_history ?j } } GROUP BY ?j } . FILTER ( ?r = ?s ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q190804
P466
Q464980
USER
Which exhibitions are occupied by that collection ?
(c(Q464980),P466,Q190804)
action filter_type
action find_reverse
entity Q190804
relation P466
type Q464980
[{'concept': 'Q464980'}, 'P466', 'Q190804']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q464980 . ?a property:P466 resource:Q190804 }
Rijksmuseum
action filter_type
action find_reverse
entity Rijksmuseum
relation occupant
type exhibition
[{'concept': 'exhibition'}, 'occupant', 'Rijksmuseum']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:exhibition . ?a property:occupant resource:Rijksmuseum }
[]
exhibition
Clarification for simple ques.
Q23402
SYSTEM
Did you mean Musée d'Orsay ?
Q812285 Q190804 Q23402
(c(Q464980),P466,Q812285) (c(Q464980),P466,Q190804) (c(Q464980),P466,Q23402)
[ANSWER]
[{'concept': 'Q464980'}, 'P466', 'Q812285'] [{'concept': 'Q464980'}, 'P466', 'Q190804'] [{'concept': 'Q464980'}, 'P466', 'Q23402']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q464980 . ?a property:P466 resource:Q190804 }
Bavarian State Painting Collections Rijksmuseum Musée d'Orsay
Did you mean Musée d'Orsay ?
Musée d'Orsay
[{'concept': 'exhibition'}, 'occupant', 'Bavarian State Painting Collections'] [{'concept': 'exhibition'}, 'occupant', 'Rijksmuseum'] [{'concept': 'exhibition'}, 'occupant', "Musée d'Orsay"]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:exhibition . ?a property:occupant resource:Rijksmuseum }
[]
Simple Question (Coreferenced)
USER
No, I meant Rijksmuseum. Could you tell me the answer for that?
(c(Q464980),P466,Q190804)
Q190804
[{'concept': 'Q464980'}, 'P466', 'Q190804']
[{'concept': 'exhibition'}, 'occupant', 'Rijksmuseum']
[]
Q25858124 Q25845794
SYSTEM
Gallery of Honour Rijksmuseum, Nachtwachtzaal
Q25858124 Q25845794
(c(Q464980),P466,Q190804)
action filter_type
action find_reverse
entity Q190804
relation P466
type Q464980
[ANSWERS] are occupied by that collection
[{'concept': 'Q464980'}, 'P466', 'Q190804']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q464980 . ?a property:P466 resource:Q190804 }
Gallery of Honour Rijksmuseum Nachtwachtzaal
Gallery of Honour Rijksmuseum and Nachtwachtzaal are occupied by that collection
Gallery of Honour Rijksmuseum Nachtwachtzaal
action filter_type
action find_reverse
entity Rijksmuseum
relation occupant
type exhibition
[{'concept': 'exhibition'}, 'occupant', 'Rijksmuseum']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:exhibition . ?a property:occupant resource:Rijksmuseum }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q190804
P276
Q41176
USER
Which building is the place where Rijksmuseum is located ?
(Q190804,P276,c(Q41176))
action filter_type
action find
entity Q190804
relation P276
type Q41176
['Q190804', 'P276', {'concept': 'Q41176'}]
SELECT DISTINCT ?j WHERE { resource:Q190804 property:P276 ?j . ?j rdf:type ontology:Q41176 }
Rijksmuseum
action filter_type
action find
entity Rijksmuseum
relation location
type building
['Rijksmuseum', 'location', {'concept': 'building'}]
SELECT DISTINCT ?j WHERE { resource:Rijksmuseum property:location ?j . ?j rdf:type ontology:building }
[]
building
Q1072284
SYSTEM
Huis ten Bosch
Q1072284
(Q190804,P276,c(Q41176))
action filter_type
action find
entity Q190804
relation P276
type Q41176
In [ANSWER] is the place where Rijksmuseum is located
['Q190804', 'P276', {'concept': 'Q41176'}]
SELECT DISTINCT ?j WHERE { resource:Q190804 property:P276 ?j . ?j rdf:type ontology:Q41176 }
Huis ten Bosch
In Huis ten Bosch is the place where Rijksmuseum is located
Huis ten Bosch
action filter_type
action find
entity Rijksmuseum
relation location
type building
['Rijksmuseum', 'location', {'concept': 'building'}]
SELECT DISTINCT ?j WHERE { resource:Rijksmuseum property:location ?j . ?j rdf:type ontology:building }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q190804
Q2668072
USER
And which collection?
(Q190804,P276,c(Q2668072))
action filter_type
action find
entity Q190804
relation P276
type Q2668072
['Q190804', 'P276', {'concept': 'Q2668072'}]
SELECT DISTINCT ?p WHERE { resource:Q190804 property:P276 ?p . ?p rdf:type ontology:Q2668072 }
Rijksmuseum
action filter_type
action find
entity Rijksmuseum
relation location
type collection
['Rijksmuseum', 'location', {'concept': 'collection'}]
SELECT DISTINCT ?p WHERE { resource:Rijksmuseum property:location ?p . ?p rdf:type ontology:collection }
[]
collection
Q1056152 Q2252756
SYSTEM
Royal Palace of Amsterdam, Trippenhuis
Q1056152 Q2252756
(Q190804,P276,c(Q2668072))
action filter_type
action find
entity Q190804
relation P276
type Q2668072
[ANSWERS]
['Q190804', 'P276', {'concept': 'Q2668072'}]
SELECT DISTINCT ?p WHERE { resource:Q190804 property:P276 ?p . ?p rdf:type ontology:Q2668072 }
Royal Palace of Amsterdam Trippenhuis
Royal Palace of Amsterdam Trippenhuis
action filter_type
action find
entity Rijksmuseum
relation location
type collection
['Rijksmuseum', 'location', {'concept': 'collection'}]
SELECT DISTINCT ?p WHERE { resource:Rijksmuseum property:location ?p . ?p rdf:type ontology:collection }
[]