Simple Question (Direct)
Simple Question
Q448486
P119
Q39614
USER
Which cemetery is the tomb of Hannie Schaft ?
(Q448486,P119,c(Q39614))
action filter_type
action find
entity Q448486
relation P119
type Q39614
['Q448486', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?t WHERE { resource:Q448486 property:P119 ?t . ?t rdf:type ontology:Q39614 }
Hannie Schaft
action filter_type
action find
entity Hannie Schaft
relation place of burial
type cemetery
['Hannie Schaft', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?t WHERE { resource:Hannie_Schaft property:place_of_burial ?t . ?t rdf:type ontology:cemetery }
[]
cemetery
Q2856348
SYSTEM
Eerebegraafplaats Bloemendaal
Q2856348
(Q448486,P119,c(Q39614))
action filter_type
action find
entity Q448486
relation P119
type Q39614
The tomb of Hannie Schaft is in [ANSWER]
['Q448486', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?t WHERE { resource:Q448486 property:P119 ?t . ?t rdf:type ontology:Q39614 }
Eerebegraafplaats Bloemendaal
The tomb of Hannie Schaft is in Eerebegraafplaats Bloemendaal
Eerebegraafplaats Bloemendaal
action filter_type
action find
entity Hannie Schaft
relation place of burial
type cemetery
['Hannie Schaft', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?t WHERE { resource:Hannie_Schaft property:place_of_burial ?t . ?t rdf:type ontology:cemetery }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2856348
P1435
Q16887380
USER
Which group represents the heritage status given to that cemetery ?
(Q2856348,P1435,c(Q16887380))
action filter_type
action find
entity Q2856348
relation P1435
type Q16887380
['Q2856348', 'P1435', {'concept': 'Q16887380'}]
SELECT DISTINCT ?y WHERE { resource:Q2856348 property:P1435 ?y . ?y rdf:type ontology:Q16887380 }
Eerebegraafplaats Bloemendaal
action filter_type
action find
entity Eerebegraafplaats Bloemendaal
relation heritage status
type group
['Eerebegraafplaats Bloemendaal', 'heritage status', {'concept': 'group'}]
SELECT DISTINCT ?y WHERE { resource:Eerebegraafplaats_Bloemendaal property:heritage_status ?y . ?y rdf:type ontology:group }
[]
group
Q13423591
SYSTEM
Rijksmonument complex
Q13423591
(Q2856348,P1435,c(Q16887380))
action filter_type
action find
entity Q2856348
relation P1435
type Q16887380
[ANSWER] represents the heritage status given to that cemetery
['Q2856348', 'P1435', {'concept': 'Q16887380'}]
SELECT DISTINCT ?y WHERE { resource:Q2856348 property:P1435 ?y . ?y rdf:type ontology:Q16887380 }
Rijksmonument complex
Rijksmonument complex represents the heritage status given to that cemetery
Rijksmonument complex
action filter_type
action find
entity Eerebegraafplaats Bloemendaal
relation heritage status
type group
['Eerebegraafplaats Bloemendaal', 'heritage status', {'concept': 'group'}]
SELECT DISTINCT ?y WHERE { resource:Eerebegraafplaats_Bloemendaal property:heritage_status ?y . ?y rdf:type ontology:group }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18768071
Q16887380
USER
And what about De Achterhoek?
(Q18768071,P1435,c(Q16887380))
action filter_type
action find
entity Q18768071
relation P1435
type Q16887380
['Q18768071', 'P1435', {'concept': 'Q16887380'}]
SELECT DISTINCT ?q WHERE { resource:Q18768071 property:P1435 ?q . ?q rdf:type ontology:Q16887380 }
De Achterhoek
action filter_type
action find
entity De Achterhoek
relation heritage status
type group
['De Achterhoek', 'heritage status', {'concept': 'group'}]
SELECT DISTINCT ?q WHERE { resource:De_Achterhoek property:heritage_status ?q . ?q rdf:type ontology:group }
[]
group
Q13423591
SYSTEM
Rijksmonument complex
Q13423591
(Q18768071,P1435,c(Q16887380))
action filter_type
action find
entity Q18768071
relation P1435
type Q16887380
[ANSWER]
['Q18768071', 'P1435', {'concept': 'Q16887380'}]
SELECT DISTINCT ?q WHERE { resource:Q18768071 property:P1435 ?q . ?q rdf:type ontology:Q16887380 }
Rijksmonument complex
Rijksmonument complex
action filter_type
action find
entity De Achterhoek
relation heritage status
type group
['De Achterhoek', 'heritage status', {'concept': 'group'}]
SELECT DISTINCT ?q WHERE { resource:De_Achterhoek property:heritage_status ?q . ?q rdf:type ontology:group }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q18768071
P17
Q15617994
USER
How many administrative territories are De Achterhoek located in ?
(Q18768071,P17,c(Q15617994))
action count
action filter_type
action find
entity Q18768071
relation P17
type Q15617994
['Q18768071', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q18768071 property:P17 ?m }
De Achterhoek
action count
action filter_type
action find
entity De Achterhoek
relation country
type designation for an administrative territorial entity
['De Achterhoek', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:De_Achterhoek property:country ?m }
[]
designation for an administrative territorial entity
SYSTEM
1
Q55
(Q18768071,P17,c(Q15617994))
action count
action filter_type
action find
entity Q18768071
relation P17
type Q15617994
[ANSWER]
['Q18768071', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q18768071 property:P17 ?m }
Netherlands
1
action count
action filter_type
action find
entity De Achterhoek
relation country
type designation for an administrative territorial entity
['De Achterhoek', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:De_Achterhoek property:country ?m }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6477809
Q15617994
USER
And how about Lake Spaulding Dam?
(Q6477809,P17,c(Q15617994))
action count
action filter_type
action find
entity Q6477809
relation P17
type Q15617994
['Q6477809', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Q6477809 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Lake Spaulding Dam
action count
action filter_type
action find
entity Lake Spaulding Dam
relation country
type designation for an administrative territorial entity
['Lake Spaulding Dam', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Lake_Spaulding_Dam property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q6477809,P17,c(Q15617994))
action count
action filter_type
action find
entity Q6477809
relation P17
type Q15617994
[ANSWER]
['Q6477809', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Q6477809 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Lake Spaulding Dam
relation country
type designation for an administrative territorial entity
['Lake Spaulding Dam', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Lake_Spaulding_Dam property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2510284 Q18768071
P17
Q15617994
USER
Which administrative territories are De Achterhoek or Köybaşı situated in ?
OR((Q18768071,P17,c(Q15617994)), (Q2510284,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18768071
relation P17
action find
entity Q2510284
relation P17
type Q15617994
{'OR': [['Q18768071', 'P17', {'concept': 'Q15617994'}], ['Q2510284', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q18768071 property:P17 ?g } UNION { resource:Q2510284 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Köybaşı De Achterhoek
action filter_type
action union
action find
entity De Achterhoek
relation country
action find
entity Köybaşı
relation country
type designation for an administrative territorial entity
{'OR': [['De Achterhoek', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Köybaşı', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:De_Achterhoek property:country ?g } UNION { resource:Köybaşı property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q43
SYSTEM
Netherlands, Turkey
Q55 Q43
OR((Q18768071,P17,c(Q15617994)), (Q2510284,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18768071
relation P17
action find
entity Q2510284
relation P17
type Q15617994
De Achterhoek or Köybaşı are situated in [ANSWERS]
{'OR': [['Q18768071', 'P17', {'concept': 'Q15617994'}], ['Q2510284', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q18768071 property:P17 ?g } UNION { resource:Q2510284 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Netherlands Turkey
De Achterhoek or Köybaşı are situated in Netherlands and Turkey
Netherlands Turkey
action filter_type
action union
action find
entity De Achterhoek
relation country
action find
entity Köybaşı
relation country
type designation for an administrative territorial entity
{'OR': [['De Achterhoek', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Köybaşı', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:De_Achterhoek property:country ?g } UNION { resource:Köybaşı property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q55 Q13423591
P1435 P17
Q7743
USER
Which homes takes on the heritage status of Rijksmonument complex and are present in Netherlands ?
AND((c(Q7743),P1435,Q13423591), (c(Q7743),P17,Q55))
action filter_type
action intersection
action find_reverse
entity Q13423591
relation P1435
action find_reverse
entity Q55
relation P17
type Q7743
{'AND': [[{'concept': 'Q7743'}, 'P1435', 'Q13423591'], [{'concept': 'Q7743'}, 'P17', 'Q55']]}
SELECT DISTINCT ?p WHERE { ?p property:P1435 resource:Q13423591 . ?p property:P17 resource:Q55 . ?p rdf:type ontology:Q7743 }
Netherlands Rijksmonument complex
action filter_type
action intersection
action find_reverse
entity Rijksmonument complex
relation heritage status
action find_reverse
entity Netherlands
relation country
type home
{'AND': [[{'concept': 'home'}, 'heritage status', 'Rijksmonument complex'], [{'concept': 'home'}, 'country', 'Netherlands']]}
SELECT DISTINCT ?p WHERE { ?p property:heritage_status resource:Rijksmonument_complex . ?p property:country resource:Netherlands . ?p rdf:type ontology:home }
[]
home
Q18767588 Q14852070 Q7474822 Q1984500 Q18775606
SYSTEM
Eijsden Castle, Kasteel Groot Engelenburg, Sandwijck, Gunterstein, historical buitenplaats Ruurlo
Q18767588 Q14852070 Q7474822 Q1984500 Q18775606
AND((c(Q7743),P1435,Q13423591), (c(Q7743),P17,Q55))
action filter_type
action intersection
action find_reverse
entity Q13423591
relation P1435
action find_reverse
entity Q55
relation P17
type Q7743
[ANSWERS] take on the heritage status of Rijksmonument complex and are present in Netherlands
{'AND': [[{'concept': 'Q7743'}, 'P1435', 'Q13423591'], [{'concept': 'Q7743'}, 'P17', 'Q55']]}
SELECT DISTINCT ?p WHERE { ?p property:P1435 resource:Q13423591 . ?p property:P17 resource:Q55 . ?p rdf:type ontology:Q7743 }
Eijsden Castle Kasteel Groot Engelenburg Sandwijck Gunterstein historical buitenplaats Ruurlo
Eijsden Castle, Kasteel Groot Engelenburg, Sandwijck, Gunterstein and historical buitenplaats Ruurlo take on the heritage status of Rijksmonument complex and are present in Netherlands
Eijsden Castle Kasteel Groot Engelenburg Sandwijck Gunterstein historical buitenplaats Ruurlo
action filter_type
action intersection
action find_reverse
entity Rijksmonument complex
relation heritage status
action find_reverse
entity Netherlands
relation country
type home
{'AND': [[{'concept': 'home'}, 'heritage status', 'Rijksmonument complex'], [{'concept': 'home'}, 'country', 'Netherlands']]}
SELECT DISTINCT ?p WHERE { ?p property:heritage_status resource:Rijksmonument_complex . ?p property:country resource:Netherlands . ?p rdf:type ontology:home }
[]