Simple Question (Direct)
Simple Question
Q180334
P39
Q12737077
USER
Which occupations were the positions for which Nathaniel B. Borden were appointed ?
(Q180334,P39,c(Q12737077))
action filter_type
action find
entity Q180334
relation P39
type Q12737077
['Q180334', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q180334 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Nathaniel B. Borden
action filter_type
action find
entity Nathaniel B. Borden
relation position held
type occupation
['Nathaniel B. Borden', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Nathaniel_B._Borden property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q13218630 Q17342542
SYSTEM
United States representative, Member of the Massachusetts House of Representatives
Q13218630 Q17342542
(Q180334,P39,c(Q12737077))
action filter_type
action find
entity Q180334
relation P39
type Q12737077
The [ANSWERS] were the positions for which Nathaniel B. Borden were appointed
['Q180334', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q180334 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
United States representative Member of the Massachusetts House of Representatives
The United States representative and Member of the Massachusetts House of Representatives were the positions for which Nathaniel B. Borden were appointed
United States representative Member of the Massachusetts House of Representatives
action filter_type
action find
entity Nathaniel B. Borden
relation position held
type occupation
['Nathaniel B. Borden', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Nathaniel_B._Borden property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q180334
P1412
Q34770
USER
Which language can Nathaniel B. Borden understand ?
(Q180334,P1412,c(Q34770))
action filter_type
action find
entity Q180334
relation P1412
type Q34770
['Q180334', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q180334 property:P1412 ?q }
Nathaniel B. Borden
action filter_type
action find
entity Nathaniel B. Borden
relation languages spoken, written or signed
type language
['Nathaniel B. Borden', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Nathaniel_B._Borden property:languages_spoken,_written_or_signed ?q }
[]
language
Q1860
SYSTEM
English
Q1860
(Q180334,P1412,c(Q34770))
action filter_type
action find
entity Q180334
relation P1412
type Q34770
Nathaniel B Borden can understand [ANSWER] .
['Q180334', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q180334 property:P1412 ?q }
English
Nathaniel B Borden can understand English .
English
action filter_type
action find
entity Nathaniel B. Borden
relation languages spoken, written or signed
type language
['Nathaniel B. Borden', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Nathaniel_B._Borden property:languages_spoken,_written_or_signed ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5674174
Q34770
USER
And what about Anabel Armario?
(Q5674174,P1412,c(Q34770))
action filter_type
action find
entity Q5674174
relation P1412
type Q34770
['Q5674174', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q5674174 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Anabel Armario
action filter_type
action find
entity Anabel Armario
relation languages spoken, written or signed
type language
['Anabel Armario', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Anabel_Armario property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5674174,P1412,c(Q34770))
action filter_type
action find
entity Q5674174
relation P1412
type Q34770
[ANSWER]
['Q5674174', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q5674174 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Spanish
Spanish
action filter_type
action find
entity Anabel Armario
relation languages spoken, written or signed
type language
['Anabel Armario', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Anabel_Armario property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5674174
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q1321,P19,c(Q56061))
action filter_type
action find
entity Q5674174
relation P19
type Q56061
['Q1321', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q5674174 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Anabel Armario
action filter_type
action find
entity Anabel Armario
relation place of birth
type administrative territorial entity
['Spanish', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Anabel_Armario property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q15682
SYSTEM
Cádiz
Q15682
(Q1321,P19,c(Q56061))
action filter_type
action find
entity Q5674174
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q1321', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q5674174 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Cádiz
Cádiz is the birthplace of that person
Cádiz
action filter_type
action find
entity Anabel Armario
relation place of birth
type administrative territorial entity
['Spanish', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Anabel_Armario property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4692310 Q99779
P19
Q56061
USER
How many administrative territories are the places of birth of Agha Bashir Ahmed or Karl Pouva ?
(Q4692310,P19,c(Q56061)) (Q99779,P19,c(Q56061))
action count
action union
action filter_type
action find
entity Q4692310
relation P19
type Q56061
action filter_type
action find
entity Q99779
relation P19
type Q56061
['Q4692310', 'P19', {'concept': 'Q56061'}] ['Q99779', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { resource:Q4692310 property:P19 ?p . ?p rdf:type ontology:Q56061 } UNION { resource:Q99779 property:P19 ?p . ?p rdf:type ontology:Q56061 } }
Agha Bashir Ahmed Karl Pouva
action count
action union
action filter_type
action find
entity Agha Bashir Ahmed
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Karl Pouva
relation place of birth
type administrative territorial entity
['Agha Bashir Ahmed', 'place of birth', {'concept': 'administrative territorial entity'}] ['Karl Pouva', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { resource:Agha_Bashir_Ahmed property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity } UNION { resource:Karl_Pouva property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q523778 Q6358
(Q4692310,P19,c(Q56061)) (Q99779,P19,c(Q56061))
action count
action union
action filter_type
action find
entity Q4692310
relation P19
type Q56061
action filter_type
action find
entity Q99779
relation P19
type Q56061
[ANSWER]
['Q4692310', 'P19', {'concept': 'Q56061'}] ['Q99779', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { resource:Q4692310 property:P19 ?p . ?p rdf:type ontology:Q56061 } UNION { resource:Q99779 property:P19 ?p . ?p rdf:type ontology:Q56061 } }
Sahiwal Deuben
2
action count
action union
action filter_type
action find
entity Agha Bashir Ahmed
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Karl Pouva
relation place of birth
type administrative territorial entity
['Agha Bashir Ahmed', 'place of birth', {'concept': 'administrative territorial entity'}] ['Karl Pouva', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { resource:Agha_Bashir_Ahmed property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity } UNION { resource:Karl_Pouva property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15682
P47
Q1048835
USER
Which political territory is next to the border of Cádiz ?
(c(Q1048835),P47,Q15682)
action filter_type
action find
entity Q15682
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q15682']
SELECT DISTINCT ?h WHERE { resource:Q15682 property:P47 ?h . ?h rdf:type ontology:Q1048835 }
Cádiz
action filter_type
action find
entity Cádiz
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Cádiz']
SELECT DISTINCT ?h WHERE { resource:Cádiz property:shares_border_with ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q741765
SYSTEM
San Fernando
Q741765
(c(Q1048835),P47,Q15682)
action filter_type
action find
entity Q15682
relation P47
type Q1048835
[ANSWER] is next to the border of Cádiz
[{'concept': 'Q1048835'}, 'P47', 'Q15682']
SELECT DISTINCT ?h WHERE { resource:Q15682 property:P47 ?h . ?h rdf:type ontology:Q1048835 }
San Fernando
San Fernando is next to the border of Cádiz
San Fernando
action filter_type
action find
entity Cádiz
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Cádiz']
SELECT DISTINCT ?h WHERE { resource:Cádiz property:shares_border_with ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q741765
P127
Q483110
USER
Which stadium is owned by that political territory ?
(c(Q483110),P127,Q741765)
action filter_type
action find_reverse
entity Q741765
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q741765']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q741765 . ?w rdf:type ontology:Q483110 }
San Fernando
action filter_type
action find_reverse
entity San Fernando
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'San Fernando']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:San_Fernando . ?w rdf:type ontology:stadium }
[]
stadium
Q3277113
SYSTEM
Estadio Bahía Sur
Q3277113
(c(Q483110),P127,Q741765)
action filter_type
action find_reverse
entity Q741765
relation P127
type Q483110
[ANSWER] is owned by that political territory
[{'concept': 'Q483110'}, 'P127', 'Q741765']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q741765 . ?w rdf:type ontology:Q483110 }
Estadio Bahía Sur
Estadio Bahía Sur is owned by that political territory
Estadio Bahía Sur
action filter_type
action find_reverse
entity San Fernando
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'San Fernando']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:San_Fernando . ?w rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q741765
P137
Q483110
USER
Which stadium was operated by that political territory ?
(c(Q483110),P137,Q3277113)
action filter_type
action find_reverse
entity Q741765
relation P137
type Q483110
[{'concept': 'Q483110'}, 'P137', 'Q3277113']
SELECT DISTINCT ?n WHERE { ?n property:P137 resource:Q741765 . ?n rdf:type ontology:Q483110 }
San Fernando
action filter_type
action find_reverse
entity San Fernando
relation operator
type stadium
[{'concept': 'stadium'}, 'operator', 'Estadio Bahía Sur']
SELECT DISTINCT ?n WHERE { ?n property:operator resource:San_Fernando . ?n rdf:type ontology:stadium }
[]
stadium
Q3277113
SYSTEM
Estadio Bahía Sur
Q3277113
(c(Q483110),P137,Q3277113)
action filter_type
action find_reverse
entity Q741765
relation P137
type Q483110
[ANSWER] was operated by that political territory
[{'concept': 'Q483110'}, 'P137', 'Q3277113']
SELECT DISTINCT ?n WHERE { ?n property:P137 resource:Q741765 . ?n rdf:type ontology:Q483110 }
Estadio Bahía Sur
Estadio Bahía Sur was operated by that political territory
Estadio Bahía Sur
action filter_type
action find_reverse
entity San Fernando
relation operator
type stadium
[{'concept': 'stadium'}, 'operator', 'Estadio Bahía Sur']
SELECT DISTINCT ?n WHERE { ?n property:operator resource:San_Fernando . ?n rdf:type ontology:stadium }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q741765
P276
Q132241
USER
Which festival is located at San Fernando ?
(c(Q132241),P276,Q741765)
action filter_type
action find_reverse
entity Q741765
relation P276
type Q132241
[{'concept': 'Q132241'}, 'P276', 'Q741765']
SELECT DISTINCT ?r WHERE { ?r property:P276 resource:Q741765 . ?r rdf:type ontology:Q132241 }
San Fernando
action filter_type
action find_reverse
entity San Fernando
relation location
type festival
[{'concept': 'festival'}, 'location', 'San Fernando']
SELECT DISTINCT ?r WHERE { ?r property:location resource:San_Fernando . ?r rdf:type ontology:festival }
[]
festival
Q6124586
SYSTEM
Holy Week in San Fernando, Spain
Q6124586
(c(Q132241),P276,Q741765)
action filter_type
action find_reverse
entity Q741765
relation P276
type Q132241
[ANSWER] is located at San Fernando
[{'concept': 'Q132241'}, 'P276', 'Q741765']
SELECT DISTINCT ?r WHERE { ?r property:P276 resource:Q741765 . ?r rdf:type ontology:Q132241 }
Holy Week in San Fernando, Spain
Holy Week in San Fernando, Spain is located at San Fernando
Holy Week in San Fernando, Spain
action filter_type
action find_reverse
entity San Fernando
relation location
type festival
[{'concept': 'festival'}, 'location', 'San Fernando']
SELECT DISTINCT ?r WHERE { ?r property:location resource:San_Fernando . ?r rdf:type ontology:festival }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q741765
P1444
Q878123
USER
Which racing ends its journey at San Fernando ?
(c(Q878123),P1444,Q741765)
action filter_type
action find_reverse
entity Q741765
relation P1444
type Q878123
[{'concept': 'Q878123'}, 'P1444', 'Q741765']
SELECT DISTINCT ?o WHERE { ?o property:P1444 resource:Q741765 . ?o rdf:type ontology:Q878123 }
San Fernando
action filter_type
action find_reverse
entity San Fernando
relation destination point
type racing
[{'concept': 'racing'}, 'destination point', 'San Fernando']
SELECT DISTINCT ?o WHERE { ?o property:destination_point resource:San_Fernando . ?o rdf:type ontology:racing }
[]
racing
Q17616437
SYSTEM
2014 Vuelta a España, Stage 2
Q17616437
(c(Q878123),P1444,Q741765)
action filter_type
action find_reverse
entity Q741765
relation P1444
type Q878123
The [ANSWER] ends its journey at San Fernando
[{'concept': 'Q878123'}, 'P1444', 'Q741765']
SELECT DISTINCT ?o WHERE { ?o property:P1444 resource:Q741765 . ?o rdf:type ontology:Q878123 }
2014 Vuelta a España, Stage 2
The 2014 Vuelta a España, Stage 2 ends its journey at San Fernando
2014 Vuelta a España, Stage 2
action filter_type
action find_reverse
entity San Fernando
relation destination point
type racing
[{'concept': 'racing'}, 'destination point', 'San Fernando']
SELECT DISTINCT ?o WHERE { ?o property:destination_point resource:San_Fernando . ?o rdf:type ontology:racing }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q741765
P138
Q502895
USER
Which person is San Fernando named after ?
(Q741765,P138,c(Q502895))
action filter_type
action find
entity Q741765
relation P138
type Q502895
['Q741765', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q741765 property:P138 ?q . ?q rdf:type ontology:Q502895 }
San Fernando
action filter_type
action find
entity San Fernando
relation named after
type common name
['San Fernando', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:San_Fernando property:named_after ?q . ?q rdf:type ontology:common_name }
[]
common name
Q243122
SYSTEM
Ferdinand III of Castile
Q243122
(Q741765,P138,c(Q502895))
action filter_type
action find
entity Q741765
relation P138
type Q502895
San Fernando is named for [ANSWER]
['Q741765', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q741765 property:P138 ?q . ?q rdf:type ontology:Q502895 }
Ferdinand III of Castile
San Fernando is named for Ferdinand III of Castile
Ferdinand III of Castile
action filter_type
action find
entity San Fernando
relation named after
type common name
['San Fernando', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:San_Fernando property:named_after ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q741765
P6
Q502895
USER
Which person has San Fernando as its head of government ?
(Q741765,P6,c(Q502895))
action filter_type
action find
entity Q741765
relation P6
type Q502895
['Q741765', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q741765 property:P6 ?c . ?c rdf:type ontology:Q502895 }
San Fernando
action filter_type
action find
entity San Fernando
relation head of government
type common name
['San Fernando', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:San_Fernando property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
Q5941047
SYSTEM
José Loaiza
Q5941047
(Q741765,P6,c(Q502895))
action filter_type
action find
entity Q741765
relation P6
type Q502895
[ANSWER] has San Fernando as its head of government
['Q741765', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q741765 property:P6 ?c . ?c rdf:type ontology:Q502895 }
José Loaiza
José Loaiza has San Fernando as its head of government
José Loaiza
action filter_type
action find
entity San Fernando
relation head of government
type common name
['San Fernando', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:San_Fernando property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]