Simple Question (Direct)
Simple Question
Q2825206
P734
Q82799
USER
Which name is associated with Adrien Le Bihan ?
(Q2825206,P734,c(Q82799))
action filter_type
action find
entity Q2825206
relation P734
type Q82799
['Q2825206', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q82799 . resource:Q2825206 property:P734 ?n }
Adrien Le Bihan
action filter_type
action find
entity Adrien Le Bihan
relation family name
type name
['Adrien Le Bihan', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:name . resource:Adrien_Le_Bihan property:family_name ?n }
[]
name
Q1371968
SYSTEM
Le Bihan
Q1371968
(Q2825206,P734,c(Q82799))
action filter_type
action find
entity Q2825206
relation P734
type Q82799
[ANSWER] is associated with Adrien [ANSWER]
['Q2825206', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q82799 . resource:Q2825206 property:P734 ?n }
Le Bihan
Le Bihan is associated with Adrien Le Bihan
Le Bihan
action filter_type
action find
entity Adrien Le Bihan
relation family name
type name
['Adrien Le Bihan', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:name . resource:Adrien_Le_Bihan property:family_name ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2825206
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q1371968,P27,c(Q15617994))
action filter_type
action find
entity Q2825206
relation P27
type Q15617994
['Q1371968', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2825206 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Adrien Le Bihan
action filter_type
action find
entity Adrien Le Bihan
relation country of citizenship
type designation for an administrative territorial entity
['Le Bihan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Adrien_Le_Bihan property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1371968,P27,c(Q15617994))
action filter_type
action find
entity Q2825206
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q1371968', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2825206 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
France
The France is the country of citizenship of that person
France
action filter_type
action find
entity Adrien Le Bihan
relation country of citizenship
type designation for an administrative territorial entity
['Le Bihan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Adrien_Le_Bihan property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q142 Q7006622
P30
Q2221906
USER
Is that administrative territory situated in New College Valley ?
(Q142,P30,Q7006622)
action is_in
entity Q7006622
action find
entity Q142
relation P30
['Q142', 'P30', 'Q7006622']
ASK WHERE { resource:Q142 property:P30 resource:Q7006622 }
France New College Valley
action is_in
entity New College Valley
action find
entity France
relation continent
['France', 'continent', 'New College Valley']
ASK WHERE { resource:France property:continent resource:New_College_Valley }
[]
geographic location
SYSTEM
NO
(Q142,P30,Q7006622)
action is_in
entity Q7006622
action find
entity Q142
relation P30
[ANSWER]
['Q142', 'P30', 'Q7006622']
ASK WHERE { resource:Q142 property:P30 resource:Q7006622 }
No
action is_in
entity New College Valley
action find
entity France
relation continent
['France', 'continent', 'New College Valley']
ASK WHERE { resource:France property:continent resource:New_College_Valley }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3852892 Q142
P530 P19
Q15617994
USER
Which administrative territories have diplomatic relationships with France or were Mauro Pasqualini born in ?
OR((Q142,P530,c(Q15617994)), (Q3852892,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q3852892
relation P19
type Q15617994
{'OR': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q3852892', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q142 property:P530 ?h } UNION { resource:Q3852892 property:P19 ?h } } . ?h rdf:type ontology:Q15617994 }
Mauro Pasqualini France
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Mauro Pasqualini
relation place of birth
type designation for an administrative territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Mauro Pasqualini', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:France property:diplomatic_relation ?h } UNION { resource:Mauro_Pasqualini property:place_of_birth ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q711 Q30 Q94801 Q27 Q403 Q801 Q38 Q145 Q399 Q228
SYSTEM
Some of them are Mongolia, United States of America, Crevalcore, Ireland, Serbia, Israel, Italy, United Kingdom, Armenia, Andorra
Q711 Q159 Q222 Q801 Q145 Q155 Q1011 Q228 Q94801 Q17 Q30 Q399 Q27 Q403 Q32 Q38
OR((Q142,P530,c(Q15617994)), (Q3852892,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q3852892
relation P19
type Q15617994
[ANSWERS] have diplomatic relationships with France or were Mauro Pasqualini born in
{'OR': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q3852892', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q142 property:P530 ?h } UNION { resource:Q3852892 property:P19 ?h } } . ?h rdf:type ontology:Q15617994 }
Mongolia Russia Albania Israel United Kingdom Brazil Cape Verde Andorra Crevalcore Japan United States of America Armenia Ireland Serbia Luxembourg Italy
Mongolia, United States of America, Crevalcore, Ireland, Serbia, Israel, Italy, United Kingdom, Armenia and Andorra have diplomatic relationships with France or were Mauro Pasqualini born in
Mongolia United States of America Crevalcore Ireland Serbia Israel Italy United Kingdom Armenia Andorra
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Mauro Pasqualini
relation place of birth
type designation for an administrative territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Mauro Pasqualini', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:France property:diplomatic_relation ?h } UNION { resource:Mauro_Pasqualini property:place_of_birth ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q403
P1001
Q12737077
USER
Which occupations have jurisdiction over Serbia ?
(c(Q12737077),P1001,Q403)
action filter_type
action find_reverse
entity Q403
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q403']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . ?l property:P1001 resource:Q403 }
Serbia
action filter_type
action find_reverse
entity Serbia
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Serbia']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . ?l property:applies_to_jurisdiction resource:Serbia }
[]
occupation
Q889830 Q835586 Q17098318
SYSTEM
President of Serbia, Prime Minister of Serbia, Minister of Information
Q17098318 Q889830 Q2199072 Q16799332 Q2199011 Q5097064 Q2198943 Q2198964 Q18207066 Q21295999 Q835586 Q2198867 Q7241347 Q2198895 Q2199761 Q2198783 Q2199031 Q2198845 Q2198808
(c(Q12737077),P1001,Q403)
action filter_type
action find_reverse
entity Q403
relation P1001
type Q12737077
Serbia [ANSWERS] have jurisdiction over Serbia
[{'concept': 'Q12737077'}, 'P1001', 'Q403']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . ?l property:P1001 resource:Q403 }
Minister of Information President of Serbia Minister of Labour, Employment and Social Policy Deputy Prime Minister of Serbia Minister of Internal Affairs Chief of the General Staff Minister of Foreign Affairs Minister of Health Minister of Internal Affairs Member of the National Assembly of Serbia Prime Minister of Serbia Minister of Trade, Tourism and Telecommunications President of the National Assembly of Serbia Minister of Finance Minister of Youth and Sports Minister of Defense Minister of Justice of Serbia Minister of Energy and Mining Minister of Education
Serbia President of Serbia, Prime Minister of Serbia and Minister of Information have jurisdiction over Serbia
President of Serbia Prime Minister of Serbia Minister of Information
action filter_type
action find_reverse
entity Serbia
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Serbia']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . ?l property:applies_to_jurisdiction resource:Serbia }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17098318
P17
Q15617994
USER
Which administrative territory is that occupation present in ?
(Q17098318,P17,c(Q15617994))
action filter_type
action find
entity Q17098318
relation P17
type Q15617994
['Q17098318', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q17098318 property:P17 ?j }
Minister of Information
action filter_type
action find
entity Minister of Information
relation country
type designation for an administrative territorial entity
['Minister of Information', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Minister_of_Information property:country ?j }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q889830
SYSTEM
Did you mean President of Serbia ?
Q889830 Q835586 Q17098318
(Q889830,P17,c(Q15617994)) (Q835586,P17,c(Q15617994)) (Q17098318,P17,c(Q15617994))
[ANSWER]
['Q889830', 'P17', {'concept': 'Q15617994'}] ['Q835586', 'P17', {'concept': 'Q15617994'}] ['Q17098318', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q17098318 property:P17 ?j }
President of Serbia Prime Minister of Serbia Minister of Information
Did you mean President of Serbia ?
President of Serbia
['President of Serbia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Prime Minister of Serbia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Minister of Information', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Minister_of_Information property:country ?j }
[]
Simple Question (Coreferenced)
USER
No, I meant Minister of Information. Could you tell me the answer for that?
(Q17098318,P17,c(Q15617994))
Q17098318
['Q17098318', 'P17', {'concept': 'Q15617994'}]
['Minister of Information', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q403
SYSTEM
Serbia
Q403
(Q17098318,P17,c(Q15617994))
action filter_type
action find
entity Q17098318
relation P17
type Q15617994
That occupation is in [ANSWER]
['Q17098318', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q17098318 property:P17 ?j }
Serbia
That occupation is in Serbia
Serbia
action filter_type
action find
entity Minister of Information
relation country
type designation for an administrative territorial entity
['Minister of Information', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Minister_of_Information property:country ?j }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q403 Q3130503 Q142
P530
Q15617994
USER
Is that administrative territory known to have diplomatic connections with Kose-Uuemõisa and France ?
(Q403,P530,Q3130503) (Q403,P530,Q142)
action is_in
entity Q403
action intersection
action find_reverse
entity Q3130503
relation P530
action find_reverse
entity Q142
relation P530
['Q403', 'P530', 'Q3130503'] ['Q403', 'P530', 'Q142']
ASK WHERE { resource:Q403 property:P530 resource:Q3130503 . resource:Q403 property:P530 resource:Q142 }
Serbia Kose-Uuemõisa France
action is_in
entity Serbia
action intersection
action find_reverse
entity Kose-Uuemõisa
relation diplomatic relation
action find_reverse
entity France
relation diplomatic relation
['Serbia', 'diplomatic relation', 'Kose-Uuemõisa'] ['Serbia', 'diplomatic relation', 'France']
ASK WHERE { resource:Serbia property:diplomatic_relation resource:Kose-Uuemõisa . resource:Serbia property:diplomatic_relation resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q403,P530,Q3130503) (Q403,P530,Q142)
action is_in
entity Q403
action intersection
action find_reverse
entity Q3130503
relation P530
action find_reverse
entity Q142
relation P530
[ANSWER]
['Q403', 'P530', 'Q3130503'] ['Q403', 'P530', 'Q142']
ASK WHERE { resource:Q403 property:P530 resource:Q3130503 . resource:Q403 property:P530 resource:Q142 }
NO and YES respectively
action is_in
entity Serbia
action intersection
action find_reverse
entity Kose-Uuemõisa
relation diplomatic relation
action find_reverse
entity France
relation diplomatic relation
['Serbia', 'diplomatic relation', 'Kose-Uuemõisa'] ['Serbia', 'diplomatic relation', 'France']
ASK WHERE { resource:Serbia property:diplomatic_relation resource:Kose-Uuemõisa . resource:Serbia property:diplomatic_relation resource:France }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7159862 Q38
P184 P6
Q502895
USER
Which people have Italy as their heads of government or were the doctoral supervisors of Pedro Pedrosa Mendes ?
OR((Q38,P6,c(Q502895)), (Q7159862,P184,c(Q502895)))
action filter_type
action union
action find
entity Q38
relation P6
action find
entity Q7159862
relation P184
type Q502895
{'OR': [['Q38', 'P6', {'concept': 'Q502895'}], ['Q7159862', 'P184', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q38 property:P6 ?o } UNION { resource:Q7159862 property:P184 ?o } } . ?o rdf:type ontology:Q502895 }
Pedro Pedrosa Mendes Italy
action filter_type
action union
action find
entity Italy
relation head of government
action find
entity Pedro Pedrosa Mendes
relation doctoral advisor
type common name
{'OR': [['Italy', 'head of government', {'concept': 'common name'}], ['Pedro Pedrosa Mendes', 'doctoral advisor', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Italy property:head_of_government ?o } UNION { resource:Pedro_Pedrosa_Mendes property:doctoral_advisor ?o } } . ?o rdf:type ontology:common_name }
[]
common name
Q47563 Q5301676 Q674957
SYSTEM
Matteo Renzi, Douglas Kell, Enrico Letta
Q47563 Q5301676 Q674957
OR((Q38,P6,c(Q502895)), (Q7159862,P184,c(Q502895)))
action filter_type
action union
action find
entity Q38
relation P6
action find
entity Q7159862
relation P184
type Q502895
[ANSWERS] have Italy as their heads of government or were the doctoral supervisors of Pedro Pedrosa Mendes
{'OR': [['Q38', 'P6', {'concept': 'Q502895'}], ['Q7159862', 'P184', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q38 property:P6 ?o } UNION { resource:Q7159862 property:P184 ?o } } . ?o rdf:type ontology:Q502895 }
Matteo Renzi Douglas Kell Enrico Letta
Matteo Renzi, Douglas Kell and Enrico Letta have Italy as their heads of government or were the doctoral supervisors of Pedro Pedrosa Mendes
Matteo Renzi Douglas Kell Enrico Letta
action filter_type
action union
action find
entity Italy
relation head of government
action find
entity Pedro Pedrosa Mendes
relation doctoral advisor
type common name
{'OR': [['Italy', 'head of government', {'concept': 'common name'}], ['Pedro Pedrosa Mendes', 'doctoral advisor', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Italy property:head_of_government ?o } UNION { resource:Pedro_Pedrosa_Mendes property:doctoral_advisor ?o } } . ?o rdf:type ontology:common_name }
[]