Simple Question (Direct)
Simple Question
Q16567017
P19
Q15617994
USER
Where was Fernando Barón y Martínez de Agulló born ?
(Q16567017,P19,c(Q15617994))
action filter_type
action find
entity Q16567017
relation P19
type Q15617994
['Q16567017', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q16567017 property:P19 ?z . ?z rdf:type ontology:Q15617994 }
Fernando Barón y Martínez de Agulló
action filter_type
action find
entity Fernando Barón y Martínez de Agulló
relation place of birth
type designation for an administrative territorial entity
['Fernando Barón y Martínez de Agulló', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Fernando_Barón_y_Martínez_de_Agulló property:place_of_birth ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q16567017,P19,c(Q15617994))
action filter_type
action find
entity Q16567017
relation P19
type Q15617994
Fernando Barón y Martínez de Agulló was born in [ANSWER]
['Q16567017', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q16567017 property:P19 ?z . ?z rdf:type ontology:Q15617994 }
Spain
Fernando Barón y Martínez de Agulló was born in Spain
Spain
action filter_type
action find
entity Fernando Barón y Martínez de Agulló
relation place of birth
type designation for an administrative territorial entity
['Fernando Barón y Martínez de Agulló', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Fernando_Barón_y_Martínez_de_Agulló property:place_of_birth ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16567017
P39
Q12737077
USER
Which occupations were the positions for which that person were appointed ?
(Q29,P39,c(Q12737077))
action filter_type
action find
entity Q16567017
relation P39
type Q12737077
['Q29', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q16567017 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
Fernando Barón y Martínez de Agulló
action filter_type
action find
entity Fernando Barón y Martínez de Agulló
relation position held
type occupation
['Spain', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Fernando_Barón_y_Martínez_de_Agulló property:position_held ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q30185 Q18171345
SYSTEM
mayor, Member of the Congress of Deputies of Spain
Q30185 Q18171345
(Q29,P39,c(Q12737077))
action filter_type
action find
entity Q16567017
relation P39
type Q12737077
[ANSWERS] were the positions for which that person were appointed
['Q29', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q16567017 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
mayor Member of the Congress of Deputies of Spain
Mayor and Member of the Congress of Deputies of Spain were the positions for which that person were appointed
mayor Member of the Congress of Deputies of Spain
action filter_type
action find
entity Fernando Barón y Martínez de Agulló
relation position held
type occupation
['Spain', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Fernando_Barón_y_Martínez_de_Agulló property:position_held ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16567017
P937
Q56061
USER
Where did that person work ?
(Q30185,P937,c(Q56061)) (Q18171345,P937,c(Q56061))
action filter_type
action find
entity Q16567017
relation P937
type Q56061
['Q30185', 'P937', {'concept': 'Q56061'}] ['Q18171345', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q16567017 property:P937 ?c }
Fernando Barón y Martínez de Agulló
action filter_type
action find
entity Fernando Barón y Martínez de Agulló
relation work location
type administrative territorial entity
['mayor', 'work location', {'concept': 'administrative territorial entity'}] ['Member of the Congress of Deputies of Spain', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Fernando_Barón_y_Martínez_de_Agulló property:work_location ?c }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q30185,P937,c(Q56061)) (Q18171345,P937,c(Q56061))
action filter_type
action find
entity Q16567017
relation P937
type Q56061
That person worked in [ANSWER]
['Q30185', 'P937', {'concept': 'Q56061'}] ['Q18171345', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q16567017 property:P937 ?c }
Madrid
That person worked in Madrid
Madrid
action filter_type
action find
entity Fernando Barón y Martínez de Agulló
relation work location
type administrative territorial entity
['mayor', 'work location', {'concept': 'administrative territorial entity'}] ['Member of the Congress of Deputies of Spain', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Fernando_Barón_y_Martínez_de_Agulló property:work_location ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2807
P138
Q34442
USER
Which road has that administrative territory as its namesake ?
(c(Q34442),P138,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q2807']
SELECT DISTINCT ?c WHERE { ?c property:P138 resource:Q2807 . ?c rdf:type ontology:Q34442 }
Madrid
action filter_type
action find_reverse
entity Madrid
relation named after
type road
[{'concept': 'road'}, 'named after', 'Madrid']
SELECT DISTINCT ?c WHERE { ?c property:named_after resource:Madrid . ?c rdf:type ontology:road }
[]
road
Q3450855
SYSTEM
rue de Madrid
Q3450855
(c(Q34442),P138,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P138
type Q34442
[ANSWER] has that administrative territory as its namesake
[{'concept': 'Q34442'}, 'P138', 'Q2807']
SELECT DISTINCT ?c WHERE { ?c property:P138 resource:Q2807 . ?c rdf:type ontology:Q34442 }
rue de Madrid
Rue de Madrid has that administrative territory as its namesake
rue de Madrid
action filter_type
action find_reverse
entity Madrid
relation named after
type road
[{'concept': 'road'}, 'named after', 'Madrid']
SELECT DISTINCT ?c WHERE { ?c property:named_after resource:Madrid . ?c rdf:type ontology:road }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q6033943
P669
Q34442 Q2668072
USER
Which collections are located on approximately the same number of roads as Cordoba Fine Arts Museum ?
(c(Q2668072),P669,c(Q34442))
action approx
action find_tuple_counts
relation P669
type Q2668072
type Q34442
action count
action filter_type
action find
entity Q6033943
relation P669
type Q2668072
[{'concept': 'Q2668072'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?d ) WHERE { ?r property:P669 ?j . ?r rdf:type ontology:Q2668072 . ?j rdf:type ontology:Q34442 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6033943 property:P669 ?z . ?z rdf:type ontology:Q2668072 } } . FILTER ( ?d = ?y ) }
Cordoba Fine Arts Museum
action approx
action find_tuple_counts
relation located on street
type collection
type road
action count
action filter_type
action find
entity Cordoba Fine Arts Museum
relation located on street
type collection
[{'concept': 'collection'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?d ) WHERE { ?r property:located_on_street ?j . ?r rdf:type ontology:collection . ?j rdf:type ontology:road } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Cordoba_Fine_Arts_Museum property:located_on_street ?z . ?z rdf:type ontology:collection } } . FILTER ( ?d = ?y ) }
[]
road collection
Q256507 Q315187 Q631056
SYSTEM
Bavarian State Library, Buddenbrookhaus, Bavarian National Museum
Q1822513 Q15961602 Q15912151 Q4642494 Q2628596 Q5304210 Q6033943 Q774570 Q3329390 Q28924 Q4902448 Q631056 Q3329270 Q1619084 Q3329860 Q630461 Q820892 Q187840 Q959650 Q1592523 Q1250541 Q2034395 Q190260 Q23779394 Q2142138 Q976019 Q1265070 Q15159013 Q517249 Q315187 Q7013887 Q1938001 Q27732004 Q3357825 Q3330592 Q1371375 Q18219959 Q1278593 Q256507 Q1141316 Q1968711 Q2599177 Q15707843
(c(Q2668072),P669,c(Q34442))
action approx
action find_tuple_counts
relation P669
type Q2668072
type Q34442
action count
action filter_type
action find
entity Q6033943
relation P669
type Q2668072
[ANSWERS] are located on approximately the same number of roads as Cordoba Fine Arts Museum
[{'concept': 'Q2668072'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?d ) WHERE { ?r property:P669 ?j . ?r rdf:type ontology:Q2668072 . ?j rdf:type ontology:Q34442 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6033943 property:P669 ?z . ?z rdf:type ontology:Q2668072 } } . FILTER ( ?d = ?y ) }
Palais Rohan, Bordeaux Ajax Experience Shanghai Museum of Arts And Crafts 6 Burlington Gardens Palais des Beaux-Arts de Lille Dr Johnson's House Cordoba Fine Arts Museum Bibliothèque Mazarine Whipple Museum of the History of Science Catacombs of Paris Bialik House Bavarian National Museum musée Masséna Palais Longchamp Musée de l'Éventail Bibliothèque nationale et universitaire Petit Palais Palais Garnier Casa di Goethe Sorolla Museum Monnaie de Paris Belarusian National History and Culture Museum Zentralbibliothek Zürich Muntpunt Verweyhal Museum Cerralbo Musée Grévin Odessa Museum of Regional History Sainte-Geneviève Library Buddenbrookhaus New York Public Library Main Branch Efteling Museum Kotopo Geijersgården Lund University Historical Museum Museum of Ethnography Governors' Cottage Museum of Chinese in America Bavarian State Library Palais de la Porte Dorée Nobel Museum Maison de Victor Hugo FBU "Russian Forest Museum"
Bavarian State Library, Buddenbrookhaus and Bavarian National Museum are located on approximately the same number of roads as Cordoba Fine Arts Museum
Bavarian State Library Buddenbrookhaus Bavarian National Museum
action approx
action find_tuple_counts
relation located on street
type collection
type road
action count
action filter_type
action find
entity Cordoba Fine Arts Museum
relation located on street
type collection
[{'concept': 'collection'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?d ) WHERE { ?r property:located_on_street ?j . ?r rdf:type ontology:collection . ?j rdf:type ontology:road } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Cordoba_Fine_Arts_Museum property:located_on_street ?z . ?z rdf:type ontology:collection } } . FILTER ( ?d = ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q26847027
P669
Q34442 Q2668072
USER
And how about Museum of Scotland?
(c(Q2668072),P669,c(Q34442))
action approx
action find_tuple_counts
relation P669
type Q2668072
type Q34442
action count
action filter_type
action find
entity Q26847027
relation P669
type Q2668072
[{'concept': 'Q2668072'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?f ) WHERE { ?n property:P669 ?m . ?n rdf:type ontology:Q2668072 . ?m rdf:type ontology:Q34442 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Q26847027 property:P669 ?c . ?c rdf:type ontology:Q2668072 } } . FILTER ( ?f = ?x ) }
Museum of Scotland
action approx
action find_tuple_counts
relation located on street
type collection
type road
action count
action filter_type
action find
entity Museum of Scotland
relation located on street
type collection
[{'concept': 'collection'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?f ) WHERE { ?n property:located_on_street ?m . ?n rdf:type ontology:collection . ?m rdf:type ontology:road } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Museum_of_Scotland property:located_on_street ?c . ?c rdf:type ontology:collection } } . FILTER ( ?f = ?x ) }
[]
road collection
Q1121835 Q2252756 Q679527
SYSTEM
Ir.D.F. Woudagemaal, Trippenhuis, Museum Boijmans Van Beuningen
Q2233016 Q3145715 Q408081 Q2087161 Q390003 Q10686523 Q1820897 Q1890584 Q17298534 Q2383603 Q1769851 Q17744530 Q2177577 Q7077703 Q306604 Q1520230 Q3317663 Q679527 Q2549659 Q2563745 Q1056152 Q21559920 Q2077489 Q21551904 Q10590647 Q5267653 Q2036143 Q2382575 Q3100297 Q165366 Q1505892 Q15124806 Q17372626 Q1560511 Q1121835 Q394832 Q24807940 Q2157583 Q825232 Q1051928 Q3611008 Q493160 Q2114028 Q17339437 Q4360916 Q1726607 Q213322 Q17329530 Q2296362 Q667906 Q2873581 Q26847027 Q206101 Q21609273 Q1136137 Q692381 Q2754878 Q2801130 Q2680466 Q1519288 Q1849293 Q17511676 Q3097795 Q2017571 Q847166 Q2252756 Q1576733 Q3329688 Q1997549 Q7921517 Q2776719 Q7138915 Q2021677 Q6402206 Q2398527 Q23212 Q2031357 Q11722011 Q2135085 Q4488641 Q2191110 Q2267622 Q22006174 Q1782422 Q6737052 Q15876504 Q7200579 Q7618027 Q3140928 Q22246632 Q2412016 Q277316 Q2676195 Q3329213 Q1278103 Q3318319 Q690002 Q15874141 Q386570 Q16647941 Q3329119 Q573322 Q3208624 Q2050166 Q1499958 Q1819945 Q2298844 Q2399655 Q19908749 Q1750428 Q6974501 Q2743819 Q4086362 Q281903 Q26832671 Q19911795
(c(Q2668072),P669,c(Q34442))
action approx
action find_tuple_counts
relation P669
type Q2668072
type Q34442
action count
action filter_type
action find
entity Q26847027
relation P669
type Q2668072
[ANSWERS]
[{'concept': 'Q2668072'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?f ) WHERE { ?n property:P669 ?m . ?n rdf:type ontology:Q2668072 . ?m rdf:type ontology:Q34442 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Q26847027 property:P669 ?c . ?c rdf:type ontology:Q2668072 } } . FILTER ( ?f = ?x ) }
Pier Pander Museum hôtel d'Assézat Airborne Museum 'Hartenstein' Heineken Experience Einsteinhaus Swedish Music Hall of Fame Amsterdam Museum Strindberg Museum Artis Library Dutch Funeral museum Bibliothèque Medem Hermanusje van Alles Castle Loevestein Odessa Archeological Museum Filmmuseum Austria Gevangenpoort Mobilier national Museum Boijmans Van Beuningen Bornrif Vrouwenhuis Royal Palace of Amsterdam Lotta Museum Museum of Bags and Purses Cenacolo di Ognissanti Music and Theatre library Streekmuseum Goeree-Overflakkee Salt museum Westfries Museum maison européenne de la photographie Anne Frank House Rijksmuseum Twenthe Pianola museum Zuiderzeemuseum Binnenmuseum Günter Grass House Ir.D.F. Woudagemaal Convent of St Agnes of Bohemia bibliothèque Château-d'Eau Museum "Het Tramstation" Computerspielemuseum Berlin Kröller-Müller Museum De Wachter Ons' Lieve Heer op Solder Museum Arnhem National Museum of Ethnology Museum Gouda Swedish Museum of National Antiquities Victoria and Albert Museum Pier Pandertempel musée Gustave-Moreau Museum De Cruquius Flehite Museum of Scotland Rosenborg Castle ICER National September 11 Memorial & Museum Het Loo Palace Museum Meermanno Schielandshuis Sciences Po Bibliothèque Sonnenborgh Observatory De Eendracht, Anjum American Library in Paris Hôtel Biron Amsterdam University Library Nederlands Spoorwegmuseum Trippenhuis Hortus Botanicus (Amsterdam) Musée d'Histoire Naturelle de Lille North America Native Museum Vermeer Centre Museum De Valk Parliament Interpretive Centre Hofje van Mevrouw van Aerden Musée du Barreau de Paris Museum of Copenhagen Evoluon Helsinki City Museum Haags Historisch Museum Skierstins DAF Museum Museum Van Loon Tresoar Miramar Zeemuseum Van Abbemuseum Maison d'Auguste Comte Van Zessen House Plai Nern Palace Stockholm Music and Theatre Museum hospice Comtesse Memorial Center Camp Westerbork Maastricht Natural History Museum Rembrandt House Museum Chabot Museum musée Hébert Historisch Openluchtmuseum Eindhoven former Historical Museum of Arnhem Swedish Army Museum Cuypershuis Museum of Lázaro Galdiano Ellert en Brammert (museum) Musée Clemenceau DDR Museum Médiathèque Musicale Mahler Het Dolhuys Gemeentemuseum Den Haag Royal Museum Museum Voorlinden Museumpark Ivan Turgenev museum Royal Coin Cabinet Museum of Romanticism ABBA: The Museum Pushkin Library in Moscow Prinsenhof Moco Museum Leo Tolstoy's Museum (Moscow, Prechistenka)
Ir.D.F. Woudagemaal Trippenhuis Museum Boijmans Van Beuningen
action approx
action find_tuple_counts
relation located on street
type collection
type road
action count
action filter_type
action find
entity Museum of Scotland
relation located on street
type collection
[{'concept': 'collection'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?f ) WHERE { ?n property:located_on_street ?m . ?n rdf:type ontology:collection . ?m rdf:type ontology:road } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Museum_of_Scotland property:located_on_street ?c . ?c rdf:type ontology:collection } } . FILTER ( ?f = ?x ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29
P137
Q2424752 Q3084961
USER
How many products and product linings are the administrator of Spain ?
(c(Q2424752),P137,Q29) (c(Q3084961),P137,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P137
type Q2424752
action filter_type
action find_reverse
entity Q29
relation P137
type Q3084961
[{'concept': 'Q2424752'}, 'P137', 'Q29'] [{'concept': 'Q3084961'}, 'P137', 'Q29']
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ?d . VALUES ( ?d ) { ( ontology:Q2424752 ) ( ontology:Q3084961 ) } }
Spain
action count
action union
action filter_type
action find_reverse
entity Spain
relation operator
type product
action filter_type
action find_reverse
entity Spain
relation operator
type product lining
[{'concept': 'product'}, 'operator', 'Spain'] [{'concept': 'product lining'}, 'operator', 'Spain']
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ?d . VALUES ( ?d ) { ( ontology:product ) ( ontology:product_lining ) } }
[]
product product lining
SYSTEM
2 products and 2 product linings
Q18055265 Q18173029 Q308940 Q151384
(c(Q2424752),P137,Q29) (c(Q3084961),P137,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P137
type Q2424752
action filter_type
action find_reverse
entity Q29
relation P137
type Q3084961
[ANSWER]
[{'concept': 'Q2424752'}, 'P137', 'Q29'] [{'concept': 'Q3084961'}, 'P137', 'Q29']
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ?d . VALUES ( ?d ) { ( ontology:Q2424752 ) ( ontology:Q3084961 ) } }
Searcher IIIJ SA 330C Puma F-5 Typhoon
2 products and 2 product linings
action count
action union
action filter_type
action find_reverse
entity Spain
relation operator
type product
action filter_type
action find_reverse
entity Spain
relation operator
type product lining
[{'concept': 'product'}, 'operator', 'Spain'] [{'concept': 'product lining'}, 'operator', 'Spain']
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ?d . VALUES ( ?d ) { ( ontology:product ) ( ontology:product_lining ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q679527
P195
Q14745 Q11060274
USER
How many furniture or prints are present in Museum Boijmans Van Beuningen ?
(c(Q14745),P195,Q679527) (c(Q11060274),P195,Q679527)
action count
action union
action filter_type
action find_reverse
entity Q679527
relation P195
type Q14745
action filter_type
action find_reverse
entity Q679527
relation P195
type Q11060274
[{'concept': 'Q14745'}, 'P195', 'Q679527'] [{'concept': 'Q11060274'}, 'P195', 'Q679527']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { ?k property:P195 resource:Q679527 . ?k rdf:type ontology:Q14745 } UNION { ?k property:P195 resource:Q679527 . ?k rdf:type ontology:Q11060274 } }
Museum Boijmans Van Beuningen
action count
action union
action filter_type
action find_reverse
entity Museum Boijmans Van Beuningen
relation collection
type furniture
action filter_type
action find_reverse
entity Museum Boijmans Van Beuningen
relation collection
type print
[{'concept': 'furniture'}, 'collection', 'Museum Boijmans Van Beuningen'] [{'concept': 'print'}, 'collection', 'Museum Boijmans Van Beuningen']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { ?k property:collection resource:Museum_Boijmans_Van_Beuningen . ?k rdf:type ontology:furniture } UNION { ?k property:collection resource:Museum_Boijmans_Van_Beuningen . ?k rdf:type ontology:print } }
[]
furniture print
SYSTEM
3
Q19962668 Q20198486 Q27049515
(c(Q14745),P195,Q679527) (c(Q11060274),P195,Q679527)
action count
action union
action filter_type
action find_reverse
entity Q679527
relation P195
type Q14745
action filter_type
action find_reverse
entity Q679527
relation P195
type Q11060274
[ANSWER]
[{'concept': 'Q14745'}, 'P195', 'Q679527'] [{'concept': 'Q11060274'}, 'P195', 'Q679527']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { ?k property:P195 resource:Q679527 . ?k rdf:type ontology:Q14745 } UNION { ?k property:P195 resource:Q679527 . ?k rdf:type ontology:Q11060274 } }
The Locks at Dolo Side chair Knotted Chair
3
action count
action union
action filter_type
action find_reverse
entity Museum Boijmans Van Beuningen
relation collection
type furniture
action filter_type
action find_reverse
entity Museum Boijmans Van Beuningen
relation collection
type print
[{'concept': 'furniture'}, 'collection', 'Museum Boijmans Van Beuningen'] [{'concept': 'print'}, 'collection', 'Museum Boijmans Van Beuningen']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { ?k property:collection resource:Museum_Boijmans_Van_Beuningen . ?k rdf:type ontology:furniture } UNION { ?k property:collection resource:Museum_Boijmans_Van_Beuningen . ?k rdf:type ontology:print } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P149
Q2198855 Q968159 Q2668072
USER
Which collections have max number of cultural movements and art movements architectural style ?
(c(Q2668072),P149,c(Q2198855)|c(Q968159))
action argmax
action union
action find_tuple_counts
relation P149
type Q2668072
type Q2198855
action find_tuple_counts
relation P149
type Q2668072
type Q968159
[{'concept': 'Q2668072'}, 'P149', [{'concept': 'Q2198855'}, {'concept': 'Q968159'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?h WHERE { ?t rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2198855 ) ( ontology:Q968159 ) } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?a WHERE { { ?a property:P149 ?b . ?a rdf:type ontology:Q2668072 . ?b rdf:type ontology:Q2198855 } UNION { ?a property:P149 ?b . ?a rdf:type ontology:Q2668072 . ?b rdf:type ontology:Q968159 } } GROUP BY ?a } . FILTER ( ?v = ?k ) }
action argmax
action union
action find_tuple_counts
relation architectural style
type collection
type cultural movement
action find_tuple_counts
relation architectural style
type collection
type art movement
[{'concept': 'collection'}, 'architectural style', [{'concept': 'cultural movement'}, {'concept': 'art movement'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?h WHERE { ?t rdf:type ?o . VALUES ( ?o ) { ( ontology:cultural_movement ) ( ontology:art_movement ) } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?a WHERE { { ?a property:architectural_style ?b . ?a rdf:type ontology:collection . ?b rdf:type ontology:cultural_movement } UNION { ?a property:architectural_style ?b . ?a rdf:type ontology:collection . ?b rdf:type ontology:art_movement } } GROUP BY ?a } . FILTER ( ?v = ?k ) }
[]
cultural movement art movement collection
Q15876504 Q531028 Q257342
SYSTEM
Van Zessen House, Moyland Castle, Carnegie Library of Reims
Q3817339 Q2285837 Q3816555 Q15735772 Q1431259 Q6940778 Q1094307 Q649250 Q1686386 Q531028 Q4894835 Q257342 Q3816452 Q3064861 Q7593909 Q6745892 Q15876504 Q7789602 Q622974 Q11682430 Q4499944 Q24228347
(c(Q2668072),P149,c(Q2198855)|c(Q968159))
action argmax
action union
action find_tuple_counts
relation P149
type Q2668072
type Q2198855
action find_tuple_counts
relation P149
type Q2668072
type Q968159
The [ANSWERS] have max number of cultural movements and art movements architectural style
[{'concept': 'Q2668072'}, 'P149', [{'concept': 'Q2198855'}, {'concept': 'Q968159'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?h WHERE { ?t rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2198855 ) ( ontology:Q968159 ) } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?a WHERE { { ?a property:P149 ?b . ?a rdf:type ontology:Q2668072 . ?b rdf:type ontology:Q2198855 } UNION { ?a property:P149 ?b . ?a rdf:type ontology:Q2668072 . ?b rdf:type ontology:Q968159 } } GROUP BY ?a } . FILTER ( ?v = ?k ) }
Vilassar de Mar Municipal Museum Centre for Fine Arts, Brussels Can Tinturé Museum Museu del Modernisme Català Toitū Otago Settlers Museum Museum of Arts and Traditions of Sevilla La Cité de l'Énergie Royal Ontario Museum Museum Van Buuren Moyland Castle Cau Ferrat Museum Carnegie Library of Reims Lluís Domènech i Montaner House-Museum Museum and Study Center of Sport Doctor Melcior Colet St Kilda Library Premià de Mar Textile Printing Municipal Museum Van Zessen House Thomas Fisher Rare Book Library Hocken Library Hemp Museum Gallery Lauinger Library Robert Owen Museum
The Van Zessen House, Moyland Castle and Carnegie Library of Reims have max number of cultural movements and art movements architectural style
Van Zessen House Moyland Castle Carnegie Library of Reims
action argmax
action union
action find_tuple_counts
relation architectural style
type collection
type cultural movement
action find_tuple_counts
relation architectural style
type collection
type art movement
[{'concept': 'collection'}, 'architectural style', [{'concept': 'cultural movement'}, {'concept': 'art movement'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?h WHERE { ?t rdf:type ?o . VALUES ( ?o ) { ( ontology:cultural_movement ) ( ontology:art_movement ) } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?a WHERE { { ?a property:architectural_style ?b . ?a rdf:type ontology:collection . ?b rdf:type ontology:cultural_movement } UNION { ?a property:architectural_style ?b . ?a rdf:type ontology:collection . ?b rdf:type ontology:art_movement } } GROUP BY ?a } . FILTER ( ?v = ?k ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q15876504 Q531028 Q257342
P149
Q2198855
USER
What cultural movements do Van Zessen House, Moyland Castle and Carnegie Library of Reims follow ?
(Q15876504,P149,c(Q2198855)) (Q531028,P149,c(Q2198855)) (Q257342,P149,c(Q2198855))
action union
action filter_type
action find
entity Q15876504
relation P149
type Q2198855
action filter_type
action find
entity Q531028
relation P149
type Q2198855
action filter_type
action find
entity Q257342
relation P149
type Q2198855
['Q15876504', 'P149', {'concept': 'Q2198855'}] ['Q531028', 'P149', {'concept': 'Q2198855'}] ['Q257342', 'P149', {'concept': 'Q2198855'}]
SELECT DISTINCT ?v WHERE { { resource:Q15876504 property:P149 ?v . ?v rdf:type ontology:Q2198855 } UNION { ?v rdf:type ontology:Q2198855 . resource:Q531028 property:P149 ?v } }
Van Zessen House Moyland Castle Carnegie Library of Reims
action union
action filter_type
action find
entity Van Zessen House
relation architectural style
type cultural movement
action filter_type
action find
entity Moyland Castle
relation architectural style
type cultural movement
action filter_type
action find
entity Carnegie Library of Reims
relation architectural style
type cultural movement
['Van Zessen House', 'architectural style', {'concept': 'cultural movement'}] ['Moyland Castle', 'architectural style', {'concept': 'cultural movement'}] ['Carnegie Library of Reims', 'architectural style', {'concept': 'cultural movement'}]
SELECT DISTINCT ?v WHERE { { resource:Van_Zessen_House property:architectural_style ?v . ?v rdf:type ontology:cultural_movement } UNION { ?v rdf:type ontology:cultural_movement . resource:Moyland_Castle property:architectural_style ?v } }
[]
cultural movement
Q207445 Q46825 Q173782
SYSTEM
De Stijl, Gothic art, Art Deco
Q207445 Q46825 Q173782
(Q15876504,P149,c(Q2198855)) (Q531028,P149,c(Q2198855)) (Q257342,P149,c(Q2198855))
action union
action filter_type
action find
entity Q15876504
relation P149
type Q2198855
action filter_type
action find
entity Q531028
relation P149
type Q2198855
action filter_type
action find
entity Q257342
relation P149
type Q2198855
Van Zessen House , Moyland Castle and Carnegie Library of Reims follow [ANSWERS]
['Q15876504', 'P149', {'concept': 'Q2198855'}] ['Q531028', 'P149', {'concept': 'Q2198855'}] ['Q257342', 'P149', {'concept': 'Q2198855'}]
SELECT DISTINCT ?v WHERE { { resource:Q15876504 property:P149 ?v . ?v rdf:type ontology:Q2198855 } UNION { ?v rdf:type ontology:Q2198855 . resource:Q531028 property:P149 ?v } }
De Stijl Gothic art Art Deco
Van Zessen House , Moyland Castle and Carnegie Library of Reims follow De Stijl, Gothic art and Art Deco
De Stijl Gothic art Art Deco
action union
action filter_type
action find
entity Van Zessen House
relation architectural style
type cultural movement
action filter_type
action find
entity Moyland Castle
relation architectural style
type cultural movement
action filter_type
action find
entity Carnegie Library of Reims
relation architectural style
type cultural movement
['Van Zessen House', 'architectural style', {'concept': 'cultural movement'}] ['Moyland Castle', 'architectural style', {'concept': 'cultural movement'}] ['Carnegie Library of Reims', 'architectural style', {'concept': 'cultural movement'}]
SELECT DISTINCT ?v WHERE { { resource:Van_Zessen_House property:architectural_style ?v . ?v rdf:type ontology:cultural_movement } UNION { ?v rdf:type ontology:cultural_movement . resource:Moyland_Castle property:architectural_style ?v } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q207445 Q46825 Q173782
P17
Q15617994
USER
Which administrative territories are those cultural movements situated in ?
(Q207445,P17,c(Q15617994)) (Q46825,P17,c(Q15617994)) (Q173782,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q207445', 'P17', {'concept': 'Q15617994'}] ['Q46825', 'P17', {'concept': 'Q15617994'}] ['Q173782', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?v property:P17 ?a . ?a rdf:type ontology:Q15617994 . VALUES ( ?v ) { ( resource:Q207445 ) ( resource:Q46825 ) ( resource:Q173782 ) } }
De Stijl Gothic art Art Deco
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['De Stijl', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gothic art', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Art Deco', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?v property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?v ) { ( resource:De_Stijl ) ( resource:Gothic_art ) ( resource:Art_Deco ) } }
[]
designation for an administrative territorial entity
Q38 Q55 Q142
SYSTEM
Italy, Netherlands, France
Q55 Q142 Q38 Q142
(Q207445,P17,c(Q15617994)) (Q46825,P17,c(Q15617994)) (Q173782,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those cultural movements are situated in [ANSWERS]
['Q207445', 'P17', {'concept': 'Q15617994'}] ['Q46825', 'P17', {'concept': 'Q15617994'}] ['Q173782', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?v property:P17 ?a . ?a rdf:type ontology:Q15617994 . VALUES ( ?v ) { ( resource:Q207445 ) ( resource:Q46825 ) ( resource:Q173782 ) } }
Netherlands France Italy France
Those cultural movements are situated in Italy, Netherlands and France
Italy Netherlands France
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['De Stijl', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gothic art', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Art Deco', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?v property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?v ) { ( resource:De_Stijl ) ( resource:Gothic_art ) ( resource:Art_Deco ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q55 Q142
P6
Q502895
USER
Which people have those administrative territories as their heads of government ?
(Q38,P6,c(Q502895)) (Q55,P6,c(Q502895)) (Q142,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
['Q38', 'P6', {'concept': 'Q502895'}] ['Q55', 'P6', {'concept': 'Q502895'}] ['Q142', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?o ) { ( resource:Q55 ) ( resource:Q142 ) ( resource:Q38 ) } . ?o property:P6 ?u . ?u rdf:type ontology:Q502895 }
Italy Netherlands France
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Italy', 'head of government', {'concept': 'common name'}] ['Netherlands', 'head of government', {'concept': 'common name'}] ['France', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?o ) { ( resource:Netherlands ) ( resource:France ) ( resource:Italy ) } . ?o property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
common name
Q10287 Q159840 Q345481
SYSTEM
Manuel Valls, Ruud Lubbers, Piet de Jong
Q47563 Q674957 Q693053 Q686476 Q159840 Q133386 Q57792 Q345481 Q471204 Q983186 Q380970 Q951705 Q781813 Q736026 Q221411 Q634025 Q719701 Q735519 Q318320 Q318334 Q12769 Q10287 Q7711
(Q38,P6,c(Q502895)) (Q55,P6,c(Q502895)) (Q142,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
[ANSWERS] have those administrative territories as their heads of government
['Q38', 'P6', {'concept': 'Q502895'}] ['Q55', 'P6', {'concept': 'Q502895'}] ['Q142', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?o ) { ( resource:Q55 ) ( resource:Q142 ) ( resource:Q38 ) } . ?o property:P6 ?u . ?u rdf:type ontology:Q502895 }
Matteo Renzi Enrico Letta Dirk Jan de Geer Hendrikus Colijn Ruud Lubbers Jan Peter Balkenende Mark Rutte Piet de Jong Barend Biesheuvel Charles Ruijs de Beerenbrouck Jelle Zijlstra Pieter Sjoerds Gerbrandy Jan de Quay Jo Cals Wim Kok Wim Schermerhorn Victor Marijnen Louis Beel Joop den Uyl Dries van Agt Willem Drees Manuel Valls Jean-Marc Ayrault
Manuel Valls, Ruud Lubbers and Piet de Jong have those administrative territories as their heads of government
Manuel Valls Ruud Lubbers Piet de Jong
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Italy', 'head of government', {'concept': 'common name'}] ['Netherlands', 'head of government', {'concept': 'common name'}] ['France', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?o ) { ( resource:Netherlands ) ( resource:France ) ( resource:Italy ) } . ?o property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q10287 Q159840 Q345481
P21
Q290
USER
Which sexes do Manuel Valls, Ruud Lubbers and Piet de Jong have ?
(Q10287,P21,c(Q290)) (Q159840,P21,c(Q290)) (Q345481,P21,c(Q290))
action union
action filter_type
action find
entity Q10287
relation P21
type Q290
action filter_type
action find
entity Q159840
relation P21
type Q290
action filter_type
action find
entity Q345481
relation P21
type Q290
['Q10287', 'P21', {'concept': 'Q290'}] ['Q159840', 'P21', {'concept': 'Q290'}] ['Q345481', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?n ) { ( resource:Q10287 ) ( resource:Q159840 ) } . ?n property:P21 ?g }
Manuel Valls Ruud Lubbers Piet de Jong
action union
action filter_type
action find
entity Manuel Valls
relation gender
type sex
action filter_type
action find
entity Ruud Lubbers
relation gender
type sex
action filter_type
action find
entity Piet de Jong
relation gender
type sex
['Manuel Valls', 'gender', {'concept': 'sex'}] ['Ruud Lubbers', 'gender', {'concept': 'sex'}] ['Piet de Jong', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?n ) { ( resource:Manuel_Valls ) ( resource:Ruud_Lubbers ) } . ?n property:gender ?g }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q10287,P21,c(Q290)) (Q159840,P21,c(Q290)) (Q345481,P21,c(Q290))
action union
action filter_type
action find
entity Q10287
relation P21
type Q290
action filter_type
action find
entity Q159840
relation P21
type Q290
action filter_type
action find
entity Q345481
relation P21
type Q290
Manuel Valls , Ruud Lubbers and Piet de Jong have been [ANSWER], [ANSWER] and [ANSWER]
['Q10287', 'P21', {'concept': 'Q290'}] ['Q159840', 'P21', {'concept': 'Q290'}] ['Q345481', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?n ) { ( resource:Q10287 ) ( resource:Q159840 ) } . ?n property:P21 ?g }
male male male
Manuel Valls , Ruud Lubbers and Piet de Jong have been male, male and male
male male male
action union
action filter_type
action find
entity Manuel Valls
relation gender
type sex
action filter_type
action find
entity Ruud Lubbers
relation gender
type sex
action filter_type
action find
entity Piet de Jong
relation gender
type sex
['Manuel Valls', 'gender', {'concept': 'sex'}] ['Ruud Lubbers', 'gender', {'concept': 'sex'}] ['Piet de Jong', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?n ) { ( resource:Manuel_Valls ) ( resource:Ruud_Lubbers ) } . ?n property:gender ?g }
[]