Simple Question (Direct)
Simple Question
Q10557668
P19
Q56061
USER
Where was Karamba Janneh born ?
(Q10557668,P19,c(Q56061))
action filter_type
action find
entity Q10557668
relation P19
type Q56061
['Q10557668', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q10557668 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Karamba Janneh
action filter_type
action find
entity Karamba Janneh
relation place of birth
type administrative territorial entity
['Karamba Janneh', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Karamba_Janneh property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3726
SYSTEM
Banjul
Q3726
(Q10557668,P19,c(Q56061))
action filter_type
action find
entity Q10557668
relation P19
type Q56061
Karamba Janneh was born in [ANSWER]
['Q10557668', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q10557668 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Banjul
Karamba Janneh was born in Banjul
Banjul
action filter_type
action find
entity Karamba Janneh
relation place of birth
type administrative territorial entity
['Karamba Janneh', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Karamba_Janneh property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3726
P1376
Q15617994
USER
Which administrative territory has that administrative territory has its center of administration ?
(Q3726,P1376,c(Q15617994))
action filter_type
action find
entity Q3726
relation P1376
type Q15617994
['Q3726', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q3726 property:P1376 ?a . ?a rdf:type ontology:Q15617994 }
Banjul
action filter_type
action find
entity Banjul
relation capital of
type designation for an administrative territorial entity
['Banjul', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Banjul property:capital_of ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1005
SYSTEM
Gambia
Q1005
(Q3726,P1376,c(Q15617994))
action filter_type
action find
entity Q3726
relation P1376
type Q15617994
[ANSWER] has that administrative territory has its center of administration
['Q3726', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q3726 property:P1376 ?a . ?a rdf:type ontology:Q15617994 }
Gambia
Gambia has that administrative territory has its center of administration
Gambia
action filter_type
action find
entity Banjul
relation capital of
type designation for an administrative territorial entity
['Banjul', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Banjul property:capital_of ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1005
P35
Q502895
USER
Who is the chief of state of that administrative territory ?
(Q1005,P35,c(Q502895))
action filter_type
action find
entity Q1005
relation P35
type Q502895
['Q1005', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1005 property:P35 ?c . ?c rdf:type ontology:Q502895 }
Gambia
action filter_type
action find
entity Gambia
relation head of state
type common name
['Gambia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Gambia property:head_of_state ?c . ?c rdf:type ontology:common_name }
[]
common name
Q57356
SYSTEM
Yahya Jammeh
Q57356
(Q1005,P35,c(Q502895))
action filter_type
action find
entity Q1005
relation P35
type Q502895
The chief of state of that administrative territory is President [ANSWER]
['Q1005', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1005 property:P35 ?c . ?c rdf:type ontology:Q502895 }
Yahya Jammeh
The chief of state of that administrative territory is President Yahya Jammeh
Yahya Jammeh
action filter_type
action find
entity Gambia
relation head of state
type common name
['Gambia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Gambia property:head_of_state ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1005
P1532
Q6979593
USER
Who plays for that administrative territory ?
(c(Q6979593),P1532,Q57356)
action filter_type
action find_reverse
entity Q1005
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q57356']
SELECT DISTINCT ?n WHERE { ?n property:P1532 resource:Q1005 . ?n rdf:type ontology:Q6979593 }
Gambia
action filter_type
action find_reverse
entity Gambia
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Yahya Jammeh']
SELECT DISTINCT ?n WHERE { ?n property:country_for_sport resource:Gambia . ?n rdf:type ontology:national_association_football_team }
[]
national association football team
Q5519622
SYSTEM
Gambia women's national football team
Q5519622
(c(Q6979593),P1532,Q57356)
action filter_type
action find_reverse
entity Q1005
relation P1532
type Q6979593
And [ANSWER] plays for that administrative territory
[{'concept': 'Q6979593'}, 'P1532', 'Q57356']
SELECT DISTINCT ?n WHERE { ?n property:P1532 resource:Q1005 . ?n rdf:type ontology:Q6979593 }
Gambia women's national football team
And Gambia women's national football team plays for that administrative territory
Gambia women's national football team
action filter_type
action find_reverse
entity Gambia
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Yahya Jammeh']
SELECT DISTINCT ?n WHERE { ?n property:country_for_sport resource:Gambia . ?n rdf:type ontology:national_association_football_team }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5519622 Q1005
P1532
Q15617994
USER
Did that national association football team play for Gambia ?
(Q5519622,P1532,Q1005)
action is_in
entity Q1005
action find
entity Q5519622
relation P1532
['Q5519622', 'P1532', 'Q1005']
ASK WHERE { resource:Q5519622 property:P1532 resource:Q1005 }
Gambia women's national football team Gambia
action is_in
entity Gambia
action find
entity Gambia women's national football team
relation country for sport
["Gambia women's national football team", 'country for sport', 'Gambia']
ASK WHERE { resource:Gambia_women's_national_football_team property:country_for_sport resource:Gambia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q5519622,P1532,Q1005)
action is_in
entity Q1005
action find
entity Q5519622
relation P1532
[ANSWER]
['Q5519622', 'P1532', 'Q1005']
ASK WHERE { resource:Q5519622 property:P1532 resource:Q1005 }
Yes
action is_in
entity Gambia
action find
entity Gambia women's national football team
relation country for sport
["Gambia women's national football team", 'country for sport', 'Gambia']
ASK WHERE { resource:Gambia_women's_national_football_team property:country_for_sport resource:Gambia }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q82955 Q3726
P19 P106
Q502895
USER
Which people were born at Banjul and are not working as politician ?
AND((c(Q502895),P19,Q3726), NOT((c(Q502895),P106,Q82955)))
action filter_type
action difference
action find_reverse
entity Q3726
relation P19
action find_reverse
entity Q82955
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q3726'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q82955']]}]}
SELECT DISTINCT ?y WHERE { FILTER NOT EXISTS { ?y property:P106 resource:Q82955 } . ?y property:P19 resource:Q3726 . ?y rdf:type ontology:Q502895 }
politician Banjul
action filter_type
action difference
action find_reverse
entity Banjul
relation place of birth
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Banjul'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'politician']]}]}
SELECT DISTINCT ?y WHERE { FILTER NOT EXISTS { ?y property:occupation resource:politician } . ?y property:place_of_birth resource:Banjul . ?y rdf:type ontology:common_name }
[]
common name
Q712659 Q1966158 Q542762 Q6943428 Q308355 Q327200 Q2299240 Q464033 Q2156416 Q981036
SYSTEM
Some of them are Aziz Corr Nyang, Alhaji Jeng, Ebrahim Savaneh, Mustapha Carayol, Abdou Rahman Dampha, Jatto Ceesay, Solomon Tilewa Johnson, Saihou Jagne, Robert Badjie, Demba Savage
Q25915726 Q22006596 Q3328948 Q2880181 Q1966158 Q10557668 Q308355 Q1086479 Q3461602 Q1955615 Q518462 Q576088 Q6943428 Q921196 Q5566331 Q373904 Q647783 Q308427 Q2023104 Q5332058 Q709631 Q1799363 Q981036 Q1338278 Q26405960 Q21872586 Q2020364 Q532702 Q11885519 Q1412076 Q452306 Q542762 Q2044966 Q1070294 Q6897399 Q712659 Q1178484 Q14774514 Q924533 Q1942202 Q464033 Q940803 Q27541581 Q431647 Q22959014 Q26132197 Q1333750 Q3866923 Q4502053 Q2156416 Q327200 Q2074037 Q378457 Q308438 Q2299240 Q2044971 Q1776080
AND((c(Q502895),P19,Q3726), NOT((c(Q502895),P106,Q82955)))
action filter_type
action difference
action find_reverse
entity Q3726
relation P19
action find_reverse
entity Q82955
relation P106
type Q502895
[ANSWERS] were born at Banjul and are not working as politician
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q3726'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q82955']]}]}
SELECT DISTINCT ?y WHERE { FILTER NOT EXISTS { ?y property:P106 resource:Q82955 } . ?y property:P19 resource:Q3726 . ?y rdf:type ontology:Q502895 }
Dawda Ngum Mambury Njie Mustapha Kamal N'Daw Bakary Gassama Alhaji Jeng Karamba Janneh Abdou Rahman Dampha Christopher Allen Saihou Gassama Mustapha Jarju Omar Jawo Lenrie Peters Mustapha Carayol Pa-Modou Kah Modou Barrow Biri Biri Momodou Ceesay Abdoulie Corr Omar Jasseh Ebrima Jatta Arthur Gómez Laba Sosseh Demba Savage Emmanuel Gómez Assan Ceesay Mattar M'Boge Paul Jatta Fatou Tiyana Omar Colley Alhaji Alieu Ebrima Cham Joof Amadou Jawo Ebrahim Savaneh Pa Dembo Touray Cherno Samba Momodou Ceesay Aziz Corr Nyang Dawda Bah Ali Sowe Pa Modou Jagne Modou Jagne Saihou Jagne Ousman Nyan Isatou Touray Brent McGrath Mousa Balla Sowe Ismaila Jome Ousman Jallow Muhamed Keita Ali Ceesay Robert Badjie Jatto Ceesay Peter Bonu Johnson Mohammed Mbye Kenny Mansally Solomon Tilewa Johnson Pa Ousman Sonko Omar Koroma
Aziz Corr Nyang, Alhaji Jeng, Ebrahim Savaneh, Mustapha Carayol, Abdou Rahman Dampha, Jatto Ceesay, Solomon Tilewa Johnson, Saihou Jagne, Robert Badjie and Demba Savage were born at Banjul and are not working as politician
Aziz Corr Nyang Alhaji Jeng Ebrahim Savaneh Mustapha Carayol Abdou Rahman Dampha Jatto Ceesay Solomon Tilewa Johnson Saihou Jagne Robert Badjie Demba Savage
action filter_type
action difference
action find_reverse
entity Banjul
relation place of birth
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Banjul'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'politician']]}]}
SELECT DISTINCT ?y WHERE { FILTER NOT EXISTS { ?y property:occupation resource:politician } . ?y property:place_of_birth resource:Banjul . ?y rdf:type ontology:common_name }
[]