Simple Question (Direct)
Simple Question
Q454740
P106
Q12737077
USER
What is the profession of Nilla Fischer ?
(Q454740,P106,c(Q12737077))
action filter_type
action find
entity Q454740
relation P106
type Q12737077
['Q454740', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q454740 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Nilla Fischer
action filter_type
action find
entity Nilla Fischer
relation occupation
type occupation
['Nilla Fischer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Nilla_Fischer property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q454740,P106,c(Q12737077))
action filter_type
action find
entity Q454740
relation P106
type Q12737077
The profession of Nilla Fischer is an [ANSWER]
['Q454740', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q454740 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
association football player
The profession of Nilla Fischer is an association football player
association football player
action filter_type
action find
entity Nilla Fischer
relation occupation
type occupation
['Nilla Fischer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Nilla_Fischer property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q454740
P734
Q82799
USER
Which name is associated with that person ?
(Q937857,P734,c(Q82799))
action filter_type
action find
entity Q454740
relation P734
type Q82799
['Q937857', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q454740 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Nilla Fischer
action filter_type
action find
entity Nilla Fischer
relation family name
type name
['association football player', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Nilla_Fischer property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q11231408
SYSTEM
Fischer
Q11231408
(Q937857,P734,c(Q82799))
action filter_type
action find
entity Q454740
relation P734
type Q82799
[ANSWER] is associated with that person
['Q937857', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q454740 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Fischer
Fischer is associated with that person
Fischer
action filter_type
action find
entity Nilla Fischer
relation family name
type name
['association football player', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Nilla_Fischer property:family_name ?o . ?o rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7175890 Q454740
P734
Q82799
USER
Or Peter Miller?
OR((Q454740,P734,c(Q82799)), (Q7175890,P734,c(Q82799)))
action filter_type
action union
action find
entity Q454740
relation P734
action find
entity Q7175890
relation P734
type Q82799
{'OR': [['Q454740', 'P734', {'concept': 'Q82799'}], ['Q7175890', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q454740 property:P734 ?h } UNION { resource:Q7175890 property:P734 ?h } } . ?h rdf:type ontology:Q82799 }
Peter Miller Nilla Fischer
action filter_type
action union
action find
entity Nilla Fischer
relation family name
action find
entity Peter Miller
relation family name
type name
{'OR': [['Nilla Fischer', 'family name', {'concept': 'name'}], ['Peter Miller', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Nilla_Fischer property:family_name ?h } UNION { resource:Peter_Miller property:family_name ?h } } . ?h rdf:type ontology:name }
[]
name
Q1605060 Q11231408
SYSTEM
Miller, Fischer
Q1605060 Q11231408
OR((Q454740,P734,c(Q82799)), (Q7175890,P734,c(Q82799)))
action filter_type
action union
action find
entity Q454740
relation P734
action find
entity Q7175890
relation P734
type Q82799
[ANSWERS]
{'OR': [['Q454740', 'P734', {'concept': 'Q82799'}], ['Q7175890', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q454740 property:P734 ?h } UNION { resource:Q7175890 property:P734 ?h } } . ?h rdf:type ontology:Q82799 }
Miller Fischer
Miller Fischer
action filter_type
action union
action find
entity Nilla Fischer
relation family name
action find
entity Peter Miller
relation family name
type name
{'OR': [['Nilla Fischer', 'family name', {'concept': 'name'}], ['Peter Miller', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Nilla_Fischer property:family_name ?h } UNION { resource:Peter_Miller property:family_name ?h } } . ?h rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1605060
P407
Q34770
USER
What is the language of Miller ?
(Q1605060,P407,c(Q34770))
action filter_type
action find
entity Q1605060
relation P407
type Q34770
['Q1605060', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q1605060 property:P407 ?e . ?e rdf:type ontology:Q34770 }
Miller
action filter_type
action find
entity Miller
relation language of work or name
type language
['Miller', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Miller property:language_of_work_or_name ?e . ?e rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1605060,P407,c(Q34770))
action filter_type
action find
entity Q1605060
relation P407
type Q34770
The language of Miller is the [ANSWER]
['Q1605060', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q1605060 property:P407 ?e . ?e rdf:type ontology:Q34770 }
English
The language of Miller is the English
English
action filter_type
action find
entity Miller
relation language of work or name
type language
['Miller', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Miller property:language_of_work_or_name ?e . ?e rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q930969 Q1605060
P407
Q34770
USER
And also Nandito Ako
AND((Q1605060,P407,c(Q34770)), (Q930969,P407,c(Q34770)))
action filter_type
action intersection
action find
entity Q1605060
relation P407
action find
entity Q930969
relation P407
type Q34770
{'AND': [['Q1605060', 'P407', {'concept': 'Q34770'}], ['Q930969', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?d WHERE { resource:Q1605060 property:P407 ?d . resource:Q930969 property:P407 ?d . ?d rdf:type ontology:Q34770 }
Nandito Ako Miller
action filter_type
action intersection
action find
entity Miller
relation language of work or name
action find
entity Nandito Ako
relation language of work or name
type language
{'AND': [['Miller', 'language of work or name', {'concept': 'language'}], ['Nandito Ako', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?d WHERE { resource:Miller property:language_of_work_or_name ?d . resource:Nandito_Ako property:language_of_work_or_name ?d . ?d rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q1605060,P407,c(Q34770)), (Q930969,P407,c(Q34770)))
action filter_type
action intersection
action find
entity Q1605060
relation P407
action find
entity Q930969
relation P407
type Q34770
[ANSWER]
{'AND': [['Q1605060', 'P407', {'concept': 'Q34770'}], ['Q930969', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?d WHERE { resource:Q1605060 property:P407 ?d . resource:Q930969 property:P407 ?d . ?d rdf:type ontology:Q34770 }
English
English
action filter_type
action intersection
action find
entity Miller
relation language of work or name
action find
entity Nandito Ako
relation language of work or name
type language
{'AND': [['Miller', 'language of work or name', {'concept': 'language'}], ['Nandito Ako', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?d WHERE { resource:Miller property:language_of_work_or_name ?d . resource:Nandito_Ako property:language_of_work_or_name ?d . ?d rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18021577 Q930969
P407
Q34770
USER
Which languages are the languages of work for Nandito Ako or New York legalizes same-sex marriage ?
OR((Q930969,P407,c(Q34770)), (Q18021577,P407,c(Q34770)))
action filter_type
action union
action find
entity Q930969
relation P407
action find
entity Q18021577
relation P407
type Q34770
{'OR': [['Q930969', 'P407', {'concept': 'Q34770'}], ['Q18021577', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q930969 property:P407 ?i } UNION { resource:Q18021577 property:P407 ?i } } . ?i rdf:type ontology:Q34770 }
New York legalizes same-sex marriage Nandito Ako
action filter_type
action union
action find
entity Nandito Ako
relation language of work or name
action find
entity New York legalizes same-sex marriage
relation language of work or name
type language
{'OR': [['Nandito Ako', 'language of work or name', {'concept': 'language'}], ['New York legalizes same-sex marriage', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Nandito_Ako property:language_of_work_or_name ?i } UNION { resource:New_York_legalizes_same-sex_marriage property:language_of_work_or_name ?i } } . ?i rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
OR((Q930969,P407,c(Q34770)), (Q18021577,P407,c(Q34770)))
action filter_type
action union
action find
entity Q930969
relation P407
action find
entity Q18021577
relation P407
type Q34770
[ANSWER] is the languages of work for Nandito Ako or New York legalizes same-sex marriage
{'OR': [['Q930969', 'P407', {'concept': 'Q34770'}], ['Q18021577', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q930969 property:P407 ?i } UNION { resource:Q18021577 property:P407 ?i } } . ?i rdf:type ontology:Q34770 }
English
English is the languages of work for Nandito Ako or New York legalizes same-sex marriage
English
action filter_type
action union
action find
entity Nandito Ako
relation language of work or name
action find
entity New York legalizes same-sex marriage
relation language of work or name
type language
{'OR': [['Nandito Ako', 'language of work or name', {'concept': 'language'}], ['New York legalizes same-sex marriage', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Nandito_Ako property:language_of_work_or_name ?i } UNION { resource:New_York_legalizes_same-sex_marriage property:language_of_work_or_name ?i } } . ?i rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P37
Q56061
USER
Which administrative territories are known to have that one as their official language ?
(c(Q56061),P37,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', 'Q1860']
SELECT DISTINCT ?n WHERE { ?n property:P37 resource:Q1860 . ?n rdf:type ontology:Q56061 }
English
action filter_type
action find_reverse
entity English
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', 'English']
SELECT DISTINCT ?n WHERE { ?n property:official_language resource:English . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458 Q334 Q1353
SYSTEM
European Union, Singapore, Delhi
Q26180 Q1183 Q16635 Q16644 Q123709 Q2532285 Q49192 Q11703 Q1353 Q334 Q16641 Q26 Q58337 Q1025278 Q179313 Q277708 Q25528 Q458 Q2499687 Q25230
(c(Q56061),P37,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P37
type Q56061
[ANSWERS] are known to have that one as their official language
[{'concept': 'Q56061'}, 'P37', 'Q1860']
SELECT DISTINCT ?n WHERE { ?n property:P37 resource:Q1860 . ?n rdf:type ontology:Q56061 }
Sint Eustatius Puerto Rico Guam Northern Mariana Islands Dundee New Cumberland Middletown United States Virgin Islands Delhi Singapore American Samoa Northern Ireland Banff Painavu Alderney Ozhukarai Saba European Union Yatton Guernsey
European Union, Singapore and Delhi are known to have that one as their official language
European Union Singapore Delhi
action filter_type
action find_reverse
entity English
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', 'English']
SELECT DISTINCT ?n WHERE { ?n property:official_language resource:English . ?n rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q334
P276
Q15259995
USER
Which recurring tournaments are located at that administrative territory ?
(c(Q15259995),P276,Q334)
action filter_type
action find_reverse
entity Q334
relation P276
type Q15259995
[{'concept': 'Q15259995'}, 'P276', 'Q334']
SELECT DISTINCT ?t WHERE { ?t property:P276 resource:Q334 . ?t rdf:type ontology:Q15259995 }
Singapore
action filter_type
action find_reverse
entity Singapore
relation location
type recurring tournament
[{'concept': 'recurring tournament'}, 'location', 'Singapore']
SELECT DISTINCT ?t WHERE { ?t property:location resource:Singapore . ?t rdf:type ontology:recurring_tournament }
[]
recurring tournament
Clarification for simple ques.
Q1353
SYSTEM
Did you mean Delhi ?
Q458 Q334 Q1353
(c(Q15259995),P276,Q458) (c(Q15259995),P276,Q334) (c(Q15259995),P276,Q1353)
[ANSWER]
[{'concept': 'Q15259995'}, 'P276', 'Q458'] [{'concept': 'Q15259995'}, 'P276', 'Q334'] [{'concept': 'Q15259995'}, 'P276', 'Q1353']
SELECT DISTINCT ?t WHERE { ?t property:P276 resource:Q334 . ?t rdf:type ontology:Q15259995 }
European Union Singapore Delhi
Did you mean Delhi ?
Delhi
[{'concept': 'recurring tournament'}, 'location', 'European Union'] [{'concept': 'recurring tournament'}, 'location', 'Singapore'] [{'concept': 'recurring tournament'}, 'location', 'Delhi']
SELECT DISTINCT ?t WHERE { ?t property:location resource:Singapore . ?t rdf:type ontology:recurring_tournament }
[]
Simple Question (Coreferenced)
USER
No, I meant Singapore. Could you tell me the answer for that?
(c(Q15259995),P276,Q334)
Q334
[{'concept': 'Q15259995'}, 'P276', 'Q334']
[{'concept': 'recurring tournament'}, 'location', 'Singapore']
[]
Q15691762 Q21860030 Q18129372
SYSTEM
2014 WTA Tour Championships, 2016 WTA Finals, 2015 WTA Finals
Q15691762 Q21860030 Q18129372
(c(Q15259995),P276,Q334)
action filter_type
action find_reverse
entity Q334
relation P276
type Q15259995
[ANSWERS] are located at that administrative territory
[{'concept': 'Q15259995'}, 'P276', 'Q334']
SELECT DISTINCT ?t WHERE { ?t property:P276 resource:Q334 . ?t rdf:type ontology:Q15259995 }
2014 WTA Tour Championships 2016 WTA Finals 2015 WTA Finals
2014 WTA Tour Championships, 2016 WTA Finals and 2015 WTA Finals are located at that administrative territory
2014 WTA Tour Championships 2016 WTA Finals 2015 WTA Finals
action filter_type
action find_reverse
entity Singapore
relation location
type recurring tournament
[{'concept': 'recurring tournament'}, 'location', 'Singapore']
SELECT DISTINCT ?t WHERE { ?t property:location resource:Singapore . ?t rdf:type ontology:recurring_tournament }
[]