Simple Question (Direct)
Simple Question
Q11450949
P27
Q15617994
USER
Which administrative territory is Shūichi Yasuzawa a civilian of ?
(Q11450949,P27,c(Q15617994))
action filter_type
action find
entity Q11450949
relation P27
type Q15617994
['Q11450949', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q11450949 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Shūichi Yasuzawa
action filter_type
action find
entity Shūichi Yasuzawa
relation country of citizenship
type designation for an administrative territorial entity
['Shūichi Yasuzawa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Shūichi_Yasuzawa property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11450949,P27,c(Q15617994))
action filter_type
action find
entity Q11450949
relation P27
type Q15617994
[ANSWER] is Shūichi Yasuzawa a civilian of
['Q11450949', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q11450949 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Japan
Japan is Shūichi Yasuzawa a civilian of
Japan
action filter_type
action find
entity Shūichi Yasuzawa
relation country of citizenship
type designation for an administrative territorial entity
['Shūichi Yasuzawa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Shūichi_Yasuzawa property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17
P180
Q11060274
USER
Which print depicts that administrative territory ?
(c(Q11060274),P180,Q17)
action filter_type
action find_reverse
entity Q17
relation P180
type Q11060274
[{'concept': 'Q11060274'}, 'P180', 'Q17']
SELECT DISTINCT ?h WHERE { ?h property:P180 resource:Q17 . ?h rdf:type ontology:Q11060274 }
Japan
action filter_type
action find_reverse
entity Japan
relation depicts
type print
[{'concept': 'print'}, 'depicts', 'Japan']
SELECT DISTINCT ?h WHERE { ?h property:depicts resource:Japan . ?h rdf:type ontology:print }
[]
print
Q18811458
SYSTEM
The Fifty-Three Stations of the Tōkaidō: Station #49: Sakanoshita
Q18811458
(c(Q11060274),P180,Q17)
action filter_type
action find_reverse
entity Q17
relation P180
type Q11060274
[ANSWER] depicts that administrative territory
[{'concept': 'Q11060274'}, 'P180', 'Q17']
SELECT DISTINCT ?h WHERE { ?h property:P180 resource:Q17 . ?h rdf:type ontology:Q11060274 }
The Fifty-Three Stations of the Tōkaidō: Station #49: Sakanoshita
The Fifty-Three Stations of the Tōkaidō: Station #49: Sakanoshita depicts that administrative territory
The Fifty-Three Stations of the Tōkaidō: Station #49: Sakanoshita
action filter_type
action find_reverse
entity Japan
relation depicts
type print
[{'concept': 'print'}, 'depicts', 'Japan']
SELECT DISTINCT ?h WHERE { ?h property:depicts resource:Japan . ?h rdf:type ontology:print }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P186
Q79529 Q214609 Q11060274
USER
Which prints are constructed exactly 1 chemical substances and materials ?
(c(Q11060274),P186,c(Q79529)|c(Q214609))
action equal
action union
action find_tuple_counts
relation P186
type Q11060274
type Q79529
action find_tuple_counts
relation P186
type Q11060274
type Q214609
value 1
[{'concept': 'Q11060274'}, 'P186', [{'concept': 'Q79529'}, {'concept': 'Q214609'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?c ) WHERE { VALUES ( ?d ) { ( ontology:Q79529 ) ( ontology:Q214609 ) } . ?o rdf:type ?d } GROUP BY ?e } . FILTER ( ?c = 1 ) }
action equal
action union
action find_tuple_counts
relation material used
type print
type chemical substance
action find_tuple_counts
relation material used
type print
type material
value 1
[{'concept': 'print'}, 'material used', [{'concept': 'chemical substance'}, {'concept': 'material'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?c ) WHERE { VALUES ( ?d ) { ( ontology:chemical_substance ) ( ontology:material ) } . ?o rdf:type ?d } GROUP BY ?e } . FILTER ( ?c = 1 ) }
[]
chemical substance material print
Q22976858 Q18822980 Q18822959
SYSTEM
Great View of Prague, From Quai de Grenelle, From Boulevard de Clichy
Q23008834 Q19963546 Q24037397 Q23008937 Q18822999 Q18822990 Q18822995 Q20160228 Q18598467 Q23009059 Q18822985 Q18822969 Q18822988 Q18822989 Q23009139 Q18822982 Q18822983 Q18822980 Q18822981 Q18822986 Q18822987 Q18822984 Q20489130 Q18689351 Q18822933 Q20667073 Q23638501 Q23638502 Q20991353 Q20991352 Q20991351 Q20991350 Q11869499 Q18822959 Q18823007 Q20991340 Q20991341 Q20991343 Q20991344 Q20991345 Q20991347 Q20991348 Q22233706 Q23008313 Q23008312 Q23008418 Q23008419 Q22976858 Q22049136 Q20991337 Q23649006 Q23008422 Q18686343 Q20991339 Q20991338 Q18686018 Q18686019 Q18687857 Q18811458 Q18688243 Q18688242 Q18822888 Q18822925 Q18686339 Q18686335 Q26267280 Q18823008 Q23008339 Q23008338 Q18823004 Q18823005 Q18823006 Q18687847 Q18823003 Q18822895 Q20667113 Q18688258 Q18822879 Q18822871 Q18689399 Q23009140 Q23008880 Q18822949 Q18683800 Q18822941 Q18689402 Q18689401 Q18822848 Q18822979 Q18822973 Q18822977 Q18822976 Q18822974 Q23008898 Q18822978
(c(Q11060274),P186,c(Q79529)|c(Q214609))
action equal
action union
action find_tuple_counts
relation P186
type Q11060274
type Q79529
action find_tuple_counts
relation P186
type Q11060274
type Q214609
value 1
[ANSWERS] are constructed exactly 1 chemical substances and materials
[{'concept': 'Q11060274'}, 'P186', [{'concept': 'Q79529'}, {'concept': 'Q214609'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?c ) WHERE { VALUES ( ?d ) { ( ontology:Q79529 ) ( ontology:Q214609 ) } . ?o rdf:type ?d } GROUP BY ?e } . FILTER ( ?c = 1 ) }
Lodona from Pope's Windsor Forest Line in Front of the Butcher Shop The Castle of Bercy Bamboo gate Plumber Worker in the Tower From Quai de Javel (Signaller Shack) From Bas-Meudon. Old Lavoir On the Warpath The Morning Bell Portrait of a Man From Place de la Concorde From Point-du-Jour From Pont d'Austerlitz Behind L'Élan by Fremiet (Trocadéro) Bull terrier, a position of trust From Pont de Grenelle On the Roofs From Quai de Grenelle From Rue des Abbesses From Île des Cygnes In the Tower From Bois de Boulogne Travelling Salt Pan Worker from Bourg-de-Batz Untitled From Pont des Saints-Pères Entrance to Valencia Portrait of Mlle. Dethier Massacre of the Innocents after Matteo di Giovanni da Siena Le Carceri d'Invenzione, plate XVI: The Pier with Chains Le Carceri d'Invenzione, plate XV: The Pier with a Lamp Le Carceri d'Invenzione, plate XIV: The Gothic Arch Le Carceri d'Invenzione, plate XIII: The Well Flower of Death From Boulevard de Clichy The Barges Le Carceri d'Invenzione, plate VI: The Smoking Fire Le Carceri d'Invenzione, plate VII: The Drawbridge Le Carceri d'Invenzione, plate VIII: The Staircase with Trophies Le Carceri d'Invenzione, plate IX: The Giant Wheel Le Carceri d'Invenzione, plate X: Prisoners on a Projecting Platform Le Carceri d'Invenzione, plate XI: The Arch with a Shell Ornament Le Carceri d'Invenzione, plate XII: The Sawhorse Soup Kitchen in Arroios Marriage of St. Catherine Portrait of a Lady Boy with a sack Sarah Countess of Kinnoull Great View of Prague Desolation and despair Le Carceri d'Invenzione, plate I: Title Plate By the Shore of Lethe Lake Jane Dalrymple-Hamilton (née Duncan) Rotherhithe Le Carceri d'Invenzione, plate IV: The Grand Piazza Le Carceri d'Invenzione, plate III: The Round Tower Fuchu Landscape at Kusatsu Untitled The Fifty-Three Stations of the Tōkaidō: Station #49: Sakanoshita Untitled Komachi Washing the Poem-Papers At the Top of the Tower From Grenelle Vegetable Gardens Nocturne The Doorway Devotional images The Painter in the Tower The Flight into Egypt The Madonna Weeping From Bas-Meudon Station From the Estacade From Trocadéro Gardens, Autumn Untitled From Quai de Passy-Charbonniers Rue Beethoven Untitled Sakata Kanetom Eating at Home The Tower Being Built, from Trocadéro The Eiffel Tower Building Sites The poetess Ono-no Komachi in the rain Foxhounds, a burning scent C is to Cut From Notre-Dame Untitled From Quai de la Conférence Untitled Hinakoto the courtesan Frontispiece In Bateau-mouche Celebration on the Seine River, July 14th From Rue Rochechouart From Rue Lamarck From Quai de Passy Daydreams From Quai de Passy, in the Rain
Great View of Prague, From Quai de Grenelle and From Boulevard de Clichy are constructed exactly 1 chemical substances and materials
Great View of Prague From Quai de Grenelle From Boulevard de Clichy
action equal
action union
action find_tuple_counts
relation material used
type print
type chemical substance
action find_tuple_counts
relation material used
type print
type material
value 1
[{'concept': 'print'}, 'material used', [{'concept': 'chemical substance'}, {'concept': 'material'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?c ) WHERE { VALUES ( ?d ) { ( ontology:chemical_substance ) ( ontology:material ) } . ?o rdf:type ?d } GROUP BY ?e } . FILTER ( ?c = 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q22976858 Q18822980 Q18822959
P195
Q2668072
USER
Which collections contain Great View of Prague, From Quai de Grenelle and From Boulevard de Clichy in it ?
(Q22976858,P195,c(Q2668072)) (Q18822980,P195,c(Q2668072)) (Q18822959,P195,c(Q2668072))
action union
action filter_type
action find
entity Q22976858
relation P195
type Q2668072
action filter_type
action find
entity Q18822980
relation P195
type Q2668072
action filter_type
action find
entity Q18822959
relation P195
type Q2668072
['Q22976858', 'P195', {'concept': 'Q2668072'}] ['Q18822980', 'P195', {'concept': 'Q2668072'}] ['Q18822959', 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?e WHERE { { resource:Q22976858 property:P195 ?e . ?e rdf:type ontology:Q2668072 } UNION { resource:Q18822980 property:P195 ?e . ?e rdf:type ontology:Q2668072 } }
Great View of Prague From Quai de Grenelle From Boulevard de Clichy
action union
action filter_type
action find
entity Great View of Prague
relation collection
type collection
action filter_type
action find
entity From Quai de Grenelle
relation collection
type collection
action filter_type
action find
entity From Boulevard de Clichy
relation collection
type collection
['Great View of Prague', 'collection', {'concept': 'collection'}] ['From Quai de Grenelle', 'collection', {'concept': 'collection'}] ['From Boulevard de Clichy', 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?e WHERE { { resource:Great_View_of_Prague property:collection ?e . ?e rdf:type ontology:collection } UNION { resource:From_Quai_de_Grenelle property:collection ?e . ?e rdf:type ontology:collection } }
[]
collection
Q188112 Q23402 Q23402
SYSTEM
Musée d'Orsay for 2nd, 3rd, National Museum for 1st
Q188112 Q23402 Q23402
(Q22976858,P195,c(Q2668072)) (Q18822980,P195,c(Q2668072)) (Q18822959,P195,c(Q2668072))
action union
action filter_type
action find
entity Q22976858
relation P195
type Q2668072
action filter_type
action find
entity Q18822980
relation P195
type Q2668072
action filter_type
action find
entity Q18822959
relation P195
type Q2668072
[ANSWERS]
['Q22976858', 'P195', {'concept': 'Q2668072'}] ['Q18822980', 'P195', {'concept': 'Q2668072'}] ['Q18822959', 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?e WHERE { { resource:Q22976858 property:P195 ?e . ?e rdf:type ontology:Q2668072 } UNION { resource:Q18822980 property:P195 ?e . ?e rdf:type ontology:Q2668072 } }
National Museum Musée d'Orsay Musée d'Orsay
National Museum, Musée d'Orsay and Musée d'Orsay contain Great View of Prague, From Quai de Grenelle and From Boulevard de Clichy in it
National Museum Musée d'Orsay Musée d'Orsay
action union
action filter_type
action find
entity Great View of Prague
relation collection
type collection
action filter_type
action find
entity From Quai de Grenelle
relation collection
type collection
action filter_type
action find
entity From Boulevard de Clichy
relation collection
type collection
['Great View of Prague', 'collection', {'concept': 'collection'}] ['From Quai de Grenelle', 'collection', {'concept': 'collection'}] ['From Boulevard de Clichy', 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?e WHERE { { resource:Great_View_of_Prague property:collection ?e . ?e rdf:type ontology:collection } UNION { resource:From_Quai_de_Grenelle property:collection ?e . ?e rdf:type ontology:collection } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q188112
P1435
Q2065736
USER
Which cultural properties give the heritage status of National Museum ?
(Q188112,P1435,c(Q2065736))
action filter_type
action find
entity Q188112
relation P1435
type Q2065736
['Q188112', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?o WHERE { resource:Q188112 property:P1435 ?o . ?o rdf:type ontology:Q2065736 }
National Museum
action filter_type
action find
entity National Museum
relation heritage status
type cultural property
['National Museum', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?o WHERE { resource:National_Museum property:heritage_status ?o . ?o rdf:type ontology:cultural_property }
[]
cultural property
Q385405 Q649434
SYSTEM
cultural monument of the Czech Republic, national monument of the Czech Republic
Q385405 Q649434
(Q188112,P1435,c(Q2065736))
action filter_type
action find
entity Q188112
relation P1435
type Q2065736
The [ANSWERS] give the heritage status of National Museum
['Q188112', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?o WHERE { resource:Q188112 property:P1435 ?o . ?o rdf:type ontology:Q2065736 }
cultural monument of the Czech Republic national monument of the Czech Republic
The cultural monument of the Czech Republic and national monument of the Czech Republic give the heritage status of National Museum
cultural monument of the Czech Republic national monument of the Czech Republic
action filter_type
action find
entity National Museum
relation heritage status
type cultural property
['National Museum', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?o WHERE { resource:National_Museum property:heritage_status ?o . ?o rdf:type ontology:cultural_property }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q188112
P17
Q15617994
USER
Which administrative territory is that collection present in ?
(Q385405,P17,c(Q15617994)) (Q649434,P17,c(Q15617994))
action filter_type
action find
entity Q188112
relation P17
type Q15617994
['Q385405', 'P17', {'concept': 'Q15617994'}] ['Q649434', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q188112 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
National Museum
action filter_type
action find
entity National Museum
relation country
type designation for an administrative territorial entity
['cultural monument of the Czech Republic', 'country', {'concept': 'designation for an administrative territorial entity'}] ['national monument of the Czech Republic', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:National_Museum property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q385405,P17,c(Q15617994)) (Q649434,P17,c(Q15617994))
action filter_type
action find
entity Q188112
relation P17
type Q15617994
That collection is the [ANSWER]
['Q385405', 'P17', {'concept': 'Q15617994'}] ['Q649434', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q188112 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Czech Republic
That collection is the Czech Republic
Czech Republic
action filter_type
action find
entity National Museum
relation country
type designation for an administrative territorial entity
['cultural monument of the Czech Republic', 'country', {'concept': 'designation for an administrative territorial entity'}] ['national monument of the Czech Republic', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:National_Museum property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with exactly 1 administrative territory ?
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?r ) WHERE { ?p rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 . ?p property:P530 ?h } GROUP BY ?p } . FILTER ( ?r = 1 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?r ) WHERE { ?p rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?h } GROUP BY ?p } . FILTER ( ?r = 1 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
4
Q1000 Q781 Q778 Q769
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?r ) WHERE { ?p rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 . ?p property:P530 ?h } GROUP BY ?p } . FILTER ( ?r = 1 ) }
Gabon Antigua and Barbuda The Bahamas Grenada
4
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?r ) WHERE { ?p rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?h } GROUP BY ?p } . FILTER ( ?r = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q18122890
P1435
Q2065736 Q27686 Q41176
USER
Which cultural properties are the heritage status of more number of hotels and buildings than territorial historic site ?
(c(Q27686)|c(Q41176),P1435,c(Q2065736))
action greater
action union
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q27686
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q18122890
relation P1435
type Q27686
type Q41176
[[{'concept': 'Q27686'}, {'concept': 'Q41176'}], 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?v WHERE { { ?i property:P1435 ?v . ?v rdf:type ontology:Q2065736 . ?i rdf:type ontology:Q27686 } UNION { ?i property:P1435 ?v . ?v rdf:type ontology:Q2065736 . ?i rdf:type ontology:Q41176 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:P1435 resource:Q18122890 . { { ?s rdf:type ontology:Q27686 } UNION { ?s rdf:type ontology:Q41176 } } } } . FILTER ( ?g > ?l ) }
territorial historic site
action greater
action union
action find_reverse_tuple_counts
relation heritage status
type cultural property
type hotel
action find_reverse_tuple_counts
relation heritage status
type cultural property
type building
action count
action filter_multi_types
action find_reverse
entity territorial historic site
relation heritage status
type hotel
type building
[[{'concept': 'hotel'}, {'concept': 'building'}], 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?v WHERE { { ?i property:heritage_status ?v . ?v rdf:type ontology:cultural_property . ?i rdf:type ontology:hotel } UNION { ?i property:heritage_status ?v . ?v rdf:type ontology:cultural_property . ?i rdf:type ontology:building } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:heritage_status resource:territorial_historic_site . { { ?s rdf:type ontology:hotel } UNION { ?s rdf:type ontology:building } } } } . FILTER ( ?g > ?l ) }
[]
cultural property hotel building
Q12053139 Q1019352 Q11910250
SYSTEM
Beschermd erfgoed, Cultural Asset of National Interest, Cultural Asset of Local Interest
Q649434 Q26235225 Q14622985 Q19558910 Q15714031 Q18031716 Q20012790 Q1847467 Q19718195 Q5335134 Q624232 Q11691318 Q16872697 Q18965125 Q916333 Q12053139 Q908411 Q21438156 Q6484836 Q22871013 Q5958900 Q17297633 Q15080599 Q14500359 Q219538 Q1188622 Q1019352 Q15981101 Q15614064 Q16739336 Q11910250 Q23067926 Q3323436 Q11910247 Q2650048 Q15632117 Q1568567 Q385405 Q328070 Q2403675 Q20066819 Q21585062 Q19825927 Q3862742 Q14916934 Q916620 Q11579194 Q18363639 Q14842506 Q17047615 Q3323469 Q1188574 Q1129142 Q24498730 Q18363603 Q14331266 Q17504995 Q13790797 Q14475671 Q15203884 Q23712
(c(Q27686)|c(Q41176),P1435,c(Q2065736))
action greater
action union
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q27686
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q18122890
relation P1435
type Q27686
type Q41176
[ANSWERS] are the heritage status of more number of hotels and buildings than territorial historic site
[[{'concept': 'Q27686'}, {'concept': 'Q41176'}], 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?v WHERE { { ?i property:P1435 ?v . ?v rdf:type ontology:Q2065736 . ?i rdf:type ontology:Q27686 } UNION { ?i property:P1435 ?v . ?v rdf:type ontology:Q2065736 . ?i rdf:type ontology:Q41176 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:P1435 resource:Q18122890 . { { ?s rdf:type ontology:Q27686 } UNION { ?s rdf:type ontology:Q41176 } } } } . FILTER ( ?g > ?l ) }
national monument of the Czech Republic Declared National Monument heritage resource place listed on the National Register of Historic Places Patrimoine en Isère City of St. John's heritage site Grade 2 national monument of Argentina Grade 1 Los Angeles Historic-Cultural Monument national historic landmark of the USA Kulturdenkmal British Columbia designated provincial heritage site building protected by Paris urban planning document Rijksmonument Beschermd erfgoed National heritage site (Portugal) object on the Polish cultural objects register Landmarks of St. Louis municipal heritage site Iranian National Heritage Baudenkmal designated heritage property (part IV) local historic place scheduled monument Important Cultural Properties of Japan Cultural Asset of National Interest historical monument municipal heritage site bien recensé dans l'inventaire général du patrimoine culturel Cultural Asset of Local Interest designated heritage property Cultural Monument of Exceptional Importance Property of Local Relevance municipal monument Baudenkmal national historic site of Canada cultural monument of the Czech Republic listed building in Sweden protected heritage monument in Wallonia City of Yellowknife Heritage Site Class A New York City Landmark National monuments of Singapore Municipally Registered Property National heritage site of Romania Registered Tangible Cultural Property of Japan monument of local significance municipal heritage property Monument of National Importance protected cultural monuments in Serbia Major Historical and Cultural Site Protected at the National Level contributing property Omaha Landmark monument of national significance recognized heritage site heritage designation recognized heritage immovable municipal historic resource Winnipeg Landmark Heritage Structure Bien de Interés Cultural
Beschermd erfgoed, Cultural Asset of National Interest and Cultural Asset of Local Interest are the heritage status of more number of hotels and buildings than territorial historic site
Beschermd erfgoed Cultural Asset of National Interest Cultural Asset of Local Interest
action greater
action union
action find_reverse_tuple_counts
relation heritage status
type cultural property
type hotel
action find_reverse_tuple_counts
relation heritage status
type cultural property
type building
action count
action filter_multi_types
action find_reverse
entity territorial historic site
relation heritage status
type hotel
type building
[[{'concept': 'hotel'}, {'concept': 'building'}], 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) ?v WHERE { { ?i property:heritage_status ?v . ?v rdf:type ontology:cultural_property . ?i rdf:type ontology:hotel } UNION { ?i property:heritage_status ?v . ?v rdf:type ontology:cultural_property . ?i rdf:type ontology:building } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:heritage_status resource:territorial_historic_site . { { ?s rdf:type ontology:hotel } UNION { ?s rdf:type ontology:building } } } } . FILTER ( ?g > ?l ) }
[]