Simple Question (Direct)
Simple Question
Q954563
P106
Q12737077
USER
What are the job of Charles Rivière Dufresny ?
(Q954563,P106,c(Q12737077))
action filter_type
action find
entity Q954563
relation P106
type Q12737077
['Q954563', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q954563 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Charles Rivière Dufresny
action filter_type
action find
entity Charles Rivière Dufresny
relation occupation
type occupation
['Charles Rivière Dufresny', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Charles_Rivière_Dufresny property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q1930187 Q49757 Q36180
SYSTEM
journalist, poet, writer
Q1930187 Q49757 Q36180
(Q954563,P106,c(Q12737077))
action filter_type
action find
entity Q954563
relation P106
type Q12737077
The job of Charles Rivière Dufresny are a [ANSWERS]
['Q954563', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q954563 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
journalist poet writer
The job of Charles Rivière Dufresny are a journalist, poet and writer
journalist poet writer
action filter_type
action find
entity Charles Rivière Dufresny
relation occupation
type occupation
['Charles Rivière Dufresny', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Charles_Rivière_Dufresny property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1930187 Q49757 Q36180
P39
Q502895
USER
Who were responsible for occupying the position of those occupations ?
(c(Q502895),P39,Q1930187) (c(Q502895),P39,Q49757) (c(Q502895),P39,Q36180)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1930187'] [{'concept': 'Q502895'}, 'P39', 'Q49757'] [{'concept': 'Q502895'}, 'P39', 'Q36180']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P39 ?w . VALUES ( ?w ) { ( resource:Q1930187 ) ( resource:Q49757 ) ( resource:Q36180 ) } }
journalist poet writer
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'journalist'] [{'concept': 'common name'}, 'position held', 'poet'] [{'concept': 'common name'}, 'position held', 'writer']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:position_held ?w . VALUES ( ?w ) { ( resource:journalist ) ( resource:poet ) ( resource:writer ) } }
[]
common name
Q2844607 Q2844607 Q4255270
SYSTEM
Amé-Thérèse-Joseph Masclet for 1st, 2nd, Mariano Roca de Togores, 1st Marquis of Molins for 3rd
Q2844607 Q2844607 Q20920104 Q20920104 Q723621 Q16912378 Q5945149 Q21694215 Q3174912 Q1375676 Q11294693 Q723621 Q20666477 Q163042 Q5945149 Q4255270
(c(Q502895),P39,Q1930187) (c(Q502895),P39,Q49757) (c(Q502895),P39,Q36180)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q1930187'] [{'concept': 'Q502895'}, 'P39', 'Q49757'] [{'concept': 'Q502895'}, 'P39', 'Q36180']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P39 ?w . VALUES ( ?w ) { ( resource:Q1930187 ) ( resource:Q49757 ) ( resource:Q36180 ) } }
Amé-Thérèse-Joseph Masclet Amé-Thérèse-Joseph Masclet Pierre Barthélémy Pierre Barthélémy Paul Nizan Alexandre Melnik José Rocamora Francisco Concha Castillo Jean V Olivier Silvio Stampiglia Henri de Saint-Ignace Paul Nizan Marina Damestoy David Duke José Rocamora Mariano Roca de Togores, 1st Marquis of Molins
Amé-Thérèse-Joseph Masclet, Amé-Thérèse-Joseph Masclet and Mariano Roca de Togores, 1st Marquis of Molins were responsible for occupying the position of those occupations
Amé-Thérèse-Joseph Masclet Amé-Thérèse-Joseph Masclet Mariano Roca de Togores, 1st Marquis of Molins
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'journalist'] [{'concept': 'common name'}, 'position held', 'poet'] [{'concept': 'common name'}, 'position held', 'writer']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:position_held ?w . VALUES ( ?w ) { ( resource:journalist ) ( resource:poet ) ( resource:writer ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2844607
P19
Q20667921
USER
Which french administrative division was that person born at ?
(Q2844607,P19,c(Q20667921))
action filter_type
action find
entity Q2844607
relation P19
type Q20667921
['Q2844607', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q2844607 property:P19 ?r . ?r rdf:type ontology:Q20667921 }
Amé-Thérèse-Joseph Masclet
action filter_type
action find
entity Amé-Thérèse-Joseph Masclet
relation place of birth
type type of french administrative division
['Amé-Thérèse-Joseph Masclet', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Amé-Thérèse-Joseph_Masclet property:place_of_birth ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q4255270
SYSTEM
Did you mean Mariano Roca de Togores, 1st Marquis of Molins ?
Q2844607 Q2844607 Q4255270
(Q2844607,P19,c(Q20667921)) (Q2844607,P19,c(Q20667921)) (Q4255270,P19,c(Q20667921))
[ANSWER]
['Q2844607', 'P19', {'concept': 'Q20667921'}] ['Q2844607', 'P19', {'concept': 'Q20667921'}] ['Q4255270', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q2844607 property:P19 ?r . ?r rdf:type ontology:Q20667921 }
Amé-Thérèse-Joseph Masclet Amé-Thérèse-Joseph Masclet Mariano Roca de Togores, 1st Marquis of Molins
Did you mean Mariano Roca de Togores, 1st Marquis of Molins ?
Mariano Roca de Togores, 1st Marquis of Molins
['Amé-Thérèse-Joseph Masclet', 'place of birth', {'concept': 'type of french administrative division'}] ['Amé-Thérèse-Joseph Masclet', 'place of birth', {'concept': 'type of french administrative division'}] ['Mariano Roca de Togores, 1st Marquis of Molins', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Amé-Thérèse-Joseph_Masclet property:place_of_birth ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
No, I meant Amé-Thérèse-Joseph Masclet. Could you tell me the answer for that?
(Q2844607,P19,c(Q20667921))
Q2844607
['Q2844607', 'P19', {'concept': 'Q20667921'}]
['Amé-Thérèse-Joseph Masclet', 'place of birth', {'concept': 'type of french administrative division'}]
[]
Q193826
SYSTEM
Douai
Q193826
(Q2844607,P19,c(Q20667921))
action filter_type
action find
entity Q2844607
relation P19
type Q20667921
That person was born in [ANSWER]
['Q2844607', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q2844607 property:P19 ?r . ?r rdf:type ontology:Q20667921 }
Douai
That person was born in Douai
Douai
action filter_type
action find
entity Amé-Thérèse-Joseph Masclet
relation place of birth
type type of french administrative division
['Amé-Thérèse-Joseph Masclet', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Amé-Thérèse-Joseph_Masclet property:place_of_birth ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q193826 Q3304415
P19
Q502895
USER
Does Meghan Klingenberg have place of birth as that french administrative division ?
(Q3304415,P19,Q193826)
action is_in
entity Q3304415
action find
entity Q193826
relation P19
['Q3304415', 'P19', 'Q193826']
ASK WHERE { resource:Q193826 property:P19 resource:Q3304415 }
Douai Meghan Klingenberg
action is_in
entity Meghan Klingenberg
action find
entity Douai
relation place of birth
['Meghan Klingenberg', 'place of birth', 'Douai']
ASK WHERE { resource:Douai property:place_of_birth resource:Meghan_Klingenberg }
[]
common name
SYSTEM
NO
(Q3304415,P19,Q193826)
action is_in
entity Q3304415
action find
entity Q193826
relation P19
[ANSWER]
['Q3304415', 'P19', 'Q193826']
ASK WHERE { resource:Q193826 property:P19 resource:Q3304415 }
No
action is_in
entity Meghan Klingenberg
action find
entity Douai
relation place of birth
['Meghan Klingenberg', 'place of birth', 'Douai']
ASK WHERE { resource:Douai property:place_of_birth resource:Meghan_Klingenberg }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q2342494 Q732577
USER
Which occupations were discussed in exactly 3 collectables and publications ?
(c(Q2342494)|c(Q732577),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
value 3
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?q = 3 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) ?t WHERE { ?z rdf:type ?w . VALUES ( ?w ) { ( ontology:Q2342494 ) ( ontology:Q732577 ) } } GROUP BY ?t } }
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
value 3
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?q = 3 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) ?t WHERE { ?z rdf:type ?w . VALUES ( ?w ) { ( ontology:collectable ) ( ontology:publication ) } } GROUP BY ?t } }
[]
occupation collectable publication
Q39631 Q937857
SYSTEM
physician, association football player
Q39631 Q937857
(c(Q2342494)|c(Q732577),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
value 3
The [ANSWERS] were discussed in exactly 3 collectables and publications
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?q = 3 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) ?t WHERE { ?z rdf:type ?w . VALUES ( ?w ) { ( ontology:Q2342494 ) ( ontology:Q732577 ) } } GROUP BY ?t } }
physician association football player
The physician and association football player were discussed in exactly 3 collectables and publications
physician association football player
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
value 3
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?q = 3 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) ?t WHERE { ?z rdf:type ?w . VALUES ( ?w ) { ( ontology:collectable ) ( ontology:publication ) } } GROUP BY ?t } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2844607
P7
Q502895
USER
How many people are siblings of Amé-Thérèse-Joseph Masclet ?
(c(Q502895),P7,Q2844607)
action count
action filter_type
action find_reverse
entity Q2844607
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q2844607']
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { ?l property:P7 resource:Q2844607 . ?l rdf:type ontology:Q502895 }
Amé-Thérèse-Joseph Masclet
action count
action filter_type
action find_reverse
entity Amé-Thérèse-Joseph Masclet
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Amé-Thérèse-Joseph Masclet']
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { ?l property:brother resource:Amé-Thérèse-Joseph_Masclet . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q26721517 Q11717210 Q26821175
(c(Q502895),P7,Q2844607)
action count
action filter_type
action find_reverse
entity Q2844607
relation P7
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q2844607']
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { ?l property:P7 resource:Q2844607 . ?l rdf:type ontology:Q502895 }
Hippolyte Masclet Jean-Baptiste Masclet Jean-Pierre-Joseph Masclet
3
action count
action filter_type
action find_reverse
entity Amé-Thérèse-Joseph Masclet
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Amé-Thérèse-Joseph Masclet']
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { ?l property:brother resource:Amé-Thérèse-Joseph_Masclet . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5622671
P7
Q502895
USER
Who have Guy Weston as their sibling ?
(c(Q502895),P7,Q5622671)
action filter_type
action find_reverse
entity Q5622671
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q5622671']
SELECT DISTINCT ?w WHERE { ?w property:P7 resource:Q5622671 . ?w rdf:type ontology:Q502895 }
Guy Weston
action filter_type
action find_reverse
entity Guy Weston
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Guy Weston']
SELECT DISTINCT ?w WHERE { ?w property:brother resource:Guy_Weston . ?w rdf:type ontology:common_name }
[]
common name
Q5539565 Q6150529
SYSTEM
George G. Weston, Jana Khayat
Q5539565 Q6150529
(c(Q502895),P7,Q5622671)
action filter_type
action find_reverse
entity Q5622671
relation P7
type Q502895
[ANSWERS] have Guy Weston as their sibling
[{'concept': 'Q502895'}, 'P7', 'Q5622671']
SELECT DISTINCT ?w WHERE { ?w property:P7 resource:Q5622671 . ?w rdf:type ontology:Q502895 }
George G. Weston Jana Khayat
George G. Weston and Jana Khayat have Guy Weston as their sibling
George G. Weston Jana Khayat
action filter_type
action find_reverse
entity Guy Weston
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Guy Weston']
SELECT DISTINCT ?w WHERE { ?w property:brother resource:Guy_Weston . ?w rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6150529
P69
Q3918
USER
Where was that person educated ?
(Q6150529,P69,c(Q3918))
action filter_type
action find
entity Q6150529
relation P69
type Q3918
['Q6150529', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q6150529 property:P69 ?p . ?p rdf:type ontology:Q3918 }
Jana Khayat
action filter_type
action find
entity Jana Khayat
relation educated at
type university
['Jana Khayat', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Jana_Khayat property:educated_at ?p . ?p rdf:type ontology:university }
[]
university
Clarification for simple ques.
Q6150529
SYSTEM
Did you mean Jana Khayat ?
Q5539565 Q6150529
(Q5539565,P69,c(Q3918)) (Q6150529,P69,c(Q3918))
[ANSWER]
['Q5539565', 'P69', {'concept': 'Q3918'}] ['Q6150529', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q6150529 property:P69 ?p . ?p rdf:type ontology:Q3918 }
George G. Weston Jana Khayat
Did you mean Jana Khayat ?
Jana Khayat
['George G. Weston', 'educated at', {'concept': 'university'}] ['Jana Khayat', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Jana_Khayat property:educated_at ?p . ?p rdf:type ontology:university }
[]
Simple Question (Coreferenced)
USER
Yes
(Q6150529,P69,c(Q3918))
['Q6150529', 'P69', {'concept': 'Q3918'}]
['Jana Khayat', 'educated at', {'concept': 'university'}]
[]
Q34433
SYSTEM
University of Oxford
Q34433
(Q6150529,P69,c(Q3918))
action filter_type
action find
entity Q6150529
relation P69
type Q3918
Educated that person was the [ANSWER]
['Q6150529', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q6150529 property:P69 ?p . ?p rdf:type ontology:Q3918 }
University of Oxford
Educated that person was the University of Oxford
University of Oxford
action filter_type
action find
entity Jana Khayat
relation educated at
type university
['Jana Khayat', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Jana_Khayat property:educated_at ?p . ?p rdf:type ontology:university }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q34433 Q145
P17
Q15617994
USER
Is University of Oxford a part of United Kingdom ?
(Q34433,P17,Q145)
action is_in
entity Q145
action find
entity Q34433
relation P17
['Q34433', 'P17', 'Q145']
ASK WHERE { resource:Q34433 property:P17 resource:Q145 }
University of Oxford United Kingdom
action is_in
entity United Kingdom
action find
entity University of Oxford
relation country
['University of Oxford', 'country', 'United Kingdom']
ASK WHERE { resource:University_of_Oxford property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q34433,P17,Q145)
action is_in
entity Q145
action find
entity Q34433
relation P17
[ANSWER]
['Q34433', 'P17', 'Q145']
ASK WHERE { resource:Q34433 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity University of Oxford
relation country
['University of Oxford', 'country', 'United Kingdom']
ASK WHERE { resource:University_of_Oxford property:country resource:United_Kingdom }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193826
P47
Q20667921
USER
Who share the border with Douai ?
(Q193826,P47,c(Q20667921))
action filter_type
action find
entity Q193826
relation P47
type Q20667921
['Q193826', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q193826 property:P47 ?s . ?s rdf:type ontology:Q20667921 }
Douai
action filter_type
action find
entity Douai
relation shares border with
type type of french administrative division
['Douai', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Douai property:shares_border_with ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q48543 Q1099211 Q1099553
SYSTEM
Sin-le-Noble, Lallaing, Lambres-lez-Douai
Q1116258 Q1099553 Q779086 Q640042 Q48543 Q1099211 Q688388 Q547568 Q1103534 Q1044152
(Q193826,P47,c(Q20667921))
action filter_type
action find
entity Q193826
relation P47
type Q20667921
[ANSWERS] share the border with Douai
['Q193826', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q193826 property:P47 ?s . ?s rdf:type ontology:Q20667921 }
Anhiers Lambres-lez-Douai Lauwin-Planque Flers-en-Escrebieux Sin-le-Noble Lallaing Roost-Warendin Waziers Râches Cuincy
Sin-le-Noble, Lallaing and Lambres-lez-Douai share the border with Douai
Sin-le-Noble Lallaing Lambres-lez-Douai
action filter_type
action find
entity Douai
relation shares border with
type type of french administrative division
['Douai', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Douai property:shares_border_with ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q48543 Q1099211 Q1099553
P47
Q20667921
USER
Which french administrative divisions do those ones share a border with ?
(c(Q20667921),P47,Q48543) (c(Q20667921),P47,Q1099211) (c(Q20667921),P47,Q1099553)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q48543'] [{'concept': 'Q20667921'}, 'P47', 'Q1099211'] [{'concept': 'Q20667921'}, 'P47', 'Q1099553']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . ?l property:P47 ?m . VALUES ( ?l ) { ( resource:Q1116258 ) ( resource:Q1099553 ) ( resource:Q779086 ) } }
Sin-le-Noble Lallaing Lambres-lez-Douai
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', 'Sin-le-Noble'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Lallaing'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Lambres-lez-Douai']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . ?l property:shares_border_with ?m . VALUES ( ?l ) { ( resource:Anhiers ) ( resource:Lambres-lez-Douai ) ( resource:Lauwin-Planque ) } }
[]
type of french administrative division
Q193826 Q193826 Q193826
SYSTEM
Douai
Q1099553 Q547568 Q205671 Q193826 Q1103241 Q1099211 Q532525 Q664772 Q48543 Q1116258 Q205671 Q193826 Q665525 Q672734 Q850917 Q48543 Q584353 Q613137 Q1044152 Q193826 Q1103241
(c(Q20667921),P47,Q48543) (c(Q20667921),P47,Q1099211) (c(Q20667921),P47,Q1099553)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
Those ones share a border with [ANSWER], [ANSWER] and [ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q48543'] [{'concept': 'Q20667921'}, 'P47', 'Q1099211'] [{'concept': 'Q20667921'}, 'P47', 'Q1099553']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . ?l property:P47 ?m . VALUES ( ?l ) { ( resource:Q1116258 ) ( resource:Q1099553 ) ( resource:Q779086 ) } }
Lambres-lez-Douai Waziers Dechy Douai Férin Lallaing Pecquencourt Marchiennes Sin-le-Noble Anhiers Dechy Douai Montigny-en-Ostrevent Flines-lez-Raches Brebières Sin-le-Noble Courchelettes Corbehem Cuincy Douai Férin
Those ones share a border with Douai, Douai and Douai
Douai Douai Douai
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', 'Sin-le-Noble'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Lallaing'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Lambres-lez-Douai']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . ?l property:shares_border_with ?m . VALUES ( ?l ) { ( resource:Anhiers ) ( resource:Lambres-lez-Douai ) ( resource:Lauwin-Planque ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5539565
P40
Q502895
USER
Who has George G. Weston as an offspring ?
(c(Q502895),P40,Q5539565)
action filter_type
action find_reverse
entity Q5539565
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q5539565']
SELECT DISTINCT ?n WHERE { ?n property:P40 resource:Q5539565 . ?n rdf:type ontology:Q502895 }
George G. Weston
action filter_type
action find_reverse
entity George G. Weston
relation child
type common name
[{'concept': 'common name'}, 'child', 'George G. Weston']
SELECT DISTINCT ?n WHERE { ?n property:child resource:George_G._Weston . ?n rdf:type ontology:common_name }
[]
common name
Q5524246
SYSTEM
Garry Weston
Q5524246
(c(Q502895),P40,Q5539565)
action filter_type
action find_reverse
entity Q5539565
relation P40
type Q502895
And [ANSWER] has George G. Weston as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q5539565']
SELECT DISTINCT ?n WHERE { ?n property:P40 resource:Q5539565 . ?n rdf:type ontology:Q502895 }
Garry Weston
And Garry Weston has George G. Weston as an offspring
Garry Weston
action filter_type
action find_reverse
entity George G. Weston
relation child
type common name
[{'concept': 'common name'}, 'child', 'George G. Weston']
SELECT DISTINCT ?n WHERE { ?n property:child resource:George_G._Weston . ?n rdf:type ontology:common_name }
[]