Simple Question (Direct)
Simple Question
Q389524
P1376
Q20667921
USER
Which french administrative division has Orchies has its first city ?
(Q389524,P1376,c(Q20667921))
action filter_type
action find
entity Q389524
relation P1376
type Q20667921
['Q389524', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q389524 property:P1376 ?s . ?s rdf:type ontology:Q20667921 }
Orchies
action filter_type
action find
entity Orchies
relation capital of
type type of french administrative division
['Orchies', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Orchies property:capital_of ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1726582
SYSTEM
canton of Orchies
Q1726582
(Q389524,P1376,c(Q20667921))
action filter_type
action find
entity Q389524
relation P1376
type Q20667921
The [ANSWER] has Orchies has its first city
['Q389524', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q389524 property:P1376 ?s . ?s rdf:type ontology:Q20667921 }
canton of Orchies
The canton of Orchies has Orchies has its first city
canton of Orchies
action filter_type
action find
entity Orchies
relation capital of
type type of french administrative division
['Orchies', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Orchies property:capital_of ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q389524
P17
Q15617994
USER
Which administrative territory is Orchies a part of ?
(Q389524,P17,c(Q15617994))
action filter_type
action find
entity Q389524
relation P17
type Q15617994
['Q389524', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q389524 property:P17 ?m }
Orchies
action filter_type
action find
entity Orchies
relation country
type designation for an administrative territorial entity
['Orchies', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Orchies property:country ?m }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q389524,P17,c(Q15617994))
action filter_type
action find
entity Q389524
relation P17
type Q15617994
[ANSWER] is Orchies a part of
['Q389524', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q389524 property:P17 ?m }
France
France is Orchies a part of
France
action filter_type
action find
entity Orchies
relation country
type designation for an administrative territorial entity
['Orchies', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Orchies property:country ?m }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1115989
Q15617994
USER
And what about Dommartin-Dampierre?
(Q1115989,P17,c(Q15617994))
action filter_type
action find
entity Q1115989
relation P17
type Q15617994
['Q1115989', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1115989 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Dommartin-Dampierre
action filter_type
action find
entity Dommartin-Dampierre
relation country
type designation for an administrative territorial entity
['Dommartin-Dampierre', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Dommartin-Dampierre property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1115989,P17,c(Q15617994))
action filter_type
action find
entity Q1115989
relation P17
type Q15617994
[ANSWER]
['Q1115989', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1115989 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
France
France
action filter_type
action find
entity Dommartin-Dampierre
relation country
type designation for an administrative territorial entity
['Dommartin-Dampierre', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Dommartin-Dampierre property:country ?g . ?g 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 Q835846 Q183
P530
Q1048835
USER
Does that administrative territory have diplomatic relations with Cubo de la Solana and Germany ?
(Q142,P530,Q835846) (Q142,P530,Q183)
action is_in
entity Q142
action intersection
action find_reverse
entity Q835846
relation P530
action find_reverse
entity Q183
relation P530
['Q142', 'P530', 'Q835846'] ['Q142', 'P530', 'Q183']
ASK WHERE { resource:Q142 property:P530 resource:Q835846 . resource:Q142 property:P530 resource:Q183 }
France Cubo de la Solana Germany
action is_in
entity France
action intersection
action find_reverse
entity Cubo de la Solana
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['France', 'diplomatic relation', 'Cubo de la Solana'] ['France', 'diplomatic relation', 'Germany']
ASK WHERE { resource:France property:diplomatic_relation resource:Cubo_de_la_Solana . resource:France property:diplomatic_relation resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q142,P530,Q835846) (Q142,P530,Q183)
action is_in
entity Q142
action intersection
action find_reverse
entity Q835846
relation P530
action find_reverse
entity Q183
relation P530
[ANSWER]
['Q142', 'P530', 'Q835846'] ['Q142', 'P530', 'Q183']
ASK WHERE { resource:Q142 property:P530 resource:Q835846 . resource:Q142 property:P530 resource:Q183 }
NO and YES respectively
action is_in
entity France
action intersection
action find_reverse
entity Cubo de la Solana
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['France', 'diplomatic relation', 'Cubo de la Solana'] ['France', 'diplomatic relation', 'Germany']
ASK WHERE { resource:France property:diplomatic_relation resource:Cubo_de_la_Solana . resource:France property:diplomatic_relation resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q389524 Q2727598
P166
Q618779
USER
Was Croix de guerre 1914–1918 awarded to Orchies ?
(Q389524,P166,Q2727598)
action is_in
entity Q2727598
action find
entity Q389524
relation P166
['Q389524', 'P166', 'Q2727598']
ASK WHERE { resource:Q389524 property:P166 resource:Q2727598 }
Orchies Croix de guerre 1914–1918
action is_in
entity Croix de guerre 1914–1918
action find
entity Orchies
relation award received
['Orchies', 'award received', 'Croix de guerre 1914–1918']
ASK WHERE { resource:Orchies property:award_received resource:Croix_de_guerre_1914–1918 }
[]
award
SYSTEM
YES
(Q389524,P166,Q2727598)
action is_in
entity Q2727598
action find
entity Q389524
relation P166
[ANSWER]
['Q389524', 'P166', 'Q2727598']
ASK WHERE { resource:Q389524 property:P166 resource:Q2727598 }
Yes
action is_in
entity Croix de guerre 1914–1918
action find
entity Orchies
relation award received
['Orchies', 'award received', 'Croix de guerre 1914–1918']
ASK WHERE { resource:Orchies property:award_received resource:Croix_de_guerre_1914–1918 }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q30971
P551
Q502895
USER
How many people reside at France and French Polynesia ?
(c(Q502895),P551,Q142) (c(Q502895),P551,Q30971)
action count
action intersection
action filter_type
action find_reverse
entity Q142
relation P551
type Q502895
action filter_type
action find_reverse
entity Q30971
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q142'] [{'concept': 'Q502895'}, 'P551', 'Q30971']
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P551 resource:Q142 . ?x rdf:type ontology:Q502895 . ?x property:P551 resource:Q30971 . ?x rdf:type ontology:Q502895 }
France French Polynesia
action count
action intersection
action filter_type
action find_reverse
entity France
relation residence
type common name
action filter_type
action find_reverse
entity French Polynesia
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'France'] [{'concept': 'common name'}, 'residence', 'French Polynesia']
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:residence resource:France . ?x rdf:type ontology:common_name . ?x property:residence resource:French_Polynesia . ?x rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q12888221 Q2907955
(c(Q502895),P551,Q142) (c(Q502895),P551,Q30971)
action count
action intersection
action filter_type
action find_reverse
entity Q142
relation P551
type Q502895
action filter_type
action find_reverse
entity Q30971
relation P551
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q142'] [{'concept': 'Q502895'}, 'P551', 'Q30971']
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P551 resource:Q142 . ?x rdf:type ontology:Q502895 . ?x property:P551 resource:Q30971 . ?x rdf:type ontology:Q502895 }
Bruno Saura Bobby Holcomb
2
action count
action intersection
action filter_type
action find_reverse
entity France
relation residence
type common name
action filter_type
action find_reverse
entity French Polynesia
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'France'] [{'concept': 'common name'}, 'residence', 'French Polynesia']
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:residence resource:France . ?x rdf:type ontology:common_name . ?x property:residence resource:French_Polynesia . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q389524
P20
Q502895
USER
Who died in Orchies ?
(c(Q502895),P20,Q389524)
action filter_type
action find_reverse
entity Q389524
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q389524']
SELECT DISTINCT ?c WHERE { ?c property:P20 resource:Q389524 . ?c rdf:type ontology:Q502895 }
Orchies
action filter_type
action find_reverse
entity Orchies
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Orchies']
SELECT DISTINCT ?c WHERE { ?c property:place_of_death resource:Orchies . ?c rdf:type ontology:common_name }
[]
common name
Q974817 Q15969140
SYSTEM
Attilio Bernasconi, Augustin Guilbert-Estevez
Q974817 Q15969140
(c(Q502895),P20,Q389524)
action filter_type
action find_reverse
entity Q389524
relation P20
type Q502895
[ANSWERS] died in Orchies
[{'concept': 'Q502895'}, 'P20', 'Q389524']
SELECT DISTINCT ?c WHERE { ?c property:P20 resource:Q389524 . ?c rdf:type ontology:Q502895 }
Attilio Bernasconi Augustin Guilbert-Estevez
Attilio Bernasconi and Augustin Guilbert-Estevez died in Orchies
Attilio Bernasconi Augustin Guilbert-Estevez
action filter_type
action find_reverse
entity Orchies
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Orchies']
SELECT DISTINCT ?c WHERE { ?c property:place_of_death resource:Orchies . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q389524
P1427
Q878123
USER
Which racings have start point at Orchies ?
(c(Q878123),P1427,Q389524)
action filter_type
action find_reverse
entity Q389524
relation P1427
type Q878123
[{'concept': 'Q878123'}, 'P1427', 'Q389524']
SELECT DISTINCT ?z WHERE { ?z property:P1427 resource:Q389524 . ?z rdf:type ontology:Q878123 }
Orchies
action filter_type
action find_reverse
entity Orchies
relation start point
type racing
[{'concept': 'racing'}, 'start point', 'Orchies']
SELECT DISTINCT ?z WHERE { ?z property:start_point resource:Orchies . ?z rdf:type ontology:racing }
[]
racing
Q2121115 Q20638171
SYSTEM
2012 Tour de France, Stage 3, 1982 Tour de France, Stage 5
Q2121115 Q20638171
(c(Q878123),P1427,Q389524)
action filter_type
action find_reverse
entity Q389524
relation P1427
type Q878123
[ANSWERS]
[{'concept': 'Q878123'}, 'P1427', 'Q389524']
SELECT DISTINCT ?z WHERE { ?z property:P1427 resource:Q389524 . ?z rdf:type ontology:Q878123 }
2012 Tour de France, Stage 3 1982 Tour de France, Stage 5
2012 Tour de France, Stage 3 and 1982 Tour de France, Stage 5 have start point at Orchies
2012 Tour de France, Stage 3 1982 Tour de France, Stage 5
action filter_type
action find_reverse
entity Orchies
relation start point
type racing
[{'concept': 'racing'}, 'start point', 'Orchies']
SELECT DISTINCT ?z WHERE { ?z property:start_point resource:Orchies . ?z rdf:type ontology:racing }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q389524
P47
Q20667921
USER
Which french administrative divisions are adjacent to that one ?
(Q2121115,P47,c(Q20667921)) (Q20638171,P47,c(Q20667921))
action filter_type
action find
entity Q389524
relation P47
type Q20667921
['Q2121115', 'P47', {'concept': 'Q20667921'}] ['Q20638171', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q20667921 . resource:Q389524 property:P47 ?o }
Orchies
action filter_type
action find
entity Orchies
relation shares border with
type type of french administrative division
['2012 Tour de France, Stage 3', 'shares border with', {'concept': 'type of french administrative division'}] ['1982 Tour de France, Stage 5', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:type_of_french_administrative_division . resource:Orchies property:shares_border_with ?o }
[]
type of french administrative division
Q752405 Q665414 Q1105899
SYSTEM
Nomain, Landas, Beuvry-la-Forêt
Q665414 Q1105899 Q1105875 Q752405 Q941432 Q1165132
(Q2121115,P47,c(Q20667921)) (Q20638171,P47,c(Q20667921))
action filter_type
action find
entity Q389524
relation P47
type Q20667921
[ANSWERS] are adjacent to that one
['Q2121115', 'P47', {'concept': 'Q20667921'}] ['Q20638171', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q20667921 . resource:Q389524 property:P47 ?o }
Landas Beuvry-la-Forêt Auchy-lez-Orchies Nomain Coutiches Bouvignies
Nomain, Landas and Beuvry-la-Forêt are adjacent to that one
Nomain Landas Beuvry-la-Forêt
action filter_type
action find
entity Orchies
relation shares border with
type type of french administrative division
['2012 Tour de France, Stage 3', 'shares border with', {'concept': 'type of french administrative division'}] ['1982 Tour de France, Stage 5', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:type_of_french_administrative_division . resource:Orchies property:shares_border_with ?o }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q389524
P19 P21
Q502895
USER
Which people have birthplace at Orchies and have the gender as male ?
AND((c(Q502895),P19,Q389524), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q389524
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q389524'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?s WHERE { ?s property:P21 resource:Q6581097 . ?s property:P19 resource:Q389524 . ?s rdf:type ontology:Q502895 }
male Orchies
action filter_type
action intersection
action find_reverse
entity Orchies
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Orchies'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?s WHERE { ?s property:gender resource:male . ?s property:place_of_birth resource:Orchies . ?s rdf:type ontology:common_name }
[]
common name
Q3069193 Q1103909
SYSTEM
Fernand Herbo, Clément Broutin
Q3069193 Q1103909
AND((c(Q502895),P19,Q389524), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q389524
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have birthplace at Orchies and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q389524'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?s WHERE { ?s property:P21 resource:Q6581097 . ?s property:P19 resource:Q389524 . ?s rdf:type ontology:Q502895 }
Fernand Herbo Clément Broutin
Fernand Herbo and Clément Broutin have birthplace at Orchies and have the gender as male
Fernand Herbo Clément Broutin
action filter_type
action intersection
action find_reverse
entity Orchies
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Orchies'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?s WHERE { ?s property:gender resource:male . ?s property:place_of_birth resource:Orchies . ?s rdf:type ontology:common_name }
[]