Simple Question (Direct)
Simple Question
Q10514847
P54
Q1194951
USER
What is Neville Oxford a member of ?
(Q10514847,P54,c(Q1194951))
action filter_type
action find
entity Q10514847
relation P54
type Q1194951
['Q10514847', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { resource:Q10514847 property:P54 ?q . ?q rdf:type ontology:Q1194951 }
Neville Oxford
action filter_type
action find
entity Neville Oxford
relation member of sports team
type national sports team
['Neville Oxford', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { resource:Neville_Oxford property:member_of_sports_team ?q . ?q rdf:type ontology:national_sports_team }
[]
national sports team
Q235399
SYSTEM
Jamaica national football team
Q235399
(Q10514847,P54,c(Q1194951))
action filter_type
action find
entity Q10514847
relation P54
type Q1194951
Neville Oxford a member of is the [ANSWER]
['Q10514847', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { resource:Q10514847 property:P54 ?q . ?q rdf:type ontology:Q1194951 }
Jamaica national football team
Neville Oxford a member of is the Jamaica national football team
Jamaica national football team
action filter_type
action find
entity Neville Oxford
relation member of sports team
type national sports team
['Neville Oxford', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { resource:Neville_Oxford property:member_of_sports_team ?q . ?q rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q235399
P17
Q1048835
USER
Which political territory does that national sports team belong to ?
(Q235399,P17,c(Q1048835))
action filter_type
action find
entity Q235399
relation P17
type Q1048835
['Q235399', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q235399 property:P17 ?f . ?f rdf:type ontology:Q1048835 }
Jamaica national football team
action filter_type
action find
entity Jamaica national football team
relation country
type political territorial entity
['Jamaica national football team', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Jamaica_national_football_team property:country ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q766
SYSTEM
Jamaica
Q766
(Q235399,P17,c(Q1048835))
action filter_type
action find
entity Q235399
relation P17
type Q1048835
That national sports team belongs to [ANSWER]
['Q235399', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q235399 property:P17 ?f . ?f rdf:type ontology:Q1048835 }
Jamaica
That national sports team belongs to Jamaica
Jamaica
action filter_type
action find
entity Jamaica national football team
relation country
type political territorial entity
['Jamaica national football team', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Jamaica_national_football_team property:country ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q766 Q4980182
P19
Q502895
USER
Does Lisa Steier have location of birth at that political territory ?
(Q4980182,P19,Q766)
action is_in
entity Q4980182
action find
entity Q766
relation P19
['Q4980182', 'P19', 'Q766']
ASK WHERE { resource:Q766 property:P19 resource:Q4980182 }
Jamaica Lisa Steier
action is_in
entity Lisa Steier
action find
entity Jamaica
relation place of birth
['Lisa Steier', 'place of birth', 'Jamaica']
ASK WHERE { resource:Jamaica property:place_of_birth resource:Lisa_Steier }
[]
common name
SYSTEM
NO
(Q4980182,P19,Q766)
action is_in
entity Q4980182
action find
entity Q766
relation P19
[ANSWER]
['Q4980182', 'P19', 'Q766']
ASK WHERE { resource:Q766 property:P19 resource:Q4980182 }
No
action is_in
entity Lisa Steier
action find
entity Jamaica
relation place of birth
['Lisa Steier', 'place of birth', 'Jamaica']
ASK WHERE { resource:Jamaica property:place_of_birth resource:Lisa_Steier }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q235399 Q4442312 Q101730
P1344
Q15275719
USER
Did Jamaica national football team take part in Muiden-Pampus-Muiden and 1998 FIFA World Cup ?
(Q235399,P1344,Q4442312) (Q235399,P1344,Q101730)
action is_in
entity Q235399
action intersection
action find_reverse
entity Q4442312
relation P1344
action find_reverse
entity Q101730
relation P1344
['Q235399', 'P1344', 'Q4442312'] ['Q235399', 'P1344', 'Q101730']
ASK WHERE { resource:Q235399 property:P1344 resource:Q4442312 . resource:Q235399 property:P1344 resource:Q101730 }
Jamaica national football team Muiden-Pampus-Muiden 1998 FIFA World Cup
action is_in
entity Jamaica national football team
action intersection
action find_reverse
entity Muiden-Pampus-Muiden
relation participant of
action find_reverse
entity 1998 FIFA World Cup
relation participant of
['Jamaica national football team', 'participant of', 'Muiden-Pampus-Muiden'] ['Jamaica national football team', 'participant of', '1998 FIFA World Cup']
ASK WHERE { resource:Jamaica_national_football_team property:participant_of resource:Muiden-Pampus-Muiden . resource:Jamaica_national_football_team property:participant_of resource:1998_FIFA_World_Cup }
[]
recurring event
SYSTEM
NO and YES respectively
(Q235399,P1344,Q4442312) (Q235399,P1344,Q101730)
action is_in
entity Q235399
action intersection
action find_reverse
entity Q4442312
relation P1344
action find_reverse
entity Q101730
relation P1344
[ANSWER]
['Q235399', 'P1344', 'Q4442312'] ['Q235399', 'P1344', 'Q101730']
ASK WHERE { resource:Q235399 property:P1344 resource:Q4442312 . resource:Q235399 property:P1344 resource:Q101730 }
NO and YES respectively
action is_in
entity Jamaica national football team
action intersection
action find_reverse
entity Muiden-Pampus-Muiden
relation participant of
action find_reverse
entity 1998 FIFA World Cup
relation participant of
['Jamaica national football team', 'participant of', 'Muiden-Pampus-Muiden'] ['Jamaica national football team', 'participant of', '1998 FIFA World Cup']
ASK WHERE { resource:Jamaica_national_football_team property:participant_of resource:Muiden-Pampus-Muiden . resource:Jamaica_national_football_team property:participant_of resource:1998_FIFA_World_Cup }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q766
P915
Q838948
USER
What were filmed at Jamaica ?
(c(Q838948),P915,Q766)
action filter_type
action find_reverse
entity Q766
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q766']
SELECT DISTINCT ?k WHERE { ?k property:P915 resource:Q766 . ?k rdf:type ontology:Q838948 }
Jamaica
action filter_type
action find_reverse
entity Jamaica
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Jamaica']
SELECT DISTINCT ?k WHERE { ?k property:filming_location resource:Jamaica . ?k rdf:type ontology:work_of_art }
[]
work of art
Q102754 Q64110
SYSTEM
Dr. No, 20,000 Leagues Under the Sea
Q102754 Q64110
(c(Q838948),P915,Q766)
action filter_type
action find_reverse
entity Q766
relation P915
type Q838948
[ANSWERS] were filmed at Jamaica
[{'concept': 'Q838948'}, 'P915', 'Q766']
SELECT DISTINCT ?k WHERE { ?k property:P915 resource:Q766 . ?k rdf:type ontology:Q838948 }
Dr. No 20,000 Leagues Under the Sea
Dr. No and 20,000 Leagues Under the Sea were filmed at Jamaica
Dr. No 20,000 Leagues Under the Sea
action filter_type
action find_reverse
entity Jamaica
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Jamaica']
SELECT DISTINCT ?k WHERE { ?k property:filming_location resource:Jamaica . ?k rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q766
P551
Q502895
USER
Which people live in that political territory ?
(c(Q502895),P551,Q102754) (c(Q502895),P551,Q64110)
action filter_type
action find_reverse
entity Q766
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q102754'] [{'concept': 'Q502895'}, 'P551', 'Q64110']
SELECT DISTINCT ?e WHERE { ?e property:P551 resource:Q766 . ?e rdf:type ontology:Q502895 }
Jamaica
action filter_type
action find_reverse
entity Jamaica
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Dr. No'] [{'concept': 'common name'}, 'residence', '20,000 Leagues Under the Sea']
SELECT DISTINCT ?e WHERE { ?e property:residence resource:Jamaica . ?e rdf:type ontology:common_name }
[]
common name
Q21103991 Q21993107
SYSTEM
Verma Panton, John Pike
Q21103991 Q21993107
(c(Q502895),P551,Q102754) (c(Q502895),P551,Q64110)
action filter_type
action find_reverse
entity Q766
relation P551
type Q502895
[ANSWERS] live in that political territory
[{'concept': 'Q502895'}, 'P551', 'Q102754'] [{'concept': 'Q502895'}, 'P551', 'Q64110']
SELECT DISTINCT ?e WHERE { ?e property:P551 resource:Q766 . ?e rdf:type ontology:Q502895 }
Verma Panton John Pike
Verma Panton and John Pike live in that political territory
Verma Panton John Pike
action filter_type
action find_reverse
entity Jamaica
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Dr. No'] [{'concept': 'common name'}, 'residence', '20,000 Leagues Under the Sea']
SELECT DISTINCT ?e WHERE { ?e property:residence resource:Jamaica . ?e rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q6581097 Q766
P551 P21
Q502895
USER
Which people reside at Jamaica and do not have gender of male ?
AND((c(Q502895),P551,Q766), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q766
relation P551
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P551', 'Q766'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?x WHERE { ?x property:P551 resource:Q766 . MINUS { ?x property:P21 resource:Q6581097 } . ?x rdf:type ontology:Q502895 }
male Jamaica
action filter_type
action difference
action find_reverse
entity Jamaica
relation residence
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'residence', 'Jamaica'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?x WHERE { ?x property:residence resource:Jamaica . MINUS { ?x property:gender resource:male } . ?x rdf:type ontology:common_name }
[]
common name
Q21103991
SYSTEM
Verma Panton
Q21103991
AND((c(Q502895),P551,Q766), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q766
relation P551
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] reside at Jamaica and do not have gender of male
{'AND': [[{'concept': 'Q502895'}, 'P551', 'Q766'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?x WHERE { ?x property:P551 resource:Q766 . MINUS { ?x property:P21 resource:Q6581097 } . ?x rdf:type ontology:Q502895 }
Verma Panton
Verma Panton reside at Jamaica and do not have gender of male
Verma Panton
action filter_type
action difference
action find_reverse
entity Jamaica
relation residence
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'residence', 'Jamaica'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?x WHERE { ?x property:residence resource:Jamaica . MINUS { ?x property:gender resource:male } . ?x rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3431026 Q10514847
P27
Q1048835
USER
Which political territories do Neville Oxford or Richard Martin belong to ?
OR((Q10514847,P27,c(Q1048835)), (Q3431026,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q10514847
relation P27
action find
entity Q3431026
relation P27
type Q1048835
{'OR': [['Q10514847', 'P27', {'concept': 'Q1048835'}], ['Q3431026', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:P27 ?o . VALUES ( ?q ) { ( resource:Q3431026 ) ( resource:Q10514847 ) } } . ?o rdf:type ontology:Q1048835 }
Richard Martin Neville Oxford
action filter_type
action union
action find
entity Neville Oxford
relation country of citizenship
action find
entity Richard Martin
relation country of citizenship
type political territorial entity
{'OR': [['Neville Oxford', 'country of citizenship', {'concept': 'political territorial entity'}], ['Richard Martin', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:country_of_citizenship ?o . VALUES ( ?q ) { ( resource:Richard_Martin ) ( resource:Neville_Oxford ) } } . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q766
SYSTEM
Canada, Jamaica
Q16 Q766
OR((Q10514847,P27,c(Q1048835)), (Q3431026,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q10514847
relation P27
action find
entity Q3431026
relation P27
type Q1048835
Neville Oxford or Richard Martin belong to [ANSWERS]
{'OR': [['Q10514847', 'P27', {'concept': 'Q1048835'}], ['Q3431026', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:P27 ?o . VALUES ( ?q ) { ( resource:Q3431026 ) ( resource:Q10514847 ) } } . ?o rdf:type ontology:Q1048835 }
Canada Jamaica
Neville Oxford or Richard Martin belong to Canada and Jamaica
Canada Jamaica
action filter_type
action union
action find
entity Neville Oxford
relation country of citizenship
action find
entity Richard Martin
relation country of citizenship
type political territorial entity
{'OR': [['Neville Oxford', 'country of citizenship', {'concept': 'political territorial entity'}], ['Richard Martin', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:country_of_citizenship ?o . VALUES ( ?q ) { ( resource:Richard_Martin ) ( resource:Neville_Oxford ) } } . ?o rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16 Q766
P530
Q15617994
USER
What administrative territories have diplomatic relationships with Canada and Jamaica ?
(Q16,P530,c(Q15617994)) (Q766,P530,c(Q15617994))
action union
action filter_type
action find
entity Q16
relation P530
type Q15617994
action filter_type
action find
entity Q766
relation P530
type Q15617994
['Q16', 'P530', {'concept': 'Q15617994'}] ['Q766', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?m property:P530 ?s . VALUES ( ?m ) { ( resource:Q16 ) ( resource:Q766 ) } }
Canada Jamaica
action union
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Jamaica
relation diplomatic relation
type designation for an administrative territorial entity
['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Jamaica', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?m property:diplomatic_relation ?s . VALUES ( ?m ) { ( resource:Canada ) ( resource:Jamaica ) } }
[]
designation for an administrative territorial entity
Q38 Q155 Q155
SYSTEM
Brazil for 2nd, 3rd, Italy for 1st
Q804 Q801 Q843 Q1029 Q711 Q145 Q229 Q33 Q30 Q36 Q34 Q77 Q39 Q1028 Q878 Q739 Q833 Q423 Q1030 Q851 Q29999 Q928 Q252 Q258 Q212 Q38 Q159 Q43 Q155 Q218 Q20 Q79 Q115 Q884 Q155
(Q16,P530,c(Q15617994)) (Q766,P530,c(Q15617994))
action union
action filter_type
action find
entity Q16
relation P530
type Q15617994
action filter_type
action find
entity Q766
relation P530
type Q15617994
[ANSWERS]
['Q16', 'P530', {'concept': 'Q15617994'}] ['Q766', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?m property:P530 ?s . VALUES ( ?m ) { ( resource:Q16 ) ( resource:Q766 ) } }
Panama Israel Pakistan Mozambique Mongolia United Kingdom Cyprus Finland United States of America Poland Sweden Uruguay Switzerland Morocco United Arab Emirates Colombia Malaysia North Korea Namibia Saudi Arabia Kingdom of the Netherlands Philippines Indonesia South Africa Ukraine Italy Russia Turkey Brazil Romania Norway Egypt Ethiopia South Korea Brazil
Italy, Brazil and Brazil have diplomatic relationships with Canada and Jamaica
Italy Brazil Brazil
action union
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Jamaica
relation diplomatic relation
type designation for an administrative territorial entity
['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Jamaica', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?m property:diplomatic_relation ?s . VALUES ( ?m ) { ( resource:Canada ) ( resource:Jamaica ) } }
[]