Simple Question (Direct)
Simple Question
Q1105676
P47
Q20667921
USER
Which french administrative divisions are adjacent to Viesly ?
(Q1105676,P47,c(Q20667921))
action filter_type
action find
entity Q1105676
relation P47
type Q20667921
['Q1105676', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q20667921 . resource:Q1105676 property:P47 ?x }
Viesly
action filter_type
action find
entity Viesly
relation shares border with
type type of french administrative division
['Viesly', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:type_of_french_administrative_division . resource:Viesly property:shares_border_with ?x }
[]
type of french administrative division
Q630497 Q1100714 Q427189
SYSTEM
Solesmes, Saint-Hilaire-lez-Cambrai, Beaumont-en-Cambrésis
Q1100714 Q954459 Q630497 Q1116107 Q427189 Q373762 Q1101491 Q999442 Q1099865
(Q1105676,P47,c(Q20667921))
action filter_type
action find
entity Q1105676
relation P47
type Q20667921
[ANSWERS] are adjacent to Viesly
['Q1105676', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q20667921 . resource:Q1105676 property:P47 ?x }
Saint-Hilaire-lez-Cambrai Saint-Python Solesmes Briastre Beaumont-en-Cambrésis Saint-Vaast-en-Cambrésis Quiévy Béthencourt Inchy
Solesmes, Saint-Hilaire-lez-Cambrai and Beaumont-en-Cambrésis are adjacent to Viesly
Solesmes Saint-Hilaire-lez-Cambrai Beaumont-en-Cambrésis
action filter_type
action find
entity Viesly
relation shares border with
type type of french administrative division
['Viesly', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:type_of_french_administrative_division . resource:Viesly property:shares_border_with ?x }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q630497 Q1100714 Q427189
P47
Q20667921
USER
Which french administrative divisions are bordered by those ones ?
(c(Q20667921),P47,Q630497) (c(Q20667921),P47,Q1100714) (c(Q20667921),P47,Q427189)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q630497'] [{'concept': 'Q20667921'}, 'P47', 'Q1100714'] [{'concept': 'Q20667921'}, 'P47', 'Q427189']
SELECT DISTINCT ?v WHERE { ?r property:P47 ?v . VALUES ( ?r ) { ( resource:Q1100714 ) ( resource:Q954459 ) ( resource:Q630497 ) } . ?v rdf:type ontology:Q20667921 }
Solesmes Saint-Hilaire-lez-Cambrai Beaumont-en-Cambrésis
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Solesmes'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Hilaire-lez-Cambrai'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Beaumont-en-Cambrésis']
SELECT DISTINCT ?v WHERE { ?r property:shares_border_with ?v . VALUES ( ?r ) { ( resource:Saint-Hilaire-lez-Cambrai ) ( resource:Saint-Python ) ( resource:Solesmes ) } . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1073035 Q665839 Q1105676
SYSTEM
Forest-en-Cambrésis, Vendegies-au-Bois, Viesly
Q741670 Q1073035 Q1116107 Q665795 Q642611 Q665839 Q534487 Q1105676 Q954459 Q736341 Q373762 Q1073898 Q601870 Q1064946 Q1105676 Q1101491 Q1099865 Q999442 Q476016 Q658080 Q1105676
(c(Q20667921),P47,Q630497) (c(Q20667921),P47,Q1100714) (c(Q20667921),P47,Q427189)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS] are bordered by those ones
[{'concept': 'Q20667921'}, 'P47', 'Q630497'] [{'concept': 'Q20667921'}, 'P47', 'Q1100714'] [{'concept': 'Q20667921'}, 'P47', 'Q427189']
SELECT DISTINCT ?v WHERE { ?r property:P47 ?v . VALUES ( ?r ) { ( resource:Q1100714 ) ( resource:Q954459 ) ( resource:Q630497 ) } . ?v rdf:type ontology:Q20667921 }
Beaurain Forest-en-Cambrésis Briastre Vertain Romeries Vendegies-au-Bois Neuvilly Viesly Saint-Python Avesnes-les-Aubert Saint-Vaast-en-Cambrésis Boussières-en-Cambrésis Saint-Aubert Bévillers Viesly Quiévy Inchy Béthencourt Caudry Troisvilles Viesly
Forest-en-Cambrésis, Vendegies-au-Bois and Viesly are bordered by those ones
Forest-en-Cambrésis Vendegies-au-Bois Viesly
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Solesmes'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Hilaire-lez-Cambrai'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Beaumont-en-Cambrésis']
SELECT DISTINCT ?v WHERE { ?r property:shares_border_with ?v . VALUES ( ?r ) { ( resource:Saint-Hilaire-lez-Cambrai ) ( resource:Saint-Python ) ( resource:Solesmes ) } . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1105676
P19
Q502895
USER
Who have location of birth at Viesly ?
(c(Q502895),P19,Q1105676)
action filter_type
action find_reverse
entity Q1105676
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1105676']
SELECT DISTINCT ?c WHERE { ?c property:P19 resource:Q1105676 . ?c rdf:type ontology:Q502895 }
Viesly
action filter_type
action find_reverse
entity Viesly
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Viesly']
SELECT DISTINCT ?c WHERE { ?c property:place_of_birth resource:Viesly . ?c rdf:type ontology:common_name }
[]
common name
Q3057138 Q3579800 Q3579808
SYSTEM
Ernest Plet, Édouard Delberghe, Édouard Depreux
Q3057138 Q3579800 Q3579808
(c(Q502895),P19,Q1105676)
action filter_type
action find_reverse
entity Q1105676
relation P19
type Q502895
[ANSWERS] have location of birth at Viesly
[{'concept': 'Q502895'}, 'P19', 'Q1105676']
SELECT DISTINCT ?c WHERE { ?c property:P19 resource:Q1105676 . ?c rdf:type ontology:Q502895 }
Ernest Plet Édouard Delberghe Édouard Depreux
Ernest Plet, Édouard Delberghe and Édouard Depreux have location of birth at Viesly
Ernest Plet Édouard Delberghe Édouard Depreux
action filter_type
action find_reverse
entity Viesly
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Viesly']
SELECT DISTINCT ?c WHERE { ?c property:place_of_birth resource:Viesly . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1105676
P17
Q15617994
USER
Which administrative territory is Viesly present in ?
(Q1105676,P17,c(Q15617994))
action filter_type
action find
entity Q1105676
relation P17
type Q15617994
['Q1105676', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1105676 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Viesly
action filter_type
action find
entity Viesly
relation country
type designation for an administrative territorial entity
['Viesly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Viesly property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1105676,P17,c(Q15617994))
action filter_type
action find
entity Q1105676
relation P17
type Q15617994
Which administrative territory is Viesly present in
['Q1105676', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1105676 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
France
Which administrative territory is Viesly present in
France
action filter_type
action find
entity Viesly
relation country
type designation for an administrative territorial entity
['Viesly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Viesly property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26284113
Q15617994
USER
And what about 100 And 102, Silver Street?
(Q26284113,P17,c(Q15617994))
action filter_type
action find
entity Q26284113
relation P17
type Q15617994
['Q26284113', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q26284113 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
100 And 102, Silver Street
action filter_type
action find
entity 100 And 102, Silver Street
relation country
type designation for an administrative territorial entity
['100 And 102, Silver Street', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:100_And_102,_Silver_Street property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q26284113,P17,c(Q15617994))
action filter_type
action find
entity Q26284113
relation P17
type Q15617994
[ANSWER]
['Q26284113', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q26284113 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity 100 And 102, Silver Street
relation country
type designation for an administrative territorial entity
['100 And 102, Silver Street', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:100_And_102,_Silver_Street property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q145 Q19305078
P463
Q484652
USER
Did Digital 5 have United Kingdom as its member ?
(Q145,P463,Q19305078)
action is_in
entity Q19305078
action find
entity Q145
relation P463
['Q145', 'P463', 'Q19305078']
ASK WHERE { resource:Q145 property:P463 resource:Q19305078 }
United Kingdom Digital 5
action is_in
entity Digital 5
action find
entity United Kingdom
relation member of
['United Kingdom', 'member of', 'Digital 5']
ASK WHERE { resource:United_Kingdom property:member_of resource:Digital_5 }
[]
international organization
SYSTEM
NO
(Q145,P463,Q19305078)
action is_in
entity Q19305078
action find
entity Q145
relation P463
[ANSWER]
['Q145', 'P463', 'Q19305078']
ASK WHERE { resource:Q145 property:P463 resource:Q19305078 }
No
action is_in
entity Digital 5
action find
entity United Kingdom
relation member of
['United Kingdom', 'member of', 'Digital 5']
ASK WHERE { resource:United_Kingdom property:member_of resource:Digital_5 }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q778
P530
Q15617994 Q1048835
USER
How many political territories have ambassadorial relations with around the same number of administrative territories as The Bahamas ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Q778 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?h = ?x ) . { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?h ) WHERE { ?v property:P530 ?u . ?v rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?v } }
The Bahamas
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:The_Bahamas property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?h = ?x ) . { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?h ) WHERE { ?v property:diplomatic_relation ?u . ?v rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Q778 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?h = ?x ) . { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?h ) WHERE { ?v property:P530 ?u . ?v rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?v } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:The_Bahamas property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?h = ?x ) . { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?h ) WHERE { ?v property:diplomatic_relation ?u . ?v rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q16
P530
Q15617994 Q1048835
USER
And also tell me about Canada?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:Q16 property:P530 ?d . ?d rdf:type ontology:Q1048835 } } . FILTER ( ?w = ?l ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?w ) WHERE { ?g property:P530 ?k . ?g rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?g } }
Canada
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:Canada property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity } } . FILTER ( ?w = ?l ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?w ) WHERE { ?g property:diplomatic_relation ?k . ?g rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:Q16 property:P530 ?d . ?d rdf:type ontology:Q1048835 } } . FILTER ( ?w = ?l ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?w ) WHERE { ?g property:P530 ?k . ?g rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?g } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { resource:Canada property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity } } . FILTER ( ?w = ?l ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?w ) WHERE { ?g property:diplomatic_relation ?k . ?g rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P85
Q7725634
USER
What is the anthem for United Kingdom ?
(Q145,P85,c(Q7725634))
action filter_type
action find
entity Q145
relation P85
type Q7725634
['Q145', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?m WHERE { resource:Q145 property:P85 ?m . ?m rdf:type ontology:Q7725634 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation anthem
type literary work
['United Kingdom', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?m WHERE { resource:United_Kingdom property:anthem ?m . ?m rdf:type ontology:literary_work }
[]
literary work
Q40807
SYSTEM
God Save the Queen
Q40807
(Q145,P85,c(Q7725634))
action filter_type
action find
entity Q145
relation P85
type Q7725634
The anthem for United Kingdom is [ANSWER]
['Q145', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?m WHERE { resource:Q145 property:P85 ?m . ?m rdf:type ontology:Q7725634 }
God Save the Queen
The anthem for United Kingdom is God Save the Queen
God Save the Queen
action filter_type
action find
entity United Kingdom
relation anthem
type literary work
['United Kingdom', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?m WHERE { resource:United_Kingdom property:anthem ?m . ?m rdf:type ontology:literary_work }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q168811
Q7725634
USER
And also tell me about Kazakh Soviet Socialist Republic?
(Q168811,P85,c(Q7725634))
action filter_type
action find
entity Q168811
relation P85
type Q7725634
['Q168811', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?f WHERE { resource:Q168811 property:P85 ?f . ?f rdf:type ontology:Q7725634 }
Kazakh Soviet Socialist Republic
action filter_type
action find
entity Kazakh Soviet Socialist Republic
relation anthem
type literary work
['Kazakh Soviet Socialist Republic', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?f WHERE { resource:Kazakh_Soviet_Socialist_Republic property:anthem ?f . ?f rdf:type ontology:literary_work }
[]
literary work
Q748155
SYSTEM
Anthem of the Kazakh Soviet Socialist Republic
Q748155
(Q168811,P85,c(Q7725634))
action filter_type
action find
entity Q168811
relation P85
type Q7725634
[ANSWER]
['Q168811', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?f WHERE { resource:Q168811 property:P85 ?f . ?f rdf:type ontology:Q7725634 }
Anthem of the Kazakh Soviet Socialist Republic
Anthem of the Kazakh Soviet Socialist Republic
action filter_type
action find
entity Kazakh Soviet Socialist Republic
relation anthem
type literary work
['Kazakh Soviet Socialist Republic', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?f WHERE { resource:Kazakh_Soviet_Socialist_Republic property:anthem ?f . ?f rdf:type ontology:literary_work }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q665839
P47 P17
Q20667921
USER
Which french administrative divisions are next to the border of Vendegies-au-Bois and are located in France ?
AND((c(Q20667921),P47,Q665839), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q665839
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q665839'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q20667921 . ?q property:P47 resource:Q665839 . ?q property:P17 resource:Q142 }
France Vendegies-au-Bois
action filter_type
action intersection
action find_reverse
entity Vendegies-au-Bois
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', 'Vendegies-au-Bois'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_french_administrative_division . ?q property:shares_border_with resource:Vendegies-au-Bois . ?q property:country resource:France }
[]
type of french administrative division
Q632387 Q630497 Q1064134 Q740823 Q762978 Q1073035 Q642611 Q741670
SYSTEM
Bousies, Solesmes, Croix-Caluyau, Poix-du-Nord, Neuville-en-Avesnois, Forest-en-Cambrésis, Romeries, Beaurain
Q632387 Q630497 Q1064134 Q740823 Q762978 Q1073035 Q642611 Q741670
AND((c(Q20667921),P47,Q665839), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q665839
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
[ANSWERS] are next to the border of Vendegies-au-Bois and are located in France
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q665839'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q20667921 . ?q property:P47 resource:Q665839 . ?q property:P17 resource:Q142 }
Bousies Solesmes Croix-Caluyau Poix-du-Nord Neuville-en-Avesnois Forest-en-Cambrésis Romeries Beaurain
Bousies, Solesmes, Croix-Caluyau, Poix-du-Nord, Neuville-en-Avesnois, Forest-en-Cambrésis, Romeries and Beaurain are next to the border of Vendegies-au-Bois and are located in France
Bousies Solesmes Croix-Caluyau Poix-du-Nord Neuville-en-Avesnois Forest-en-Cambrésis Romeries Beaurain
action filter_type
action intersection
action find_reverse
entity Vendegies-au-Bois
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', 'Vendegies-au-Bois'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_french_administrative_division . ?q property:shares_border_with resource:Vendegies-au-Bois . ?q property:country resource:France }
[]
Clarification
Simple Question|Single Entity|Indirect
Q642611
P166
Q618779
USER
What was won by that french administrative division ?
(Q642611,P166,c(Q618779))
action filter_type
action find
entity Q642611
relation P166
type Q618779
['Q642611', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q642611 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Romeries
action filter_type
action find
entity Romeries
relation award received
type award
['Romeries', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Romeries property:award_received ?x . ?x rdf:type ontology:award }
[]
award
Clarification for simple ques.
Q642611
SYSTEM
Did you mean Romeries ?
Q632387 Q630497 Q1064134 Q740823 Q762978 Q1073035 Q642611 Q741670
(Q632387,P166,c(Q618779)) (Q630497,P166,c(Q618779)) (Q1064134,P166,c(Q618779)) (Q740823,P166,c(Q618779)) (Q762978,P166,c(Q618779)) (Q1073035,P166,c(Q618779)) (Q642611,P166,c(Q618779)) (Q741670,P166,c(Q618779))
[ANSWER]
['Q632387', 'P166', {'concept': 'Q618779'}] ['Q630497', 'P166', {'concept': 'Q618779'}] ['Q1064134', 'P166', {'concept': 'Q618779'}] ['Q740823', 'P166', {'concept': 'Q618779'}] ['Q762978', 'P166', {'concept': 'Q618779'}] ['Q1073035', 'P166', {'concept': 'Q618779'}] ['Q642611', 'P166', {'concept': 'Q618779'}] ['Q741670', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q642611 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Bousies Solesmes Croix-Caluyau Poix-du-Nord Neuville-en-Avesnois Forest-en-Cambrésis Romeries Beaurain
Did you mean Romeries ?
Romeries
['Bousies', 'award received', {'concept': 'award'}] ['Solesmes', 'award received', {'concept': 'award'}] ['Croix-Caluyau', 'award received', {'concept': 'award'}] ['Poix-du-Nord', 'award received', {'concept': 'award'}] ['Neuville-en-Avesnois', 'award received', {'concept': 'award'}] ['Forest-en-Cambrésis', 'award received', {'concept': 'award'}] ['Romeries', 'award received', {'concept': 'award'}] ['Beaurain', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Romeries property:award_received ?x . ?x rdf:type ontology:award }
[]
Simple Question (Coreferenced)
USER
Yes
(Q642611,P166,c(Q618779))
['Q642611', 'P166', {'concept': 'Q618779'}]
['Romeries', 'award received', {'concept': 'award'}]
[]
Q2727598
SYSTEM
Croix de guerre 1914–1918
Q2727598
(Q642611,P166,c(Q618779))
action filter_type
action find
entity Q642611
relation P166
type Q618779
The [ANSWER] was won by that french administrative division
['Q642611', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q642611 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Croix de guerre 1914–1918
The Croix de guerre 1914–1918 was won by that french administrative division
Croix de guerre 1914–1918
action filter_type
action find
entity Romeries
relation award received
type award
['Romeries', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Romeries property:award_received ?x . ?x rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2727598 Q2854111
P166
Q502895
USER
Did Antoine Ker win that award ?
(Q2854111,P166,Q2727598)
action is_in
entity Q2727598
action find
entity Q2854111
relation P166
['Q2854111', 'P166', 'Q2727598']
ASK WHERE { resource:Q2854111 property:P166 resource:Q2727598 }
Croix de guerre 1914–1918 Antoine Ker
action is_in
entity Croix de guerre 1914–1918
action find
entity Antoine Ker
relation award received
['Antoine Ker', 'award received', 'Croix de guerre 1914–1918']
ASK WHERE { resource:Antoine_Ker property:award_received resource:Croix_de_guerre_1914–1918 }
[]
common name
SYSTEM
YES
(Q2854111,P166,Q2727598)
action is_in
entity Q2727598
action find
entity Q2854111
relation P166
[ANSWER]
['Q2854111', 'P166', 'Q2727598']
ASK WHERE { resource:Q2854111 property:P166 resource:Q2727598 }
Yes
action is_in
entity Croix de guerre 1914–1918
action find
entity Antoine Ker
relation award received
['Antoine Ker', 'award received', 'Croix de guerre 1914–1918']
ASK WHERE { resource:Antoine_Ker property:award_received resource:Croix_de_guerre_1914–1918 }
[]