Simple Question (Direct)
Simple Question
Q34975
P1412
Q34770
USER
Which language does Brian Cox speak in ?
(Q34975,P1412,c(Q34770))
action filter_type
action find
entity Q34975
relation P1412
type Q34770
['Q34975', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q34975 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
Brian Cox
action filter_type
action find
entity Brian Cox
relation languages spoken, written or signed
type language
['Brian Cox', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Brian_Cox property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q34975,P1412,c(Q34770))
action filter_type
action find
entity Q34975
relation P1412
type Q34770
Brian Cox speaks the [ANSWER]
['Q34975', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q34975 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
English
Brian Cox speaks the English
English
action filter_type
action find
entity Brian Cox
relation languages spoken, written or signed
type language
['Brian Cox', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Brian_Cox property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34975
P26
Q502895
USER
Which person is married to that one ?
(Q1860,P26,c(Q502895))
action filter_type
action find
entity Q34975
relation P26
type Q502895
['Q1860', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q34975 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Brian Cox
action filter_type
action find
entity Brian Cox
relation spouse
type common name
['English', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Brian_Cox property:spouse ?w . ?w rdf:type ontology:common_name }
[]
common name
Q22326557
SYSTEM
Nicole Ansari
Q22326557
(Q1860,P26,c(Q502895))
action filter_type
action find
entity Q34975
relation P26
type Q502895
[ANSWER] is married to that one
['Q1860', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q34975 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Nicole Ansari
Nicole Ansari is married to that one
Nicole Ansari
action filter_type
action find
entity Brian Cox
relation spouse
type common name
['English', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Brian_Cox property:spouse ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q668
P1313
Q12737077
USER
What is the occupation held by India ?
(Q668,P1313,c(Q12737077))
action filter_type
action find
entity Q668
relation P1313
type Q12737077
['Q668', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q668 property:P1313 ?l . ?l rdf:type ontology:Q12737077 }
India
action filter_type
action find
entity India
relation office held by head of government
type occupation
['India', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:India property:office_held_by_head_of_government ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q192711
SYSTEM
Prime Minister of India
Q192711
(Q668,P1313,c(Q12737077))
action filter_type
action find
entity Q668
relation P1313
type Q12737077
The occupation held by India is the [ANSWER]
['Q668', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q668 property:P1313 ?l . ?l rdf:type ontology:Q12737077 }
Prime Minister of India
The occupation held by India is the Prime Minister of India
Prime Minister of India
action filter_type
action find
entity India
relation office held by head of government
type occupation
['India', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:India property:office_held_by_head_of_government ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q508707
Q12737077
USER
And how about Alaminos?
(Q508707,P1313,c(Q12737077))
action filter_type
action find
entity Q508707
relation P1313
type Q12737077
['Q508707', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q508707 property:P1313 ?v . ?v rdf:type ontology:Q12737077 }
Alaminos
action filter_type
action find
entity Alaminos
relation office held by head of government
type occupation
['Alaminos', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Alaminos property:office_held_by_head_of_government ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q26698379
SYSTEM
mayor of Alaminos
Q26698379
(Q508707,P1313,c(Q12737077))
action filter_type
action find
entity Q508707
relation P1313
type Q12737077
[ANSWER]
['Q508707', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q508707 property:P1313 ?v . ?v rdf:type ontology:Q12737077 }
mayor of Alaminos
mayor of Alaminos
action filter_type
action find
entity Alaminos
relation office held by head of government
type occupation
['Alaminos', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Alaminos property:office_held_by_head_of_government ?v . ?v rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q26698379 Q5812742
P1313
Q1048835
USER
Does Picsi District have that occupation as title of head of government ?
(Q5812742,P1313,Q26698379)
action is_in
entity Q5812742
action find
entity Q26698379
relation P1313
['Q5812742', 'P1313', 'Q26698379']
ASK WHERE { resource:Q26698379 property:P1313 resource:Q5812742 }
mayor of Alaminos Picsi District
action is_in
entity Picsi District
action find
entity mayor of Alaminos
relation office held by head of government
['Picsi District', 'office held by head of government', 'mayor of Alaminos']
ASK WHERE { resource:mayor_of_Alaminos property:office_held_by_head_of_government resource:Picsi_District }
[]
political territorial entity
SYSTEM
NO
(Q5812742,P1313,Q26698379)
action is_in
entity Q5812742
action find
entity Q26698379
relation P1313
[ANSWER]
['Q5812742', 'P1313', 'Q26698379']
ASK WHERE { resource:Q26698379 property:P1313 resource:Q5812742 }
No
action is_in
entity Picsi District
action find
entity mayor of Alaminos
relation office held by head of government
['Picsi District', 'office held by head of government', 'mayor of Alaminos']
ASK WHERE { resource:mayor_of_Alaminos property:office_held_by_head_of_government resource:Picsi_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q34975 Q42812
P27
Q15617994
USER
Is Brian Cox a civilian of Capralba ?
(Q34975,P27,Q42812)
action is_in
entity Q42812
action find
entity Q34975
relation P27
['Q34975', 'P27', 'Q42812']
ASK WHERE { resource:Q34975 property:P27 resource:Q42812 }
Brian Cox Capralba
action is_in
entity Capralba
action find
entity Brian Cox
relation country of citizenship
['Brian Cox', 'country of citizenship', 'Capralba']
ASK WHERE { resource:Brian_Cox property:country_of_citizenship resource:Capralba }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q34975,P27,Q42812)
action is_in
entity Q42812
action find
entity Q34975
relation P27
[ANSWER]
['Q34975', 'P27', 'Q42812']
ASK WHERE { resource:Q34975 property:P27 resource:Q42812 }
No
action is_in
entity Capralba
action find
entity Brian Cox
relation country of citizenship
['Brian Cox', 'country of citizenship', 'Capralba']
ASK WHERE { resource:Brian_Cox property:country_of_citizenship resource:Capralba }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q192711 Q668 Q52080
P1001
Q15617994
USER
Does Prime Minister of India have control over the jurisdiction of India and Cortona ?
(Q192711,P1001,Q668) (Q192711,P1001,Q52080)
action is_in
entity Q192711
action intersection
action find_reverse
entity Q668
relation P1001
action find_reverse
entity Q52080
relation P1001
['Q192711', 'P1001', 'Q668'] ['Q192711', 'P1001', 'Q52080']
ASK WHERE { resource:Q192711 property:P1001 resource:Q668 . resource:Q192711 property:P1001 resource:Q52080 }
Prime Minister of India India Cortona
action is_in
entity Prime Minister of India
action intersection
action find_reverse
entity India
relation applies to jurisdiction
action find_reverse
entity Cortona
relation applies to jurisdiction
['Prime Minister of India', 'applies to jurisdiction', 'India'] ['Prime Minister of India', 'applies to jurisdiction', 'Cortona']
ASK WHERE { resource:Prime_Minister_of_India property:applies_to_jurisdiction resource:India . resource:Prime_Minister_of_India property:applies_to_jurisdiction resource:Cortona }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q192711,P1001,Q668) (Q192711,P1001,Q52080)
action is_in
entity Q192711
action intersection
action find_reverse
entity Q668
relation P1001
action find_reverse
entity Q52080
relation P1001
[ANSWER]
['Q192711', 'P1001', 'Q668'] ['Q192711', 'P1001', 'Q52080']
ASK WHERE { resource:Q192711 property:P1001 resource:Q668 . resource:Q192711 property:P1001 resource:Q52080 }
YES and NO respectively
action is_in
entity Prime Minister of India
action intersection
action find_reverse
entity India
relation applies to jurisdiction
action find_reverse
entity Cortona
relation applies to jurisdiction
['Prime Minister of India', 'applies to jurisdiction', 'India'] ['Prime Minister of India', 'applies to jurisdiction', 'Cortona']
ASK WHERE { resource:Prime_Minister_of_India property:applies_to_jurisdiction resource:India . resource:Prime_Minister_of_India property:applies_to_jurisdiction resource:Cortona }
[]