Simple Question (Direct)
Simple Question
Q2395253
P27
Q15617994
USER
Which administrative territory is Pierre de Boissonneaux de Chevigny an inhabitant of ?
(Q2395253,P27,c(Q15617994))
action filter_type
action find
entity Q2395253
relation P27
type Q15617994
['Q2395253', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q2395253 property:P27 ?q }
Pierre de Boissonneaux de Chevigny
action filter_type
action find
entity Pierre de Boissonneaux de Chevigny
relation country of citizenship
type designation for an administrative territorial entity
['Pierre de Boissonneaux de Chevigny', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pierre_de_Boissonneaux_de_Chevigny property:country_of_citizenship ?q }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2395253,P27,c(Q15617994))
action filter_type
action find
entity Q2395253
relation P27
type Q15617994
[ANSWER] is Pierre de Boissonneaux de Chevigny an inhabitant of
['Q2395253', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q2395253 property:P27 ?q }
France
France is Pierre de Boissonneaux de Chevigny an inhabitant of
France
action filter_type
action find
entity Pierre de Boissonneaux de Chevigny
relation country of citizenship
type designation for an administrative territorial entity
['Pierre de Boissonneaux de Chevigny', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pierre_de_Boissonneaux_de_Chevigny property:country_of_citizenship ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2395253
P39
Q12737077
USER
What were the positions held by that person ?
(Q142,P39,c(Q12737077))
action filter_type
action find
entity Q2395253
relation P39
type Q12737077
['Q142', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q2395253 property:P39 ?o }
Pierre de Boissonneaux de Chevigny
action filter_type
action find
entity Pierre de Boissonneaux de Chevigny
relation position held
type occupation
['France', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Pierre_de_Boissonneaux_de_Chevigny property:position_held ?o }
[]
occupation
Q14828018 Q3044918 Q20177062
SYSTEM
member of the Senate of France, member of the French National Assembly, senator of community
Q14828018 Q3044918 Q21032552 Q20177062
(Q142,P39,c(Q12737077))
action filter_type
action find
entity Q2395253
relation P39
type Q12737077
[ANSWERS]
['Q142', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q2395253 property:P39 ?o }
member of the Senate of France member of the French National Assembly Senator of the Fourth Republic senator of community
The positions held by that person were member of the Senate of France, member of the French National Assembly and senator of community
member of the Senate of France member of the French National Assembly senator of community
action filter_type
action find
entity Pierre de Boissonneaux de Chevigny
relation position held
type occupation
['France', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Pierre_de_Boissonneaux_de_Chevigny property:position_held ?o }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3212207 Q2395253
P937 P915
Q56061
USER
Which administrative territories are the work locations of Pierre de Boissonneaux de Chevigny and were The Queen of Hearts filmed ?
AND((Q2395253,P937,c(Q56061)), (Q3212207,P915,c(Q56061)))
action filter_type
action intersection
action find
entity Q2395253
relation P937
action find
entity Q3212207
relation P915
type Q56061
{'AND': [['Q2395253', 'P937', {'concept': 'Q56061'}], ['Q3212207', 'P915', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { resource:Q3212207 property:P915 ?p . resource:Q2395253 property:P937 ?p . ?p rdf:type ontology:Q56061 }
The Queen of Hearts Pierre de Boissonneaux de Chevigny
action filter_type
action intersection
action find
entity Pierre de Boissonneaux de Chevigny
relation work location
action find
entity The Queen of Hearts
relation filming location
type administrative territorial entity
{'AND': [['Pierre de Boissonneaux de Chevigny', 'work location', {'concept': 'administrative territorial entity'}], ['The Queen of Hearts', 'filming location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:The_Queen_of_Hearts property:filming_location ?p . resource:Pierre_de_Boissonneaux_de_Chevigny property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
AND((Q2395253,P937,c(Q56061)), (Q3212207,P915,c(Q56061)))
action filter_type
action intersection
action find
entity Q2395253
relation P937
action find
entity Q3212207
relation P915
type Q56061
[ANSWER] is the work locations of Pierre de Boissonneaux de Chevigny and were The Queen of Hearts filmed
{'AND': [['Q2395253', 'P937', {'concept': 'Q56061'}], ['Q3212207', 'P915', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { resource:Q3212207 property:P915 ?p . resource:Q2395253 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Paris
Paris is the work locations of Pierre de Boissonneaux de Chevigny and were The Queen of Hearts filmed
Paris
action filter_type
action intersection
action find
entity Pierre de Boissonneaux de Chevigny
relation work location
action find
entity The Queen of Hearts
relation filming location
type administrative territorial entity
{'AND': [['Pierre de Boissonneaux de Chevigny', 'work location', {'concept': 'administrative territorial entity'}], ['The Queen of Hearts', 'filming location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:The_Queen_of_Hearts property:filming_location ?p . resource:Pierre_de_Boissonneaux_de_Chevigny property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q90 Q866754
P47
Q20667921
USER
Is Peille adjacent to that administrative territory ?
(Q90,P47,Q866754)
action is_in
entity Q866754
action find
entity Q90
relation P47
['Q90', 'P47', 'Q866754']
ASK WHERE { resource:Q90 property:P47 resource:Q866754 }
Paris Peille
action is_in
entity Peille
action find
entity Paris
relation shares border with
['Paris', 'shares border with', 'Peille']
ASK WHERE { resource:Paris property:shares_border_with resource:Peille }
[]
type of french administrative division
SYSTEM
NO
(Q90,P47,Q866754)
action is_in
entity Q866754
action find
entity Q90
relation P47
[ANSWER]
['Q90', 'P47', 'Q866754']
ASK WHERE { resource:Q90 property:P47 resource:Q866754 }
No
action is_in
entity Peille
action find
entity Paris
relation shares border with
['Paris', 'shares border with', 'Peille']
ASK WHERE { resource:Paris property:shares_border_with resource:Peille }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q14828018 Q142
P1001
Q15617994
USER
Does France apply to jurisdiction of member of the Senate of France ?
(Q14828018,P1001,Q142)
action is_in
entity Q142
action find
entity Q14828018
relation P1001
['Q14828018', 'P1001', 'Q142']
ASK WHERE { resource:Q14828018 property:P1001 resource:Q142 }
member of the Senate of France France
action is_in
entity France
action find
entity member of the Senate of France
relation applies to jurisdiction
['member of the Senate of France', 'applies to jurisdiction', 'France']
ASK WHERE { resource:member_of_the_Senate_of_France property:applies_to_jurisdiction resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q14828018,P1001,Q142)
action is_in
entity Q142
action find
entity Q14828018
relation P1001
[ANSWER]
['Q14828018', 'P1001', 'Q142']
ASK WHERE { resource:Q14828018 property:P1001 resource:Q142 }
Yes
action is_in
entity France
action find
entity member of the Senate of France
relation applies to jurisdiction
['member of the Senate of France', 'applies to jurisdiction', 'France']
ASK WHERE { resource:member_of_the_Senate_of_France property:applies_to_jurisdiction resource:France }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q32 Q16666340
P47
Q15617994
USER
Is France next to the border of Luxembourg and Kostino ?
(Q142,P47,Q32) (Q142,P47,Q16666340)
action is_in
entity Q142
action intersection
action find_reverse
entity Q32
relation P47
action find_reverse
entity Q16666340
relation P47
['Q142', 'P47', 'Q32'] ['Q142', 'P47', 'Q16666340']
ASK WHERE { resource:Q142 property:P47 resource:Q16666340 . resource:Q142 property:P47 resource:Q32 }
France Luxembourg Kostino
action is_in
entity France
action intersection
action find_reverse
entity Luxembourg
relation shares border with
action find_reverse
entity Kostino
relation shares border with
['France', 'shares border with', 'Luxembourg'] ['France', 'shares border with', 'Kostino']
ASK WHERE { resource:France property:shares_border_with resource:Kostino . resource:France property:shares_border_with resource:Luxembourg }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q142,P47,Q32) (Q142,P47,Q16666340)
action is_in
entity Q142
action intersection
action find_reverse
entity Q32
relation P47
action find_reverse
entity Q16666340
relation P47
[ANSWER]
['Q142', 'P47', 'Q32'] ['Q142', 'P47', 'Q16666340']
ASK WHERE { resource:Q142 property:P47 resource:Q16666340 . resource:Q142 property:P47 resource:Q32 }
YES and NO respectively
action is_in
entity France
action intersection
action find_reverse
entity Luxembourg
relation shares border with
action find_reverse
entity Kostino
relation shares border with
['France', 'shares border with', 'Luxembourg'] ['France', 'shares border with', 'Kostino']
ASK WHERE { resource:France property:shares_border_with resource:Kostino . resource:France property:shares_border_with resource:Luxembourg }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2395253 Q3116066
P937
Q56061
USER
Is Gredina the work location of Pierre de Boissonneaux de Chevigny ?
(Q2395253,P937,Q3116066)
action is_in
entity Q3116066
action find
entity Q2395253
relation P937
['Q2395253', 'P937', 'Q3116066']
ASK WHERE { resource:Q2395253 property:P937 resource:Q3116066 }
Pierre de Boissonneaux de Chevigny Gredina
action is_in
entity Gredina
action find
entity Pierre de Boissonneaux de Chevigny
relation work location
['Pierre de Boissonneaux de Chevigny', 'work location', 'Gredina']
ASK WHERE { resource:Pierre_de_Boissonneaux_de_Chevigny property:work_location resource:Gredina }
[]
administrative territorial entity
SYSTEM
NO
(Q2395253,P937,Q3116066)
action is_in
entity Q3116066
action find
entity Q2395253
relation P937
[ANSWER]
['Q2395253', 'P937', 'Q3116066']
ASK WHERE { resource:Q2395253 property:P937 resource:Q3116066 }
No
action is_in
entity Gredina
action find
entity Pierre de Boissonneaux de Chevigny
relation work location
['Pierre de Boissonneaux de Chevigny', 'work location', 'Gredina']
ASK WHERE { resource:Pierre_de_Boissonneaux_de_Chevigny property:work_location resource:Gredina }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2395253
P106
Q12737077
USER
What is the profession of that person ?
action filter_type
action find
entity Q2395253
relation P106
type Q12737077
SELECT DISTINCT ?s WHERE { resource:Q2395253 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Pierre de Boissonneaux de Chevigny
action filter_type
action find
entity Pierre de Boissonneaux de Chevigny
relation occupation
type occupation
SELECT DISTINCT ?s WHERE { resource:Pierre_de_Boissonneaux_de_Chevigny property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
action filter_type
action find
entity Q2395253
relation P106
type Q12737077
The profession of that person is a [ANSWER]
SELECT DISTINCT ?s WHERE { resource:Q2395253 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
politician
The profession of that person is a politician
politician
action filter_type
action find
entity Pierre de Boissonneaux de Chevigny
relation occupation
type occupation
SELECT DISTINCT ?s WHERE { resource:Pierre_de_Boissonneaux_de_Chevigny property:occupation ?s . ?s rdf:type ontology:occupation }
[]