Simple Question (Direct)
Simple Question
Q3574024
P19
Q20667921
USER
Which french administrative division is the birthplace of Yves di Manno ?
(Q3574024,P19,c(Q20667921))
action filter_type
action find
entity Q3574024
relation P19
type Q20667921
['Q3574024', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q3574024 property:P19 ?y . ?y rdf:type ontology:Q20667921 }
Yves di Manno
action filter_type
action find
entity Yves di Manno
relation place of birth
type type of french administrative division
['Yves di Manno', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Yves_di_Manno property:place_of_birth ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q387460
SYSTEM
Sainte-Foy-lès-Lyon
Q387460
(Q3574024,P19,c(Q20667921))
action filter_type
action find
entity Q3574024
relation P19
type Q20667921
[ANSWER] is the birthplace of Yves di Manno
['Q3574024', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q3574024 property:P19 ?y . ?y rdf:type ontology:Q20667921 }
Sainte-Foy-lès-Lyon
Sainte-Foy-lès-Lyon is the birthplace of Yves di Manno
Sainte-Foy-lès-Lyon
action filter_type
action find
entity Yves di Manno
relation place of birth
type type of french administrative division
['Yves di Manno', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Yves_di_Manno property:place_of_birth ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3574024
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q387460,P106,c(Q12737077))
action filter_type
action find
entity Q3574024
relation P106
type Q12737077
['Q387460', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q3574024 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Yves di Manno
action filter_type
action find
entity Yves di Manno
relation occupation
type occupation
['Sainte-Foy-lès-Lyon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Yves_di_Manno property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q49757 Q2516866
SYSTEM
poet, publisher
Q49757 Q2516866
(Q387460,P106,c(Q12737077))
action filter_type
action find
entity Q3574024
relation P106
type Q12737077
The professions of that person are the [ANSWERS]
['Q387460', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q3574024 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
poet publisher
The professions of that person are the poet and publisher
poet publisher
action filter_type
action find
entity Yves di Manno
relation occupation
type occupation
['Sainte-Foy-lès-Lyon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Yves_di_Manno property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q49757 Q2516866
P39
Q502895
USER
Who were responsible for occupying the position of poet and publisher ?
(c(Q502895),P39,Q49757) (c(Q502895),P39,Q2516866)
action union
action filter_type
action find_reverse
entity Q49757
relation P39
type Q502895
action filter_type
action find_reverse
entity Q2516866
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q49757'] [{'concept': 'Q502895'}, 'P39', 'Q2516866']
SELECT DISTINCT ?f WHERE { { ?f property:P39 resource:Q49757 . ?f rdf:type ontology:Q502895 } UNION { ?f property:P39 resource:Q2516866 . ?f rdf:type ontology:Q502895 } }
poet publisher
action union
action filter_type
action find_reverse
entity poet
relation position held
type common name
action filter_type
action find_reverse
entity publisher
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'poet'] [{'concept': 'common name'}, 'position held', 'publisher']
SELECT DISTINCT ?f WHERE { { ?f property:position_held resource:poet . ?f rdf:type ontology:common_name } UNION { ?f property:position_held resource:publisher . ?f rdf:type ontology:common_name } }
[]
common name
Q21694215 Q4317718 Q1375676
SYSTEM
Francisco Concha Castillo, Vsevolod Nestayko, Silvio Stampiglia
Q21694215 Q3174912 Q1375676 Q4317718
(c(Q502895),P39,Q49757) (c(Q502895),P39,Q2516866)
action union
action filter_type
action find_reverse
entity Q49757
relation P39
type Q502895
action filter_type
action find_reverse
entity Q2516866
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of poet and publisher
[{'concept': 'Q502895'}, 'P39', 'Q49757'] [{'concept': 'Q502895'}, 'P39', 'Q2516866']
SELECT DISTINCT ?f WHERE { { ?f property:P39 resource:Q49757 . ?f rdf:type ontology:Q502895 } UNION { ?f property:P39 resource:Q2516866 . ?f rdf:type ontology:Q502895 } }
Francisco Concha Castillo Jean V Olivier Silvio Stampiglia Vsevolod Nestayko
Francisco Concha Castillo, Vsevolod Nestayko and Silvio Stampiglia were responsible for occupying the position of poet and publisher
Francisco Concha Castillo Vsevolod Nestayko Silvio Stampiglia
action union
action filter_type
action find_reverse
entity poet
relation position held
type common name
action filter_type
action find_reverse
entity publisher
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'poet'] [{'concept': 'common name'}, 'position held', 'publisher']
SELECT DISTINCT ?f WHERE { { ?f property:position_held resource:poet . ?f rdf:type ontology:common_name } UNION { ?f property:position_held resource:publisher . ?f rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q387460
P138
Q57821
USER
Which fortification has Sainte-Foy-lès-Lyon as its namesake ?
(c(Q57821),P138,Q387460)
action filter_type
action find_reverse
entity Q387460
relation P138
type Q57821
[{'concept': 'Q57821'}, 'P138', 'Q387460']
SELECT DISTINCT ?q WHERE { ?q property:P138 resource:Q387460 . ?q rdf:type ontology:Q57821 }
Sainte-Foy-lès-Lyon
action filter_type
action find_reverse
entity Sainte-Foy-lès-Lyon
relation named after
type fortification
[{'concept': 'fortification'}, 'named after', 'Sainte-Foy-lès-Lyon']
SELECT DISTINCT ?q WHERE { ?q property:named_after resource:Sainte-Foy-lès-Lyon . ?q rdf:type ontology:fortification }
[]
fortification
Q3078234
SYSTEM
Sainte-Foy fort
Q3078234
(c(Q57821),P138,Q387460)
action filter_type
action find_reverse
entity Q387460
relation P138
type Q57821
Fort [ANSWER] has Sainte-Foy-lès-Lyon as its namesake
[{'concept': 'Q57821'}, 'P138', 'Q387460']
SELECT DISTINCT ?q WHERE { ?q property:P138 resource:Q387460 . ?q rdf:type ontology:Q57821 }
Sainte-Foy fort
Fort Sainte-Foy fort has Sainte-Foy-lès-Lyon as its namesake
Sainte-Foy fort
action filter_type
action find_reverse
entity Sainte-Foy-lès-Lyon
relation named after
type fortification
[{'concept': 'fortification'}, 'named after', 'Sainte-Foy-lès-Lyon']
SELECT DISTINCT ?q WHERE { ?q property:named_after resource:Sainte-Foy-lès-Lyon . ?q rdf:type ontology:fortification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3078234
P17
Q15617994
USER
Which administrative territory is that fortification present in ?
(Q3078234,P17,c(Q15617994))
action filter_type
action find
entity Q3078234
relation P17
type Q15617994
['Q3078234', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3078234 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Sainte-Foy fort
action filter_type
action find
entity Sainte-Foy fort
relation country
type designation for an administrative territorial entity
['Sainte-Foy fort', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Sainte-Foy_fort property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3078234,P17,c(Q15617994))
action filter_type
action find
entity Q3078234
relation P17
type Q15617994
That fortification is in [ANSWER]
['Q3078234', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3078234 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
France
That fortification is in France
France
action filter_type
action find
entity Sainte-Foy fort
relation country
type designation for an administrative territorial entity
['Sainte-Foy fort', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Sainte-Foy_fort property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q142 Q1803245 Q1468315
P530
Q1048835
USER
Does that administrative territory have diplomatic relations with São Valentim and Pozuzo District ?
(Q142,P530,Q1803245) (Q142,P530,Q1468315)
action is_in
entity Q142
action intersection
action find_reverse
entity Q1803245
relation P530
action find_reverse
entity Q1468315
relation P530
['Q142', 'P530', 'Q1803245'] ['Q142', 'P530', 'Q1468315']
ASK WHERE { resource:Q142 property:P530 resource:Q1468315 . resource:Q142 property:P530 resource:Q1803245 }
France São Valentim Pozuzo District
action is_in
entity France
action intersection
action find_reverse
entity São Valentim
relation diplomatic relation
action find_reverse
entity Pozuzo District
relation diplomatic relation
['France', 'diplomatic relation', 'São Valentim'] ['France', 'diplomatic relation', 'Pozuzo District']
ASK WHERE { resource:France property:diplomatic_relation resource:Pozuzo_District . resource:France property:diplomatic_relation resource:São_Valentim }
[]
political territorial entity
SYSTEM
NO
(Q142,P530,Q1803245) (Q142,P530,Q1468315)
action is_in
entity Q142
action intersection
action find_reverse
entity Q1803245
relation P530
action find_reverse
entity Q1468315
relation P530
[ANSWER]
['Q142', 'P530', 'Q1803245'] ['Q142', 'P530', 'Q1468315']
ASK WHERE { resource:Q142 property:P530 resource:Q1468315 . resource:Q142 property:P530 resource:Q1803245 }
No
action is_in
entity France
action intersection
action find_reverse
entity São Valentim
relation diplomatic relation
action find_reverse
entity Pozuzo District
relation diplomatic relation
['France', 'diplomatic relation', 'São Valentim'] ['France', 'diplomatic relation', 'Pozuzo District']
ASK WHERE { resource:France property:diplomatic_relation resource:Pozuzo_District . resource:France property:diplomatic_relation resource:São_Valentim }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3078234 Q242331
P138
Q20667921
USER
Is Saint-Rémy-de-Chaudes-Aigues Sainte-Foy fort named after ?
(Q3078234,P138,Q242331)
action is_in
entity Q242331
action find
entity Q3078234
relation P138
['Q3078234', 'P138', 'Q242331']
ASK WHERE { resource:Q3078234 property:P138 resource:Q242331 }
Sainte-Foy fort Saint-Rémy-de-Chaudes-Aigues
action is_in
entity Saint-Rémy-de-Chaudes-Aigues
action find
entity Sainte-Foy fort
relation named after
['Sainte-Foy fort', 'named after', 'Saint-Rémy-de-Chaudes-Aigues']
ASK WHERE { resource:Sainte-Foy_fort property:named_after resource:Saint-Rémy-de-Chaudes-Aigues }
[]
type of french administrative division
SYSTEM
NO
(Q3078234,P138,Q242331)
action is_in
entity Q242331
action find
entity Q3078234
relation P138
[ANSWER]
['Q3078234', 'P138', 'Q242331']
ASK WHERE { resource:Q3078234 property:P138 resource:Q242331 }
No
action is_in
entity Saint-Rémy-de-Chaudes-Aigues
action find
entity Sainte-Foy fort
relation named after
['Sainte-Foy fort', 'named after', 'Saint-Rémy-de-Chaudes-Aigues']
ASK WHERE { resource:Sainte-Foy_fort property:named_after resource:Saint-Rémy-de-Chaudes-Aigues }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1025431 Q242331
P47
Q20667921
USER
Which french administrative divisions do Saint-Rémy-de-Chaudes-Aigues or Offin share a border with ?
OR((c(Q20667921),P47,Q242331), (c(Q20667921),P47,Q1025431))
action filter_type
action union
action find_reverse
entity Q242331
relation P47
action find_reverse
entity Q1025431
relation P47
type Q20667921
{'OR': [[{'concept': 'Q20667921'}, 'P47', 'Q242331'], [{'concept': 'Q20667921'}, 'P47', 'Q1025431']]}
SELECT DISTINCT ?h WHERE { { { ?h property:P47 resource:Q242331 } UNION { ?h property:P47 resource:Q1025431 } } . ?h rdf:type ontology:Q20667921 }
Offin Saint-Rémy-de-Chaudes-Aigues
action filter_type
action union
action find_reverse
entity Saint-Rémy-de-Chaudes-Aigues
relation shares border with
action find_reverse
entity Offin
relation shares border with
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Rémy-de-Chaudes-Aigues'], [{'concept': 'type of french administrative division'}, 'shares border with', 'Offin']]}
SELECT DISTINCT ?h WHERE { { { ?h property:shares_border_with resource:Saint-Rémy-de-Chaudes-Aigues } UNION { ?h property:shares_border_with resource:Offin } } . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q989314 Q253002 Q1069345 Q799879 Q192722 Q992435 Q805195 Q668132 Q667240 Q266406
SYSTEM
Some of them are Contes, Saint-Urcize, Hesmond, Anterrieux, Grandvals, Cavron-Saint-Martin, Deux-Verges, Jabrun, Brion, Loison-sur-Créquoise
Q192722 Q805195 Q799879 Q989314 Q192693 Q992435 Q266406 Q1025820 Q668132 Q1069345 Q253002 Q667240
OR((c(Q20667921),P47,Q242331), (c(Q20667921),P47,Q1025431))
action filter_type
action union
action find_reverse
entity Q242331
relation P47
action find_reverse
entity Q1025431
relation P47
type Q20667921
[ANSWERS] Saint-Rémy-de-Chaudes-Aigues or Offin share a border with
{'OR': [[{'concept': 'Q20667921'}, 'P47', 'Q242331'], [{'concept': 'Q20667921'}, 'P47', 'Q1025431']]}
SELECT DISTINCT ?h WHERE { { { ?h property:P47 resource:Q242331 } UNION { ?h property:P47 resource:Q1025431 } } . ?h rdf:type ontology:Q20667921 }
Grandvals Deux-Verges Anterrieux Contes Chauchailles Cavron-Saint-Martin Loison-sur-Créquoise Lebiez Jabrun Hesmond Saint-Urcize Brion
Contes, Saint-Urcize, Hesmond, Anterrieux, Grandvals, Cavron-Saint-Martin, Deux-Verges, Jabrun, Brion and Loison-sur-Créquoise Saint-Rémy-de-Chaudes-Aigues or Offin share a border with
Contes Saint-Urcize Hesmond Anterrieux Grandvals Cavron-Saint-Martin Deux-Verges Jabrun Brion Loison-sur-Créquoise
action filter_type
action union
action find_reverse
entity Saint-Rémy-de-Chaudes-Aigues
relation shares border with
action find_reverse
entity Offin
relation shares border with
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Rémy-de-Chaudes-Aigues'], [{'concept': 'type of french administrative division'}, 'shares border with', 'Offin']]}
SELECT DISTINCT ?h WHERE { { { ?h property:shares_border_with resource:Saint-Rémy-de-Chaudes-Aigues } UNION { ?h property:shares_border_with resource:Offin } } . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q387460
P190
Q5119 Q56061
USER
How many capitals and administrative territories are partner towns of Sainte-Foy-lès-Lyon ?
(Q387460,P190,c(Q5119)) (Q387460,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q387460
relation P190
type Q5119
action filter_type
action find
entity Q387460
relation P190
type Q56061
['Q387460', 'P190', {'concept': 'Q5119'}] ['Q387460', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { resource:Q387460 property:P190 ?m . ?m rdf:type ontology:Q5119 } UNION { resource:Q387460 property:P190 ?m . ?m rdf:type ontology:Q56061 } }
Sainte-Foy-lès-Lyon
action count
action union
action filter_type
action find
entity Sainte-Foy-lès-Lyon
relation sister city
type capital
action filter_type
action find
entity Sainte-Foy-lès-Lyon
relation sister city
type administrative territorial entity
['Sainte-Foy-lès-Lyon', 'sister city', {'concept': 'capital'}] ['Sainte-Foy-lès-Lyon', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { resource:Sainte-Foy-lès-Lyon property:sister_city ?m . ?m rdf:type ontology:capital } UNION { resource:Sainte-Foy-lès-Lyon property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity } }
[]
capital administrative territorial entity
SYSTEM
1 capitals and 1 administrative territories
Q206317 Q16026
(Q387460,P190,c(Q5119)) (Q387460,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q387460
relation P190
type Q5119
action filter_type
action find
entity Q387460
relation P190
type Q56061
[ANSWER]
['Q387460', 'P190', {'concept': 'Q5119'}] ['Q387460', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { resource:Q387460 property:P190 ?m . ?m rdf:type ontology:Q5119 } UNION { resource:Q387460 property:P190 ?m . ?m rdf:type ontology:Q56061 } }
Kraljevo Limburg an der Lahn
1 capitals and 1 administrative territories
action count
action union
action filter_type
action find
entity Sainte-Foy-lès-Lyon
relation sister city
type capital
action filter_type
action find
entity Sainte-Foy-lès-Lyon
relation sister city
type administrative territorial entity
['Sainte-Foy-lès-Lyon', 'sister city', {'concept': 'capital'}] ['Sainte-Foy-lès-Lyon', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { resource:Sainte-Foy-lès-Lyon property:sister_city ?m . ?m rdf:type ontology:capital } UNION { resource:Sainte-Foy-lès-Lyon property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q387460
P1376
Q20667921
USER
What has that one as its capital ?
action filter_type
action find
entity Q387460
relation P1376
type Q20667921
SELECT DISTINCT ?m WHERE { resource:Q387460 property:P1376 ?m . ?m rdf:type ontology:Q20667921 }
Sainte-Foy-lès-Lyon
action filter_type
action find
entity Sainte-Foy-lès-Lyon
relation capital of
type type of french administrative division
SELECT DISTINCT ?m WHERE { resource:Sainte-Foy-lès-Lyon property:capital_of ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q338897
SYSTEM
canton of Sainte-Foy-lès-Lyon
Q338897
action filter_type
action find
entity Q387460
relation P1376
type Q20667921
The [ANSWER] has that one as its capital
SELECT DISTINCT ?m WHERE { resource:Q387460 property:P1376 ?m . ?m rdf:type ontology:Q20667921 }
canton of Sainte-Foy-lès-Lyon
The canton of Sainte-Foy-lès-Lyon has that one as its capital
canton of Sainte-Foy-lès-Lyon
action filter_type
action find
entity Sainte-Foy-lès-Lyon
relation capital of
type type of french administrative division
SELECT DISTINCT ?m WHERE { resource:Sainte-Foy-lès-Lyon property:capital_of ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q989314
P47 P17
Q20667921
USER
Which french administrative divisions share border with Contes and are present in France ?
AND((c(Q20667921),P47,Q989314), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q989314
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q989314'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?x WHERE { ?x property:P47 resource:Q989314 . ?x property:P17 resource:Q142 . ?x rdf:type ontology:Q20667921 }
France Contes
action filter_type
action intersection
action find_reverse
entity Contes
relation shares border with
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Contes'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?x WHERE { ?x property:shares_border_with resource:Contes . ?x property:country resource:France . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q992435 Q266406 Q37719 Q1026126 Q1026764 Q540085 Q1025431
SYSTEM
Cavron-Saint-Martin, Loison-sur-Créquoise, Beaurainville, Huby-Saint-Leu, Maresquel-Ecquemicourt, Aubin-Saint-Vaast, Offin
Q992435 Q266406 Q37719 Q1026126 Q1026764 Q540085 Q1025431
AND((c(Q20667921),P47,Q989314), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q989314
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
[ANSWERS] share border with Contes and are present in France
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q989314'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?x WHERE { ?x property:P47 resource:Q989314 . ?x property:P17 resource:Q142 . ?x rdf:type ontology:Q20667921 }
Cavron-Saint-Martin Loison-sur-Créquoise Beaurainville Huby-Saint-Leu Maresquel-Ecquemicourt Aubin-Saint-Vaast Offin
Cavron-Saint-Martin, Loison-sur-Créquoise, Beaurainville, Huby-Saint-Leu, Maresquel-Ecquemicourt, Aubin-Saint-Vaast and Offin share border with Contes and are present in France
Cavron-Saint-Martin Loison-sur-Créquoise Beaurainville Huby-Saint-Leu Maresquel-Ecquemicourt Aubin-Saint-Vaast Offin
action filter_type
action intersection
action find_reverse
entity Contes
relation shares border with
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Contes'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?x WHERE { ?x property:shares_border_with resource:Contes . ?x property:country resource:France . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q989314
P47
Q20667921
USER
Are Contes next to the border of those ones ?
(Q989314,P47,Q992435) (Q989314,P47,Q266406) (Q989314,P47,Q37719) (Q989314,P47,Q1026126) (Q989314,P47,Q1026764) (Q989314,P47,Q540085) (Q989314,P47,Q1025431)
action is_in
entity prev_answer
action find
entity Q989314
relation P47
['Q989314', 'P47', 'Q992435'] ['Q989314', 'P47', 'Q266406'] ['Q989314', 'P47', 'Q37719'] ['Q989314', 'P47', 'Q1026126'] ['Q989314', 'P47', 'Q1026764'] ['Q989314', 'P47', 'Q540085'] ['Q989314', 'P47', 'Q1025431']
ASK WHERE { VALUES ( ?a ) { ( resource:Q992435 ) ( resource:Q266406 ) ( resource:Q37719 ) } . resource:Q989314 property:P47 ?a }
Contes
action is_in
entity prev_answer
action find
entity Contes
relation shares border with
['Contes', 'shares border with', 'Cavron-Saint-Martin'] ['Contes', 'shares border with', 'Loison-sur-Créquoise'] ['Contes', 'shares border with', 'Beaurainville'] ['Contes', 'shares border with', 'Huby-Saint-Leu'] ['Contes', 'shares border with', 'Maresquel-Ecquemicourt'] ['Contes', 'shares border with', 'Aubin-Saint-Vaast'] ['Contes', 'shares border with', 'Offin']
ASK WHERE { VALUES ( ?a ) { ( resource:Cavron-Saint-Martin ) ( resource:Loison-sur-Créquoise ) ( resource:Beaurainville ) } . resource:Contes property:shares_border_with ?a }
[]
type of french administrative division
SYSTEM
YES
(Q989314,P47,Q992435) (Q989314,P47,Q266406) (Q989314,P47,Q37719) (Q989314,P47,Q1026126) (Q989314,P47,Q1026764) (Q989314,P47,Q540085) (Q989314,P47,Q1025431)
action is_in
entity prev_answer
action find
entity Q989314
relation P47
[ANSWER]
['Q989314', 'P47', 'Q992435'] ['Q989314', 'P47', 'Q266406'] ['Q989314', 'P47', 'Q37719'] ['Q989314', 'P47', 'Q1026126'] ['Q989314', 'P47', 'Q1026764'] ['Q989314', 'P47', 'Q540085'] ['Q989314', 'P47', 'Q1025431']
ASK WHERE { VALUES ( ?a ) { ( resource:Q992435 ) ( resource:Q266406 ) ( resource:Q37719 ) } . resource:Q989314 property:P47 ?a }
Yes
action is_in
entity prev_answer
action find
entity Contes
relation shares border with
['Contes', 'shares border with', 'Cavron-Saint-Martin'] ['Contes', 'shares border with', 'Loison-sur-Créquoise'] ['Contes', 'shares border with', 'Beaurainville'] ['Contes', 'shares border with', 'Huby-Saint-Leu'] ['Contes', 'shares border with', 'Maresquel-Ecquemicourt'] ['Contes', 'shares border with', 'Aubin-Saint-Vaast'] ['Contes', 'shares border with', 'Offin']
ASK WHERE { VALUES ( ?a ) { ( resource:Cavron-Saint-Martin ) ( resource:Loison-sur-Créquoise ) ( resource:Beaurainville ) } . resource:Contes property:shares_border_with ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q37719
P159
Q334453
USER
Which division has HQ at Beaurainville ?
(c(Q334453),P159,Q37719)
action filter_type
action find_reverse
entity Q37719
relation P159
type Q334453
[{'concept': 'Q334453'}, 'P159', 'Q37719']
SELECT DISTINCT ?w WHERE { ?w property:P159 resource:Q37719 . ?w rdf:type ontology:Q334453 }
Beaurainville
action filter_type
action find_reverse
entity Beaurainville
relation headquarters location
type division
[{'concept': 'division'}, 'headquarters location', 'Beaurainville']
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:Beaurainville . ?w rdf:type ontology:division }
[]
division
Q37479
SYSTEM
Osmose Productions
Q37479
(c(Q334453),P159,Q37719)
action filter_type
action find_reverse
entity Q37719
relation P159
type Q334453
[ANSWER] has HQ at Beaurainville
[{'concept': 'Q334453'}, 'P159', 'Q37719']
SELECT DISTINCT ?w WHERE { ?w property:P159 resource:Q37719 . ?w rdf:type ontology:Q334453 }
Osmose Productions
Osmose Productions has HQ at Beaurainville
Osmose Productions
action filter_type
action find_reverse
entity Beaurainville
relation headquarters location
type division
[{'concept': 'division'}, 'headquarters location', 'Beaurainville']
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:Beaurainville . ?w rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q37479
P264
Q502895
USER
Which people have that division as their record brand ?
(c(Q502895),P264,Q37479)
action filter_type
action find_reverse
entity Q37479
relation P264
type Q502895
[{'concept': 'Q502895'}, 'P264', 'Q37479']
SELECT DISTINCT ?o WHERE { ?o property:P264 resource:Q37479 . ?o rdf:type ontology:Q502895 }
Osmose Productions
action filter_type
action find_reverse
entity Osmose Productions
relation record label
type common name
[{'concept': 'common name'}, 'record label', 'Osmose Productions']
SELECT DISTINCT ?o WHERE { ?o property:record_label resource:Osmose_Productions . ?o rdf:type ontology:common_name }
[]
common name
Q1445729 Q522410 Q3141717
SYSTEM
František Štorm, Mika Luttinen, Hreidmarr
Q1445729 Q522410 Q3141717
(c(Q502895),P264,Q37479)
action filter_type
action find_reverse
entity Q37479
relation P264
type Q502895
[ANSWERS] have that division as their record brand
[{'concept': 'Q502895'}, 'P264', 'Q37479']
SELECT DISTINCT ?o WHERE { ?o property:P264 resource:Q37479 . ?o rdf:type ontology:Q502895 }
František Štorm Mika Luttinen Hreidmarr
František Štorm, Mika Luttinen and Hreidmarr have that division as their record brand
František Štorm Mika Luttinen Hreidmarr
action filter_type
action find_reverse
entity Osmose Productions
relation record label
type common name
[{'concept': 'common name'}, 'record label', 'Osmose Productions']
SELECT DISTINCT ?o WHERE { ?o property:record_label resource:Osmose_Productions . ?o rdf:type ontology:common_name }
[]