Simple Question (Direct)
Simple Question
Q3144560
P1412
Q34770
USER
Which language does Hector Luis Bustamante speak in ?
(Q3144560,P1412,c(Q34770))
action filter_type
action find
entity Q3144560
relation P1412
type Q34770
['Q3144560', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q3144560 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Hector Luis Bustamante
action filter_type
action find
entity Hector Luis Bustamante
relation languages spoken, written or signed
type language
['Hector Luis Bustamante', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Hector_Luis_Bustamante property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q3144560,P1412,c(Q34770))
action filter_type
action find
entity Q3144560
relation P1412
type Q34770
Hector Luis Bustamante speaks in [ANSWER]
['Q3144560', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q3144560 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Spanish
Hector Luis Bustamante speaks in Spanish
Spanish
action filter_type
action find
entity Hector Luis Bustamante
relation languages spoken, written or signed
type language
['Hector Luis Bustamante', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Hector_Luis_Bustamante property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3144560
P161
Q838948
USER
Which work of art has Hector Luis Bustamante as actor ?
(c(Q838948),P161,Q3144560)
action filter_type
action find_reverse
entity Q3144560
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3144560']
SELECT DISTINCT ?d WHERE { ?d property:P161 resource:Q3144560 . ?d rdf:type ontology:Q838948 }
Hector Luis Bustamante
action filter_type
action find_reverse
entity Hector Luis Bustamante
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Hector Luis Bustamante']
SELECT DISTINCT ?d WHERE { ?d property:cast_member resource:Hector_Luis_Bustamante . ?d rdf:type ontology:work_of_art }
[]
work of art
Q328320
SYSTEM
Hostage
Q328320
(c(Q838948),P161,Q3144560)
action filter_type
action find_reverse
entity Q3144560
relation P161
type Q838948
[ANSWER] has Hector Luis Bustamante as actor
[{'concept': 'Q838948'}, 'P161', 'Q3144560']
SELECT DISTINCT ?d WHERE { ?d property:P161 resource:Q3144560 . ?d rdf:type ontology:Q838948 }
Hostage
Hostage has Hector Luis Bustamante as actor
Hostage
action filter_type
action find_reverse
entity Hector Luis Bustamante
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Hector Luis Bustamante']
SELECT DISTINCT ?d WHERE { ?d property:cast_member resource:Hector_Luis_Bustamante . ?d rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q328320
P495
Q1048835
USER
Which political territory is the country of origin of that work of art ?
(Q328320,P495,c(Q1048835))
action filter_type
action find
entity Q328320
relation P495
type Q1048835
['Q328320', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q328320 property:P495 ?x . ?x rdf:type ontology:Q1048835 }
Hostage
action filter_type
action find
entity Hostage
relation country of origin
type political territorial entity
['Hostage', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Hostage property:country_of_origin ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q328320,P495,c(Q1048835))
action filter_type
action find
entity Q328320
relation P495
type Q1048835
[ANSWER] is the country of origin of that work of art
['Q328320', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q328320 property:P495 ?x . ?x rdf:type ontology:Q1048835 }
Germany
Germany is the country of origin of that work of art
Germany
action filter_type
action find
entity Hostage
relation country of origin
type political territorial entity
['Hostage', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Hostage property:country_of_origin ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3144560
P19
Q13220204
USER
Which administrative country subdivision was Hector Luis Bustamante born in ?
(Q3144560,P19,c(Q13220204))
action filter_type
action find
entity Q3144560
relation P19
type Q13220204
['Q3144560', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?v WHERE { resource:Q3144560 property:P19 ?v . ?v rdf:type ontology:Q13220204 }
Hector Luis Bustamante
action filter_type
action find
entity Hector Luis Bustamante
relation place of birth
type second-level administrative country subdivision
['Hector Luis Bustamante', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { resource:Hector_Luis_Bustamante property:place_of_birth ?v . ?v rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q48278
SYSTEM
Antioquia - Medellín
Q48278
(Q3144560,P19,c(Q13220204))
action filter_type
action find
entity Q3144560
relation P19
type Q13220204
Which administrative country subdivision was Hector Luis Bustamante born in
['Q3144560', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?v WHERE { resource:Q3144560 property:P19 ?v . ?v rdf:type ontology:Q13220204 }
Antioquia - Medellín
Which administrative country subdivision was Hector Luis Bustamante born in
Antioquia - Medellín
action filter_type
action find
entity Hector Luis Bustamante
relation place of birth
type second-level administrative country subdivision
['Hector Luis Bustamante', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { resource:Hector_Luis_Bustamante property:place_of_birth ?v . ?v rdf:type ontology:second-level_administrative_country_subdivision }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1486 Q48278
P190
Q56061
USER
Which administrative territories are sister towns of Antioquia - Medellín and Buenos Aires ?
AND((Q48278,P190,c(Q56061)), (Q1486,P190,c(Q56061)))
action filter_type
action intersection
action find
entity Q48278
relation P190
action find
entity Q1486
relation P190
type Q56061
{'AND': [['Q48278', 'P190', {'concept': 'Q56061'}], ['Q1486', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { resource:Q1486 property:P190 ?g . resource:Q48278 property:P190 ?g . ?g rdf:type ontology:Q56061 }
Buenos Aires Antioquia - Medellín
action filter_type
action intersection
action find
entity Antioquia - Medellín
relation sister city
action find
entity Buenos Aires
relation sister city
type administrative territorial entity
{'AND': [['Antioquia - Medellín', 'sister city', {'concept': 'administrative territorial entity'}], ['Buenos Aires', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Buenos_Aires property:sister_city ?g . resource:Antioquia_-_Medellín property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490 Q1492 Q8692
SYSTEM
Milan, Barcelona, Bilbao
Q490 Q1492 Q8692
AND((Q48278,P190,c(Q56061)), (Q1486,P190,c(Q56061)))
action filter_type
action intersection
action find
entity Q48278
relation P190
action find
entity Q1486
relation P190
type Q56061
[ANSWERS] are sister towns of Antioquia - Medellín and Buenos Aires
{'AND': [['Q48278', 'P190', {'concept': 'Q56061'}], ['Q1486', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { resource:Q1486 property:P190 ?g . resource:Q48278 property:P190 ?g . ?g rdf:type ontology:Q56061 }
Milan Barcelona Bilbao
Milan, Barcelona and Bilbao are sister towns of Antioquia - Medellín and Buenos Aires
Milan Barcelona Bilbao
action filter_type
action intersection
action find
entity Antioquia - Medellín
relation sister city
action find
entity Buenos Aires
relation sister city
type administrative territorial entity
{'AND': [['Antioquia - Medellín', 'sister city', {'concept': 'administrative territorial entity'}], ['Buenos Aires', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Buenos_Aires property:sister_city ?g . resource:Antioquia_-_Medellín property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have approximately 2 administrative territories as their base harbour ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?f = 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?f ) WHERE { ?c rdf:type ontology:Q2235308 . ?p rdf:type ontology:Q56061 . ?c property:P532 ?p } GROUP BY ?c } }
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?f = 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?f ) WHERE { ?c rdf:type ontology:ship_type . ?p rdf:type ontology:administrative_territorial_entity . ?c property:port_of_registry ?p } GROUP BY ?c } }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q33209
SYSTEM
MS Azura, SS Maxim Gorkiy, Mary Celeste
Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWERS] have approximately 2 administrative territories as their base harbour
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?f = 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?f ) WHERE { ?c rdf:type ontology:Q2235308 . ?p rdf:type ontology:Q56061 . ?c property:P532 ?p } GROUP BY ?c } }
Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
MS Azura, SS Maxim Gorkiy and Mary Celeste have approximately 2 administrative territories as their base harbour
MS Azura SS Maxim Gorkiy Mary Celeste
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?f = 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?f ) WHERE { ?c rdf:type ontology:ship_type . ?p rdf:type ontology:administrative_territorial_entity . ?c property:port_of_registry ?p } GROUP BY ?c } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24452352 Q2596850
P137
Q43229
USER
Which organizations operate MS Azura or Godelheim station ?
OR((Q2596850,P137,c(Q43229)), (Q24452352,P137,c(Q43229)))
action filter_type
action union
action find
entity Q2596850
relation P137
action find
entity Q24452352
relation P137
type Q43229
{'OR': [['Q2596850', 'P137', {'concept': 'Q43229'}], ['Q24452352', 'P137', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?k WHERE { { ?u property:P137 ?k . VALUES ( ?u ) { ( resource:Q2596850 ) ( resource:Q24452352 ) } } . ?k rdf:type ontology:Q43229 }
Godelheim station MS Azura
action filter_type
action union
action find
entity MS Azura
relation operator
action find
entity Godelheim station
relation operator
type organization
{'OR': [['MS Azura', 'operator', {'concept': 'organization'}], ['Godelheim station', 'operator', {'concept': 'organization'}]]}
SELECT DISTINCT ?k WHERE { { ?u property:operator ?k . VALUES ( ?u ) { ( resource:MS_Azura ) ( resource:Godelheim_station ) } } . ?k rdf:type ontology:organization }
[]
organization
Q314293 Q1759468
SYSTEM
NordWestBahn, P&O Cruises
Q314293 Q1759468
OR((Q2596850,P137,c(Q43229)), (Q24452352,P137,c(Q43229)))
action filter_type
action union
action find
entity Q2596850
relation P137
action find
entity Q24452352
relation P137
type Q43229
[ANSWERS] operate MS Azura or Godelheim station
{'OR': [['Q2596850', 'P137', {'concept': 'Q43229'}], ['Q24452352', 'P137', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?k WHERE { { ?u property:P137 ?k . VALUES ( ?u ) { ( resource:Q2596850 ) ( resource:Q24452352 ) } } . ?k rdf:type ontology:Q43229 }
NordWestBahn P&O Cruises
NordWestBahn and P&O Cruises operate MS Azura or Godelheim station
NordWestBahn P&O Cruises
action filter_type
action union
action find
entity MS Azura
relation operator
action find
entity Godelheim station
relation operator
type organization
{'OR': [['MS Azura', 'operator', {'concept': 'organization'}], ['Godelheim station', 'operator', {'concept': 'organization'}]]}
SELECT DISTINCT ?k WHERE { { ?u property:operator ?k . VALUES ( ?u ) { ( resource:MS_Azura ) ( resource:Godelheim_station ) } } . ?k rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q172579
P36
Q56061
USER
Which administrative territories are the capitals of Kingdom of Italy ?
(Q172579,P36,c(Q56061))
action filter_type
action find
entity Q172579
relation P36
type Q56061
['Q172579', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q172579 property:P36 ?y . ?y rdf:type ontology:Q56061 }
Kingdom of Italy
action filter_type
action find
entity Kingdom of Italy
relation capital
type administrative territorial entity
['Kingdom of Italy', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Kingdom_of_Italy property:capital ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q495 Q2044 Q220
SYSTEM
Turin, Florence, Rome
Q495 Q2044 Q220
(Q172579,P36,c(Q56061))
action filter_type
action find
entity Q172579
relation P36
type Q56061
[ANSWERS] are the capitals of Kingdom of Italy
['Q172579', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q172579 property:P36 ?y . ?y rdf:type ontology:Q56061 }
Turin Florence Rome
Turin, Florence and Rome are the capitals of Kingdom of Italy
Turin Florence Rome
action filter_type
action find
entity Kingdom of Italy
relation capital
type administrative territorial entity
['Kingdom of Italy', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Kingdom_of_Italy property:capital ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q655793
Q56061
USER
And also tell me about Navashinsky District?
(Q655793,P36,c(Q56061))
action filter_type
action find
entity Q655793
relation P36
type Q56061
['Q655793', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q655793 property:P36 ?a . ?a rdf:type ontology:Q56061 }
Navashinsky District
action filter_type
action find
entity Navashinsky District
relation capital
type administrative territorial entity
['Navashinsky District', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Navashinsky_District property:capital ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q163845
SYSTEM
Navashino
Q163845
(Q655793,P36,c(Q56061))
action filter_type
action find
entity Q655793
relation P36
type Q56061
[ANSWER]
['Q655793', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q655793 property:P36 ?a . ?a rdf:type ontology:Q56061 }
Navashino
Navashino
action filter_type
action find
entity Navashinsky District
relation capital
type administrative territorial entity
['Navashinsky District', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Navashinsky_District property:capital ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q220
P1376
Q451967 Q15617994
USER
How many human actions or administrative territories have Rome have their center of administration ?
(Q220,P1376,c(Q451967)) (Q220,P1376,c(Q15617994))
action count
action union
action filter_type
action find
entity Q220
relation P1376
type Q451967
action filter_type
action find
entity Q220
relation P1376
type Q15617994
['Q220', 'P1376', {'concept': 'Q451967'}] ['Q220', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { VALUES ( ?u ) { ( ontology:Q451967 ) ( ontology:Q15617994 ) } . ?d rdf:type ?u }
Rome
action count
action union
action filter_type
action find
entity Rome
relation capital of
type human action
action filter_type
action find
entity Rome
relation capital of
type designation for an administrative territorial entity
['Rome', 'capital of', {'concept': 'human action'}] ['Rome', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { VALUES ( ?u ) { ( ontology:human_action ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?d rdf:type ?u }
[]
human action designation for an administrative territorial entity
SYSTEM
5
Q17167 Q38 Q1558632 Q1282 Q3528124
(Q220,P1376,c(Q451967)) (Q220,P1376,c(Q15617994))
action count
action union
action filter_type
action find
entity Q220
relation P1376
type Q451967
action filter_type
action find
entity Q220
relation P1376
type Q15617994
[ANSWER]
['Q220', 'P1376', {'concept': 'Q451967'}] ['Q220', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { VALUES ( ?u ) { ( ontology:Q451967 ) ( ontology:Q15617994 ) } . ?d rdf:type ?u }
Roman Republic Italy Rome Lazio Tibre
5
action count
action union
action filter_type
action find
entity Rome
relation capital of
type human action
action filter_type
action find
entity Rome
relation capital of
type designation for an administrative territorial entity
['Rome', 'capital of', {'concept': 'human action'}] ['Rome', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { VALUES ( ?u ) { ( ontology:human_action ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?d rdf:type ?u }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q159 Q655793
P1376 P17
Q56061
USER
Which administrative territories are center of administration for Navashinsky District and are located in Russia ?
AND((c(Q56061),P1376,Q655793), (c(Q56061),P17,Q159))
action filter_type
action intersection
action find_reverse
entity Q655793
relation P1376
action find_reverse
entity Q159
relation P17
type Q56061
{'AND': [[{'concept': 'Q56061'}, 'P1376', 'Q655793'], [{'concept': 'Q56061'}, 'P17', 'Q159']]}
SELECT DISTINCT ?m WHERE { ?m property:P1376 resource:Q655793 . ?m property:P17 resource:Q159 . ?m rdf:type ontology:Q56061 }
Russia Navashinsky District
action filter_type
action intersection
action find_reverse
entity Navashinsky District
relation capital of
action find_reverse
entity Russia
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'capital of', 'Navashinsky District'], [{'concept': 'administrative territorial entity'}, 'country', 'Russia']]}
SELECT DISTINCT ?m WHERE { ?m property:capital_of resource:Navashinsky_District . ?m property:country resource:Russia . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q163845
SYSTEM
Navashino
Q163845
AND((c(Q56061),P1376,Q655793), (c(Q56061),P17,Q159))
action filter_type
action intersection
action find_reverse
entity Q655793
relation P1376
action find_reverse
entity Q159
relation P17
type Q56061
[ANSWER] is center of administration for Navashinsky District and is located in Russia
{'AND': [[{'concept': 'Q56061'}, 'P1376', 'Q655793'], [{'concept': 'Q56061'}, 'P17', 'Q159']]}
SELECT DISTINCT ?m WHERE { ?m property:P1376 resource:Q655793 . ?m property:P17 resource:Q159 . ?m rdf:type ontology:Q56061 }
Navashino
Navashino is center of administration for Navashinsky District and is located in Russia
Navashino
action filter_type
action intersection
action find_reverse
entity Navashinsky District
relation capital of
action find_reverse
entity Russia
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'capital of', 'Navashinsky District'], [{'concept': 'administrative territorial entity'}, 'country', 'Russia']]}
SELECT DISTINCT ?m WHERE { ?m property:capital_of resource:Navashinsky_District . ?m property:country resource:Russia . ?m rdf:type ontology:administrative_territorial_entity }
[]