Simple Question (Direct)
Simple Question
Q469580
P119
Q43229
USER
Where is the place of burial for Joseph Cardijn located ?
(Q469580,P119,c(Q43229))
action filter_type
action find
entity Q469580
relation P119
type Q43229
['Q469580', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q43229 . resource:Q469580 property:P119 ?m }
Joseph Cardijn
action filter_type
action find
entity Joseph Cardijn
relation place of burial
type organization
['Joseph Cardijn', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:organization . resource:Joseph_Cardijn property:place_of_burial ?m }
[]
organization
Q2972538
SYSTEM
Laeken Cemetery
Q2972538
(Q469580,P119,c(Q43229))
action filter_type
action find
entity Q469580
relation P119
type Q43229
The place of burial for Joseph Cardijn is located in [ANSWER]
['Q469580', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q43229 . resource:Q469580 property:P119 ?m }
Laeken Cemetery
The place of burial for Joseph Cardijn is located in Laeken Cemetery
Laeken Cemetery
action filter_type
action find
entity Joseph Cardijn
relation place of burial
type organization
['Joseph Cardijn', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:organization . resource:Joseph_Cardijn property:place_of_burial ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q469580
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q2972538,P27,c(Q15617994))
action filter_type
action find
entity Q469580
relation P27
type Q15617994
['Q2972538', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q469580 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Joseph Cardijn
action filter_type
action find
entity Joseph Cardijn
relation country of citizenship
type designation for an administrative territorial entity
['Laeken Cemetery', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Joseph_Cardijn property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q2972538,P27,c(Q15617994))
action filter_type
action find
entity Q469580
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q2972538', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q469580 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Belgium
Belgium is the native country of that person
Belgium
action filter_type
action find
entity Joseph Cardijn
relation country of citizenship
type designation for an administrative territorial entity
['Laeken Cemetery', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Joseph_Cardijn property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q31 Q1766776 Q183
P47
Q1048835
USER
Does Belgium share border with Villar de Samaniego and Germany ?
(Q31,P47,Q1766776) (Q31,P47,Q183)
action is_in
entity Q31
action intersection
action find_reverse
entity Q1766776
relation P47
action find_reverse
entity Q183
relation P47
['Q31', 'P47', 'Q1766776'] ['Q31', 'P47', 'Q183']
ASK WHERE { resource:Q31 property:P47 resource:Q1766776 . resource:Q31 property:P47 resource:Q183 }
Belgium Villar de Samaniego Germany
action is_in
entity Belgium
action intersection
action find_reverse
entity Villar de Samaniego
relation shares border with
action find_reverse
entity Germany
relation shares border with
['Belgium', 'shares border with', 'Villar de Samaniego'] ['Belgium', 'shares border with', 'Germany']
ASK WHERE { resource:Belgium property:shares_border_with resource:Villar_de_Samaniego . resource:Belgium property:shares_border_with resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q31,P47,Q1766776) (Q31,P47,Q183)
action is_in
entity Q31
action intersection
action find_reverse
entity Q1766776
relation P47
action find_reverse
entity Q183
relation P47
[ANSWER]
['Q31', 'P47', 'Q1766776'] ['Q31', 'P47', 'Q183']
ASK WHERE { resource:Q31 property:P47 resource:Q1766776 . resource:Q31 property:P47 resource:Q183 }
NO and YES respectively
action is_in
entity Belgium
action intersection
action find_reverse
entity Villar de Samaniego
relation shares border with
action find_reverse
entity Germany
relation shares border with
['Belgium', 'shares border with', 'Villar de Samaniego'] ['Belgium', 'shares border with', 'Germany']
ASK WHERE { resource:Belgium property:shares_border_with resource:Villar_de_Samaniego . resource:Belgium property:shares_border_with resource:Germany }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q312636 Q469580
P20
Q56061
USER
Which administrative territories did Joseph Cardijn or Felix V die ?
OR((Q469580,P20,c(Q56061)), (Q312636,P20,c(Q56061)))
action filter_type
action union
action find
entity Q469580
relation P20
action find
entity Q312636
relation P20
type Q56061
{'OR': [['Q469580', 'P20', {'concept': 'Q56061'}], ['Q312636', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q469580 property:P20 ?f } UNION { resource:Q312636 property:P20 ?f } } . ?f rdf:type ontology:Q56061 }
Felix V Joseph Cardijn
action filter_type
action union
action find
entity Joseph Cardijn
relation place of death
action find
entity Felix V
relation place of death
type administrative territorial entity
{'OR': [['Joseph Cardijn', 'place of death', {'concept': 'administrative territorial entity'}], ['Felix V', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Joseph_Cardijn property:place_of_death ?f } UNION { resource:Felix_V property:place_of_death ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q118958 Q71
SYSTEM
Leuven, Geneva
Q118958 Q71
OR((Q469580,P20,c(Q56061)), (Q312636,P20,c(Q56061)))
action filter_type
action union
action find
entity Q469580
relation P20
action find
entity Q312636
relation P20
type Q56061
Joseph Cardijn or Felix V died in [ANSWERS]
{'OR': [['Q469580', 'P20', {'concept': 'Q56061'}], ['Q312636', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q469580 property:P20 ?f } UNION { resource:Q312636 property:P20 ?f } } . ?f rdf:type ontology:Q56061 }
Leuven Geneva
Joseph Cardijn or Felix V died in Leuven and Geneva
Leuven Geneva
action filter_type
action union
action find
entity Joseph Cardijn
relation place of death
action find
entity Felix V
relation place of death
type administrative territorial entity
{'OR': [['Joseph Cardijn', 'place of death', {'concept': 'administrative territorial entity'}], ['Felix V', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Joseph_Cardijn property:place_of_death ?f } UNION { resource:Felix_V property:place_of_death ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q71
P1376
Q15617994
USER
Which administrative territory has that administrative territory has its center of administration ?
(Q71,P1376,c(Q15617994))
action filter_type
action find
entity Q71
relation P1376
type Q15617994
['Q71', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q71 property:P1376 ?m . ?m rdf:type ontology:Q15617994 }
Geneva
action filter_type
action find
entity Geneva
relation capital of
type designation for an administrative territorial entity
['Geneva', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Geneva property:capital_of ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q118958
SYSTEM
Did you mean Leuven ?
Q118958 Q71
(Q118958,P1376,c(Q15617994)) (Q71,P1376,c(Q15617994))
[ANSWER]
['Q118958', 'P1376', {'concept': 'Q15617994'}] ['Q71', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q71 property:P1376 ?m . ?m rdf:type ontology:Q15617994 }
Leuven Geneva
Did you mean Leuven ?
Leuven
['Leuven', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Geneva', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Geneva property:capital_of ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Geneva. Could you tell me the answer for that?
(Q71,P1376,c(Q15617994))
Q71
['Q71', 'P1376', {'concept': 'Q15617994'}]
['Geneva', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
[]
Q691368
SYSTEM
Léman
Q691368
(Q71,P1376,c(Q15617994))
action filter_type
action find
entity Q71
relation P1376
type Q15617994
The [ANSWER] has that administrative territory has its center of administration
['Q71', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q71 property:P1376 ?m . ?m rdf:type ontology:Q15617994 }
Léman
The Léman has that administrative territory has its center of administration
Léman
action filter_type
action find
entity Geneva
relation capital of
type designation for an administrative territorial entity
['Geneva', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Geneva property:capital_of ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q691368 Q142
P17
Q15617994
USER
Is that one a part of France ?
(Q691368,P17,Q142)
action is_in
entity Q142
action find
entity Q691368
relation P17
['Q691368', 'P17', 'Q142']
ASK WHERE { resource:Q691368 property:P17 resource:Q142 }
Léman France
action is_in
entity France
action find
entity Léman
relation country
['Léman', 'country', 'France']
ASK WHERE { resource:Léman property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q691368,P17,Q142)
action is_in
entity Q142
action find
entity Q691368
relation P17
[ANSWER]
['Q691368', 'P17', 'Q142']
ASK WHERE { resource:Q691368 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Léman
relation country
['Léman', 'country', 'France']
ASK WHERE { resource:Léman property:country resource:France }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q691368
P138
Q337567
USER
Which still waters is the etymology of Léman ?
(Q691368,P138,c(Q337567))
action filter_type
action find
entity Q691368
relation P138
type Q337567
['Q691368', 'P138', {'concept': 'Q337567'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q337567 . resource:Q691368 property:P138 ?r }
Léman
action filter_type
action find
entity Léman
relation named after
type still waters
['Léman', 'named after', {'concept': 'still waters'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:still_waters . resource:Léman property:named_after ?r }
[]
still waters
Q6403
SYSTEM
Lake Geneva
Q6403
(Q691368,P138,c(Q337567))
action filter_type
action find
entity Q691368
relation P138
type Q337567
[ANSWER] is the etymology of Léman
['Q691368', 'P138', {'concept': 'Q337567'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q337567 . resource:Q691368 property:P138 ?r }
Lake Geneva
Lake Geneva is the etymology of Léman
Lake Geneva
action filter_type
action find
entity Léman
relation named after
type still waters
['Léman', 'named after', {'concept': 'still waters'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:still_waters . resource:Léman property:named_after ?r }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q6403 Q39 Q142
P17
Q15617994
USER
Is Lake Geneva present in Switzerland and France ?
(Q6403,P17,Q39) (Q6403,P17,Q142)
action is_in
entity Q6403
action intersection
action find_reverse
entity Q39
relation P17
action find_reverse
entity Q142
relation P17
['Q6403', 'P17', 'Q39'] ['Q6403', 'P17', 'Q142']
ASK WHERE { resource:Q6403 property:P17 resource:Q39 . resource:Q6403 property:P17 resource:Q142 }
Lake Geneva Switzerland France
action is_in
entity Lake Geneva
action intersection
action find_reverse
entity Switzerland
relation country
action find_reverse
entity France
relation country
['Lake Geneva', 'country', 'Switzerland'] ['Lake Geneva', 'country', 'France']
ASK WHERE { resource:Lake_Geneva property:country resource:Switzerland . resource:Lake_Geneva property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q6403,P17,Q39) (Q6403,P17,Q142)
action is_in
entity Q6403
action intersection
action find_reverse
entity Q39
relation P17
action find_reverse
entity Q142
relation P17
[ANSWER]
['Q6403', 'P17', 'Q39'] ['Q6403', 'P17', 'Q142']
ASK WHERE { resource:Q6403 property:P17 resource:Q39 . resource:Q6403 property:P17 resource:Q142 }
Yes
action is_in
entity Lake Geneva
action intersection
action find_reverse
entity Switzerland
relation country
action find_reverse
entity France
relation country
['Lake Geneva', 'country', 'Switzerland'] ['Lake Geneva', 'country', 'France']
ASK WHERE { resource:Lake_Geneva property:country resource:Switzerland . resource:Lake_Geneva property:country resource:France }
[]