Simple Question (Direct)
Simple Question
Q7308806
P800
Q340169
USER
What notable work were done by Reginald Marsh ?
(Q7308806,P800,c(Q340169))
action filter_type
action find
entity Q7308806
relation P800
type Q340169
['Q7308806', 'P800', {'concept': 'Q340169'}]
SELECT DISTINCT ?f WHERE { resource:Q7308806 property:P800 ?f . ?f rdf:type ontology:Q340169 }
Reginald Marsh
action filter_type
action find
entity Reginald Marsh
relation notable work
type media
['Reginald Marsh', 'notable work', {'concept': 'media'}]
SELECT DISTINCT ?f WHERE { resource:Reginald_Marsh property:notable_work ?f . ?f rdf:type ontology:media }
[]
media
Q20200743 Q20200647
SYSTEM
Sketchbook #47, Untitled (female nude studies)
Q20200743 Q20200647
(Q7308806,P800,c(Q340169))
action filter_type
action find
entity Q7308806
relation P800
type Q340169
[ANSWERS] were done by Reginald Marsh
['Q7308806', 'P800', {'concept': 'Q340169'}]
SELECT DISTINCT ?f WHERE { resource:Q7308806 property:P800 ?f . ?f rdf:type ontology:Q340169 }
Sketchbook #47 Untitled (female nude studies)
Sketchbook #47 and Untitled (female nude studies) were done by Reginald Marsh
Sketchbook #47 Untitled (female nude studies)
action filter_type
action find
entity Reginald Marsh
relation notable work
type media
['Reginald Marsh', 'notable work', {'concept': 'media'}]
SELECT DISTINCT ?f WHERE { resource:Reginald_Marsh property:notable_work ?f . ?f rdf:type ontology:media }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20200743
P170
Q502895
USER
Who created Sketchbook #47 ?
(Q20200743,P170,c(Q502895))
action filter_type
action find
entity Q20200743
relation P170
type Q502895
['Q20200743', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q20200743 property:P170 ?h . ?h rdf:type ontology:Q502895 }
Sketchbook #47
action filter_type
action find
entity Sketchbook #47
relation creator
type common name
['Sketchbook #47', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Sketchbook_#47 property:creator ?h . ?h rdf:type ontology:common_name }
[]
common name
Q7308806
SYSTEM
Reginald Marsh
Q7308806
(Q20200743,P170,c(Q502895))
action filter_type
action find
entity Q20200743
relation P170
type Q502895
[ANSWER] created Sketchbook #47
['Q20200743', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q20200743 property:P170 ?h . ?h rdf:type ontology:Q502895 }
Reginald Marsh
Reginald Marsh created Sketchbook #47
Reginald Marsh
action filter_type
action find
entity Sketchbook #47
relation creator
type common name
['Sketchbook #47', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Sketchbook_#47 property:creator ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23928813
Q502895
USER
And what about Landscape in the Roman Campagna?
(Q23928813,P170,c(Q502895))
action filter_type
action find
entity Q23928813
relation P170
type Q502895
['Q23928813', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q23928813 property:P170 ?v . ?v rdf:type ontology:Q502895 }
Landscape in the Roman Campagna
action filter_type
action find
entity Landscape in the Roman Campagna
relation creator
type common name
['Landscape in the Roman Campagna', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Landscape_in_the_Roman_Campagna property:creator ?v . ?v rdf:type ontology:common_name }
[]
common name
Q4233718
SYSTEM
anonymous
Q4233718
(Q23928813,P170,c(Q502895))
action filter_type
action find
entity Q23928813
relation P170
type Q502895
[ANSWER]
['Q23928813', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q23928813 property:P170 ?v . ?v rdf:type ontology:Q502895 }
anonymous
anonymous
action filter_type
action find
entity Landscape in the Roman Campagna
relation creator
type common name
['Landscape in the Roman Campagna', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Landscape_in_the_Roman_Campagna property:creator ?v . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q19917784 Q20200743
P276 P195
Q33506
USER
Which museums include Sketchbook #47 in it and are Foot Landscape situated ?
AND((Q20200743,P195,c(Q33506)), (Q19917784,P276,c(Q33506)))
action filter_type
action intersection
action find
entity Q20200743
relation P195
action find
entity Q19917784
relation P276
type Q33506
{'AND': [['Q20200743', 'P195', {'concept': 'Q33506'}], ['Q19917784', 'P276', {'concept': 'Q33506'}]]}
SELECT DISTINCT ?q WHERE { resource:Q20200743 property:P195 ?q . resource:Q19917784 property:P276 ?q . ?q rdf:type ontology:Q33506 }
Foot Landscape Sketchbook #47
action filter_type
action intersection
action find
entity Sketchbook #47
relation collection
action find
entity Foot Landscape
relation location
type museum
{'AND': [['Sketchbook #47', 'collection', {'concept': 'museum'}], ['Foot Landscape', 'location', {'concept': 'museum'}]]}
SELECT DISTINCT ?q WHERE { resource:Sketchbook_#47 property:collection ?q . resource:Foot_Landscape property:location ?q . ?q rdf:type ontology:museum }
[]
museum
Q160236
SYSTEM
Metropolitan Museum of Art
Q160236
AND((Q20200743,P195,c(Q33506)), (Q19917784,P276,c(Q33506)))
action filter_type
action intersection
action find
entity Q20200743
relation P195
action find
entity Q19917784
relation P276
type Q33506
[ANSWER] include Sketchbook #47 in it and are Foot Landscape situated
{'AND': [['Q20200743', 'P195', {'concept': 'Q33506'}], ['Q19917784', 'P276', {'concept': 'Q33506'}]]}
SELECT DISTINCT ?q WHERE { resource:Q20200743 property:P195 ?q . resource:Q19917784 property:P276 ?q . ?q rdf:type ontology:Q33506 }
Metropolitan Museum of Art
Metropolitan Museum of Art include Sketchbook #47 in it and are Foot Landscape situated
Metropolitan Museum of Art
action filter_type
action intersection
action find
entity Sketchbook #47
relation collection
action find
entity Foot Landscape
relation location
type museum
{'AND': [['Sketchbook #47', 'collection', {'concept': 'museum'}], ['Foot Landscape', 'location', {'concept': 'museum'}]]}
SELECT DISTINCT ?q WHERE { resource:Sketchbook_#47 property:collection ?q . resource:Foot_Landscape property:location ?q . ?q rdf:type ontology:museum }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q160236
P1435
Q2065736
USER
Which cultural property heritage status does that museum have ?
(Q160236,P1435,c(Q2065736))
action filter_type
action find
entity Q160236
relation P1435
type Q2065736
['Q160236', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?k WHERE { resource:Q160236 property:P1435 ?k . ?k rdf:type ontology:Q2065736 }
Metropolitan Museum of Art
action filter_type
action find
entity Metropolitan Museum of Art
relation heritage status
type cultural property
['Metropolitan Museum of Art', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?k WHERE { resource:Metropolitan_Museum_of_Art property:heritage_status ?k . ?k rdf:type ontology:cultural_property }
[]
cultural property
Q19558910
SYSTEM
place listed on the National Register of Historic Places
Q19558910
(Q160236,P1435,c(Q2065736))
action filter_type
action find
entity Q160236
relation P1435
type Q2065736
That museum has one [ANSWER]
['Q160236', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?k WHERE { resource:Q160236 property:P1435 ?k . ?k rdf:type ontology:Q2065736 }
place listed on the National Register of Historic Places
That museum has one place listed on the National Register of Historic Places
place listed on the National Register of Historic Places
action filter_type
action find
entity Metropolitan Museum of Art
relation heritage status
type cultural property
['Metropolitan Museum of Art', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?k WHERE { resource:Metropolitan_Museum_of_Art property:heritage_status ?k . ?k rdf:type ontology:cultural_property }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1435
Q2065736 Q27686
USER
How many cultural properties are the heritage status of less number of hotels than that cultural property ?
(c(Q27686),P1435,c(Q2065736))
action count
action less
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q27686
action count
action filter_type
action find_reverse
entity Q19558910
relation P1435
type Q2065736
[{'concept': 'Q27686'}, 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?r ) WHERE { ?w rdf:type ontology:Q2065736 . ?e rdf:type ontology:Q27686 . ?e property:P1435 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:P1435 resource:Q19558910 . ?q rdf:type ontology:Q2065736 } } . FILTER ( ?r < ?j ) }
action count
action less
action find_reverse_tuple_counts
relation heritage status
type cultural property
type hotel
action count
action filter_type
action find_reverse
entity place listed on the National Register of Historic Places
relation heritage status
type cultural property
[{'concept': 'hotel'}, 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?r ) WHERE { ?w rdf:type ontology:cultural_property . ?e rdf:type ontology:hotel . ?e property:heritage_status ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:heritage_status resource:place_listed_on_the_National_Register_of_Historic_Places . ?q rdf:type ontology:cultural_property } } . FILTER ( ?r < ?j ) }
[]
cultural property hotel
SYSTEM
101
Q18517317 Q649434 Q26235225 Q14622985 Q15714031 Q18031716 Q20012790 Q20012792 Q1967511 Q1847467 Q19718195 Q5335134 Q22247137 Q624232 Q11691318 Q17990326 Q16872697 Q17047640 Q3098283 Q18965125 Q916333 Q12053139 Q908411 Q21438156 Q6484836 Q22871013 Q26764449 Q5958900 Q17297633 Q15080599 Q3317612 Q15392506 Q960335 Q16971076 Q14500359 Q6906963 Q219538 Q21405908 Q1188622 Q23677505 Q7309389 Q1019352 Q15981101 Q5004973 Q15614064 Q16739336 Q11910250 Q6974386 Q7309375 Q7113045 Q15641550 Q12637954 Q23067926 Q3323436 Q3323432 Q11910247 Q20747146 Q2650048 Q15632117 Q1568567 Q15915488 Q19013512 Q385405 Q328070 Q23767078 Q2403675 Q20066819 Q21585062 Q19825927 Q21585095 Q18122890 Q3862742 Q893802 Q22876770 Q18342392 Q32459 Q14916934 Q916620 Q11579194 Q6979599 Q18363639 Q14842506 Q1516079 Q22074433 Q17047615 Q8346700 Q14917118 Q19346745 Q3323404 Q3323469 Q1188574 Q1129142 Q24498730 Q18363603 Q14331266 Q17504995 Q13790797 Q14475671 Q15203884 Q21153160 Q23712
(c(Q27686),P1435,c(Q2065736))
action count
action less
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q27686
action count
action filter_type
action find_reverse
entity Q19558910
relation P1435
type Q2065736
[ANSWER]
[{'concept': 'Q27686'}, 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?r ) WHERE { ?w rdf:type ontology:Q2065736 . ?e rdf:type ontology:Q27686 . ?e property:P1435 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:P1435 resource:Q19558910 . ?q rdf:type ontology:Q2065736 } } . FILTER ( ?r < ?j ) }
City of Mount Pearl heritage site national monument of the Czech Republic Declared National Monument heritage resource Patrimoine en Isère City of St. John's heritage site Grade 2 Grade 3 National Natural Landmark national monument of Argentina Grade 1 Los Angeles Historic-Cultural Monument Latvian cultural property national historic landmark of the USA Kulturdenkmal heritage conservation district British Columbia designated provincial heritage site State Protected Monument Heritage Railway Station of Canada 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 special historic site Iranian National Heritage Baudenkmal designated heritage property (part IV) Conjunto histórico territorial historic site Cultural Heritage Monuments of Slovakia Asset of Community Value local historic place Monuments of Kosovo scheduled monument Registered park or garden Important Cultural Properties of Japan National Historical Landmark Registered Monuments of Japan Cultural Asset of National Interest historical monument Bé d'interès cultural municipal heritage site bien recensé dans l'inventaire général du patrimoine culturel Cultural Asset of Local Interest national monument of Chile Registered Battlefield Outstanding Natural Area heritage lighthouse National Monument of Bosnia and Herzegovina designated heritage property Cultural Monument of Exceptional Importance Monument of Culture of Great Importance Property of Local Relevance listed on the Australian National Heritage List municipal monument Baudenkmal national historic site of Canada municipal heritage district Musées Nationaux Récupération cultural monument of the Czech Republic listed building in Sweden ensemble part protected heritage monument in Wallonia City of Yellowknife Heritage Site Class A New York City Landmark Class B territorial historic site National monuments of Singapore national monument of Ireland City of St. John's heritage district listed in a community heritage register Archaeological Sites of Exceptional Importance Municipally Registered Property National heritage site of Romania Registered Tangible Cultural Property of Japan National heritage site monument of local significance municipal heritage property cultural heritage ensemble garden monument Monument of National Importance cultural heritage site in Russia heritage conservation district protected heritage site in Brussels national monument of Italy 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 bateau d'intérêt patrimonial Bien de Interés Cultural
101
action count
action less
action find_reverse_tuple_counts
relation heritage status
type cultural property
type hotel
action count
action filter_type
action find_reverse
entity place listed on the National Register of Historic Places
relation heritage status
type cultural property
[{'concept': 'hotel'}, 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?r ) WHERE { ?w rdf:type ontology:cultural_property . ?e rdf:type ontology:hotel . ?e property:heritage_status ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:heritage_status resource:place_listed_on_the_National_Register_of_Historic_Places . ?q rdf:type ontology:cultural_property } } . FILTER ( ?r < ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3876392 Q160236
P19 P17
Q15617994
USER
Which administrative territories are Metropolitan Museum of Art a part of or are the places of birth of Nicola Zabaglia ?
OR((Q160236,P17,c(Q15617994)), (Q3876392,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q160236
relation P17
action find
entity Q3876392
relation P19
type Q15617994
{'OR': [['Q160236', 'P17', {'concept': 'Q15617994'}], ['Q3876392', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q160236 property:P17 ?l } UNION { resource:Q3876392 property:P19 ?l } } . ?l rdf:type ontology:Q15617994 }
Nicola Zabaglia Metropolitan Museum of Art
action filter_type
action union
action find
entity Metropolitan Museum of Art
relation country
action find
entity Nicola Zabaglia
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Metropolitan Museum of Art', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nicola Zabaglia', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Metropolitan_Museum_of_Art property:country ?l } UNION { resource:Nicola_Zabaglia property:place_of_birth ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20384 Q30
SYSTEM
Cascia, United States of America
Q20384 Q30
OR((Q160236,P17,c(Q15617994)), (Q3876392,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q160236
relation P17
action find
entity Q3876392
relation P19
type Q15617994
[ANSWERS] are Metropolitan Museum of Art a part of or are the places of birth of Nicola Zabaglia
{'OR': [['Q160236', 'P17', {'concept': 'Q15617994'}], ['Q3876392', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q160236 property:P17 ?l } UNION { resource:Q3876392 property:P19 ?l } } . ?l rdf:type ontology:Q15617994 }
Cascia United States of America
Cascia and United States of America are Metropolitan Museum of Art a part of or are the places of birth of Nicola Zabaglia
Cascia United States of America
action filter_type
action union
action find
entity Metropolitan Museum of Art
relation country
action find
entity Nicola Zabaglia
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Metropolitan Museum of Art', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nicola Zabaglia', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Metropolitan_Museum_of_Art property:country ?l } UNION { resource:Nicola_Zabaglia property:place_of_birth ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]