Simple Question (Direct)
Simple Question
Q774938
P17
Q15617994
USER
Which administrative territory is Les Grandes-Loges located in ?
(Q774938,P17,c(Q15617994))
action filter_type
action find
entity Q774938
relation P17
type Q15617994
['Q774938', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q774938 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Les Grandes-Loges
action filter_type
action find
entity Les Grandes-Loges
relation country
type designation for an administrative territorial entity
['Les Grandes-Loges', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Les_Grandes-Loges property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q774938,P17,c(Q15617994))
action filter_type
action find
entity Q774938
relation P17
type Q15617994
Les Grandes-Loges is located in [ANSWER]
['Q774938', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q774938 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
France
Les Grandes-Loges is located in France
France
action filter_type
action find
entity Les Grandes-Loges
relation country
type designation for an administrative territorial entity
['Les Grandes-Loges', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Les_Grandes-Loges property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q774938
P47
Q20667921
USER
Which french administrative divisions share border with that one ?
(c(Q20667921),P47,Q142)
action filter_type
action find
entity Q774938
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q142']
SELECT DISTINCT ?e WHERE { resource:Q774938 property:P47 ?e . ?e rdf:type ontology:Q20667921 }
Les Grandes-Loges
action filter_type
action find
entity Les Grandes-Loges
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France']
SELECT DISTINCT ?e WHERE { resource:Les_Grandes-Loges property:shares_border_with ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1064114 Q1225515 Q612161
SYSTEM
Aigny, Livry-Louvercy, Vaudemange
Q1064114 Q1225515 Q550494 Q1617705 Q612161 Q731327 Q541863
(c(Q20667921),P47,Q142)
action filter_type
action find
entity Q774938
relation P47
type Q20667921
[ANSWERS] share border with that one
[{'concept': 'Q20667921'}, 'P47', 'Q142']
SELECT DISTINCT ?e WHERE { resource:Q774938 property:P47 ?e . ?e rdf:type ontology:Q20667921 }
Aigny Livry-Louvercy Vraux La Veuve Vaudemange Juvigny Bouy
Aigny, Livry-Louvercy and Vaudemange share border with that one
Aigny Livry-Louvercy Vaudemange
action filter_type
action find
entity Les Grandes-Loges
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France']
SELECT DISTINCT ?e WHERE { resource:Les_Grandes-Loges property:shares_border_with ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5310611 Q1225515
P17
Q15617994
USER
Which administrative territories are Livry-Louvercy or Dubai Sports Complex located in ?
OR((Q1225515,P17,c(Q15617994)), (Q5310611,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1225515
relation P17
action find
entity Q5310611
relation P17
type Q15617994
{'OR': [['Q1225515', 'P17', {'concept': 'Q15617994'}], ['Q5310611', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q5310611 property:P17 ?l } UNION { resource:Q1225515 property:P17 ?l } } }
Dubai Sports Complex Livry-Louvercy
action filter_type
action union
action find
entity Livry-Louvercy
relation country
action find
entity Dubai Sports Complex
relation country
type designation for an administrative territorial entity
{'OR': [['Livry-Louvercy', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Dubai Sports Complex', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Dubai_Sports_Complex property:country ?l } UNION { resource:Livry-Louvercy property:country ?l } } }
[]
designation for an administrative territorial entity
Q142 Q878
SYSTEM
France, United Arab Emirates
Q142 Q878
OR((Q1225515,P17,c(Q15617994)), (Q5310611,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1225515
relation P17
action find
entity Q5310611
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q1225515', 'P17', {'concept': 'Q15617994'}], ['Q5310611', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q5310611 property:P17 ?l } UNION { resource:Q1225515 property:P17 ?l } } }
France United Arab Emirates
Which administrative territories are Livry-Louvercy or Dubai Sports Complex located in
France United Arab Emirates
action filter_type
action union
action find
entity Livry-Louvercy
relation country
action find
entity Dubai Sports Complex
relation country
type designation for an administrative territorial entity
{'OR': [['Livry-Louvercy', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Dubai Sports Complex', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Dubai_Sports_Complex property:country ?l } UNION { resource:Livry-Louvercy property:country ?l } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have ambassadorial relations with those administrative territories ?
(Q408,P530,Q142) (Q408,P530,Q878)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q142'] ['Q408', 'P530', 'Q878']
ASK WHERE { VALUES ( ?d ) { ( resource:Q142 ) ( resource:Q878 ) } . resource:Q408 property:P530 ?d }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'France'] ['Australia', 'diplomatic relation', 'United Arab Emirates']
ASK WHERE { VALUES ( ?d ) { ( resource:France ) ( resource:United_Arab_Emirates ) } . resource:Australia property:diplomatic_relation ?d }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q142) (Q408,P530,Q878)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q142'] ['Q408', 'P530', 'Q878']
ASK WHERE { VALUES ( ?d ) { ( resource:Q142 ) ( resource:Q878 ) } . resource:Q408 property:P530 ?d }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'France'] ['Australia', 'diplomatic relation', 'United Arab Emirates']
ASK WHERE { VALUES ( ?d ) { ( resource:France ) ( resource:United_Arab_Emirates ) } . resource:Australia property:diplomatic_relation ?d }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q774938
P19 P21
Q502895
USER
Which people were born at Les Grandes-Loges and have male as the sex ?
AND((c(Q502895),P19,Q774938), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q774938
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q774938'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P19 resource:Q774938 . ?j property:P21 resource:Q6581097 }
male Les Grandes-Loges
action filter_type
action intersection
action find_reverse
entity Les Grandes-Loges
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Les Grandes-Loges'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:place_of_birth resource:Les_Grandes-Loges . ?j property:gender resource:male }
[]
common name
Q19630177
SYSTEM
Nicolas Philippe Xavier Spital
Q19630177
AND((c(Q502895),P19,Q774938), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q774938
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] was born at Les Grandes-Loges and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q774938'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P19 resource:Q774938 . ?j property:P21 resource:Q6581097 }
Nicolas Philippe Xavier Spital
Nicolas Philippe Xavier Spital was born at Les Grandes-Loges and have male as the sex
Nicolas Philippe Xavier Spital
action filter_type
action intersection
action find_reverse
entity Les Grandes-Loges
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Les Grandes-Loges'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:place_of_birth resource:Les_Grandes-Loges . ?j property:gender resource:male }
[]