Simple Question (Direct)
Simple Question
Q16211509
P54
Q6979593
USER
What sports teams are Saga Fredriksson a member of ?
(Q16211509,P54,c(Q6979593))
action filter_type
action find
entity Q16211509
relation P54
type Q6979593
['Q16211509', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?y WHERE { resource:Q16211509 property:P54 ?y . ?y rdf:type ontology:Q6979593 }
Saga Fredriksson
action filter_type
action find
entity Saga Fredriksson
relation member of sports team
type national association football team
['Saga Fredriksson', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?y WHERE { resource:Saga_Fredriksson property:member_of_sports_team ?y . ?y rdf:type ontology:national_association_football_team }
[]
national association football team
Q15982182 Q13892297
SYSTEM
Sweden women's national under-19 football team, Sweden women's national under-17 football team
Q15982182 Q13892297
(Q16211509,P54,c(Q6979593))
action filter_type
action find
entity Q16211509
relation P54
type Q6979593
Saga Fredriksson are of both [ANSWERS]
['Q16211509', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?y WHERE { resource:Q16211509 property:P54 ?y . ?y rdf:type ontology:Q6979593 }
Sweden women's national under-19 football team Sweden women's national under-17 football team
Saga Fredriksson are of both Sweden women's national under-19 football team and Sweden women's national under-17 football team
Sweden women's national under-19 football team Sweden women's national under-17 football team
action filter_type
action find
entity Saga Fredriksson
relation member of sports team
type national association football team
['Saga Fredriksson', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?y WHERE { resource:Saga_Fredriksson property:member_of_sports_team ?y . ?y rdf:type ontology:national_association_football_team }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q15982182 Q13892297
P54
Q502895
USER
Which people play for the team named Sweden women's national under-19 football team and Sweden women's national under-17 football team ?
(c(Q502895),P54,Q15982182) (c(Q502895),P54,Q13892297)
action union
action filter_type
action find_reverse
entity Q15982182
relation P54
type Q502895
action filter_type
action find_reverse
entity Q13892297
relation P54
type Q502895
[{'concept': 'Q502895'}, 'P54', 'Q15982182'] [{'concept': 'Q502895'}, 'P54', 'Q13892297']
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:Q502895 . ?a property:P54 resource:Q15982182 } UNION { ?a rdf:type ontology:Q502895 . ?a property:P54 resource:Q13892297 } }
Sweden women's national under-19 football team Sweden women's national under-17 football team
action union
action filter_type
action find_reverse
entity Sweden women's national under-19 football team
relation member of sports team
type common name
action filter_type
action find_reverse
entity Sweden women's national under-17 football team
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', "Sweden women's national under-19 football team"] [{'concept': 'common name'}, 'member of sports team', "Sweden women's national under-17 football team"]
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:common_name . ?a property:member_of_sports_team resource:Sweden_women's_national_under-19_football_team } UNION { ?a rdf:type ontology:common_name . ?a property:member_of_sports_team resource:Sweden_women's_national_under-17_football_team } }
[]
common name
Q517987 Q517987 Q7648794
SYSTEM
Annica Svensson for 1st, 2nd, Susanne Nilsson for 3rd
Q19661947 Q10673002 Q7648794 Q517987 Q16212479 Q16210664 Q16211509 Q4979272 Q16239695 Q3480965 Q10673002 Q7648794 Q517987 Q16211509 Q16239695
(c(Q502895),P54,Q15982182) (c(Q502895),P54,Q13892297)
action union
action filter_type
action find_reverse
entity Q15982182
relation P54
type Q502895
action filter_type
action find_reverse
entity Q13892297
relation P54
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P54', 'Q15982182'] [{'concept': 'Q502895'}, 'P54', 'Q13892297']
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:Q502895 . ?a property:P54 resource:Q15982182 } UNION { ?a rdf:type ontology:Q502895 . ?a property:P54 resource:Q13892297 } }
Elin Landström Sofia Anker-Kofoed Susanne Nilsson Annica Svensson Louise Högrell Malin Diaz Saga Fredriksson Nera Smajić Zecira Musovic Erla Steina Arnardóttir Sofia Anker-Kofoed Susanne Nilsson Annica Svensson Saga Fredriksson Zecira Musovic
Annica Svensson, Annica Svensson and Susanne Nilsson play for the team named Sweden women's national under-19 football team and Sweden women's national under-17 football team
Annica Svensson Annica Svensson Susanne Nilsson
action union
action filter_type
action find_reverse
entity Sweden women's national under-19 football team
relation member of sports team
type common name
action filter_type
action find_reverse
entity Sweden women's national under-17 football team
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', "Sweden women's national under-19 football team"] [{'concept': 'common name'}, 'member of sports team', "Sweden women's national under-17 football team"]
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:common_name . ?a property:member_of_sports_team resource:Sweden_women's_national_under-19_football_team } UNION { ?a rdf:type ontology:common_name . ?a property:member_of_sports_team resource:Sweden_women's_national_under-17_football_team } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q517987
P19
Q15700808
USER
Which urban unit definition is the birthplace of that person ?
(Q517987,P19,c(Q15700808))
action filter_type
action find
entity Q517987
relation P19
type Q15700808
['Q517987', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?w WHERE { resource:Q517987 property:P19 ?w . ?w rdf:type ontology:Q15700808 }
Annica Svensson
action filter_type
action find
entity Annica Svensson
relation place of birth
type urban unit definition
['Annica Svensson', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?w WHERE { resource:Annica_Svensson property:place_of_birth ?w . ?w rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Clarification for simple ques.
Q517987
SYSTEM
Did you mean Annica Svensson ?
Q517987 Q517987 Q7648794
(Q517987,P19,c(Q15700808)) (Q517987,P19,c(Q15700808)) (Q7648794,P19,c(Q15700808))
[ANSWER]
['Q517987', 'P19', {'concept': 'Q15700808'}] ['Q517987', 'P19', {'concept': 'Q15700808'}] ['Q7648794', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?w WHERE { resource:Q517987 property:P19 ?w . ?w rdf:type ontology:Q15700808 }
Annica Svensson Annica Svensson Susanne Nilsson
Did you mean Annica Svensson ?
Annica Svensson
['Annica Svensson', 'place of birth', {'concept': 'urban unit definition'}] ['Annica Svensson', 'place of birth', {'concept': 'urban unit definition'}] ['Susanne Nilsson', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?w WHERE { resource:Annica_Svensson property:place_of_birth ?w . ?w rdf:type ontology:urban_unit_definition }
[]
Simple Question (Coreferenced)
USER
Yes
(Q517987,P19,c(Q15700808))
['Q517987', 'P19', {'concept': 'Q15700808'}]
['Annica Svensson', 'place of birth', {'concept': 'urban unit definition'}]
[]
Q2783471
SYSTEM
Björneborg, Sweden
Q2783471
(Q517987,P19,c(Q15700808))
action filter_type
action find
entity Q517987
relation P19
type Q15700808
[ANSWER] is the birthplace of that person
['Q517987', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?w WHERE { resource:Q517987 property:P19 ?w . ?w rdf:type ontology:Q15700808 }
Björneborg, Sweden
Björneborg, Sweden is the birthplace of that person
Björneborg, Sweden
action filter_type
action find
entity Annica Svensson
relation place of birth
type urban unit definition
['Annica Svensson', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?w WHERE { resource:Annica_Svensson property:place_of_birth ?w . ?w rdf:type ontology:urban_unit_definition }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q517987
P106
Q12737077
USER
What is the profession of Annica Svensson ?
(Q517987,P106,c(Q12737077))
action filter_type
action find
entity Q517987
relation P106
type Q12737077
['Q517987', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q517987 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Annica Svensson
action filter_type
action find
entity Annica Svensson
relation occupation
type occupation
['Annica Svensson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Annica_Svensson property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q517987,P106,c(Q12737077))
action filter_type
action find
entity Q517987
relation P106
type Q12737077
The profession of Annica Svensson is an [ANSWER]
['Q517987', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q517987 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football player
The profession of Annica Svensson is an association football player
association football player
action filter_type
action find
entity Annica Svensson
relation occupation
type occupation
['Annica Svensson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Annica_Svensson property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3940728
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of greater number of occupations than Romano martire ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q3940728
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ontology:Q502895 . resource:Q3940728 property:P417 ?y } } . FILTER ( ?g > ?f ) . { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P417 ?i . ?i rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?i } }
Romano martire
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Romano martire
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ontology:common_name . resource:Romano_martire property:patron_saint ?y } } . FILTER ( ?g > ?f ) . { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:patron_saint ?i . ?i rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?i } }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q3940728
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ontology:Q502895 . resource:Q3940728 property:P417 ?y } } . FILTER ( ?g > ?f ) . { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P417 ?i . ?i rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?i } }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Romano martire
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ontology:common_name . resource:Romano_martire property:patron_saint ?y } } . FILTER ( ?g > ?f ) . { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:patron_saint ?i . ?i rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q360798
P417
Q502895 Q12737077
USER
And what about Saint Eligius?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q360798
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P417 ?f . ?f rdf:type ontology:Q502895 . ?z rdf:type ontology:Q12737077 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { resource:Q360798 property:P417 ?t . ?t rdf:type ontology:Q502895 } } . FILTER ( ?x > ?s ) }
Saint Eligius
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Eligius
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:patron_saint ?f . ?f rdf:type ontology:common_name . ?z rdf:type ontology:occupation } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { resource:Saint_Eligius property:patron_saint ?t . ?t rdf:type ontology:common_name } } . FILTER ( ?x > ?s ) }
[]
common name occupation
SYSTEM
16
Q229190 Q328804 Q166876 Q170547 Q128538 Q183240 Q196653 Q44265 Q192816 Q43982 Q179718 Q43600 Q744884 Q151967 Q200895 Q44248
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q360798
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P417 ?f . ?f rdf:type ontology:Q502895 . ?z rdf:type ontology:Q12737077 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { resource:Q360798 property:P417 ?t . ?t rdf:type ontology:Q502895 } } . FILTER ( ?x > ?s ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Luke the Evangelist Saint Lucy Saint Veronica Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Zita Saint Blaise Agatha of Sicily Jerome
16
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Eligius
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:patron_saint ?f . ?f rdf:type ontology:common_name . ?z rdf:type ontology:occupation } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { resource:Saint_Eligius property:patron_saint ?t . ?t rdf:type ontology:common_name } } . FILTER ( ?x > ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11065820
P17
Q15617994
USER
Which administrative territory is Kaifu Temple (Changsha) located in ?
(Q11065820,P17,c(Q15617994))
action filter_type
action find
entity Q11065820
relation P17
type Q15617994
['Q11065820', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q11065820 property:P17 ?o }
Kaifu Temple (Changsha)
action filter_type
action find
entity Kaifu Temple (Changsha)
relation country
type designation for an administrative territorial entity
['Kaifu Temple (Changsha)', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kaifu_Temple_(Changsha) property:country ?o }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q11065820,P17,c(Q15617994))
action filter_type
action find
entity Q11065820
relation P17
type Q15617994
[ANSWER] is Kaifu Temple (Changsha) located in
['Q11065820', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q11065820 property:P17 ?o }
People's Republic of China
People's Republic of China is Kaifu Temple (Changsha) located in
People's Republic of China
action filter_type
action find
entity Kaifu Temple (Changsha)
relation country
type designation for an administrative territorial entity
['Kaifu Temple (Changsha)', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kaifu_Temple_(Changsha) property:country ?o }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19349169
Q15617994
USER
And also tell me about Molenweg?
(Q19349169,P17,c(Q15617994))
action filter_type
action find
entity Q19349169
relation P17
type Q15617994
['Q19349169', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q19349169 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Molenweg
action filter_type
action find
entity Molenweg
relation country
type designation for an administrative territorial entity
['Molenweg', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Molenweg property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q19349169,P17,c(Q15617994))
action filter_type
action find
entity Q19349169
relation P17
type Q15617994
[ANSWER]
['Q19349169', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q19349169 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Molenweg
relation country
type designation for an administrative territorial entity
['Molenweg', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Molenweg property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]