Simple Question (Direct)
Simple Question
Q3056871
P19
Q20667921
USER
Which french administrative division is the place of birth of Ernest Camescasse ?
(Q3056871,P19,c(Q20667921))
action filter_type
action find
entity Q3056871
relation P19
type Q20667921
['Q3056871', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q3056871 property:P19 ?o . ?o rdf:type ontology:Q20667921 }
Ernest Camescasse
action filter_type
action find
entity Ernest Camescasse
relation place of birth
type type of french administrative division
['Ernest Camescasse', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Ernest_Camescasse property:place_of_birth ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q12193
SYSTEM
Brest
Q12193
(Q3056871,P19,c(Q20667921))
action filter_type
action find
entity Q3056871
relation P19
type Q20667921
[ANSWER] is the place of birth of Ernest Camescasse
['Q3056871', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q3056871 property:P19 ?o . ?o rdf:type ontology:Q20667921 }
Brest
Brest is the place of birth of Ernest Camescasse
Brest
action filter_type
action find
entity Ernest Camescasse
relation place of birth
type type of french administrative division
['Ernest Camescasse', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Ernest_Camescasse property:place_of_birth ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3056871
P39
Q4164871
USER
What was the position held by Ernest Camescasse ?
(Q3056871,P39,c(Q4164871))
action filter_type
action find
entity Q3056871
relation P39
type Q4164871
['Q3056871', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?a WHERE { resource:Q3056871 property:P39 ?a . ?a rdf:type ontology:Q4164871 }
Ernest Camescasse
action filter_type
action find
entity Ernest Camescasse
relation position held
type position
['Ernest Camescasse', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?a WHERE { resource:Ernest_Camescasse property:position_held ?a . ?a rdf:type ontology:position }
[]
position
Q16773102
SYSTEM
Prefect of Police of Paris
Q16773102
(Q3056871,P39,c(Q4164871))
action filter_type
action find
entity Q3056871
relation P39
type Q4164871
The position held by Ernest Camescasse was the [ANSWER]
['Q3056871', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?a WHERE { resource:Q3056871 property:P39 ?a . ?a rdf:type ontology:Q4164871 }
Prefect of Police of Paris
The position held by Ernest Camescasse was the Prefect of Police of Paris
Prefect of Police of Paris
action filter_type
action find
entity Ernest Camescasse
relation position held
type position
['Ernest Camescasse', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?a WHERE { resource:Ernest_Camescasse property:position_held ?a . ?a rdf:type ontology:position }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17279109
Q4164871
USER
And also tell me about Shehu Abubakar?
(Q17279109,P39,c(Q4164871))
action filter_type
action find
entity Q17279109
relation P39
type Q4164871
['Q17279109', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?i WHERE { resource:Q17279109 property:P39 ?i . ?i rdf:type ontology:Q4164871 }
Shehu Abubakar
action filter_type
action find
entity Shehu Abubakar
relation position held
type position
['Shehu Abubakar', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?i WHERE { resource:Shehu_Abubakar property:position_held ?i . ?i rdf:type ontology:position }
[]
position
Q17279409
SYSTEM
Emir of Gombe
Q17279409
(Q17279109,P39,c(Q4164871))
action filter_type
action find
entity Q17279109
relation P39
type Q4164871
[ANSWER]
['Q17279109', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?i WHERE { resource:Q17279109 property:P39 ?i . ?i rdf:type ontology:Q4164871 }
Emir of Gombe
Emir of Gombe
action filter_type
action find
entity Shehu Abubakar
relation position held
type position
['Shehu Abubakar', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?i WHERE { resource:Shehu_Abubakar property:position_held ?i . ?i rdf:type ontology:position }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16773102
P17
Q15617994
USER
Which administrative territory is Prefect of Police of Paris a part of ?
(Q16773102,P17,c(Q15617994))
action filter_type
action find
entity Q16773102
relation P17
type Q15617994
['Q16773102', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q16773102 property:P17 ?w }
Prefect of Police of Paris
action filter_type
action find
entity Prefect of Police of Paris
relation country
type designation for an administrative territorial entity
['Prefect of Police of Paris', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Prefect_of_Police_of_Paris property:country ?w }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q16773102,P17,c(Q15617994))
action filter_type
action find
entity Q16773102
relation P17
type Q15617994
[ANSWER] is Prefect of Police of Paris a part of
['Q16773102', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q16773102 property:P17 ?w }
France
France is Prefect of Police of Paris a part of
France
action filter_type
action find
entity Prefect of Police of Paris
relation country
type designation for an administrative territorial entity
['Prefect of Police of Paris', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Prefect_of_Police_of_Paris property:country ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16773102
P1001
Q56061
USER
Which administrative territory comes under the supervision of that position ?
(Q142,P1001,c(Q56061))
action filter_type
action find
entity Q16773102
relation P1001
type Q56061
['Q142', 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q16773102 property:P1001 ?i }
Prefect of Police of Paris
action filter_type
action find
entity Prefect of Police of Paris
relation applies to jurisdiction
type administrative territorial entity
['France', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Prefect_of_Police_of_Paris property:applies_to_jurisdiction ?i }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q142,P1001,c(Q56061))
action filter_type
action find
entity Q16773102
relation P1001
type Q56061
[ANSWER] comes under the supervision of that position
['Q142', 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q16773102 property:P1001 ?i }
Paris
Paris comes under the supervision of that position
Paris
action filter_type
action find
entity Prefect of Police of Paris
relation applies to jurisdiction
type administrative territorial entity
['France', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Prefect_of_Police_of_Paris property:applies_to_jurisdiction ?i }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q90 Q26241246 Q256294
P6
Q502895
USER
Does that administrative territory have Emil Niederhauser and Bertrand Delanoë as its administrative leader ?
(Q90,P6,Q26241246) (Q90,P6,Q256294)
action is_in
entity Q90
action intersection
action find_reverse
entity Q26241246
relation P6
action find_reverse
entity Q256294
relation P6
['Q90', 'P6', 'Q26241246'] ['Q90', 'P6', 'Q256294']
ASK WHERE { resource:Q90 property:P6 resource:Q26241246 . resource:Q90 property:P6 resource:Q256294 }
Paris Emil Niederhauser Bertrand Delanoë
action is_in
entity Paris
action intersection
action find_reverse
entity Emil Niederhauser
relation head of government
action find_reverse
entity Bertrand Delanoë
relation head of government
['Paris', 'head of government', 'Emil Niederhauser'] ['Paris', 'head of government', 'Bertrand Delanoë']
ASK WHERE { resource:Paris property:head_of_government resource:Emil_Niederhauser . resource:Paris property:head_of_government resource:Bertrand_Delanoë }
[]
common name
SYSTEM
NO and YES respectively
(Q90,P6,Q26241246) (Q90,P6,Q256294)
action is_in
entity Q90
action intersection
action find_reverse
entity Q26241246
relation P6
action find_reverse
entity Q256294
relation P6
[ANSWER]
['Q90', 'P6', 'Q26241246'] ['Q90', 'P6', 'Q256294']
ASK WHERE { resource:Q90 property:P6 resource:Q26241246 . resource:Q90 property:P6 resource:Q256294 }
NO and YES respectively
action is_in
entity Paris
action intersection
action find_reverse
entity Emil Niederhauser
relation head of government
action find_reverse
entity Bertrand Delanoë
relation head of government
['Paris', 'head of government', 'Emil Niederhauser'] ['Paris', 'head of government', 'Bertrand Delanoë']
ASK WHERE { resource:Paris property:head_of_government resource:Emil_Niederhauser . resource:Paris property:head_of_government resource:Bertrand_Delanoë }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3056871 Q142 Q149478
P27
Q15617994
USER
Is Ernest Camescasse a native of France and South Hampstead ?
(Q3056871,P27,Q142) (Q3056871,P27,Q149478)
action is_in
entity Q3056871
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q149478
relation P27
['Q3056871', 'P27', 'Q142'] ['Q3056871', 'P27', 'Q149478']
ASK WHERE { resource:Q3056871 property:P27 resource:Q142 . resource:Q3056871 property:P27 resource:Q149478 }
Ernest Camescasse France South Hampstead
action is_in
entity Ernest Camescasse
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity South Hampstead
relation country of citizenship
['Ernest Camescasse', 'country of citizenship', 'France'] ['Ernest Camescasse', 'country of citizenship', 'South Hampstead']
ASK WHERE { resource:Ernest_Camescasse property:country_of_citizenship resource:France . resource:Ernest_Camescasse property:country_of_citizenship resource:South_Hampstead }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q3056871,P27,Q142) (Q3056871,P27,Q149478)
action is_in
entity Q3056871
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q149478
relation P27
[ANSWER]
['Q3056871', 'P27', 'Q142'] ['Q3056871', 'P27', 'Q149478']
ASK WHERE { resource:Q3056871 property:P27 resource:Q142 . resource:Q3056871 property:P27 resource:Q149478 }
YES and NO respectively
action is_in
entity Ernest Camescasse
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity South Hampstead
relation country of citizenship
['Ernest Camescasse', 'country of citizenship', 'France'] ['Ernest Camescasse', 'country of citizenship', 'South Hampstead']
ASK WHERE { resource:Ernest_Camescasse property:country_of_citizenship resource:France . resource:Ernest_Camescasse property:country_of_citizenship resource:South_Hampstead }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P190
Q56061
USER
Which administrative territory is sister town of Paris ?
(Q90,P190,c(Q56061))
action filter_type
action find
entity Q90
relation P190
type Q56061
['Q90', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q90 property:P190 ?i . ?i rdf:type ontology:Q56061 }
Paris
action filter_type
action find
entity Paris
relation sister city
type administrative territorial entity
['Paris', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Paris property:sister_city ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q90,P190,c(Q56061))
action filter_type
action find
entity Q90
relation P190
type Q56061
[ANSWER] is sister town of Paris
['Q90', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q90 property:P190 ?i . ?i rdf:type ontology:Q56061 }
Rome
Rome is sister town of Paris
Rome
action filter_type
action find
entity Paris
relation sister city
type administrative territorial entity
['Paris', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Paris property:sister_city ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P272
Q838948
USER
Which works of art were released from the production company named Paris ?
(c(Q838948),P272,Q90)
action filter_type
action find_reverse
entity Q90
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q90']
SELECT DISTINCT ?j WHERE { ?j property:P272 resource:Q90 . ?j rdf:type ontology:Q838948 }
Paris
action filter_type
action find_reverse
entity Paris
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Paris']
SELECT DISTINCT ?j WHERE { ?j property:production_company resource:Paris . ?j rdf:type ontology:work_of_art }
[]
work of art
Q2162066 Q2276282 Q1136505
SYSTEM
Casque d'or, Sur, Madman at War
Q3961749 Q1402866 Q2162066 Q905613 Q1136505 Q3221640 Q2276282
(c(Q838948),P272,Q90)
action filter_type
action find_reverse
entity Q90
relation P272
type Q838948
[ANSWERS] were released from the production company named Paris
[{'concept': 'Q838948'}, 'P272', 'Q90']
SELECT DISTINCT ?j WHERE { ?j property:P272 resource:Q90 . ?j rdf:type ontology:Q838948 }
The Sadistic Baron Von Klaus The Camp Followers Casque d'or Mondo Cannibale Madman at War Maigret a Pigalle Sur
Casque d'or, Sur and Madman at War were released from the production company named Paris
Casque d'or Sur Madman at War
action filter_type
action find_reverse
entity Paris
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Paris']
SELECT DISTINCT ?j WHERE { ?j property:production_company resource:Paris . ?j rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2162066 Q2276282 Q1136505
P495
Q15617994
USER
Which administrative territories are the origin of Casque d'or, Sur and Madman at War ?
(Q2162066,P495,c(Q15617994)) (Q2276282,P495,c(Q15617994)) (Q1136505,P495,c(Q15617994))
action union
action filter_type
action find
entity Q2162066
relation P495
type Q15617994
action filter_type
action find
entity Q2276282
relation P495
type Q15617994
action filter_type
action find
entity Q1136505
relation P495
type Q15617994
['Q2162066', 'P495', {'concept': 'Q15617994'}] ['Q2276282', 'P495', {'concept': 'Q15617994'}] ['Q1136505', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { resource:Q2162066 property:P495 ?v . ?v rdf:type ontology:Q15617994 } UNION { resource:Q2276282 property:P495 ?v . ?v rdf:type ontology:Q15617994 } }
Casque d'or Sur Madman at War
action union
action filter_type
action find
entity Casque d'or
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Sur
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Madman at War
relation country of origin
type designation for an administrative territorial entity
["Casque d'or", 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Sur', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Madman at War', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { resource:Casque_d'or property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Sur property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q38 Q142 Q142
SYSTEM
France for 2nd, 3rd, Italy for 1st
Q142 Q414 Q142 Q38
(Q2162066,P495,c(Q15617994)) (Q2276282,P495,c(Q15617994)) (Q1136505,P495,c(Q15617994))
action union
action filter_type
action find
entity Q2162066
relation P495
type Q15617994
action filter_type
action find
entity Q2276282
relation P495
type Q15617994
action filter_type
action find
entity Q1136505
relation P495
type Q15617994
[ANSWERS]
['Q2162066', 'P495', {'concept': 'Q15617994'}] ['Q2276282', 'P495', {'concept': 'Q15617994'}] ['Q1136505', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { resource:Q2162066 property:P495 ?v . ?v rdf:type ontology:Q15617994 } UNION { resource:Q2276282 property:P495 ?v . ?v rdf:type ontology:Q15617994 } }
France Argentina France Italy
Italy, France and France are the origin of Casque d'or, Sur and Madman at War
Italy France France
action union
action filter_type
action find
entity Casque d'or
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Sur
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Madman at War
relation country of origin
type designation for an administrative territorial entity
["Casque d'or", 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Sur', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Madman at War', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { resource:Casque_d'or property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Sur property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q38
P610
Q14524493
USER
Which is the zenith of that administrative territory ?
(Q38,P610,c(Q14524493))
action filter_type
action find
entity Q38
relation P610
type Q14524493
['Q38', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { resource:Q38 property:P610 ?y . ?y rdf:type ontology:Q14524493 }
Italy
action filter_type
action find
entity Italy
relation highest point
type terrain
['Italy', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { resource:Italy property:highest_point ?y . ?y rdf:type ontology:terrain }
[]
terrain
Clarification for simple ques.
Q142
SYSTEM
Did you mean France ?
Q38 Q142 Q142
(Q38,P610,c(Q14524493)) (Q142,P610,c(Q14524493)) (Q142,P610,c(Q14524493))
[ANSWER]
['Q38', 'P610', {'concept': 'Q14524493'}] ['Q142', 'P610', {'concept': 'Q14524493'}] ['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { resource:Q38 property:P610 ?y . ?y rdf:type ontology:Q14524493 }
Italy France France
Did you mean France ?
France
['Italy', 'highest point', {'concept': 'terrain'}] ['France', 'highest point', {'concept': 'terrain'}] ['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { resource:Italy property:highest_point ?y . ?y rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
USER
No, I meant Italy. Could you tell me the answer for that?
(Q38,P610,c(Q14524493))
Q38
['Q38', 'P610', {'concept': 'Q14524493'}]
['Italy', 'highest point', {'concept': 'terrain'}]
[]
Q583
SYSTEM
Mont Blanc
Q583
(Q38,P610,c(Q14524493))
action filter_type
action find
entity Q38
relation P610
type Q14524493
The zenith of that administrative territory is [ANSWER]
['Q38', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { resource:Q38 property:P610 ?y . ?y rdf:type ontology:Q14524493 }
Mont Blanc
The zenith of that administrative territory is Mont Blanc
Mont Blanc
action filter_type
action find
entity Italy
relation highest point
type terrain
['Italy', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { resource:Italy property:highest_point ?y . ?y rdf:type ontology:terrain }
[]