Simple Question (Direct)
Simple Question
Q5904441
P551
Q515
USER
Which city was Hugo Dellien a resident of ?
(Q5904441,P551,c(Q515))
action filter_type
action find
entity Q5904441
relation P551
type Q515
['Q5904441', 'P551', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q515 . resource:Q5904441 property:P551 ?n }
Hugo Dellien
action filter_type
action find
entity Hugo Dellien
relation residence
type city
['Hugo Dellien', 'residence', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:city . resource:Hugo_Dellien property:residence ?n }
[]
city
Q1486
SYSTEM
Buenos Aires
Q1486
(Q5904441,P551,c(Q515))
action filter_type
action find
entity Q5904441
relation P551
type Q515
Hugo Dellien was of the [ANSWER]
['Q5904441', 'P551', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q515 . resource:Q5904441 property:P551 ?n }
Buenos Aires
Hugo Dellien was of the Buenos Aires
Buenos Aires
action filter_type
action find
entity Hugo Dellien
relation residence
type city
['Hugo Dellien', 'residence', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:city . resource:Hugo_Dellien property:residence ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5904441
P106
Q12737077
USER
What is the profession of Hugo Dellien ?
(Q5904441,P106,c(Q12737077))
action filter_type
action find
entity Q5904441
relation P106
type Q12737077
['Q5904441', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5904441 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Hugo Dellien
action filter_type
action find
entity Hugo Dellien
relation occupation
type occupation
['Hugo Dellien', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Hugo_Dellien property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q10833314
SYSTEM
tennis player
Q10833314
(Q5904441,P106,c(Q12737077))
action filter_type
action find
entity Q5904441
relation P106
type Q12737077
The profession of Hugo Dellien is a [ANSWER]
['Q5904441', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5904441 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
tennis player
The profession of Hugo Dellien is a tennis player
tennis player
action filter_type
action find
entity Hugo Dellien
relation occupation
type occupation
['Hugo Dellien', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Hugo_Dellien property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4714124
Q12737077
USER
And what about Alec Downer?
(Q4714124,P106,c(Q12737077))
action filter_type
action find
entity Q4714124
relation P106
type Q12737077
['Q4714124', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q4714124 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Alec Downer
action filter_type
action find
entity Alec Downer
relation occupation
type occupation
['Alec Downer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Alec_Downer property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q193391 Q82955
SYSTEM
diplomat, politician
Q193391 Q82955
(Q4714124,P106,c(Q12737077))
action filter_type
action find
entity Q4714124
relation P106
type Q12737077
[ANSWERS]
['Q4714124', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q4714124 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
diplomat politician
diplomat politician
action filter_type
action find
entity Alec Downer
relation occupation
type occupation
['Alec Downer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Alec_Downer property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q322897
P106
Q502895
USER
Do Behiç Erkin have those occupations as his/her means of employment ?
(Q322897,P106,Q193391) (Q322897,P106,Q82955)
action is_in
entity prev_answer
action find
entity Q322897
relation P106
['Q322897', 'P106', 'Q193391'] ['Q322897', 'P106', 'Q82955']
ASK WHERE { resource:Q322897 property:P106 ?h . VALUES ( ?h ) { ( resource:Q193391 ) ( resource:Q82955 ) } }
Behiç Erkin
action is_in
entity prev_answer
action find
entity Behiç Erkin
relation occupation
['Behiç Erkin', 'occupation', 'diplomat'] ['Behiç Erkin', 'occupation', 'politician']
ASK WHERE { resource:Behiç_Erkin property:occupation ?h . VALUES ( ?h ) { ( resource:diplomat ) ( resource:politician ) } }
[]
common name
SYSTEM
YES
(Q322897,P106,Q193391) (Q322897,P106,Q82955)
action is_in
entity prev_answer
action find
entity Q322897
relation P106
[ANSWER]
['Q322897', 'P106', 'Q193391'] ['Q322897', 'P106', 'Q82955']
ASK WHERE { resource:Q322897 property:P106 ?h . VALUES ( ?h ) { ( resource:Q193391 ) ( resource:Q82955 ) } }
Yes
action is_in
entity prev_answer
action find
entity Behiç Erkin
relation occupation
['Behiç Erkin', 'occupation', 'diplomat'] ['Behiç Erkin', 'occupation', 'politician']
ASK WHERE { resource:Behiç_Erkin property:occupation ?h . VALUES ( ?h ) { ( resource:diplomat ) ( resource:politician ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5904441 Q520473 Q414
P27
Q15617994
USER
Is Hugo Dellien a citizen of Hambrücken and Argentina ?
(Q5904441,P27,Q520473) (Q5904441,P27,Q414)
action is_in
entity Q5904441
action intersection
action find_reverse
entity Q520473
relation P27
action find_reverse
entity Q414
relation P27
['Q5904441', 'P27', 'Q520473'] ['Q5904441', 'P27', 'Q414']
ASK WHERE { resource:Q5904441 property:P27 resource:Q414 . resource:Q5904441 property:P27 resource:Q520473 }
Hugo Dellien Hambrücken Argentina
action is_in
entity Hugo Dellien
action intersection
action find_reverse
entity Hambrücken
relation country of citizenship
action find_reverse
entity Argentina
relation country of citizenship
['Hugo Dellien', 'country of citizenship', 'Hambrücken'] ['Hugo Dellien', 'country of citizenship', 'Argentina']
ASK WHERE { resource:Hugo_Dellien property:country_of_citizenship resource:Argentina . resource:Hugo_Dellien property:country_of_citizenship resource:Hambrücken }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q5904441,P27,Q520473) (Q5904441,P27,Q414)
action is_in
entity Q5904441
action intersection
action find_reverse
entity Q520473
relation P27
action find_reverse
entity Q414
relation P27
[ANSWER]
['Q5904441', 'P27', 'Q520473'] ['Q5904441', 'P27', 'Q414']
ASK WHERE { resource:Q5904441 property:P27 resource:Q414 . resource:Q5904441 property:P27 resource:Q520473 }
NO and YES respectively
action is_in
entity Hugo Dellien
action intersection
action find_reverse
entity Hambrücken
relation country of citizenship
action find_reverse
entity Argentina
relation country of citizenship
['Hugo Dellien', 'country of citizenship', 'Hambrücken'] ['Hugo Dellien', 'country of citizenship', 'Argentina']
ASK WHERE { resource:Hugo_Dellien property:country_of_citizenship resource:Argentina . resource:Hugo_Dellien property:country_of_citizenship resource:Hambrücken }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5904441
P1412
Q34770
USER
Which language is spoken by that person ?
action filter_type
action find
entity Q5904441
relation P1412
type Q34770
SELECT DISTINCT ?q WHERE { resource:Q5904441 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Hugo Dellien
action filter_type
action find
entity Hugo Dellien
relation languages spoken, written or signed
type language
SELECT DISTINCT ?q WHERE { resource:Hugo_Dellien property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
action filter_type
action find
entity Q5904441
relation P1412
type Q34770
[ANSWER] is spoken by that person
SELECT DISTINCT ?q WHERE { resource:Q5904441 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Spanish
Spanish is spoken by that person
Spanish
action filter_type
action find
entity Hugo Dellien
relation languages spoken, written or signed
type language
SELECT DISTINCT ?q WHERE { resource:Hugo_Dellien property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q52626
P37
Q34770 Q1048835
USER
Which political territories have their official language as approximately the same number of languages as Formentera ?
(c(Q1048835),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q52626
relation P37
type Q1048835
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Q52626 property:P37 ?f . ?f rdf:type ontology:Q1048835 } } . FILTER ( ?h = ?l ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?m property:P37 ?k . ?m rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q34770 } GROUP BY ?m } }
Formentera
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Formentera
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Formentera property:official_language ?f . ?f rdf:type ontology:political_territorial_entity } } . FILTER ( ?h = ?l ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?m property:official_language ?k . ?m rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:language } GROUP BY ?m } }
[]
language political territorial entity
Q408 Q16 Q5705
SYSTEM
Australia, Canada, Catalonia
Q127167 Q193714 Q691 Q686790 Q785 Q769 Q763 Q917883 Q35086 Q766 Q9676 Q1054923 Q52626 Q5720 Q664 Q13353 Q37362 Q1771153 Q5705 Q13786 Q16 Q5785 Q624511 Q15601 Q1628531 Q649612 Q685 Q778 Q25228 Q4474 Q408 Q1631311 Q1444150 Q9648 Q643919 Q1644430 Q23635 Q781 Q1907203 Q1769772
(c(Q1048835),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q52626
relation P37
type Q1048835
[ANSWERS] have their official language as approximately the same number of languages as Formentera
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Q52626 property:P37 ?f . ?f rdf:type ontology:Q1048835 } } . FILTER ( ?h = ?l ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?m property:P37 ?k . ?m rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q34770 } GROUP BY ?m } }
Western Cape Mandatory Palestine Papua New Guinea Mediona Jersey Grenada Saint Kitts and Nevis Molina de Segura South Georgia and the South Sandwich Islands Jamaica Isle of Man British Hong Kong Formentera Valencian Country New Zealand Montserrat Akrotiri and Dhekelia Albuixech Catalonia Cebu Canada Cayman Islands Aracena Corbera de Llobregat Quintanar de la Orden Coca, Segovia Solomon Islands The Bahamas Anguilla Ortuella Australia Cuéllar Alboloduy Falkland Islands Torfaen County Borough Monreal del Campo Bermuda Antigua and Barbuda San Miguel del Arroyo Bierge
Australia, Canada and Catalonia have their official language as approximately the same number of languages as Formentera
Australia Canada Catalonia
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Formentera
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Formentera property:official_language ?f . ?f rdf:type ontology:political_territorial_entity } } . FILTER ( ?h = ?l ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?m property:official_language ?k . ?m rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:language } GROUP BY ?m } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q13786
P37
Q34770 Q1048835
USER
And what about Cebu?
(c(Q1048835),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q13786
relation P37
type Q1048835
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?q ) WHERE { ?e rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q34770 . ?e property:P37 ?n } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:Q1048835 . resource:Q13786 property:P37 ?a } } . FILTER ( ?q = ?k ) }
Cebu
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Cebu
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?q ) WHERE { ?e rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:language . ?e property:official_language ?n } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:political_territorial_entity . resource:Cebu property:official_language ?a } } . FILTER ( ?q = ?k ) }
[]
language political territorial entity
Q408 Q16 Q5705
SYSTEM
Australia, Canada, Catalonia
Q127167 Q193714 Q691 Q686790 Q785 Q769 Q763 Q917883 Q35086 Q766 Q9676 Q1054923 Q52626 Q5720 Q664 Q13353 Q37362 Q1771153 Q5705 Q13786 Q16 Q5785 Q624511 Q15601 Q1628531 Q649612 Q685 Q778 Q25228 Q4474 Q408 Q1631311 Q1444150 Q9648 Q643919 Q1644430 Q23635 Q781 Q1907203 Q1769772
(c(Q1048835),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q13786
relation P37
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?q ) WHERE { ?e rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q34770 . ?e property:P37 ?n } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:Q1048835 . resource:Q13786 property:P37 ?a } } . FILTER ( ?q = ?k ) }
Western Cape Mandatory Palestine Papua New Guinea Mediona Jersey Grenada Saint Kitts and Nevis Molina de Segura South Georgia and the South Sandwich Islands Jamaica Isle of Man British Hong Kong Formentera Valencian Country New Zealand Montserrat Akrotiri and Dhekelia Albuixech Catalonia Cebu Canada Cayman Islands Aracena Corbera de Llobregat Quintanar de la Orden Coca, Segovia Solomon Islands The Bahamas Anguilla Ortuella Australia Cuéllar Alboloduy Falkland Islands Torfaen County Borough Monreal del Campo Bermuda Antigua and Barbuda San Miguel del Arroyo Bierge
Australia Canada Catalonia
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Cebu
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?q ) WHERE { ?e rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:language . ?e property:official_language ?n } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a rdf:type ontology:political_territorial_entity . resource:Cebu property:official_language ?a } } . FILTER ( ?q = ?k ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5705
P1532
Q6979593
USER
Which national association football team represents that political territory ?
(c(Q6979593),P1532,Q5705)
action filter_type
action find_reverse
entity Q5705
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q5705']
SELECT DISTINCT ?i WHERE { ?i property:P1532 resource:Q5705 . ?i rdf:type ontology:Q6979593 }
Catalonia
action filter_type
action find_reverse
entity Catalonia
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Catalonia']
SELECT DISTINCT ?i WHERE { ?i property:country_for_sport resource:Catalonia . ?i rdf:type ontology:national_association_football_team }
[]
national association football team
Clarification for simple ques.
Q16
SYSTEM
Did you mean Canada ?
Q408 Q16 Q5705
(c(Q6979593),P1532,Q408) (c(Q6979593),P1532,Q16) (c(Q6979593),P1532,Q5705)
[ANSWER]
[{'concept': 'Q6979593'}, 'P1532', 'Q408'] [{'concept': 'Q6979593'}, 'P1532', 'Q16'] [{'concept': 'Q6979593'}, 'P1532', 'Q5705']
SELECT DISTINCT ?i WHERE { ?i property:P1532 resource:Q5705 . ?i rdf:type ontology:Q6979593 }
Australia Canada Catalonia
Did you mean Canada ?
Canada
[{'concept': 'national association football team'}, 'country for sport', 'Australia'] [{'concept': 'national association football team'}, 'country for sport', 'Canada'] [{'concept': 'national association football team'}, 'country for sport', 'Catalonia']
SELECT DISTINCT ?i WHERE { ?i property:country_for_sport resource:Catalonia . ?i rdf:type ontology:national_association_football_team }
[]
Simple Question (Coreferenced)
USER
No, I meant Catalonia. Could you tell me the answer for that?
(c(Q6979593),P1532,Q5705)
Q5705
[{'concept': 'Q6979593'}, 'P1532', 'Q5705']
[{'concept': 'national association football team'}, 'country for sport', 'Catalonia']
[]
Q20977930
SYSTEM
Catalonia women's national football team
Q20977930
(c(Q6979593),P1532,Q5705)
action filter_type
action find_reverse
entity Q5705
relation P1532
type Q6979593
[ANSWER] represents that political territory
[{'concept': 'Q6979593'}, 'P1532', 'Q5705']
SELECT DISTINCT ?i WHERE { ?i property:P1532 resource:Q5705 . ?i rdf:type ontology:Q6979593 }
Catalonia women's national football team
Catalonia women's national football team represents that political territory
Catalonia women's national football team
action filter_type
action find_reverse
entity Catalonia
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Catalonia']
SELECT DISTINCT ?i WHERE { ?i property:country_for_sport resource:Catalonia . ?i rdf:type ontology:national_association_football_team }
[]