Simple Question (Direct)
Simple Question
Q1403240
P1412
Q34770
USER
Which language is spoken by Felipe Solís Olguín ?
(Q1403240,P1412,c(Q34770))
action filter_type
action find
entity Q1403240
relation P1412
type Q34770
['Q1403240', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q34770 . resource:Q1403240 property:P1412 ?v }
Felipe Solís Olguín
action filter_type
action find
entity Felipe Solís Olguín
relation languages spoken, written or signed
type language
['Felipe Solís Olguín', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:language . resource:Felipe_Solís_Olguín property:languages_spoken,_written_or_signed ?v }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q1403240,P1412,c(Q34770))
action filter_type
action find
entity Q1403240
relation P1412
type Q34770
De [ANSWER] is spoken by Felipe Solís Olguín
['Q1403240', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q34770 . resource:Q1403240 property:P1412 ?v }
Spanish
De Spanish is spoken by Felipe Solís Olguín
Spanish
action filter_type
action find
entity Felipe Solís Olguín
relation languages spoken, written or signed
type language
['Felipe Solís Olguín', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:language . resource:Felipe_Solís_Olguín property:languages_spoken,_written_or_signed ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1403240
P27
Q15617994
USER
Which administrative territory is Felipe Solís Olguín an inhabitant of ?
(Q1403240,P27,c(Q15617994))
action filter_type
action find
entity Q1403240
relation P27
type Q15617994
['Q1403240', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1403240 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Felipe Solís Olguín
action filter_type
action find
entity Felipe Solís Olguín
relation country of citizenship
type designation for an administrative territorial entity
['Felipe Solís Olguín', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Felipe_Solís_Olguín property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q1403240,P27,c(Q15617994))
action filter_type
action find
entity Q1403240
relation P27
type Q15617994
[ANSWER] is Felipe Solís Olguín an inhabitant of
['Q1403240', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1403240 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Mexico
Mexico is Felipe Solís Olguín an inhabitant of
Mexico
action filter_type
action find
entity Felipe Solís Olguín
relation country of citizenship
type designation for an administrative territorial entity
['Felipe Solís Olguín', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Felipe_Solís_Olguín property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1403240
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q96,P106,c(Q12737077))
action filter_type
action find
entity Q1403240
relation P106
type Q12737077
['Q96', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1403240 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Felipe Solís Olguín
action filter_type
action find
entity Felipe Solís Olguín
relation occupation
type occupation
['Mexico', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Felipe_Solís_Olguín property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q3621491 Q201788 Q1622272
SYSTEM
archaeologist, historian, university teacher
Q201788 Q3621491 Q1622272 Q4773904
(Q96,P106,c(Q12737077))
action filter_type
action find
entity Q1403240
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q96', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1403240 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
historian archaeologist university teacher anthropologist
The professions of that person are archaeologist, historian and university teacher
archaeologist historian university teacher
action filter_type
action find
entity Felipe Solís Olguín
relation occupation
type occupation
['Mexico', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Felipe_Solís_Olguín property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3314419
P106
Q502895
USER
Do Miloje Vasić have career as those occupations ?
(Q3314419,P106,Q3621491) (Q3314419,P106,Q201788) (Q3314419,P106,Q1622272)
action is_in
entity prev_answer
action find
entity Q3314419
relation P106
['Q3314419', 'P106', 'Q3621491'] ['Q3314419', 'P106', 'Q201788'] ['Q3314419', 'P106', 'Q1622272']
ASK WHERE { resource:Q3314419 property:P106 ?y . VALUES ( ?y ) { ( resource:Q201788 ) ( resource:Q3621491 ) ( resource:Q1622272 ) } }
Miloje Vasić
action is_in
entity prev_answer
action find
entity Miloje Vasić
relation occupation
['Miloje Vasić', 'occupation', 'archaeologist'] ['Miloje Vasić', 'occupation', 'historian'] ['Miloje Vasić', 'occupation', 'university teacher']
ASK WHERE { resource:Miloje_Vasić property:occupation ?y . VALUES ( ?y ) { ( resource:historian ) ( resource:archaeologist ) ( resource:university_teacher ) } }
[]
common name
SYSTEM
YES
(Q3314419,P106,Q3621491) (Q3314419,P106,Q201788) (Q3314419,P106,Q1622272)
action is_in
entity prev_answer
action find
entity Q3314419
relation P106
[ANSWER]
['Q3314419', 'P106', 'Q3621491'] ['Q3314419', 'P106', 'Q201788'] ['Q3314419', 'P106', 'Q1622272']
ASK WHERE { resource:Q3314419 property:P106 ?y . VALUES ( ?y ) { ( resource:Q201788 ) ( resource:Q3621491 ) ( resource:Q1622272 ) } }
Yes
action is_in
entity prev_answer
action find
entity Miloje Vasić
relation occupation
['Miloje Vasić', 'occupation', 'archaeologist'] ['Miloje Vasić', 'occupation', 'historian'] ['Miloje Vasić', 'occupation', 'university teacher']
ASK WHERE { resource:Miloje_Vasić property:occupation ?y . VALUES ( ?y ) { ( resource:historian ) ( resource:archaeologist ) ( resource:university_teacher ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q96
P1071
Q15709879
USER
Which artwork series has Mexico as its location of final assembly ?
(c(Q15709879),P1071,Q96)
action filter_type
action find_reverse
entity Q96
relation P1071
type Q15709879
[{'concept': 'Q15709879'}, 'P1071', 'Q96']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15709879 . ?k property:P1071 resource:Q96 }
Mexico
action filter_type
action find_reverse
entity Mexico
relation location of final assembly
type artwork series
[{'concept': 'artwork series'}, 'location of final assembly', 'Mexico']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:artwork_series . ?k property:location_of_final_assembly resource:Mexico }
[]
artwork series
Q2829428
SYSTEM
Al Alimón
Q2829428
(c(Q15709879),P1071,Q96)
action filter_type
action find_reverse
entity Q96
relation P1071
type Q15709879
[ANSWER] has Mexico as its location of final assembly
[{'concept': 'Q15709879'}, 'P1071', 'Q96']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15709879 . ?k property:P1071 resource:Q96 }
Al Alimón
Al Alimón has Mexico as its location of final assembly
Al Alimón
action filter_type
action find_reverse
entity Mexico
relation location of final assembly
type artwork series
[{'concept': 'artwork series'}, 'location of final assembly', 'Mexico']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:artwork_series . ?k property:location_of_final_assembly resource:Mexico }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2829428
P800
Q502895
USER
Whose notable work was that artwork series ?
(c(Q502895),P800,Q2829428)
action filter_type
action find_reverse
entity Q2829428
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q2829428']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P800 resource:Q2829428 }
Al Alimón
action filter_type
action find_reverse
entity Al Alimón
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Al Alimón']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:notable_work resource:Al_Alimón }
[]
common name
Q328248
SYSTEM
Pierre Alechinsky
Q328248
(c(Q502895),P800,Q2829428)
action filter_type
action find_reverse
entity Q2829428
relation P800
type Q502895
[ANSWER] was that artwork series
[{'concept': 'Q502895'}, 'P800', 'Q2829428']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P800 resource:Q2829428 }
Pierre Alechinsky
Pierre Alechinsky was that artwork series
Pierre Alechinsky
action filter_type
action find_reverse
entity Al Alimón
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Al Alimón']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:notable_work resource:Al_Alimón }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q328248 Q6705119 Q574314
P19
Q56061
USER
Does that person have birthplace at Lusignan and Laupheim ?
(Q328248,P19,Q6705119) (Q328248,P19,Q574314)
action is_in
entity Q328248
action intersection
action find_reverse
entity Q6705119
relation P19
action find_reverse
entity Q574314
relation P19
['Q328248', 'P19', 'Q6705119'] ['Q328248', 'P19', 'Q574314']
ASK WHERE { resource:Q328248 property:P19 resource:Q574314 . resource:Q328248 property:P19 resource:Q6705119 }
Pierre Alechinsky Lusignan Laupheim
action is_in
entity Pierre Alechinsky
action intersection
action find_reverse
entity Lusignan
relation place of birth
action find_reverse
entity Laupheim
relation place of birth
['Pierre Alechinsky', 'place of birth', 'Lusignan'] ['Pierre Alechinsky', 'place of birth', 'Laupheim']
ASK WHERE { resource:Pierre_Alechinsky property:place_of_birth resource:Laupheim . resource:Pierre_Alechinsky property:place_of_birth resource:Lusignan }
[]
administrative territorial entity
SYSTEM
NO
(Q328248,P19,Q6705119) (Q328248,P19,Q574314)
action is_in
entity Q328248
action intersection
action find_reverse
entity Q6705119
relation P19
action find_reverse
entity Q574314
relation P19
[ANSWER]
['Q328248', 'P19', 'Q6705119'] ['Q328248', 'P19', 'Q574314']
ASK WHERE { resource:Q328248 property:P19 resource:Q574314 . resource:Q328248 property:P19 resource:Q6705119 }
No
action is_in
entity Pierre Alechinsky
action intersection
action find_reverse
entity Lusignan
relation place of birth
action find_reverse
entity Laupheim
relation place of birth
['Pierre Alechinsky', 'place of birth', 'Lusignan'] ['Pierre Alechinsky', 'place of birth', 'Laupheim']
ASK WHERE { resource:Pierre_Alechinsky property:place_of_birth resource:Laupheim . resource:Pierre_Alechinsky property:place_of_birth resource:Lusignan }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q42585 Q6705119
P17
Q15617994
USER
Which administrative territories are Lusignan or Kingdom of Bohemia situated in ?
OR((Q6705119,P17,c(Q15617994)), (Q42585,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6705119
relation P17
action find
entity Q42585
relation P17
type Q15617994
{'OR': [['Q6705119', 'P17', {'concept': 'Q15617994'}], ['Q42585', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?e ) { ( resource:Q6705119 ) ( resource:Q42585 ) } . ?e property:P17 ?f } . ?f rdf:type ontology:Q15617994 }
Kingdom of Bohemia Lusignan
action filter_type
action union
action find
entity Lusignan
relation country
action find
entity Kingdom of Bohemia
relation country
type designation for an administrative territorial entity
{'OR': [['Lusignan', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Kingdom of Bohemia', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?e ) { ( resource:Lusignan ) ( resource:Kingdom_of_Bohemia ) } . ?e property:country ?f } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q153136 Q734
SYSTEM
Habsburg Empire, Guyana
Q153136 Q734
OR((Q6705119,P17,c(Q15617994)), (Q42585,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6705119
relation P17
action find
entity Q42585
relation P17
type Q15617994
Lusignan or Kingdom of Bohemia are situated between [ANSWERS]
{'OR': [['Q6705119', 'P17', {'concept': 'Q15617994'}], ['Q42585', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?e ) { ( resource:Q6705119 ) ( resource:Q42585 ) } . ?e property:P17 ?f } . ?f rdf:type ontology:Q15617994 }
Habsburg Empire Guyana
Lusignan or Kingdom of Bohemia are situated between Habsburg Empire and Guyana
Habsburg Empire Guyana
action filter_type
action union
action find
entity Lusignan
relation country
action find
entity Kingdom of Bohemia
relation country
type designation for an administrative territorial entity
{'OR': [['Lusignan', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Kingdom of Bohemia', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?e ) { ( resource:Lusignan ) ( resource:Kingdom_of_Bohemia ) } . ?e property:country ?f } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P36
Q56061
USER
How many administrative territories are the capitals of that administrative territory ?
(Q153136,P36,c(Q56061))
['Q153136', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q153136 property:Q8137 ?z . ?z rdf:type ontology:Q56061 }
['Habsburg Empire', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Habsburg_Empire property:capital ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q734
SYSTEM
Did you mean Guyana ?
(Q153136,P36,c(Q56061)) (Q734,P36,c(Q56061))
[ANSWER]
['Q153136', 'P36', {'concept': 'Q56061'}] ['Q734', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q153136 property:Q8137 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Guyana ?
Guyana
['Habsburg Empire', 'capital', {'concept': 'administrative territorial entity'}] ['Guyana', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Habsburg_Empire property:capital ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Habsburg Empire. Could you tell me the answer for that?
(Q153136,P36,c(Q56061))
Q153136
['Q153136', 'P36', {'concept': 'Q56061'}]
['Habsburg Empire', 'capital', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
1
Q1741
(Q153136,P36,c(Q56061))
[ANSWER]
['Q153136', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q153136 property:Q8137 ?z . ?z rdf:type ontology:Q56061 }
Vienna
1
['Habsburg Empire', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Habsburg_Empire property:capital ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]