Simple Question (Direct)
Simple Question
Q15502947
P20
Q56061
USER
Where did the expiration of Yevhen Cherepovsky occur ?
(Q15502947,P20,c(Q56061))
action filter_type
action find
entity Q15502947
relation P20
type Q56061
['Q15502947', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q15502947 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Yevhen Cherepovsky
action filter_type
action find
entity Yevhen Cherepovsky
relation place of death
type administrative territorial entity
['Yevhen Cherepovsky', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Yevhen_Cherepovsky property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36036
SYSTEM
Lviv
Q36036
(Q15502947,P20,c(Q56061))
action filter_type
action find
entity Q15502947
relation P20
type Q56061
The expiration of Yevhen Cherepovsky occurred in [ANSWER]
['Q15502947', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q15502947 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Lviv
The expiration of Yevhen Cherepovsky occurred in Lviv
Lviv
action filter_type
action find
entity Yevhen Cherepovsky
relation place of death
type administrative territorial entity
['Yevhen Cherepovsky', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Yevhen_Cherepovsky property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36036
P740
Q2088357
USER
Which musical ensembles were formed at that administrative territory ?
(c(Q2088357),P740,Q36036)
action filter_type
action find_reverse
entity Q36036
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q36036']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2088357 . ?b property:P740 resource:Q36036 }
Lviv
action filter_type
action find_reverse
entity Lviv
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Lviv']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:musical_ensemble . ?b property:location_of_formation resource:Lviv }
[]
musical ensemble
Q4369998 Q18810206 Q1824889
SYSTEM
Polynove Pole, Glava 94, ANNA
Q4369998 Q18810206 Q1824889
(c(Q2088357),P740,Q36036)
action filter_type
action find_reverse
entity Q36036
relation P740
type Q2088357
[ANSWERS] were formed at that administrative territory
[{'concept': 'Q2088357'}, 'P740', 'Q36036']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2088357 . ?b property:P740 resource:Q36036 }
Polynove Pole Glava 94 ANNA
Polynove Pole, Glava 94 and ANNA were formed at that administrative territory
Polynove Pole Glava 94 ANNA
action filter_type
action find_reverse
entity Lviv
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Lviv']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:musical_ensemble . ?b property:location_of_formation resource:Lviv }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P740
Q56061
USER
How many administrative territories did that musical ensemble orginate in ?
(Q18810206,P740,c(Q56061))
['Q18810206', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q18810206 property:P740 ?z . ?z rdf:type ontology:Q56061 }
['Glava 94', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Glava_94 property:location_of_formation ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q1824889
SYSTEM
Did you mean ANNA ?
(Q4369998,P740,c(Q56061)) (Q18810206,P740,c(Q56061)) (Q1824889,P740,c(Q56061))
[ANSWER]
['Q4369998', 'P740', {'concept': 'Q56061'}] ['Q18810206', 'P740', {'concept': 'Q56061'}] ['Q1824889', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q18810206 property:P740 ?z . ?z rdf:type ontology:Q56061 }
Did you mean ANNA ?
ANNA
['Polynove Pole', 'location of formation', {'concept': 'administrative territorial entity'}] ['Glava 94', 'location of formation', {'concept': 'administrative territorial entity'}] ['ANNA', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Glava_94 property:location_of_formation ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Glava 94. Could you tell me the answer for that?
(Q18810206,P740,c(Q56061))
Q18810206
['Q18810206', 'P740', {'concept': 'Q56061'}]
['Glava 94', 'location of formation', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
1
Q36036
(Q18810206,P740,c(Q56061))
[ANSWER]
['Q18810206', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q18810206 property:P740 ?z . ?z rdf:type ontology:Q56061 }
Lviv
1
['Glava 94', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Glava_94 property:location_of_formation ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3701853 Q1824889
P19 P740
Q56061
USER
Which administrative territories are the locations of formation of ANNA or were Daniele Abbado born ?
OR((Q1824889,P740,c(Q56061)), (Q3701853,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1824889
relation P740
action find
entity Q3701853
relation P19
type Q56061
{'OR': [['Q1824889', 'P740', {'concept': 'Q56061'}], ['Q3701853', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . { { resource:Q1824889 property:P740 ?b } UNION { resource:Q3701853 property:P19 ?b } } }
Daniele Abbado ANNA
action filter_type
action union
action find
entity ANNA
relation location of formation
action find
entity Daniele Abbado
relation place of birth
type administrative territorial entity
{'OR': [['ANNA', 'location of formation', {'concept': 'administrative territorial entity'}], ['Daniele Abbado', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . { { resource:ANNA property:location_of_formation ?b } UNION { resource:Daniele_Abbado property:place_of_birth ?b } } }
[]
administrative territorial entity
Q490 Q36036
SYSTEM
Milan, Lviv
Q490 Q36036
OR((Q1824889,P740,c(Q56061)), (Q3701853,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1824889
relation P740
action find
entity Q3701853
relation P19
type Q56061
[ANSWERS] are the locations of formation of ANNA or were Daniele Abbado born
{'OR': [['Q1824889', 'P740', {'concept': 'Q56061'}], ['Q3701853', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . { { resource:Q1824889 property:P740 ?b } UNION { resource:Q3701853 property:P19 ?b } } }
Milan Lviv
Milan and Lviv are the locations of formation of ANNA or were Daniele Abbado born
Milan Lviv
action filter_type
action union
action find
entity ANNA
relation location of formation
action find
entity Daniele Abbado
relation place of birth
type administrative territorial entity
{'OR': [['ANNA', 'location of formation', {'concept': 'administrative territorial entity'}], ['Daniele Abbado', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . { { resource:ANNA property:location_of_formation ?b } UNION { resource:Daniele_Abbado property:place_of_birth ?b } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q490 Q36036
P1376
Q7275
USER
Which states have those administrative territories as their capital ?
(Q490,P1376,c(Q7275)) (Q36036,P1376,c(Q7275))
action filter_type
action find
entity prev_answer
relation P1376
type Q7275
['Q490', 'P1376', {'concept': 'Q7275'}] ['Q36036', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7275 . ?x property:P1376 ?u . VALUES ( ?x ) { ( resource:Q490 ) ( resource:Q36036 ) } }
Milan Lviv
action filter_type
action find
entity prev_answer
relation capital of
type state
['Milan', 'capital of', {'concept': 'state'}] ['Lviv', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:state . ?x property:capital_of ?u . VALUES ( ?x ) { ( resource:Milan ) ( resource:Lviv ) } }
[]
state
Q209857 Q746443 Q223936
SYSTEM
Kingdom of Lombardy–Venetia, Golden Ambrosian Republic, Kingdom of Italy
Q209857 Q746443 Q223936 Q457167 Q2396442
(Q490,P1376,c(Q7275)) (Q36036,P1376,c(Q7275))
action filter_type
action find
entity prev_answer
relation P1376
type Q7275
[ANSWERS] have those administrative territories as their capital
['Q490', 'P1376', {'concept': 'Q7275'}] ['Q36036', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7275 . ?x property:P1376 ?u . VALUES ( ?x ) { ( resource:Q490 ) ( resource:Q36036 ) } }
Kingdom of Lombardy–Venetia Golden Ambrosian Republic Kingdom of Italy West Ukrainian People's Republic Kingdom of Galicia and Lodomeria
Kingdom of Lombardy–Venetia, Golden Ambrosian Republic and Kingdom of Italy have those administrative territories as their capital
Kingdom of Lombardy–Venetia Golden Ambrosian Republic Kingdom of Italy
action filter_type
action find
entity prev_answer
relation capital of
type state
['Milan', 'capital of', {'concept': 'state'}] ['Lviv', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:state . ?x property:capital_of ?u . VALUES ( ?x ) { ( resource:Milan ) ( resource:Lviv ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q746443
P36
Q56061
USER
Which administrative territory is associated to that state as the capital ?
(Q746443,P36,c(Q56061))
action filter_type
action find
entity Q746443
relation P36
type Q56061
['Q746443', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q746443 property:P36 ?m . ?m rdf:type ontology:Q56061 }
Golden Ambrosian Republic
action filter_type
action find
entity Golden Ambrosian Republic
relation capital
type administrative territorial entity
['Golden Ambrosian Republic', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Golden_Ambrosian_Republic property:capital ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q209857
SYSTEM
Did you mean Kingdom of Lombardy–Venetia ?
Q209857 Q746443 Q223936
(Q209857,P36,c(Q56061)) (Q746443,P36,c(Q56061)) (Q223936,P36,c(Q56061))
[ANSWER]
['Q209857', 'P36', {'concept': 'Q56061'}] ['Q746443', 'P36', {'concept': 'Q56061'}] ['Q223936', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q746443 property:P36 ?m . ?m rdf:type ontology:Q56061 }
Kingdom of Lombardy–Venetia Golden Ambrosian Republic Kingdom of Italy
Did you mean Kingdom of Lombardy–Venetia ?
Kingdom of Lombardy–Venetia
['Kingdom of Lombardy–Venetia', 'capital', {'concept': 'administrative territorial entity'}] ['Golden Ambrosian Republic', 'capital', {'concept': 'administrative territorial entity'}] ['Kingdom of Italy', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Golden_Ambrosian_Republic property:capital ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Golden Ambrosian Republic. Could you tell me the answer for that?
(Q746443,P36,c(Q56061))
Q746443
['Q746443', 'P36', {'concept': 'Q56061'}]
['Golden Ambrosian Republic', 'capital', {'concept': 'administrative territorial entity'}]
[]
Q490
SYSTEM
Milan
Q490
(Q746443,P36,c(Q56061))
action filter_type
action find
entity Q746443
relation P36
type Q56061
[ANSWER] is associated to that state as the capital
['Q746443', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q746443 property:P36 ?m . ?m rdf:type ontology:Q56061 }
Milan
Milan is associated to that state as the capital
Milan
action filter_type
action find
entity Golden Ambrosian Republic
relation capital
type administrative territorial entity
['Golden Ambrosian Republic', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Golden_Ambrosian_Republic property:capital ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]