Simple Question (Direct)
Simple Question
Q455364
P1412
Q34770
USER
Which language can Roberto Cherro understand ?
(Q455364,P1412,c(Q34770))
action filter_type
action find
entity Q455364
relation P1412
type Q34770
['Q455364', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q455364 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Roberto Cherro
action filter_type
action find
entity Roberto Cherro
relation languages spoken, written or signed
type language
['Roberto Cherro', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Roberto_Cherro property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q455364,P1412,c(Q34770))
action filter_type
action find
entity Q455364
relation P1412
type Q34770
Roberto Cherro can understand [ANSWER]
['Q455364', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q455364 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Spanish
Roberto Cherro can understand Spanish
Spanish
action filter_type
action find
entity Roberto Cherro
relation languages spoken, written or signed
type language
['Roberto Cherro', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Roberto_Cherro property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q455364
P641
Q349
USER
What was the sport that Roberto Cherro was a part of ?
(Q455364,P641,c(Q349))
action filter_type
action find
entity Q455364
relation P641
type Q349
['Q455364', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q455364 property:P641 ?s }
Roberto Cherro
action filter_type
action find
entity Roberto Cherro
relation sport
type sport
['Roberto Cherro', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Roberto_Cherro property:sport ?s }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q455364,P641,c(Q349))
action filter_type
action find
entity Q455364
relation P641
type Q349
The sport that Roberto Cherro was a part of was the [ANSWER]
['Q455364', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q455364 property:P641 ?s }
association football
The sport that Roberto Cherro was a part of was the association football
association football
action filter_type
action find
entity Roberto Cherro
relation sport
type sport
['Roberto Cherro', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Roberto_Cherro property:sport ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q455364
P54
Q1194951
USER
Which national sports team is Roberto Cherro a member of ?
(Q455364,P54,c(Q1194951))
action filter_type
action find
entity Q455364
relation P54
type Q1194951
['Q455364', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?s WHERE { resource:Q455364 property:P54 ?s . ?s rdf:type ontology:Q1194951 }
Roberto Cherro
action filter_type
action find
entity Roberto Cherro
relation member of sports team
type national sports team
['Roberto Cherro', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?s WHERE { resource:Roberto_Cherro property:member_of_sports_team ?s . ?s rdf:type ontology:national_sports_team }
[]
national sports team
Q79800
SYSTEM
Argentina national football team
Q79800
(Q455364,P54,c(Q1194951))
action filter_type
action find
entity Q455364
relation P54
type Q1194951
The [ANSWER] is Roberto Cherro a member of
['Q455364', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?s WHERE { resource:Q455364 property:P54 ?s . ?s rdf:type ontology:Q1194951 }
Argentina national football team
The Argentina national football team is Roberto Cherro a member of
Argentina national football team
action filter_type
action find
entity Roberto Cherro
relation member of sports team
type national sports team
['Roberto Cherro', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?s WHERE { resource:Roberto_Cherro property:member_of_sports_team ?s . ?s rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q455364
P19
Q56061
USER
Which administrative territory was Roberto Cherro born in ?
(Q455364,P19,c(Q56061))
action filter_type
action find
entity Q455364
relation P19
type Q56061
['Q455364', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q455364 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Roberto Cherro
action filter_type
action find
entity Roberto Cherro
relation place of birth
type administrative territorial entity
['Roberto Cherro', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Roberto_Cherro property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q680964
SYSTEM
Barracas manda , Buenos Aires
Q680964
(Q455364,P19,c(Q56061))
action filter_type
action find
entity Q455364
relation P19
type Q56061
Roberto Cherro was born in [ANSWER]
['Q455364', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q455364 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Barracas manda , Buenos Aires
Roberto Cherro was born in Barracas manda , Buenos Aires
Barracas manda , Buenos Aires
action filter_type
action find
entity Roberto Cherro
relation place of birth
type administrative territorial entity
['Roberto Cherro', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Roberto_Cherro property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q125459
Q56061
USER
And what about Marlies Bänziger?
(Q125459,P19,c(Q56061))
action filter_type
action find
entity Q125459
relation P19
type Q56061
['Q125459', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q125459 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Marlies Bänziger
action filter_type
action find
entity Marlies Bänziger
relation place of birth
type administrative territorial entity
['Marlies Bänziger', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Marlies_Bänziger property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q9125
SYSTEM
Winterthur
Q9125
(Q125459,P19,c(Q56061))
action filter_type
action find
entity Q125459
relation P19
type Q56061
[ANSWER]
['Q125459', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q125459 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Winterthur
Winterthur
action filter_type
action find
entity Marlies Bänziger
relation place of birth
type administrative territorial entity
['Marlies Bänziger', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Marlies_Bänziger property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q125459 Q1991457
P19
Q56061
USER
How many administrative territories were Marlies Bänziger or Baussenque Wars born ?
(Q125459,P19,c(Q56061)) (Q1991457,P19,c(Q56061))
action count
action union
action filter_type
action find
entity Q125459
relation P19
type Q56061
action filter_type
action find
entity Q1991457
relation P19
type Q56061
['Q125459', 'P19', {'concept': 'Q56061'}] ['Q1991457', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?o property:P19 ?t . VALUES ( ?o ) { ( resource:Q125459 ) ( resource:Q1991457 ) } }
Marlies Bänziger Baussenque Wars
action count
action union
action filter_type
action find
entity Marlies Bänziger
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Baussenque Wars
relation place of birth
type administrative territorial entity
['Marlies Bänziger', 'place of birth', {'concept': 'administrative territorial entity'}] ['Baussenque Wars', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?o property:place_of_birth ?t . VALUES ( ?o ) { ( resource:Marlies_Bänziger ) ( resource:Baussenque_Wars ) } }
[]
administrative territorial entity
SYSTEM
2
Q7038 Q9125
(Q125459,P19,c(Q56061)) (Q1991457,P19,c(Q56061))
action count
action union
action filter_type
action find
entity Q125459
relation P19
type Q56061
action filter_type
action find
entity Q1991457
relation P19
type Q56061
[ANSWER]
['Q125459', 'P19', {'concept': 'Q56061'}] ['Q1991457', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?o property:P19 ?t . VALUES ( ?o ) { ( resource:Q125459 ) ( resource:Q1991457 ) } }
Girona Winterthur
2
action count
action union
action filter_type
action find
entity Marlies Bänziger
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Baussenque Wars
relation place of birth
type administrative territorial entity
['Marlies Bänziger', 'place of birth', {'concept': 'administrative territorial entity'}] ['Baussenque Wars', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?o property:place_of_birth ?t . VALUES ( ?o ) { ( resource:Marlies_Bänziger ) ( resource:Baussenque_Wars ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q9125
P740
Q163740 Q215380
USER
How many nonprofit organizations or bands originated at Winterthur ?
(c(Q163740),P740,Q9125) (c(Q215380),P740,Q9125)
action count
action union
action filter_type
action find_reverse
entity Q9125
relation P740
type Q163740
action filter_type
action find_reverse
entity Q9125
relation P740
type Q215380
[{'concept': 'Q163740'}, 'P740', 'Q9125'] [{'concept': 'Q215380'}, 'P740', 'Q9125']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { ?m property:P740 resource:Q9125 . ?m rdf:type ontology:Q163740 } UNION { ?m property:P740 resource:Q9125 . ?m rdf:type ontology:Q215380 } }
Winterthur
action count
action union
action filter_type
action find_reverse
entity Winterthur
relation location of formation
type nonprofit organization
action filter_type
action find_reverse
entity Winterthur
relation location of formation
type band
[{'concept': 'nonprofit organization'}, 'location of formation', 'Winterthur'] [{'concept': 'band'}, 'location of formation', 'Winterthur']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { ?m property:location_of_formation resource:Winterthur . ?m rdf:type ontology:nonprofit_organization } UNION { ?m property:location_of_formation resource:Winterthur . ?m rdf:type ontology:band } }
[]
nonprofit organization band
SYSTEM
2
Q75788 Q24575477
(c(Q163740),P740,Q9125) (c(Q215380),P740,Q9125)
action count
action union
action filter_type
action find_reverse
entity Q9125
relation P740
type Q163740
action filter_type
action find_reverse
entity Q9125
relation P740
type Q215380
[ANSWER]
[{'concept': 'Q163740'}, 'P740', 'Q9125'] [{'concept': 'Q215380'}, 'P740', 'Q9125']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { ?m property:P740 resource:Q9125 . ?m rdf:type ontology:Q163740 } UNION { ?m property:P740 resource:Q9125 . ?m rdf:type ontology:Q215380 } }
Eluveitie Herrenstuben society
2
action count
action union
action filter_type
action find_reverse
entity Winterthur
relation location of formation
type nonprofit organization
action filter_type
action find_reverse
entity Winterthur
relation location of formation
type band
[{'concept': 'nonprofit organization'}, 'location of formation', 'Winterthur'] [{'concept': 'band'}, 'location of formation', 'Winterthur']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { ?m property:location_of_formation resource:Winterthur . ?m rdf:type ontology:nonprofit_organization } UNION { ?m property:location_of_formation resource:Winterthur . ?m rdf:type ontology:band } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q470366
P161
Q838948
USER
Which work of art has Dragoslav Šekularac in its star cast ?
(c(Q838948),P161,Q470366)
action filter_type
action find_reverse
entity Q470366
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q470366']
SELECT DISTINCT ?b WHERE { ?b property:P161 resource:Q470366 . ?b rdf:type ontology:Q838948 }
Dragoslav Šekularac
action filter_type
action find_reverse
entity Dragoslav Šekularac
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Dragoslav Šekularac']
SELECT DISTINCT ?b WHERE { ?b property:cast_member resource:Dragoslav_Šekularac . ?b rdf:type ontology:work_of_art }
[]
work of art
Q3510504
SYSTEM
Šeki snima, pazi se
Q3510504
(c(Q838948),P161,Q470366)
action filter_type
action find_reverse
entity Q470366
relation P161
type Q838948
[ANSWER] has Dragoslav Šekularac in its star cast
[{'concept': 'Q838948'}, 'P161', 'Q470366']
SELECT DISTINCT ?b WHERE { ?b property:P161 resource:Q470366 . ?b rdf:type ontology:Q838948 }
Šeki snima, pazi se
Šeki snima, pazi se has Dragoslav Šekularac in its star cast
Šeki snima, pazi se
action filter_type
action find_reverse
entity Dragoslav Šekularac
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Dragoslav Šekularac']
SELECT DISTINCT ?b WHERE { ?b property:cast_member resource:Dragoslav_Šekularac . ?b rdf:type ontology:work_of_art }
[]