Simple Question (Direct)
Simple Question
Q725115
P21
Q290
USER
Which sex does Maurice Le Glay belong to ?
(Q725115,P21,c(Q290))
action filter_type
action find
entity Q725115
relation P21
type Q290
['Q725115', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q725115 property:P21 ?q . ?q rdf:type ontology:Q290 }
Maurice Le Glay
action filter_type
action find
entity Maurice Le Glay
relation gender
type sex
['Maurice Le Glay', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Maurice_Le_Glay property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q725115,P21,c(Q290))
action filter_type
action find
entity Q725115
relation P21
type Q290
Maurice Le Glay belongs to [ANSWER]
['Q725115', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q725115 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
Maurice Le Glay belongs to male
male
action filter_type
action find
entity Maurice Le Glay
relation gender
type sex
['Maurice Le Glay', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Maurice_Le_Glay property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q725115
P607
Q198
USER
What was the war that Maurice Le Glay took part in
(Q725115,P607,c(Q198))
action filter_type
action find
entity Q725115
relation P607
type Q198
['Q725115', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q198 . resource:Q725115 property:P607 ?v }
Maurice Le Glay
action filter_type
action find
entity Maurice Le Glay
relation conflict
type war
['Maurice Le Glay', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:war . resource:Maurice_Le_Glay property:conflict ?v }
[]
war
Q361
SYSTEM
World War I
Q361
(Q725115,P607,c(Q198))
action filter_type
action find
entity Q725115
relation P607
type Q198
The war that Maurice Le Glay took part in was during [ANSWER]
['Q725115', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q198 . resource:Q725115 property:P607 ?v }
World War I
The war that Maurice Le Glay took part in was during World War I
World War I
action filter_type
action find
entity Maurice Le Glay
relation conflict
type war
['Maurice Le Glay', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:war . resource:Maurice_Le_Glay property:conflict ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q725115
P20
Q13220204
USER
Where did the demise of that person occur ?
(Q361,P20,c(Q13220204))
action filter_type
action find
entity Q725115
relation P20
type Q13220204
['Q361', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?x WHERE { resource:Q725115 property:P20 ?x . ?x rdf:type ontology:Q13220204 }
Maurice Le Glay
action filter_type
action find
entity Maurice Le Glay
relation place of death
type second-level administrative country subdivision
['World War I', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?x WHERE { resource:Maurice_Le_Glay property:place_of_death ?x . ?x rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q7903
SYSTEM
Casablanca
Q7903
(Q361,P20,c(Q13220204))
action filter_type
action find
entity Q725115
relation P20
type Q13220204
The demise of that person occurred in [ANSWER]
['Q361', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?x WHERE { resource:Q725115 property:P20 ?x . ?x rdf:type ontology:Q13220204 }
Casablanca
The demise of that person occurred in Casablanca
Casablanca
action filter_type
action find
entity Maurice Le Glay
relation place of death
type second-level administrative country subdivision
['World War I', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?x WHERE { resource:Maurice_Le_Glay property:place_of_death ?x . ?x rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q725115 Q13629454
P21
Q290
USER
How many sexes do Maurice Le Glay or Betsy Bobbin belong to ?
(Q725115,P21,c(Q290)) (Q13629454,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q725115
relation P21
type Q290
action filter_type
action find
entity Q13629454
relation P21
type Q290
['Q725115', 'P21', {'concept': 'Q290'}] ['Q13629454', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { resource:Q725115 property:P21 ?i . ?i rdf:type ontology:Q290 } UNION { resource:Q13629454 property:P21 ?i . ?i rdf:type ontology:Q290 } }
Maurice Le Glay Betsy Bobbin
action count
action union
action filter_type
action find
entity Maurice Le Glay
relation gender
type sex
action filter_type
action find
entity Betsy Bobbin
relation gender
type sex
['Maurice Le Glay', 'gender', {'concept': 'sex'}] ['Betsy Bobbin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { resource:Maurice_Le_Glay property:gender ?i . ?i rdf:type ontology:sex } UNION { resource:Betsy_Bobbin property:gender ?i . ?i rdf:type ontology:sex } }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q725115,P21,c(Q290)) (Q13629454,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q725115
relation P21
type Q290
action filter_type
action find
entity Q13629454
relation P21
type Q290
[ANSWER]
['Q725115', 'P21', {'concept': 'Q290'}] ['Q13629454', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { resource:Q725115 property:P21 ?i . ?i rdf:type ontology:Q290 } UNION { resource:Q13629454 property:P21 ?i . ?i rdf:type ontology:Q290 } }
male female
2
action count
action union
action filter_type
action find
entity Maurice Le Glay
relation gender
type sex
action filter_type
action find
entity Betsy Bobbin
relation gender
type sex
['Maurice Le Glay', 'gender', {'concept': 'sex'}] ['Betsy Bobbin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { resource:Maurice_Le_Glay property:gender ?i . ?i rdf:type ontology:sex } UNION { resource:Betsy_Bobbin property:gender ?i . ?i rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q725115
P19
Q56061
USER
Which administrative territory was Maurice Le Glay born in ?
(Q725115,P19,c(Q56061))
action filter_type
action find
entity Q725115
relation P19
type Q56061
['Q725115', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q725115 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Maurice Le Glay
action filter_type
action find
entity Maurice Le Glay
relation place of birth
type administrative territorial entity
['Maurice Le Glay', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Maurice_Le_Glay property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1479
SYSTEM
Bordeaux
Q1479
(Q725115,P19,c(Q56061))
action filter_type
action find
entity Q725115
relation P19
type Q56061
Maurice Le Glay was born in [ANSWER]
['Q725115', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q725115 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Bordeaux
Maurice Le Glay was born in Bordeaux
Bordeaux
action filter_type
action find
entity Maurice Le Glay
relation place of birth
type administrative territorial entity
['Maurice Le Glay', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Maurice_Le_Glay property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4684282
Q56061
USER
And how about Adolfo Suárez Illana?
(Q4684282,P19,c(Q56061))
action filter_type
action find
entity Q4684282
relation P19
type Q56061
['Q4684282', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q4684282 property:P19 ?c }
Adolfo Suárez Illana
action filter_type
action find
entity Adolfo Suárez Illana
relation place of birth
type administrative territorial entity
['Adolfo Suárez Illana', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Adolfo_Suárez_Illana property:place_of_birth ?c }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q4684282,P19,c(Q56061))
action filter_type
action find
entity Q4684282
relation P19
type Q56061
[ANSWER]
['Q4684282', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q4684282 property:P19 ?c }
Madrid
Madrid
action filter_type
action find
entity Adolfo Suárez Illana
relation place of birth
type administrative territorial entity
['Adolfo Suárez Illana', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Adolfo_Suárez_Illana property:place_of_birth ?c }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2807 Q649564 Q3306
P190
Q56061
USER
Is that administrative territory sister town of Cerovac Vukmanićki and Panama City ?
(Q2807,P190,Q649564) (Q2807,P190,Q3306)
action is_in
entity Q2807
action intersection
action find_reverse
entity Q649564
relation P190
action find_reverse
entity Q3306
relation P190
['Q2807', 'P190', 'Q649564'] ['Q2807', 'P190', 'Q3306']
ASK WHERE { resource:Q2807 property:P190 resource:Q649564 . resource:Q2807 property:P190 resource:Q3306 }
Madrid Cerovac Vukmanićki Panama City
action is_in
entity Madrid
action intersection
action find_reverse
entity Cerovac Vukmanićki
relation sister city
action find_reverse
entity Panama City
relation sister city
['Madrid', 'sister city', 'Cerovac Vukmanićki'] ['Madrid', 'sister city', 'Panama City']
ASK WHERE { resource:Madrid property:sister_city resource:Cerovac_Vukmanićki . resource:Madrid property:sister_city resource:Panama_City }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q2807,P190,Q649564) (Q2807,P190,Q3306)
action is_in
entity Q2807
action intersection
action find_reverse
entity Q649564
relation P190
action find_reverse
entity Q3306
relation P190
[ANSWER]
['Q2807', 'P190', 'Q649564'] ['Q2807', 'P190', 'Q3306']
ASK WHERE { resource:Q2807 property:P190 resource:Q649564 . resource:Q2807 property:P190 resource:Q3306 }
NO and YES respectively
action is_in
entity Madrid
action intersection
action find_reverse
entity Cerovac Vukmanićki
relation sister city
action find_reverse
entity Panama City
relation sister city
['Madrid', 'sister city', 'Cerovac Vukmanićki'] ['Madrid', 'sister city', 'Panama City']
ASK WHERE { resource:Madrid property:sister_city resource:Cerovac_Vukmanićki . resource:Madrid property:sister_city resource:Panama_City }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2807
P138
Q34442
USER
Which road has Madrid as its namesake ?
action filter_type
action find_reverse
entity Q2807
relation P138
type Q34442
SELECT DISTINCT ?j WHERE { ?j property:P138 resource:Q2807 . ?j rdf:type ontology:Q34442 }
Madrid
action filter_type
action find_reverse
entity Madrid
relation named after
type road
SELECT DISTINCT ?j WHERE { ?j property:named_after resource:Madrid . ?j rdf:type ontology:road }
[]
road
Q3450855
SYSTEM
rue de Madrid
Q3450855
action filter_type
action find_reverse
entity Q2807
relation P138
type Q34442
[ANSWER] has Madrid as its namesake
SELECT DISTINCT ?j WHERE { ?j property:P138 resource:Q2807 . ?j rdf:type ontology:Q34442 }
rue de Madrid
Rue de Madrid has Madrid as its namesake
rue de Madrid
action filter_type
action find_reverse
entity Madrid
relation named after
type road
SELECT DISTINCT ?j WHERE { ?j property:named_after resource:Madrid . ?j rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2807
P159
Q7210356
USER
Which political organizations have their head office location at Madrid ?
(c(Q7210356),P159,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q2807']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7210356 . ?j property:P159 resource:Q2807 }
Madrid
action filter_type
action find_reverse
entity Madrid
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Madrid']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_organization . ?j property:headquarters_location resource:Madrid }
[]
political organization
Q2629532 Q623740 Q2713131
SYSTEM
Carlist Tradicionalist Party, United Left, Republican Social Movement
Q2629532 Q3780794 Q1124888 Q9053006 Q2713131 Q3395022 Q1144342 Q6064354 Q623740 Q1249339 Q5923693 Q15980746 Q2982832 Q176727 Q3330661
(c(Q7210356),P159,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P159
type Q7210356
[ANSWERS] have their head office location at Madrid
[{'concept': 'Q7210356'}, 'P159', 'Q2807']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7210356 . ?j property:P159 resource:Q2807 }
Carlist Tradicionalist Party Authentic Falange Spanish Confederation of the Autonomous Right Organization of Communist Left Republican Social Movement Spanish Social Democratic Union Union, Progress and Democracy Spanish Democratic Socialist Party United Left Falange Española Tradicionalista y de las Juntas de Ofensiva Nacional Sindicalista Izquierda Abierta Communist Party of Spain (Marxist–Leninist) Collectives of Communist Youth Democratic Action Party Libertarian Party
Carlist Tradicionalist Party, United Left and Republican Social Movement have their head office location at Madrid
Carlist Tradicionalist Party United Left Republican Social Movement
action filter_type
action find_reverse
entity Madrid
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Madrid']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_organization . ?j property:headquarters_location resource:Madrid }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2629532 Q623740 Q2713131
P159
Q56061
USER
Which administrative territories are the headquarter locations of those political organizations ?
(Q2629532,P159,c(Q56061)) (Q623740,P159,c(Q56061)) (Q2713131,P159,c(Q56061))
action filter_type
action find
entity prev_answer
relation P159
type Q56061
['Q2629532', 'P159', {'concept': 'Q56061'}] ['Q623740', 'P159', {'concept': 'Q56061'}] ['Q2713131', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?k property:P159 ?t . ?t rdf:type ontology:Q56061 . VALUES ( ?k ) { ( resource:Q2629532 ) ( resource:Q3780794 ) ( resource:Q1124888 ) } }
Carlist Tradicionalist Party United Left Republican Social Movement
action filter_type
action find
entity prev_answer
relation headquarters location
type administrative territorial entity
['Carlist Tradicionalist Party', 'headquarters location', {'concept': 'administrative territorial entity'}] ['United Left', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Republican Social Movement', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?k property:headquarters_location ?t . ?t rdf:type ontology:administrative_territorial_entity . VALUES ( ?k ) { ( resource:Carlist_Tradicionalist_Party ) ( resource:Authentic_Falange ) ( resource:Spanish_Confederation_of_the_Autonomous_Right ) } }
[]
administrative territorial entity
Q2807 Q2807 Q2807
SYSTEM
Madrid
Q2807 Q2807 Q2807
(Q2629532,P159,c(Q56061)) (Q623740,P159,c(Q56061)) (Q2713131,P159,c(Q56061))
action filter_type
action find
entity prev_answer
relation P159
type Q56061
[ANSWER], [ANSWER] and [ANSWER] are the headquarter locations of those political organizations
['Q2629532', 'P159', {'concept': 'Q56061'}] ['Q623740', 'P159', {'concept': 'Q56061'}] ['Q2713131', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?k property:P159 ?t . ?t rdf:type ontology:Q56061 . VALUES ( ?k ) { ( resource:Q2629532 ) ( resource:Q3780794 ) ( resource:Q1124888 ) } }
Madrid Madrid Madrid
Madrid, Madrid and Madrid are the headquarter locations of those political organizations
Madrid Madrid Madrid
action filter_type
action find
entity prev_answer
relation headquarters location
type administrative territorial entity
['Carlist Tradicionalist Party', 'headquarters location', {'concept': 'administrative territorial entity'}] ['United Left', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Republican Social Movement', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?k property:headquarters_location ?t . ?t rdf:type ontology:administrative_territorial_entity . VALUES ( ?k ) { ( resource:Carlist_Tradicionalist_Party ) ( resource:Authentic_Falange ) ( resource:Spanish_Confederation_of_the_Autonomous_Right ) } }
[]