Simple Question (Direct)
Simple Question
Q243025
P40
Q502895
USER
Which person is a successor of Berit Aunli ?
(Q243025,P40,c(Q502895))
action filter_type
action find
entity Q243025
relation P40
type Q502895
['Q243025', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q243025 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Berit Aunli
action filter_type
action find
entity Berit Aunli
relation child
type common name
['Berit Aunli', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Berit_Aunli property:child ?w . ?w rdf:type ontology:common_name }
[]
common name
Q19378998
SYSTEM
Lars Ove Aunli
Q19378998
(Q243025,P40,c(Q502895))
action filter_type
action find
entity Q243025
relation P40
type Q502895
[ANSWER] is a successor of Berit Aunli
['Q243025', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q243025 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Lars Ove Aunli
Lars Ove Aunli is a successor of Berit Aunli
Lars Ove Aunli
action filter_type
action find
entity Berit Aunli
relation child
type common name
['Berit Aunli', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Berit_Aunli property:child ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q243025
P26
Q502895
USER
Which person is married to Berit Aunli ?
(c(Q502895),P26,Q243025)
action filter_type
action find
entity Q243025
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q243025']
SELECT DISTINCT ?v WHERE { resource:Q243025 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Berit Aunli
action filter_type
action find
entity Berit Aunli
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Berit Aunli']
SELECT DISTINCT ?v WHERE { resource:Berit_Aunli property:spouse ?v . ?v rdf:type ontology:common_name }
[]
common name
Q725123
SYSTEM
Ove Aunli
Q725123
(c(Q502895),P26,Q243025)
action filter_type
action find
entity Q243025
relation P26
type Q502895
[ANSWER] is married to Berit Aunli
[{'concept': 'Q502895'}, 'P26', 'Q243025']
SELECT DISTINCT ?v WHERE { resource:Q243025 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Ove Aunli
Ove Aunli is married to Berit Aunli
Ove Aunli
action filter_type
action find
entity Berit Aunli
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Berit Aunli']
SELECT DISTINCT ?v WHERE { resource:Berit_Aunli property:spouse ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q243025
P25
Q502895
USER
Who has Berit Aunli as a mother ?
(c(Q502895),P25,Q243025)
action filter_type
action find_reverse
entity Q243025
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q243025']
SELECT DISTINCT ?n WHERE { ?n property:P25 resource:Q243025 . ?n rdf:type ontology:Q502895 }
Berit Aunli
action filter_type
action find_reverse
entity Berit Aunli
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Berit Aunli']
SELECT DISTINCT ?n WHERE { ?n property:mother resource:Berit_Aunli . ?n rdf:type ontology:common_name }
[]
common name
Q19378998
SYSTEM
Lars Ove Aunli
Q19378998
(c(Q502895),P25,Q243025)
action filter_type
action find_reverse
entity Q243025
relation P25
type Q502895
[ANSWER] has Berit Aunli as a mother
[{'concept': 'Q502895'}, 'P25', 'Q243025']
SELECT DISTINCT ?n WHERE { ?n property:P25 resource:Q243025 . ?n rdf:type ontology:Q502895 }
Lars Ove Aunli
Lars Ove Aunli has Berit Aunli as a mother
Lars Ove Aunli
action filter_type
action find_reverse
entity Berit Aunli
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Berit Aunli']
SELECT DISTINCT ?n WHERE { ?n property:mother resource:Berit_Aunli . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19378998
P106
Q12737077
USER
What is the profession of that person ?
(Q19378998,P106,c(Q12737077))
action filter_type
action find
entity Q19378998
relation P106
type Q12737077
['Q19378998', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q19378998 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Lars Ove Aunli
action filter_type
action find
entity Lars Ove Aunli
relation occupation
type occupation
['Lars Ove Aunli', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Lars_Ove_Aunli property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q13382608
SYSTEM
cross-country skier
Q13382608
(Q19378998,P106,c(Q12737077))
action filter_type
action find
entity Q19378998
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q19378998', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q19378998 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
cross-country skier
The profession of that person is a cross-country skier
cross-country skier
action filter_type
action find
entity Lars Ove Aunli
relation occupation
type occupation
['Lars Ove Aunli', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Lars_Ove_Aunli property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q725123
P26
Q502895
USER
How many people are the life partner of Ove Aunli ?
(c(Q502895),P26,Q725123)
action count
action filter_type
action find_reverse
entity Q725123
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q725123']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:P26 resource:Q725123 . ?l rdf:type ontology:Q502895 }
Ove Aunli
action count
action filter_type
action find_reverse
entity Ove Aunli
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ove Aunli']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:spouse resource:Ove_Aunli . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q243025
(c(Q502895),P26,Q725123)
action count
action filter_type
action find_reverse
entity Q725123
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q725123']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:P26 resource:Q725123 . ?l rdf:type ontology:Q502895 }
Berit Aunli
1
action count
action filter_type
action find_reverse
entity Ove Aunli
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ove Aunli']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:spouse resource:Ove_Aunli . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q3376750
P26
Q502895
USER
And how about Peter McEnery?
(c(Q502895),P26,Q3376750)
action count
action filter_type
action find_reverse
entity Q3376750
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q3376750']
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ontology:Q502895 . ?e property:P26 resource:Q3376750 }
Peter McEnery
action count
action filter_type
action find_reverse
entity Peter McEnery
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Peter McEnery']
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ontology:common_name . ?e property:spouse resource:Peter_McEnery }
[]
common name
SYSTEM
1
Q6308455
(c(Q502895),P26,Q3376750)
action count
action filter_type
action find_reverse
entity Q3376750
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q3376750']
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ontology:Q502895 . ?e property:P26 resource:Q3376750 }
Julie Peasgood
1
action count
action filter_type
action find_reverse
entity Peter McEnery
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Peter McEnery']
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ontology:common_name . ?e property:spouse resource:Peter_McEnery }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q725123
P641
Q31629
USER
What did Ove Aunli participate in ?
(Q725123,P641,c(Q31629))
action filter_type
action find
entity Q725123
relation P641
type Q31629
['Q725123', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?g WHERE { resource:Q725123 property:P641 ?g . ?g rdf:type ontology:Q31629 }
Ove Aunli
action filter_type
action find
entity Ove Aunli
relation sport
type type of sport
['Ove Aunli', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?g WHERE { resource:Ove_Aunli property:sport ?g . ?g rdf:type ontology:type_of_sport }
[]
type of sport
Q179687
SYSTEM
cross-country skiing
Q179687
(Q725123,P641,c(Q31629))
action filter_type
action find
entity Q725123
relation P641
type Q31629
Ove Aunli participated in [ANSWER]
['Q725123', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?g WHERE { resource:Q725123 property:P641 ?g . ?g rdf:type ontology:Q31629 }
cross-country skiing
Ove Aunli participated in cross-country skiing
cross-country skiing
action filter_type
action find
entity Ove Aunli
relation sport
type type of sport
['Ove Aunli', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?g WHERE { resource:Ove_Aunli property:sport ?g . ?g rdf:type ontology:type_of_sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1389289
Q31629
USER
And also tell me about Vladimir Markelov?
(Q1389289,P641,c(Q31629))
action filter_type
action find
entity Q1389289
relation P641
type Q31629
['Q1389289', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?j WHERE { resource:Q1389289 property:P641 ?j . ?j rdf:type ontology:Q31629 }
Vladimir Markelov
action filter_type
action find
entity Vladimir Markelov
relation sport
type type of sport
['Vladimir Markelov', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?j WHERE { resource:Vladimir_Markelov property:sport ?j . ?j rdf:type ontology:type_of_sport }
[]
type of sport
Q326827
SYSTEM
artistic gymnastics
Q326827
(Q1389289,P641,c(Q31629))
action filter_type
action find
entity Q1389289
relation P641
type Q31629
[ANSWER]
['Q1389289', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?j WHERE { resource:Q1389289 property:P641 ?j . ?j rdf:type ontology:Q31629 }
artistic gymnastics
artistic gymnastics
action filter_type
action find
entity Vladimir Markelov
relation sport
type type of sport
['Vladimir Markelov', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?j WHERE { resource:Vladimir_Markelov property:sport ?j . ?j rdf:type ontology:type_of_sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q31629 Q12973014 Q502895
USER
How many types of sport did exactly 7 sports teams and people participate in ?
(c(Q12973014)|c(Q502895),P641,c(Q31629))
action count
action equal
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q31629
type Q502895
value 7
[[{'concept': 'Q12973014'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?m ) WHERE { { ?z property:P641 ?p . ?p rdf:type ontology:Q31629 . ?z rdf:type ontology:Q12973014 } UNION { ?z property:P641 ?p . ?z rdf:type ontology:Q502895 . ?p rdf:type ontology:Q31629 } } GROUP BY ?p } . FILTER ( ?m = 7 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action find_reverse_tuple_counts
relation sport
type type of sport
type common name
value 7
[[{'concept': 'sports team'}, {'concept': 'common name'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?m ) WHERE { { ?z property:sport ?p . ?p rdf:type ontology:type_of_sport . ?z rdf:type ontology:sports_team } UNION { ?z property:sport ?p . ?z rdf:type ontology:common_name . ?p rdf:type ontology:type_of_sport } } GROUP BY ?p } . FILTER ( ?m = 7 ) }
[]
type of sport sports team common name
SYSTEM
3
Q211155 Q187916 Q164761
(c(Q12973014)|c(Q502895),P641,c(Q31629))
action count
action equal
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q31629
type Q502895
value 7
[ANSWER]
[[{'concept': 'Q12973014'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?m ) WHERE { { ?z property:P641 ?p . ?p rdf:type ontology:Q31629 . ?z rdf:type ontology:Q12973014 } UNION { ?z property:P641 ?p . ?z rdf:type ontology:Q502895 . ?p rdf:type ontology:Q31629 } } GROUP BY ?p } . FILTER ( ?m = 7 ) }
200 metres horse racing 100 metres
3
action count
action equal
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action find_reverse_tuple_counts
relation sport
type type of sport
type common name
value 7
[[{'concept': 'sports team'}, {'concept': 'common name'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?m ) WHERE { { ?z property:sport ?p . ?p rdf:type ontology:type_of_sport . ?z rdf:type ontology:sports_team } UNION { ?z property:sport ?p . ?z rdf:type ontology:common_name . ?p rdf:type ontology:type_of_sport } } GROUP BY ?p } . FILTER ( ?m = 7 ) }
[]