Simple Question (Direct)
Simple Question
Q10557085
P106
Q12737077
USER
What is the profession of Ahmad Syihan Hazmi Mohamed ?
(Q10557085,P106,c(Q12737077))
action filter_type
action find
entity Q10557085
relation P106
type Q12737077
['Q10557085', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q10557085 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Ahmad Syihan Hazmi Mohamed
action filter_type
action find
entity Ahmad Syihan Hazmi Mohamed
relation occupation
type occupation
['Ahmad Syihan Hazmi Mohamed', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Ahmad_Syihan_Hazmi_Mohamed property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q10557085,P106,c(Q12737077))
action filter_type
action find
entity Q10557085
relation P106
type Q12737077
The profession of Ahmad Syihan Hazmi Mohamed is an [ANSWER]
['Q10557085', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q10557085 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
association football player
The profession of Ahmad Syihan Hazmi Mohamed is an association football player
association football player
action filter_type
action find
entity Ahmad Syihan Hazmi Mohamed
relation occupation
type occupation
['Ahmad Syihan Hazmi Mohamed', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Ahmad_Syihan_Hazmi_Mohamed property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10557085
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q10557085
relation P19
type Q56061
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q10557085 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Ahmad Syihan Hazmi Mohamed
action filter_type
action find
entity Ahmad Syihan Hazmi Mohamed
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Ahmad_Syihan_Hazmi_Mohamed property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q651131
SYSTEM
Kota Bharu
Q651131
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q10557085
relation P19
type Q56061
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q10557085 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Kota Bharu
That person was born in Kota Bharu
Kota Bharu
action filter_type
action find
entity Ahmad Syihan Hazmi Mohamed
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Ahmad_Syihan_Hazmi_Mohamed property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q651131 Q642534
P17
Q15617994
USER
Is that administrative territory present in Herborn ?
(Q651131,P17,Q642534)
action is_in
entity Q642534
action find
entity Q651131
relation P17
['Q651131', 'P17', 'Q642534']
ASK WHERE { resource:Q651131 property:P17 resource:Q642534 }
Kota Bharu Herborn
action is_in
entity Herborn
action find
entity Kota Bharu
relation country
['Kota Bharu', 'country', 'Herborn']
ASK WHERE { resource:Kota_Bharu property:country resource:Herborn }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q651131,P17,Q642534)
action is_in
entity Q642534
action find
entity Q651131
relation P17
[ANSWER]
['Q651131', 'P17', 'Q642534']
ASK WHERE { resource:Q651131 property:P17 resource:Q642534 }
No
action is_in
entity Herborn
action find
entity Kota Bharu
relation country
['Kota Bharu', 'country', 'Herborn']
ASK WHERE { resource:Kota_Bharu property:country resource:Herborn }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1630821 Q10557085
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Ahmad Syihan Hazmi Mohamed or are Hotel Angielski a part of ?
OR((Q10557085,P27,c(Q15617994)), (Q1630821,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q10557085
relation P27
action find
entity Q1630821
relation P17
type Q15617994
{'OR': [['Q10557085', 'P27', {'concept': 'Q15617994'}], ['Q1630821', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q10557085 property:P27 ?g } UNION { resource:Q1630821 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Hotel Angielski Ahmad Syihan Hazmi Mohamed
action filter_type
action union
action find
entity Ahmad Syihan Hazmi Mohamed
relation country of citizenship
action find
entity Hotel Angielski
relation country
type designation for an administrative territorial entity
{'OR': [['Ahmad Syihan Hazmi Mohamed', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hotel Angielski', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Ahmad_Syihan_Hazmi_Mohamed property:country_of_citizenship ?g } UNION { resource:Hotel_Angielski property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q833 Q36
SYSTEM
Malaysia, Poland
Q833 Q36
OR((Q10557085,P27,c(Q15617994)), (Q1630821,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q10557085
relation P27
action find
entity Q1630821
relation P17
type Q15617994
[ANSWERS] are the native countriesof Ahmad Syihan Hazmi Mohamed or are Hotel Angielski a part of
{'OR': [['Q10557085', 'P27', {'concept': 'Q15617994'}], ['Q1630821', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q10557085 property:P27 ?g } UNION { resource:Q1630821 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Malaysia Poland
Malaysia and Poland are the native countriesof Ahmad Syihan Hazmi Mohamed or are Hotel Angielski a part of
Malaysia Poland
action filter_type
action union
action find
entity Ahmad Syihan Hazmi Mohamed
relation country of citizenship
action find
entity Hotel Angielski
relation country
type designation for an administrative territorial entity
{'OR': [['Ahmad Syihan Hazmi Mohamed', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hotel Angielski', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Ahmad_Syihan_Hazmi_Mohamed property:country_of_citizenship ?g } UNION { resource:Hotel_Angielski property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3313179
P530
Q1048835
USER
Do Pacarán District have ambassadorial relations with those administrative territories ?
(Q3313179,P530,Q833) (Q3313179,P530,Q36)
action is_in
entity prev_answer
action find
entity Q3313179
relation P530
['Q3313179', 'P530', 'Q833'] ['Q3313179', 'P530', 'Q36']
ASK WHERE { resource:Q3313179 property:P530 ?z . VALUES ( ?z ) { ( resource:Q833 ) ( resource:Q36 ) } }
Pacarán District
action is_in
entity prev_answer
action find
entity Pacarán District
relation diplomatic relation
['Pacarán District', 'diplomatic relation', 'Malaysia'] ['Pacarán District', 'diplomatic relation', 'Poland']
ASK WHERE { resource:Pacarán_District property:diplomatic_relation ?z . VALUES ( ?z ) { ( resource:Malaysia ) ( resource:Poland ) } }
[]
political territorial entity
SYSTEM
NO
(Q3313179,P530,Q833) (Q3313179,P530,Q36)
action is_in
entity prev_answer
action find
entity Q3313179
relation P530
[ANSWER]
['Q3313179', 'P530', 'Q833'] ['Q3313179', 'P530', 'Q36']
ASK WHERE { resource:Q3313179 property:P530 ?z . VALUES ( ?z ) { ( resource:Q833 ) ( resource:Q36 ) } }
No
action is_in
entity prev_answer
action find
entity Pacarán District
relation diplomatic relation
['Pacarán District', 'diplomatic relation', 'Malaysia'] ['Pacarán District', 'diplomatic relation', 'Poland']
ASK WHERE { resource:Pacarán_District property:diplomatic_relation ?z . VALUES ( ?z ) { ( resource:Malaysia ) ( resource:Poland ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q651131
P159
Q43229
USER
Which organization has HQ at Kota Bharu ?
(c(Q43229),P159,Q651131)
action filter_type
action find_reverse
entity Q651131
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q651131']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q43229 . ?u property:P159 resource:Q651131 }
Kota Bharu
action filter_type
action find_reverse
entity Kota Bharu
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Kota Bharu']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:organization . ?u property:headquarters_location resource:Kota_Bharu }
[]
organization
Q7970808
SYSTEM
Warriors
Q7970808
(c(Q43229),P159,Q651131)
action filter_type
action find_reverse
entity Q651131
relation P159
type Q43229
[ANSWER] has HQ at Kota Bharu
[{'concept': 'Q43229'}, 'P159', 'Q651131']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q43229 . ?u property:P159 resource:Q651131 }
Warriors
Warriors has HQ at Kota Bharu
Warriors
action filter_type
action find_reverse
entity Kota Bharu
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Kota Bharu']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:organization . ?u property:headquarters_location resource:Kota_Bharu }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q145 Q36
P27
Q502895
USER
Which people are a native of Poland and United Kingdom ?
AND((c(Q502895),P27,Q36), (c(Q502895),P27,Q145))
action filter_type
action intersection
action find_reverse
entity Q36
relation P27
action find_reverse
entity Q145
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q36'], [{'concept': 'Q502895'}, 'P27', 'Q145']]}
SELECT DISTINCT ?s WHERE { ?s property:P27 resource:Q36 . ?s property:P27 resource:Q145 . ?s rdf:type ontology:Q502895 }
United Kingdom Poland
action filter_type
action intersection
action find_reverse
entity Poland
relation country of citizenship
action find_reverse
entity United Kingdom
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Poland'], [{'concept': 'common name'}, 'country of citizenship', 'United Kingdom']]}
SELECT DISTINCT ?s WHERE { ?s property:country_of_citizenship resource:Poland . ?s property:country_of_citizenship resource:United_Kingdom . ?s rdf:type ontology:common_name }
[]
common name
Q725797 Q442963 Q4721677 Q276306 Q1185811 Q11792289 Q19693019 Q219982 Q1743936 Q1639835
SYSTEM
Some of them are Peter Geach, Andrzej Panufnik, Alf Francis, Andrew Johnson, Michal Martychowiec, Nina Karsov, Stanisław Frenkiel, Joseph Rotblat, Kitty Hart-Moxon, Julie Page
Q212498 Q465679 Q3918701 Q11792289 Q82925 Q1743936 Q1767361 Q6968032 Q240736 Q4721677 Q158092 Q1185811 Q532804 Q517529 Q446582 Q442963 Q240794 Q725797 Q219982 Q19693019 Q313090 Q1282921 Q276306 Q184992 Q9370273 Q978376 Q1639835
AND((c(Q502895),P27,Q36), (c(Q502895),P27,Q145))
action filter_type
action intersection
action find_reverse
entity Q36
relation P27
action find_reverse
entity Q145
relation P27
type Q502895
[ANSWERS] are a native of Poland and United Kingdom
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q36'], [{'concept': 'Q502895'}, 'P27', 'Q145']]}
SELECT DISTINCT ?s WHERE { ?s property:P27 resource:Q36 . ?s property:P27 resource:Q145 . ?s rdf:type ontology:Q502895 }
Adam Zamoyski Isaac Deutscher Andrzej Ciechanowiecki Nina Karsov Joseph Conrad Kitty Hart-Moxon Leon Radzinowicz Natalia Karp Marie Rambert Alf Francis Zygmunt Bauman Michal Martychowiec Maria Czaplicka Christian David Ginsburg Hanna Segal Andrzej Panufnik Ida Haendel Peter Geach Joseph Rotblat Stanisław Frenkiel Paul Konchesky Eddie Niedzwiecki Andrew Johnson Bronisław Malinowski Waldemar Zboralski Lewis Bernstein Namier Julie Page
Peter Geach, Andrzej Panufnik, Alf Francis, Andrew Johnson, Michal Martychowiec, Nina Karsov, Stanisław Frenkiel, Joseph Rotblat, Kitty Hart-Moxon and Julie Page are a native of Poland and United Kingdom
Peter Geach Andrzej Panufnik Alf Francis Andrew Johnson Michal Martychowiec Nina Karsov Stanisław Frenkiel Joseph Rotblat Kitty Hart-Moxon Julie Page
action filter_type
action intersection
action find_reverse
entity Poland
relation country of citizenship
action find_reverse
entity United Kingdom
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Poland'], [{'concept': 'common name'}, 'country of citizenship', 'United Kingdom']]}
SELECT DISTINCT ?s WHERE { ?s property:country_of_citizenship resource:Poland . ?s property:country_of_citizenship resource:United_Kingdom . ?s rdf:type ontology:common_name }
[]