Simple Question (Direct)
Simple Question
Q977033
P54
Q1194951
USER
Which national sports team is David Coromina i Pararols a member of ?
(Q977033,P54,c(Q1194951))
action filter_type
action find
entity Q977033
relation P54
type Q1194951
['Q977033', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?x WHERE { resource:Q977033 property:P54 ?x . ?x rdf:type ontology:Q1194951 }
David Coromina i Pararols
action filter_type
action find
entity David Coromina i Pararols
relation member of sports team
type national sports team
['David Coromina i Pararols', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?x WHERE { resource:David_Coromina_i_Pararols property:member_of_sports_team ?x . ?x rdf:type ontology:national_sports_team }
[]
national sports team
Q17228
SYSTEM
Catalonia national football team
Q17228
(Q977033,P54,c(Q1194951))
action filter_type
action find
entity Q977033
relation P54
type Q1194951
The [ANSWER] is David Coromina i Pararols a member of
['Q977033', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?x WHERE { resource:Q977033 property:P54 ?x . ?x rdf:type ontology:Q1194951 }
Catalonia national football team
The Catalonia national football team is David Coromina i Pararols a member of
Catalonia national football team
action filter_type
action find
entity David Coromina i Pararols
relation member of sports team
type national sports team
['David Coromina i Pararols', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?x WHERE { resource:David_Coromina_i_Pararols property:member_of_sports_team ?x . ?x rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q977033
P21
Q290
USER
What is the sex of David Coromina i Pararols ?
(Q977033,P21,c(Q290))
action filter_type
action find
entity Q977033
relation P21
type Q290
['Q977033', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q977033 property:P21 ?j }
David Coromina i Pararols
action filter_type
action find
entity David Coromina i Pararols
relation gender
type sex
['David Coromina i Pararols', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:David_Coromina_i_Pararols property:gender ?j }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q977033,P21,c(Q290))
action filter_type
action find
entity Q977033
relation P21
type Q290
The sex of David Coromina i Pararols is the [ANSWER]
['Q977033', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q977033 property:P21 ?j }
male
The sex of David Coromina i Pararols is the male
male
action filter_type
action find
entity David Coromina i Pararols
relation gender
type sex
['David Coromina i Pararols', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:David_Coromina_i_Pararols property:gender ?j }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q977033
P27
Q15617994
USER
How many administrative territories are the native countriesof David Coromina i Pararols ?
(Q977033,P27,c(Q15617994))
action count
action filter_type
action find
entity Q977033
relation P27
type Q15617994
['Q977033', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Q977033 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
David Coromina i Pararols
action count
action filter_type
action find
entity David Coromina i Pararols
relation country of citizenship
type designation for an administrative territorial entity
['David Coromina i Pararols', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:David_Coromina_i_Pararols property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q977033,P27,c(Q15617994))
action count
action filter_type
action find
entity Q977033
relation P27
type Q15617994
[ANSWER]
['Q977033', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Q977033 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Spain
1
action count
action filter_type
action find
entity David Coromina i Pararols
relation country of citizenship
type designation for an administrative territorial entity
['David Coromina i Pararols', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:David_Coromina_i_Pararols property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7152915
Q15617994
USER
And also tell me about Paul Peress?
(Q7152915,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7152915
relation P27
type Q15617994
['Q7152915', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q7152915 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Paul Peress
action count
action filter_type
action find
entity Paul Peress
relation country of citizenship
type designation for an administrative territorial entity
['Paul Peress', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Paul_Peress property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q7152915,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7152915
relation P27
type Q15617994
[ANSWER]
['Q7152915', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q7152915 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Paul Peress
relation country of citizenship
type designation for an administrative territorial entity
['Paul Peress', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Paul_Peress property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17228
P115
Q1076486
USER
Where are the home field of Catalonia national football team ?
(Q17228,P115,c(Q1076486))
action filter_type
action find
entity Q17228
relation P115
type Q1076486
['Q17228', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1076486 . resource:Q17228 property:P115 ?d }
Catalonia national football team
action filter_type
action find
entity Catalonia national football team
relation home venue
type sports venue
['Catalonia national football team', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sports_venue . resource:Catalonia_national_football_team property:home_venue ?d }
[]
sports venue
Q159848 Q275715
SYSTEM
Camp Nou, Estadi Olímpic Lluís Companys
Q159848 Q275715
(Q17228,P115,c(Q1076486))
action filter_type
action find
entity Q17228
relation P115
type Q1076486
The home field of Catalonia national football team are Barcelona [ANSWERS]
['Q17228', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1076486 . resource:Q17228 property:P115 ?d }
Camp Nou Estadi Olímpic Lluís Companys
The home field of Catalonia national football team are Barcelona Camp Nou and Estadi Olímpic Lluís Companys
Camp Nou Estadi Olímpic Lluís Companys
action filter_type
action find
entity Catalonia national football team
relation home venue
type sports venue
['Catalonia national football team', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sports_venue . resource:Catalonia_national_football_team property:home_venue ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q576837
Q1076486
USER
And how about Montreal Alouettes?
(Q576837,P115,c(Q1076486))
action filter_type
action find
entity Q576837
relation P115
type Q1076486
['Q576837', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?e WHERE { resource:Q576837 property:P115 ?e . ?e rdf:type ontology:Q1076486 }
Montreal Alouettes
action filter_type
action find
entity Montreal Alouettes
relation home venue
type sports venue
['Montreal Alouettes', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?e WHERE { resource:Montreal_Alouettes property:home_venue ?e . ?e rdf:type ontology:sports_venue }
[]
sports venue
Q732147 Q285467
SYSTEM
Percival Molson Memorial Stadium, Olympic Stadium of Montreal
Q732147 Q285467
(Q576837,P115,c(Q1076486))
action filter_type
action find
entity Q576837
relation P115
type Q1076486
[ANSWERS]
['Q576837', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?e WHERE { resource:Q576837 property:P115 ?e . ?e rdf:type ontology:Q1076486 }
Percival Molson Memorial Stadium Olympic Stadium of Montreal
Percival Molson Memorial Stadium Olympic Stadium of Montreal
action filter_type
action find
entity Montreal Alouettes
relation home venue
type sports venue
['Montreal Alouettes', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?e WHERE { resource:Montreal_Alouettes property:home_venue ?e . ?e rdf:type ontology:sports_venue }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q464980 Q667276 Q502895
USER
How many people were displayed at around 2 exhibitions or art exhibitions ?
(c(Q502895),P608,c(Q464980)|c(Q667276))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q667276
value 2
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q667276'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { FILTER ( ?n = 2 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) ?p WHERE { VALUES ( ?u ) { ( ontology:Q464980 ) ( ontology:Q667276 ) } . ?i rdf:type ?u } GROUP BY ?p } }
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
value 2
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'art exhibition'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { FILTER ( ?n = 2 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) ?p WHERE { VALUES ( ?u ) { ( ontology:exhibition ) ( ontology:art_exhibition ) } . ?i rdf:type ?u } GROUP BY ?p } }
[]
exhibition art exhibition common name
SYSTEM
1
Q1964408
(c(Q502895),P608,c(Q464980)|c(Q667276))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q667276
value 2
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q667276'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { FILTER ( ?n = 2 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) ?p WHERE { VALUES ( ?u ) { ( ontology:Q464980 ) ( ontology:Q667276 ) } . ?i rdf:type ?u } GROUP BY ?p } }
Nan Hoover
1
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
value 2
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'art exhibition'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { FILTER ( ?n = 2 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) ?p WHERE { VALUES ( ?u ) { ( ontology:exhibition ) ( ontology:art_exhibition ) } . ?i rdf:type ?u } GROUP BY ?p } }
[]