Simple Question (Direct)
Simple Question
Q743815
P27
Q1048835
USER
Which political territory is the country of citizenship of Rune Pedersen ?
(Q743815,P27,c(Q1048835))
action filter_type
action find
entity Q743815
relation P27
type Q1048835
['Q743815', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q743815 property:P27 ?u . ?u rdf:type ontology:Q1048835 }
Rune Pedersen
action filter_type
action find
entity Rune Pedersen
relation country of citizenship
type political territorial entity
['Rune Pedersen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Rune_Pedersen property:country_of_citizenship ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q743815,P27,c(Q1048835))
action filter_type
action find
entity Q743815
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Rune Pedersen
['Q743815', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q743815 property:P27 ?u . ?u rdf:type ontology:Q1048835 }
Denmark
Denmark is the country of citizenship of Rune Pedersen
Denmark
action filter_type
action find
entity Rune Pedersen
relation country of citizenship
type political territorial entity
['Rune Pedersen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Rune_Pedersen property:country_of_citizenship ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q35
P1346
Q1190554
USER
Where was that political territory decalred as a champion ?
(c(Q1190554),P1346,Q35)
action filter_type
action find_reverse
entity Q35
relation P1346
type Q1190554
[{'concept': 'Q1190554'}, 'P1346', 'Q35']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1190554 . ?y property:P1346 resource:Q35 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation winner
type event
[{'concept': 'event'}, 'winner', 'Denmark']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:event . ?y property:winner resource:Denmark }
[]
event
Q1606958
SYSTEM
Battle of Bogesund
Q1606958
(c(Q1190554),P1346,Q35)
action filter_type
action find_reverse
entity Q35
relation P1346
type Q1190554
The [ANSWER] that political territory was decalred as a champion
[{'concept': 'Q1190554'}, 'P1346', 'Q35']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1190554 . ?y property:P1346 resource:Q35 }
Battle of Bogesund
The Battle of Bogesund that political territory was decalred as a champion
Battle of Bogesund
action filter_type
action find_reverse
entity Denmark
relation winner
type event
[{'concept': 'event'}, 'winner', 'Denmark']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:event . ?y property:winner resource:Denmark }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P1532
Q6979593
USER
Who play for Denmark ?
(c(Q6979593),P1532,Q35)
action filter_type
action find_reverse
entity Q35
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q35']
SELECT DISTINCT ?x WHERE { ?x property:P1532 resource:Q35 . ?x rdf:type ontology:Q6979593 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Denmark']
SELECT DISTINCT ?x WHERE { ?x property:country_for_sport resource:Denmark . ?x rdf:type ontology:national_association_football_team }
[]
national association football team
Q16581708 Q23013935 Q514498
SYSTEM
Denmark Olympic football team, Denmark women's national under-19 football team, Denmark women's national football team
Q16581708 Q23013935 Q514498
(c(Q6979593),P1532,Q35)
action filter_type
action find_reverse
entity Q35
relation P1532
type Q6979593
[ANSWERS] play for Denmark
[{'concept': 'Q6979593'}, 'P1532', 'Q35']
SELECT DISTINCT ?x WHERE { ?x property:P1532 resource:Q35 . ?x rdf:type ontology:Q6979593 }
Denmark Olympic football team Denmark women's national under-19 football team Denmark women's national football team
Denmark Olympic football team, Denmark women's national under-19 football team and Denmark women's national football team play for Denmark
Denmark Olympic football team Denmark women's national under-19 football team Denmark women's national football team
action filter_type
action find_reverse
entity Denmark
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Denmark']
SELECT DISTINCT ?x WHERE { ?x property:country_for_sport resource:Denmark . ?x rdf:type ontology:national_association_football_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23013935
P641
Q349
USER
Which sport was that national association football team a part of ?
(Q23013935,P641,c(Q349))
action filter_type
action find
entity Q23013935
relation P641
type Q349
['Q23013935', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q23013935 property:P641 ?f . ?f rdf:type ontology:Q349 }
Denmark women's national under-19 football team
action filter_type
action find
entity Denmark women's national under-19 football team
relation sport
type sport
["Denmark women's national under-19 football team", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Denmark_women's_national_under-19_football_team property:sport ?f . ?f rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q514498
SYSTEM
Did you mean Denmark women's national football team ?
Q16581708 Q23013935 Q514498
(Q16581708,P641,c(Q349)) (Q23013935,P641,c(Q349)) (Q514498,P641,c(Q349))
[ANSWER]
['Q16581708', 'P641', {'concept': 'Q349'}] ['Q23013935', 'P641', {'concept': 'Q349'}] ['Q514498', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q23013935 property:P641 ?f . ?f rdf:type ontology:Q349 }
Denmark Olympic football team Denmark women's national under-19 football team Denmark women's national football team
Did you mean Denmark women's national football team ?
Denmark women's national football team
['Denmark Olympic football team', 'sport', {'concept': 'sport'}] ["Denmark women's national under-19 football team", 'sport', {'concept': 'sport'}] ["Denmark women's national football team", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Denmark_women's_national_under-19_football_team property:sport ?f . ?f rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
No, I meant Denmark women's national under-19 football team. Could you tell me the answer for that?
(Q23013935,P641,c(Q349))
Q23013935
['Q23013935', 'P641', {'concept': 'Q349'}]
["Denmark women's national under-19 football team", 'sport', {'concept': 'sport'}]
[]
Q606060
SYSTEM
women's association football
Q606060
(Q23013935,P641,c(Q349))
action filter_type
action find
entity Q23013935
relation P641
type Q349
[ANSWER] was that national association football team a part of
['Q23013935', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q23013935 property:P641 ?f . ?f rdf:type ontology:Q349 }
women's association football
Women's association football was that national association football team a part of
women's association football
action filter_type
action find
entity Denmark women's national under-19 football team
relation sport
type sport
["Denmark women's national under-19 football team", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Denmark_women's_national_under-19_football_team property:sport ?f . ?f rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q606060 Q2736 Q2909925
P641
Q349
USER
Is women's association football involved in playing association football and Ga-ga ?
(Q606060,P641,Q2736) (Q606060,P641,Q2909925)
action is_in
entity Q606060
action intersection
action find_reverse
entity Q2736
relation P641
action find_reverse
entity Q2909925
relation P641
['Q606060', 'P641', 'Q2736'] ['Q606060', 'P641', 'Q2909925']
ASK WHERE { resource:Q606060 property:P641 resource:Q2909925 . resource:Q606060 property:P641 resource:Q2736 }
women's association football association football Ga-ga
action is_in
entity women's association football
action intersection
action find_reverse
entity association football
relation sport
action find_reverse
entity Ga-ga
relation sport
["women's association football", 'sport', 'association football'] ["women's association football", 'sport', 'Ga-ga']
ASK WHERE { resource:women's_association_football property:sport resource:Ga-ga . resource:women's_association_football property:sport resource:association_football }
[]
sport
SYSTEM
YES and NO respectively
(Q606060,P641,Q2736) (Q606060,P641,Q2909925)
action is_in
entity Q606060
action intersection
action find_reverse
entity Q2736
relation P641
action find_reverse
entity Q2909925
relation P641
[ANSWER]
['Q606060', 'P641', 'Q2736'] ['Q606060', 'P641', 'Q2909925']
ASK WHERE { resource:Q606060 property:P641 resource:Q2909925 . resource:Q606060 property:P641 resource:Q2736 }
YES and NO respectively
action is_in
entity women's association football
action intersection
action find_reverse
entity association football
relation sport
action find_reverse
entity Ga-ga
relation sport
["women's association football", 'sport', 'association football'] ["women's association football", 'sport', 'Ga-ga']
ASK WHERE { resource:women's_association_football property:sport resource:Ga-ga . resource:women's_association_football property:sport resource:association_football }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q490638
P127
Q1048835 Q1002697 Q4830453
USER
How many political territories are the owners of more number of periodical literatures and business enterprises than Almendralejo ?
(c(Q1002697)|c(Q4830453),P127,c(Q1048835))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q1002697
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q490638
relation P127
type Q1002697
type Q4830453
[[{'concept': 'Q1002697'}, {'concept': 'Q4830453'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?s ) WHERE { VALUES ( ?k ) { ( ontology:Q1002697 ) ( ontology:Q4830453 ) } . ?d rdf:type ?k } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:P127 resource:Q490638 . { { ?e rdf:type ontology:Q1002697 } UNION { ?e rdf:type ontology:Q4830453 } } } } . FILTER ( ?s > ?w ) }
Almendralejo
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type periodical literature
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Almendralejo
relation owned by
type periodical literature
type business enterprise
[[{'concept': 'periodical literature'}, {'concept': 'business enterprise'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?s ) WHERE { VALUES ( ?k ) { ( ontology:periodical_literature ) ( ontology:business_enterprise ) } . ?d rdf:type ?k } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:owned_by resource:Almendralejo . { { ?e rdf:type ontology:periodical_literature } UNION { ?e rdf:type ontology:business_enterprise } } } } . FILTER ( ?s > ?w ) }
[]
political territorial entity periodical literature business enterprise
SYSTEM
4
Q183 Q6139 Q6142 Q40
(c(Q1002697)|c(Q4830453),P127,c(Q1048835))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q1002697
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q490638
relation P127
type Q1002697
type Q4830453
[ANSWER]
[[{'concept': 'Q1002697'}, {'concept': 'Q4830453'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?s ) WHERE { VALUES ( ?k ) { ( ontology:Q1002697 ) ( ontology:Q4830453 ) } . ?d rdf:type ?k } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:P127 resource:Q490638 . { { ?e rdf:type ontology:Q1002697 } UNION { ?e rdf:type ontology:Q4830453 } } } } . FILTER ( ?s > ?w ) }
Germany Havelland Potsdam-Mittelmark Austria
4
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type periodical literature
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Almendralejo
relation owned by
type periodical literature
type business enterprise
[[{'concept': 'periodical literature'}, {'concept': 'business enterprise'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?s ) WHERE { VALUES ( ?k ) { ( ontology:periodical_literature ) ( ontology:business_enterprise ) } . ?d rdf:type ?k } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:owned_by resource:Almendralejo . { { ?e rdf:type ontology:periodical_literature } UNION { ?e rdf:type ontology:business_enterprise } } } } . FILTER ( ?s > ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q190930
P127
Q1048835 Q1002697 Q4830453
USER
And also tell me about Vysočina Region?
(c(Q1002697)|c(Q4830453),P127,c(Q1048835))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q1002697
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q190930
relation P127
type Q1002697
type Q4830453
[[{'concept': 'Q1002697'}, {'concept': 'Q4830453'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:P127 ?j . ?z rdf:type ontology:Q1002697 . ?j rdf:type ontology:Q1048835 } UNION { ?z property:P127 ?j . ?z rdf:type ontology:Q4830453 . ?j rdf:type ontology:Q1048835 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:P127 resource:Q190930 . { ?x rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1002697 ) ( ontology:Q4830453 ) } } } } . FILTER ( ?r > ?b ) }
Vysočina Region
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type periodical literature
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Vysočina Region
relation owned by
type periodical literature
type business enterprise
[[{'concept': 'periodical literature'}, {'concept': 'business enterprise'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:owned_by ?j . ?z rdf:type ontology:periodical_literature . ?j rdf:type ontology:political_territorial_entity } UNION { ?z property:owned_by ?j . ?z rdf:type ontology:business_enterprise . ?j rdf:type ontology:political_territorial_entity } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:owned_by resource:Vysočina_Region . { ?x rdf:type ?w . VALUES ( ?w ) { ( ontology:periodical_literature ) ( ontology:business_enterprise ) } } } } . FILTER ( ?r > ?b ) }
[]
political territorial entity periodical literature business enterprise
SYSTEM
4
Q183 Q6139 Q6142 Q40
(c(Q1002697)|c(Q4830453),P127,c(Q1048835))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q1002697
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q190930
relation P127
type Q1002697
type Q4830453
[ANSWER]
[[{'concept': 'Q1002697'}, {'concept': 'Q4830453'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:P127 ?j . ?z rdf:type ontology:Q1002697 . ?j rdf:type ontology:Q1048835 } UNION { ?z property:P127 ?j . ?z rdf:type ontology:Q4830453 . ?j rdf:type ontology:Q1048835 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:P127 resource:Q190930 . { ?x rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1002697 ) ( ontology:Q4830453 ) } } } } . FILTER ( ?r > ?b ) }
Germany Havelland Potsdam-Mittelmark Austria
4
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type periodical literature
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Vysočina Region
relation owned by
type periodical literature
type business enterprise
[[{'concept': 'periodical literature'}, {'concept': 'business enterprise'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:owned_by ?j . ?z rdf:type ontology:periodical_literature . ?j rdf:type ontology:political_territorial_entity } UNION { ?z property:owned_by ?j . ?z rdf:type ontology:business_enterprise . ?j rdf:type ontology:political_territorial_entity } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:owned_by resource:Vysočina_Region . { ?x rdf:type ?w . VALUES ( ?w ) { ( ontology:periodical_literature ) ( ontology:business_enterprise ) } } } } . FILTER ( ?r > ?b ) }
[]