Simple Question (Direct)
Simple Question
Q1971155
P21
Q290
USER
What is the sex of Tony Attwood ?
(Q1971155,P21,c(Q290))
action filter_type
action find
entity Q1971155
relation P21
type Q290
['Q1971155', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q1971155 property:P21 ?t }
Tony Attwood
action filter_type
action find
entity Tony Attwood
relation gender
type sex
['Tony Attwood', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Tony_Attwood property:gender ?t }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1971155,P21,c(Q290))
action filter_type
action find
entity Q1971155
relation P21
type Q290
The sex of Tony Attwood is a [ANSWER]
['Q1971155', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q1971155 property:P21 ?t }
male
The sex of Tony Attwood is a male
male
action filter_type
action find
entity Tony Attwood
relation gender
type sex
['Tony Attwood', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Tony_Attwood property:gender ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P180
Q340169
USER
Which media expressess that sex ?
(c(Q340169),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q340169
[{'concept': 'Q340169'}, 'P180', 'Q6581097']
SELECT DISTINCT ?u WHERE { ?u property:P180 resource:Q6581097 . ?u rdf:type ontology:Q340169 }
male
action filter_type
action find_reverse
entity male
relation depicts
type media
[{'concept': 'media'}, 'depicts', 'male']
SELECT DISTINCT ?u WHERE { ?u property:depicts resource:male . ?u rdf:type ontology:media }
[]
media
Q20020115
SYSTEM
Portrait of a Young Man
Q20020115
(c(Q340169),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q340169
[ANSWER] expressess that sex
[{'concept': 'Q340169'}, 'P180', 'Q6581097']
SELECT DISTINCT ?u WHERE { ?u property:P180 resource:Q6581097 . ?u rdf:type ontology:Q340169 }
Portrait of a Young Man
Portrait of a Young Man expressess that sex
Portrait of a Young Man
action filter_type
action find_reverse
entity male
relation depicts
type media
[{'concept': 'media'}, 'depicts', 'male']
SELECT DISTINCT ?u WHERE { ?u property:depicts resource:male . ?u rdf:type ontology:media }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20020115
P186
Q8063
USER
Which rock is used to construct that media ?
(Q20020115,P186,c(Q8063))
action filter_type
action find
entity Q20020115
relation P186
type Q8063
['Q20020115', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q8063 . resource:Q20020115 property:P186 ?a }
Portrait of a Young Man
action filter_type
action find
entity Portrait of a Young Man
relation material used
type rock
['Portrait of a Young Man', 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:rock . resource:Portrait_of_a_Young_Man property:material_used ?a }
[]
rock
Q183670
SYSTEM
chalk
Q183670
(Q20020115,P186,c(Q8063))
action filter_type
action find
entity Q20020115
relation P186
type Q8063
[ANSWER] is used to construct that media
['Q20020115', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q8063 . resource:Q20020115 property:P186 ?a }
chalk
Chalk is used to construct that media
chalk
action filter_type
action find
entity Portrait of a Young Man
relation material used
type rock
['Portrait of a Young Man', 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:rock . resource:Portrait_of_a_Young_Man property:material_used ?a }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q884746 Q20020115
P186
Q8063
USER
Or Osser?
OR((Q20020115,P186,c(Q8063)), (Q884746,P186,c(Q8063)))
action filter_type
action union
action find
entity Q20020115
relation P186
action find
entity Q884746
relation P186
type Q8063
{'OR': [['Q20020115', 'P186', {'concept': 'Q8063'}], ['Q884746', 'P186', {'concept': 'Q8063'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q20020115 property:P186 ?o } UNION { resource:Q884746 property:P186 ?o } } . ?o rdf:type ontology:Q8063 }
Osser Portrait of a Young Man
action filter_type
action union
action find
entity Portrait of a Young Man
relation material used
action find
entity Osser
relation material used
type rock
{'OR': [['Portrait of a Young Man', 'material used', {'concept': 'rock'}], ['Osser', 'material used', {'concept': 'rock'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Portrait_of_a_Young_Man property:material_used ?o } UNION { resource:Osser property:material_used ?o } } . ?o rdf:type ontology:rock }
[]
rock
Q15315 Q183670
SYSTEM
schist, chalk
Q15315 Q183670
OR((Q20020115,P186,c(Q8063)), (Q884746,P186,c(Q8063)))
action filter_type
action union
action find
entity Q20020115
relation P186
action find
entity Q884746
relation P186
type Q8063
[ANSWERS]
{'OR': [['Q20020115', 'P186', {'concept': 'Q8063'}], ['Q884746', 'P186', {'concept': 'Q8063'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q20020115 property:P186 ?o } UNION { resource:Q884746 property:P186 ?o } } . ?o rdf:type ontology:Q8063 }
schist chalk
schist chalk
action filter_type
action union
action find
entity Portrait of a Young Man
relation material used
action find
entity Osser
relation material used
type rock
{'OR': [['Portrait of a Young Man', 'material used', {'concept': 'rock'}], ['Osser', 'material used', {'concept': 'rock'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Portrait_of_a_Young_Man property:material_used ?o } UNION { resource:Osser property:material_used ?o } } . ?o rdf:type ontology:rock }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P189
Q56061 Q8063
USER
How many administrative territories are considered to be the location of discovery of atmost 1 rock ?
(c(Q8063),P189,c(Q56061))
action count
action atmost
action find_reverse_tuple_counts
relation P189
type Q56061
type Q8063
value 1
[{'concept': 'Q8063'}, 'P189', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P189 ?q . ?i rdf:type ontology:Q8063 . ?q rdf:type ontology:Q56061 } GROUP BY ?q } . FILTER ( ?a <= 1 ) }
action count
action atmost
action find_reverse_tuple_counts
relation location of discovery
type administrative territorial entity
type rock
value 1
[{'concept': 'rock'}, 'location of discovery', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:location_of_discovery ?q . ?i rdf:type ontology:rock . ?q rdf:type ontology:administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?a <= 1 ) }
[]
administrative territorial entity rock
SYSTEM
83
Q3328055 Q261243 Q647 Q1754 Q641 Q1638676 Q1741 Q239776 Q18125 Q243101 Q1012797 Q5470588 Q813810 Q365 Q186702 Q87 Q173527 Q7809653 Q278743 Q1479 Q324394 Q2556208 Q581494 Q180773 Q220 Q853946 Q1887409 Q941860 Q90 Q619707 Q1524 Q690575 Q42462 Q1300853 Q2307506 Q614510 Q5699 Q2211116 Q178835 Q272777 Q1218 Q740795 Q79860 Q29303 Q10509 Q732554 Q207291 Q1231539 Q135466 Q3090955 Q5801733 Q7296532 Q4263550 Q1395685 Q84 Q1083066 Q71 Q244746 Q8385 Q192522 Q178813 Q3180863 Q185582 Q4818415 Q2241791 Q3495314 Q586018 Q5736 Q25286 Q816927 Q34404 Q357761 Q40816 Q163490 Q1954924 Q243456 Q5760 Q203299 Q2738696 Q985596 Q249707 Q1020734 Q165285
(c(Q8063),P189,c(Q56061))
action count
action atmost
action find_reverse_tuple_counts
relation P189
type Q56061
type Q8063
value 1
[ANSWER]
[{'concept': 'Q8063'}, 'P189', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P189 ?q . ?i rdf:type ontology:Q8063 . ?q rdf:type ontology:Q56061 } GROUP BY ?q } . FILTER ( ?a <= 1 ) }
Murchison Dmanisi Rennes Stockholm Venice Vinča Vienna Hoxne Manchester Nemi Ostia Antica Forsbrook Bedale Cologne Chattanooga Alexandria Knossos Tissint Navahrudak Bordeaux Sarnath Dispilio Troezen Susa Rome Girsu Royal Palace of Mari Palekastro Paris Sippar Athens Knidos York Ehringsdorf Snaptun Gabii Ur Satala Baalbek Hadrian's Villa Jerusalem Savissivik Huntsville Canterbury Elche Chavín de Huantar Areni Kameiros Dubna Govrlevo Chehrehabad Ravenshead Litva Happisburgh London Ribchester Geneva Larsa Ostrava Çatalhöyük Herculaneum Brandenburg Knoxville Pomos Vidalia St Endellion Osuna Amarna Uppsala Benedikt, Benedikt New Orleans Willendorf Benghazi Sidon Comallo Cumae Thebes Faiyum Horton Farsala Phaistos Cooktown Huittinen
83
action count
action atmost
action find_reverse_tuple_counts
relation location of discovery
type administrative territorial entity
type rock
value 1
[{'concept': 'rock'}, 'location of discovery', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:location_of_discovery ?q . ?i rdf:type ontology:rock . ?q rdf:type ontology:administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?a <= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P186
Q8063 Q18142 Q214609
USER
Which rocks are used to produce approximately 1 tower blocks or materials ?
(c(Q18142)|c(Q214609),P186,c(Q8063))
action approx
action union
action find_reverse_tuple_counts
relation P186
type Q8063
type Q18142
action find_reverse_tuple_counts
relation P186
type Q8063
type Q214609
value 1
[[{'concept': 'Q18142'}, {'concept': 'Q214609'}], 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?p ) WHERE { { ?b property:P186 ?s . ?s rdf:type ontology:Q8063 . ?b rdf:type ontology:Q18142 } UNION { ?b property:P186 ?s . ?s rdf:type ontology:Q8063 . ?b rdf:type ontology:Q214609 } } GROUP BY ?s } }
action approx
action union
action find_reverse_tuple_counts
relation material used
type rock
type tower block
action find_reverse_tuple_counts
relation material used
type rock
type material
value 1
[[{'concept': 'tower block'}, {'concept': 'material'}], 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?p ) WHERE { { ?b property:material_used ?s . ?s rdf:type ontology:rock . ?b rdf:type ontology:tower_block } UNION { ?b property:material_used ?s . ?s rdf:type ontology:rock . ?b rdf:type ontology:material } } GROUP BY ?s } }
[]
rock tower block material
Q42302 Q40861 Q23757
SYSTEM
clay, marble, limestone
Q42302 Q40861 Q23757
(c(Q18142)|c(Q214609),P186,c(Q8063))
action approx
action union
action find_reverse_tuple_counts
relation P186
type Q8063
type Q18142
action find_reverse_tuple_counts
relation P186
type Q8063
type Q214609
value 1
[ANSWERS] are used to produce approximately 1 tower blocks or materials
[[{'concept': 'Q18142'}, {'concept': 'Q214609'}], 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?p ) WHERE { { ?b property:P186 ?s . ?s rdf:type ontology:Q8063 . ?b rdf:type ontology:Q18142 } UNION { ?b property:P186 ?s . ?s rdf:type ontology:Q8063 . ?b rdf:type ontology:Q214609 } } GROUP BY ?s } }
clay marble limestone
Clay, marble and limestone are used to produce approximately 1 tower blocks or materials
clay marble limestone
action approx
action union
action find_reverse_tuple_counts
relation material used
type rock
type tower block
action find_reverse_tuple_counts
relation material used
type rock
type material
value 1
[[{'concept': 'tower block'}, {'concept': 'material'}], 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?p ) WHERE { { ?b property:material_used ?s . ?s rdf:type ontology:rock . ?b rdf:type ontology:tower_block } UNION { ?b property:material_used ?s . ?s rdf:type ontology:rock . ?b rdf:type ontology:material } } GROUP BY ?s } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23757
P921
Q732577
USER
Which publications were primarily based on that rock ?
(c(Q732577),P921,Q23757)
action filter_type
action find_reverse
entity Q23757
relation P921
type Q732577
[{'concept': 'Q732577'}, 'P921', 'Q23757']
SELECT DISTINCT ?l WHERE { ?l property:P921 resource:Q23757 . ?l rdf:type ontology:Q732577 }
limestone
action filter_type
action find_reverse
entity limestone
relation main subject
type publication
[{'concept': 'publication'}, 'main subject', 'limestone']
SELECT DISTINCT ?l WHERE { ?l property:main_subject resource:limestone . ?l rdf:type ontology:publication }
[]
publication
Clarification for simple ques.
Q23757
SYSTEM
Did you mean limestone ?
Q42302 Q40861 Q23757
(c(Q732577),P921,Q42302) (c(Q732577),P921,Q40861) (c(Q732577),P921,Q23757)
[ANSWER]
[{'concept': 'Q732577'}, 'P921', 'Q42302'] [{'concept': 'Q732577'}, 'P921', 'Q40861'] [{'concept': 'Q732577'}, 'P921', 'Q23757']
SELECT DISTINCT ?l WHERE { ?l property:P921 resource:Q23757 . ?l rdf:type ontology:Q732577 }
clay marble limestone
Did you mean limestone ?
limestone
[{'concept': 'publication'}, 'main subject', 'clay'] [{'concept': 'publication'}, 'main subject', 'marble'] [{'concept': 'publication'}, 'main subject', 'limestone']
SELECT DISTINCT ?l WHERE { ?l property:main_subject resource:limestone . ?l rdf:type ontology:publication }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q732577),P921,Q23757)
[{'concept': 'Q732577'}, 'P921', 'Q23757']
[{'concept': 'publication'}, 'main subject', 'limestone']
[]
Q26350963 Q26326338 Q24176283
SYSTEM
HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon, Pseudo-Tumoral Lung Formations from Silica Free Dusts, HHE determination report no. HHE-76-54-436, Certain-Teed Products, Inc., Richmond, California
Q26350963 Q26326338 Q24176283 Q26349665
(c(Q732577),P921,Q23757)
action filter_type
action find_reverse
entity Q23757
relation P921
type Q732577
[ANSWERS]
[{'concept': 'Q732577'}, 'P921', 'Q23757']
SELECT DISTINCT ?l WHERE { ?l property:P921 resource:Q23757 . ?l rdf:type ontology:Q732577 }
HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon Pseudo-Tumoral Lung Formations from Silica Free Dusts HHE determination report no. HHE-76-54-436, Certain-Teed Products, Inc., Richmond, California Indepth survey report: Macawber Engineering, Inc., Maryville, Tennessee, report no. CT-144-21a
HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon, Pseudo-Tumoral Lung Formations from Silica Free Dusts and HHE determination report no. HHE-76-54-436, Certain-Teed Products, Inc., Richmond, California were primarily based on that rock
HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon Pseudo-Tumoral Lung Formations from Silica Free Dusts HHE determination report no. HHE-76-54-436, Certain-Teed Products, Inc., Richmond, California
action filter_type
action find_reverse
entity limestone
relation main subject
type publication
[{'concept': 'publication'}, 'main subject', 'limestone']
SELECT DISTINCT ?l WHERE { ?l property:main_subject resource:limestone . ?l rdf:type ontology:publication }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P186
Q8063 Q41176
USER
Which buildings use atleast 1 rock as material for their making ?
(c(Q41176),P186,c(Q8063))
action atleast
action find_tuple_counts
relation P186
type Q41176
type Q8063
value 1
[{'concept': 'Q41176'}, 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?x >= 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?x ) WHERE { ?f property:P186 ?z . ?f rdf:type ontology:Q41176 . ?z rdf:type ontology:Q8063 } GROUP BY ?f } }
action atleast
action find_tuple_counts
relation material used
type building
type rock
value 1
[{'concept': 'building'}, 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?x >= 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?x ) WHERE { ?f property:material_used ?z . ?f rdf:type ontology:building . ?z rdf:type ontology:rock } GROUP BY ?f } }
[]
rock building
Q26974445 Q2956905 Q2957167
SYSTEM
Chapel of the tomb of Akhethotep, St Mark's Chapel, Kervalet, St Matthew's Chapel, Careil
Q2956672 Q2957167 Q7567959 Q20202955 Q2814367 Q10582476 Q3348560 Q17550774 Q2956905 Q26974445 Q216862 Q20003648 Q20003644 Q20003646 Q2957238 Q2957450
(c(Q41176),P186,c(Q8063))
action atleast
action find_tuple_counts
relation P186
type Q41176
type Q8063
value 1
[ANSWERS]
[{'concept': 'Q41176'}, 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?x >= 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?x ) WHERE { ?f property:P186 ?z . ?f rdf:type ontology:Q41176 . ?z rdf:type ontology:Q8063 } GROUP BY ?f } }
Notre-Dame de Bongarant St Matthew's Chapel, Careil South Milwaukee Post Office Mellish Road Methodist Chapel Riksbankshuset Messiah chapel Obelisk 156-162, Oxford Street W1 St Mark's Chapel, Kervalet Chapel of the tomb of Akhethotep Ġgantija Kordin III Temple Kordin I Temple Kordin II Temple Penchâteau Chapel Crucifix Chapel
Chapel of the tomb of Akhethotep, St Mark's Chapel, Kervalet and St Matthew's Chapel, Careil use atleast 1 rock as material for their making
Chapel of the tomb of Akhethotep St Mark's Chapel, Kervalet St Matthew's Chapel, Careil
action atleast
action find_tuple_counts
relation material used
type building
type rock
value 1
[{'concept': 'building'}, 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?x >= 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?x ) WHERE { ?f property:material_used ?z . ?f rdf:type ontology:building . ?z rdf:type ontology:rock } GROUP BY ?f } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q20193006 Q20020115
P276 P195
Q33506
USER
Which museums have Portrait of a Young Man in it and are A Spring Landscape situated ?
AND((Q20020115,P195,c(Q33506)), (Q20193006,P276,c(Q33506)))
action filter_type
action intersection
action find
entity Q20020115
relation P195
action find
entity Q20193006
relation P276
type Q33506
{'AND': [['Q20020115', 'P195', {'concept': 'Q33506'}], ['Q20193006', 'P276', {'concept': 'Q33506'}]]}
SELECT DISTINCT ?y WHERE { resource:Q20020115 property:P195 ?y . resource:Q20193006 property:P276 ?y . ?y rdf:type ontology:Q33506 }
A Spring Landscape Portrait of a Young Man
action filter_type
action intersection
action find
entity Portrait of a Young Man
relation collection
action find
entity A Spring Landscape
relation location
type museum
{'AND': [['Portrait of a Young Man', 'collection', {'concept': 'museum'}], ['A Spring Landscape', 'location', {'concept': 'museum'}]]}
SELECT DISTINCT ?y WHERE { resource:Portrait_of_a_Young_Man property:collection ?y . resource:A_Spring_Landscape property:location ?y . ?y rdf:type ontology:museum }
[]
museum
Q214867
SYSTEM
National Gallery of Art, Washington
Q214867
AND((Q20020115,P195,c(Q33506)), (Q20193006,P276,c(Q33506)))
action filter_type
action intersection
action find
entity Q20020115
relation P195
action find
entity Q20193006
relation P276
type Q33506
[ANSWER] have Portrait of a Young Man in it and are A Spring Landscape situated
{'AND': [['Q20020115', 'P195', {'concept': 'Q33506'}], ['Q20193006', 'P276', {'concept': 'Q33506'}]]}
SELECT DISTINCT ?y WHERE { resource:Q20020115 property:P195 ?y . resource:Q20193006 property:P276 ?y . ?y rdf:type ontology:Q33506 }
National Gallery of Art, Washington
National Gallery of Art, Washington have Portrait of a Young Man in it and are A Spring Landscape situated
National Gallery of Art, Washington
action filter_type
action intersection
action find
entity Portrait of a Young Man
relation collection
action find
entity A Spring Landscape
relation location
type museum
{'AND': [['Portrait of a Young Man', 'collection', {'concept': 'museum'}], ['A Spring Landscape', 'location', {'concept': 'museum'}]]}
SELECT DISTINCT ?y WHERE { resource:Portrait_of_a_Young_Man property:collection ?y . resource:A_Spring_Landscape property:location ?y . ?y rdf:type ontology:museum }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q214867
P159
Q56061
USER
Which administrative territory is the headquarter location of that museum ?
(Q214867,P159,c(Q56061))
action filter_type
action find
entity Q214867
relation P159
type Q56061
['Q214867', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q214867 property:P159 ?n . ?n rdf:type ontology:Q56061 }
National Gallery of Art, Washington
action filter_type
action find
entity National Gallery of Art, Washington
relation headquarters location
type administrative territorial entity
['National Gallery of Art, Washington', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:National_Gallery_of_Art,_Washington property:headquarters_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q61
SYSTEM
Washington, D.C.
Q61
(Q214867,P159,c(Q56061))
action filter_type
action find
entity Q214867
relation P159
type Q56061
[ANSWER] is the headquarter location of that museum
['Q214867', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q214867 property:P159 ?n . ?n rdf:type ontology:Q56061 }
Washington, D.C.
Washington, D.C. is the headquarter location of that museum
Washington, D.C.
action filter_type
action find
entity National Gallery of Art, Washington
relation headquarters location
type administrative territorial entity
['National Gallery of Art, Washington', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:National_Gallery_of_Art,_Washington property:headquarters_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]