Simple Question (Direct)
Simple Question
Q57082
P47
Q13220204
USER
Who share the border with Fet ?
(Q57082,P47,c(Q13220204))
action filter_type
action find
entity Q57082
relation P47
type Q13220204
['Q57082', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?r WHERE { resource:Q57082 property:P47 ?r . ?r rdf:type ontology:Q13220204 }
Fet
action filter_type
action find
entity Fet
relation shares border with
type second-level administrative country subdivision
['Fet', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?r WHERE { resource:Fet property:shares_border_with ?r . ?r rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q56915 Q57081 Q57871
SYSTEM
Aurskog-Høland, Enebakk, Skedsmo
Q57870 Q57871 Q57914 Q48678 Q57081 Q56915
(Q57082,P47,c(Q13220204))
action filter_type
action find
entity Q57082
relation P47
type Q13220204
[ANSWERS] share the border with Fet
['Q57082', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?r WHERE { resource:Q57082 property:P47 ?r . ?r rdf:type ontology:Q13220204 }
Rælingen Skedsmo Sørum Trøgstad Enebakk Aurskog-Høland
Aurskog-Høland, Enebakk and Skedsmo share the border with Fet
Aurskog-Høland Enebakk Skedsmo
action filter_type
action find
entity Fet
relation shares border with
type second-level administrative country subdivision
['Fet', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?r WHERE { resource:Fet property:shares_border_with ?r . ?r rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q56915 Q57081 Q57871
P19
Q502895
USER
Who were born at those administrative country subdivisions ?
(c(Q502895),P19,Q56915) (c(Q502895),P19,Q57081) (c(Q502895),P19,Q57871)
action filter_type
action find_reverse
entity prev_answer
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q56915'] [{'concept': 'Q502895'}, 'P19', 'Q57081'] [{'concept': 'Q502895'}, 'P19', 'Q57871']
SELECT DISTINCT ?n WHERE { VALUES ( ?g ) { ( resource:Q57870 ) ( resource:Q57871 ) ( resource:Q57914 ) } . ?n rdf:type ontology:Q502895 . ?n property:P19 ?g }
Aurskog-Høland Enebakk Skedsmo
action filter_type
action find_reverse
entity prev_answer
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Aurskog-Høland'] [{'concept': 'common name'}, 'place of birth', 'Enebakk'] [{'concept': 'common name'}, 'place of birth', 'Skedsmo']
SELECT DISTINCT ?n WHERE { VALUES ( ?g ) { ( resource:Rælingen ) ( resource:Skedsmo ) ( resource:Sørum ) } . ?n rdf:type ontology:common_name . ?n property:place_of_birth ?g }
[]
common name
Q924560 Q601690 Q208124
SYSTEM
Jon Knudsen, Knut Hovel Heiaas, Trygve Haavelmo
Q493139 Q5085947 Q329882 Q601690 Q11988230 Q2338861 Q3880801 Q1237927 Q15687349 Q924560 Q12714790 Q21656564 Q360761 Q456503 Q4794661 Q208124 Q2537994
(c(Q502895),P19,Q56915) (c(Q502895),P19,Q57081) (c(Q502895),P19,Q57871)
action filter_type
action find_reverse
entity prev_answer
relation P19
type Q502895
[ANSWERS] were born at those administrative country subdivisions
[{'concept': 'Q502895'}, 'P19', 'Q56915'] [{'concept': 'Q502895'}, 'P19', 'Q57081'] [{'concept': 'Q502895'}, 'P19', 'Q57871']
SELECT DISTINCT ?n WHERE { VALUES ( ?g ) { ( resource:Q57870 ) ( resource:Q57871 ) ( resource:Q57914 ) } . ?n rdf:type ontology:Q502895 . ?n property:P19 ?g }
Johan Vaaler Charlotte Frogner Øyvind Berg Knut Hovel Heiaas Marianne Bjørneboe Ragnhild Jølsen Odd Eiwinn Hanssen Thorleif Andresen Bjarte Bjørkum Jon Knudsen Fredrik Schiørn Henrik Christiansen Thomas Skoglund Ola Wærhaug Arne Scheie Trygve Haavelmo Kay Stenshjemmet
Jon Knudsen, Knut Hovel Heiaas and Trygve Haavelmo were born at those administrative country subdivisions
Jon Knudsen Knut Hovel Heiaas Trygve Haavelmo
action filter_type
action find_reverse
entity prev_answer
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Aurskog-Høland'] [{'concept': 'common name'}, 'place of birth', 'Enebakk'] [{'concept': 'common name'}, 'place of birth', 'Skedsmo']
SELECT DISTINCT ?n WHERE { VALUES ( ?g ) { ( resource:Rælingen ) ( resource:Skedsmo ) ( resource:Sørum ) } . ?n rdf:type ontology:common_name . ?n property:place_of_birth ?g }
[]
Clarification
Simple Question|Single Entity|Indirect
Q601690
P641
Q349
USER
Which sport was that person a part of ?
(Q601690,P641,c(Q349))
action filter_type
action find
entity Q601690
relation P641
type Q349
['Q601690', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q601690 property:P641 ?i . ?i rdf:type ontology:Q349 }
Knut Hovel Heiaas
action filter_type
action find
entity Knut Hovel Heiaas
relation sport
type sport
['Knut Hovel Heiaas', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Knut_Hovel_Heiaas property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q924560
SYSTEM
Did you mean Jon Knudsen ?
Q924560 Q601690 Q208124
(Q924560,P641,c(Q349)) (Q601690,P641,c(Q349)) (Q208124,P641,c(Q349))
[ANSWER]
['Q924560', 'P641', {'concept': 'Q349'}] ['Q601690', 'P641', {'concept': 'Q349'}] ['Q208124', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q601690 property:P641 ?i . ?i rdf:type ontology:Q349 }
Jon Knudsen Knut Hovel Heiaas Trygve Haavelmo
Did you mean Jon Knudsen ?
Jon Knudsen
['Jon Knudsen', 'sport', {'concept': 'sport'}] ['Knut Hovel Heiaas', 'sport', {'concept': 'sport'}] ['Trygve Haavelmo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Knut_Hovel_Heiaas property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
No, I meant Knut Hovel Heiaas. Could you tell me the answer for that?
(Q601690,P641,c(Q349))
Q601690
['Q601690', 'P641', {'concept': 'Q349'}]
['Knut Hovel Heiaas', 'sport', {'concept': 'sport'}]
[]
Q2736
SYSTEM
association football
Q2736
(Q601690,P641,c(Q349))
action filter_type
action find
entity Q601690
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q601690', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q601690 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Knut Hovel Heiaas
relation sport
type sport
['Knut Hovel Heiaas', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Knut_Hovel_Heiaas property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Where did that sport originate ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?f WHERE { resource:Q2736 property:P495 ?f . ?f rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:association_football property:country_of_origin ?f . ?f rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
That sport originated in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?f WHERE { resource:Q2736 property:P495 ?f . ?f rdf:type ontology:Q1496967 }
England
That sport originated in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:association_football property:country_of_origin ?f . ?f rdf:type ontology:territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q21 Q14753499 Q84
P36
Q56061
USER
Does that territory contains Ujung Genteng and London as its capital ?
(Q21,P36,Q14753499) (Q21,P36,Q84)
action is_in
entity Q21
action intersection
action find_reverse
entity Q14753499
relation P36
action find_reverse
entity Q84
relation P36
['Q21', 'P36', 'Q14753499'] ['Q21', 'P36', 'Q84']
ASK WHERE { resource:Q21 property:P36 resource:Q84 . resource:Q21 property:P36 resource:Q14753499 }
England Ujung Genteng London
action is_in
entity England
action intersection
action find_reverse
entity Ujung Genteng
relation capital
action find_reverse
entity London
relation capital
['England', 'capital', 'Ujung Genteng'] ['England', 'capital', 'London']
ASK WHERE { resource:England property:capital resource:London . resource:England property:capital resource:Ujung_Genteng }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q21,P36,Q14753499) (Q21,P36,Q84)
action is_in
entity Q21
action intersection
action find_reverse
entity Q14753499
relation P36
action find_reverse
entity Q84
relation P36
[ANSWER]
['Q21', 'P36', 'Q14753499'] ['Q21', 'P36', 'Q84']
ASK WHERE { resource:Q21 property:P36 resource:Q84 . resource:Q21 property:P36 resource:Q14753499 }
NO and YES respectively
action is_in
entity England
action intersection
action find_reverse
entity Ujung Genteng
relation capital
action find_reverse
entity London
relation capital
['England', 'capital', 'Ujung Genteng'] ['England', 'capital', 'London']
ASK WHERE { resource:England property:capital resource:London . resource:England property:capital resource:Ujung_Genteng }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q21 Q2886622
P840
Q2342494
USER
How many collectables have their setting located at England and Narnia ?
(c(Q2342494),P840,Q21) (c(Q2342494),P840,Q2886622)
action count
action intersection
action filter_type
action find_reverse
entity Q21
relation P840
type Q2342494
action filter_type
action find_reverse
entity Q2886622
relation P840
type Q2342494
[{'concept': 'Q2342494'}, 'P840', 'Q21'] [{'concept': 'Q2342494'}, 'P840', 'Q2886622']
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:P840 resource:Q21 . ?c rdf:type ontology:Q2342494 . ?c property:P840 resource:Q2886622 . ?c rdf:type ontology:Q2342494 }
England Narnia
action count
action intersection
action filter_type
action find_reverse
entity England
relation narrative location
type collectable
action filter_type
action find_reverse
entity Narnia
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'England'] [{'concept': 'collectable'}, 'narrative location', 'Narnia']
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:narrative_location resource:England . ?c rdf:type ontology:collectable . ?c property:narrative_location resource:Narnia . ?c rdf:type ontology:collectable }
[]
collectable
SYSTEM
2
Q331669 Q485093
(c(Q2342494),P840,Q21) (c(Q2342494),P840,Q2886622)
action count
action intersection
action filter_type
action find_reverse
entity Q21
relation P840
type Q2342494
action filter_type
action find_reverse
entity Q2886622
relation P840
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P840', 'Q21'] [{'concept': 'Q2342494'}, 'P840', 'Q2886622']
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:P840 resource:Q21 . ?c rdf:type ontology:Q2342494 . ?c property:P840 resource:Q2886622 . ?c rdf:type ontology:Q2342494 }
The Silver Chair The Lion, the Witch, and the Wardrobe
2
action count
action intersection
action filter_type
action find_reverse
entity England
relation narrative location
type collectable
action filter_type
action find_reverse
entity Narnia
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'England'] [{'concept': 'collectable'}, 'narrative location', 'Narnia']
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:narrative_location resource:England . ?c rdf:type ontology:collectable . ?c property:narrative_location resource:Narnia . ?c rdf:type ontology:collectable }
[]