Simple Question (Direct)
Simple Question
Q9697093
P27
Q15617994
USER
Which administrative territory does Carlos Gibowski belong to ?
(Q9697093,P27,c(Q15617994))
action filter_type
action find
entity Q9697093
relation P27
type Q15617994
['Q9697093', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q9697093 property:P27 ?k }
Carlos Gibowski
action filter_type
action find
entity Carlos Gibowski
relation country of citizenship
type designation for an administrative territorial entity
['Carlos Gibowski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Carlos_Gibowski property:country_of_citizenship ?k }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q9697093,P27,c(Q15617994))
action filter_type
action find
entity Q9697093
relation P27
type Q15617994
Carlos Gibowski belongs to [ANSWER]
['Q9697093', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q9697093 property:P27 ?k }
Brazil
Carlos Gibowski belongs to Brazil
Brazil
action filter_type
action find
entity Carlos Gibowski
relation country of citizenship
type designation for an administrative territorial entity
['Carlos Gibowski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Carlos_Gibowski property:country_of_citizenship ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q155
P463
Q43229
USER
Which organizations were that administrative territory a member of ?
(Q155,P463,c(Q43229))
action filter_type
action find
entity Q155
relation P463
type Q43229
['Q155', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q155 property:P463 ?f . ?f rdf:type ontology:Q43229 }
Brazil
action filter_type
action find
entity Brazil
relation member of
type organization
['Brazil', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Brazil property:member_of ?f . ?f rdf:type ontology:organization }
[]
organization
Q151991 Q7825 Q191384
SYSTEM
European Southern Observatory, World Trade Organization, International Bank for Reconstruction and Development
Q340195 Q191384 Q123759 Q1045401 Q182500 Q656801 Q151991 Q123209 Q7825 Q243630 Q827525
(Q155,P463,c(Q43229))
action filter_type
action find
entity Q155
relation P463
type Q43229
[ANSWERS] were that administrative territory a member of
['Q155', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q155 property:P463 ?f . ?f rdf:type ontology:Q43229 }
African Development Bank International Bank for Reconstruction and Development Organization of American States Community of Latin American and Caribbean States Community of Portuguese Language Countries International Finance Corporation European Southern Observatory Latin Union World Trade Organization BRICS International Development Association
European Southern Observatory, World Trade Organization and International Bank for Reconstruction and Development were that administrative territory a member of
European Southern Observatory World Trade Organization International Bank for Reconstruction and Development
action filter_type
action find
entity Brazil
relation member of
type organization
['Brazil', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Brazil property:member_of ?f . ?f rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P35
Q502895
USER
Who are the heads of state of Brazil ?
(Q155,P35,c(Q502895))
action filter_type
action find
entity Q155
relation P35
type Q502895
['Q155', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q155 property:P35 ?g . ?g rdf:type ontology:Q502895 }
Brazil
action filter_type
action find
entity Brazil
relation head of state
type common name
['Brazil', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Brazil property:head_of_state ?g . ?g rdf:type ontology:common_name }
[]
common name
Q37181 Q230578 Q40722
SYSTEM
Luiz Inácio Lula da Silva, Fernando Henrique Cardoso, Dilma Rousseff
Q37181 Q230578 Q463533 Q485946 Q236503 Q40722
(Q155,P35,c(Q502895))
action filter_type
action find
entity Q155
relation P35
type Q502895
The heads of state of Brazil are the [ANSWERS]
['Q155', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q155 property:P35 ?g . ?g rdf:type ontology:Q502895 }
Luiz Inácio Lula da Silva Fernando Henrique Cardoso Michel Temer Itamar Franco Fernando Collor de Mello Dilma Rousseff
The heads of state of Brazil are the Luiz Inácio Lula da Silva, Fernando Henrique Cardoso and Dilma Rousseff
Luiz Inácio Lula da Silva Fernando Henrique Cardoso Dilma Rousseff
action filter_type
action find
entity Brazil
relation head of state
type common name
['Brazil', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Brazil property:head_of_state ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3773942
Q502895
USER
And also tell me about Salandra II Cabinet?
(Q3773942,P35,c(Q502895))
action filter_type
action find
entity Q3773942
relation P35
type Q502895
['Q3773942', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q3773942 property:P35 ?d . ?d rdf:type ontology:Q502895 }
Salandra II Cabinet
action filter_type
action find
entity Salandra II Cabinet
relation head of state
type common name
['Salandra II Cabinet', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Salandra_II_Cabinet property:head_of_state ?d . ?d rdf:type ontology:common_name }
[]
common name
Q150642
SYSTEM
Vittorio Emanuele III
Q150642
(Q3773942,P35,c(Q502895))
action filter_type
action find
entity Q3773942
relation P35
type Q502895
[ANSWER]
['Q3773942', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q3773942 property:P35 ?d . ?d rdf:type ontology:Q502895 }
Vittorio Emanuele III
Vittorio Emanuele III
action filter_type
action find
entity Salandra II Cabinet
relation head of state
type common name
['Salandra II Cabinet', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Salandra_II_Cabinet property:head_of_state ?d . ?d rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2179 Q151991
P61 P196
Q17444909
USER
Which astronomical object types were invented or discovered by European Southern Observatory and includes asteroid belt in their minor planet group ?
AND((c(Q17444909),P61,Q151991), (c(Q17444909),P196,Q2179))
action filter_type
action intersection
action find_reverse
entity Q151991
relation P61
action find_reverse
entity Q2179
relation P196
type Q17444909
{'AND': [[{'concept': 'Q17444909'}, 'P61', 'Q151991'], [{'concept': 'Q17444909'}, 'P196', 'Q2179']]}
SELECT DISTINCT ?c WHERE { ?c property:P61 resource:Q151991 . ?c property:P196 resource:Q2179 . ?c rdf:type ontology:Q17444909 }
asteroid belt European Southern Observatory
action filter_type
action intersection
action find_reverse
entity European Southern Observatory
relation discoverer or inventor
action find_reverse
entity asteroid belt
relation minor planet group
type astronomical object type
{'AND': [[{'concept': 'astronomical object type'}, 'discoverer or inventor', 'European Southern Observatory'], [{'concept': 'astronomical object type'}, 'minor planet group', 'asteroid belt']]}
SELECT DISTINCT ?c WHERE { ?c property:discoverer_or_inventor resource:European_Southern_Observatory . ?c property:minor_planet_group resource:asteroid_belt . ?c rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q1067001
SYSTEM
8991 Solidarity
Q1067001
AND((c(Q17444909),P61,Q151991), (c(Q17444909),P196,Q2179))
action filter_type
action intersection
action find_reverse
entity Q151991
relation P61
action find_reverse
entity Q2179
relation P196
type Q17444909
[ANSWER] was invented or discovered by European Southern Observatory and includes asteroid belt in their minor planet group
{'AND': [[{'concept': 'Q17444909'}, 'P61', 'Q151991'], [{'concept': 'Q17444909'}, 'P196', 'Q2179']]}
SELECT DISTINCT ?c WHERE { ?c property:P61 resource:Q151991 . ?c property:P196 resource:Q2179 . ?c rdf:type ontology:Q17444909 }
8991 Solidarity
8991 Solidarity was invented or discovered by European Southern Observatory and includes asteroid belt in their minor planet group
8991 Solidarity
action filter_type
action intersection
action find_reverse
entity European Southern Observatory
relation discoverer or inventor
action find_reverse
entity asteroid belt
relation minor planet group
type astronomical object type
{'AND': [[{'concept': 'astronomical object type'}, 'discoverer or inventor', 'European Southern Observatory'], [{'concept': 'astronomical object type'}, 'minor planet group', 'asteroid belt']]}
SELECT DISTINCT ?c WHERE { ?c property:discoverer_or_inventor resource:European_Southern_Observatory . ?c property:minor_planet_group resource:asteroid_belt . ?c rdf:type ontology:astronomical_object_type }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q211313
Q17444909
USER
And how about 2002 AA29?
(Q211313,P196,c(Q17444909))
action filter_type
action find
entity Q211313
relation P196
type Q17444909
['Q211313', 'P196', {'concept': 'Q17444909'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q17444909 . resource:Q211313 property:P196 ?d }
2002 AA29
action filter_type
action find
entity 2002 AA29
relation minor planet group
type astronomical object type
['2002 AA29', 'minor planet group', {'concept': 'astronomical object type'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:astronomical_object_type . resource:2002_AA29 property:minor_planet_group ?d }
[]
astronomical object type
Q217526
SYSTEM
near-Earth asteroid
Q217526
(Q211313,P196,c(Q17444909))
action filter_type
action find
entity Q211313
relation P196
type Q17444909
[ANSWER]
['Q211313', 'P196', {'concept': 'Q17444909'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q17444909 . resource:Q211313 property:P196 ?d }
near-Earth asteroid
near-Earth asteroid
action filter_type
action find
entity 2002 AA29
relation minor planet group
type astronomical object type
['2002 AA29', 'minor planet group', {'concept': 'astronomical object type'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:astronomical_object_type . resource:2002_AA29 property:minor_planet_group ?d }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1715313 Q230578
P19
Q56061
USER
Which administrative territories were Fernando Henrique Cardoso or Jörg Follert born ?
OR((Q230578,P19,c(Q56061)), (Q1715313,P19,c(Q56061)))
action filter_type
action union
action find
entity Q230578
relation P19
action find
entity Q1715313
relation P19
type Q56061
{'OR': [['Q230578', 'P19', {'concept': 'Q56061'}], ['Q1715313', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q230578 property:P19 ?g } UNION { resource:Q1715313 property:P19 ?g } } . ?g rdf:type ontology:Q56061 }
Jörg Follert Fernando Henrique Cardoso
action filter_type
action union
action find
entity Fernando Henrique Cardoso
relation place of birth
action find
entity Jörg Follert
relation place of birth
type administrative territorial entity
{'OR': [['Fernando Henrique Cardoso', 'place of birth', {'concept': 'administrative territorial entity'}], ['Jörg Follert', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Fernando_Henrique_Cardoso property:place_of_birth ?g } UNION { resource:Jörg_Follert property:place_of_birth ?g } } . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8678 Q586
SYSTEM
Rio de Janeiro, Bonn
Q8678 Q586
OR((Q230578,P19,c(Q56061)), (Q1715313,P19,c(Q56061)))
action filter_type
action union
action find
entity Q230578
relation P19
action find
entity Q1715313
relation P19
type Q56061
[ANSWERS] were Fernando Henrique Cardoso or Jörg Follert born
{'OR': [['Q230578', 'P19', {'concept': 'Q56061'}], ['Q1715313', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q230578 property:P19 ?g } UNION { resource:Q1715313 property:P19 ?g } } . ?g rdf:type ontology:Q56061 }
Rio de Janeiro Bonn
Rio de Janeiro and Bonn were Fernando Henrique Cardoso or Jörg Follert born
Rio de Janeiro Bonn
action filter_type
action union
action find
entity Fernando Henrique Cardoso
relation place of birth
action find
entity Jörg Follert
relation place of birth
type administrative territorial entity
{'OR': [['Fernando Henrique Cardoso', 'place of birth', {'concept': 'administrative territorial entity'}], ['Jörg Follert', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Fernando_Henrique_Cardoso property:place_of_birth ?g } UNION { resource:Jörg_Follert property:place_of_birth ?g } } . ?g rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1491
P190
Q56061
USER
Are La Paz twin city of those ones ?
(Q1491,P190,Q8678) (Q1491,P190,Q586)
action is_in
entity prev_answer
action find
entity Q1491
relation P190
['Q1491', 'P190', 'Q8678'] ['Q1491', 'P190', 'Q586']
ASK WHERE { resource:Q1491 property:P190 ?e . VALUES ( ?e ) { ( resource:Q8678 ) ( resource:Q586 ) } }
La Paz
action is_in
entity prev_answer
action find
entity La Paz
relation sister city
['La Paz', 'sister city', 'Rio de Janeiro'] ['La Paz', 'sister city', 'Bonn']
ASK WHERE { resource:La_Paz property:sister_city ?e . VALUES ( ?e ) { ( resource:Rio_de_Janeiro ) ( resource:Bonn ) } }
[]
administrative territorial entity
SYSTEM
YES
(Q1491,P190,Q8678) (Q1491,P190,Q586)
action is_in
entity prev_answer
action find
entity Q1491
relation P190
[ANSWER]
['Q1491', 'P190', 'Q8678'] ['Q1491', 'P190', 'Q586']
ASK WHERE { resource:Q1491 property:P190 ?e . VALUES ( ?e ) { ( resource:Q8678 ) ( resource:Q586 ) } }
Yes
action is_in
entity prev_answer
action find
entity La Paz
relation sister city
['La Paz', 'sister city', 'Rio de Janeiro'] ['La Paz', 'sister city', 'Bonn']
ASK WHERE { resource:La_Paz property:sister_city ?e . VALUES ( ?e ) { ( resource:Rio_de_Janeiro ) ( resource:Bonn ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8678
P6
Q502895
USER
Which person has Rio de Janeiro as its head of government ?
(Q8678,P6,c(Q502895))
action filter_type
action find
entity Q8678
relation P6
type Q502895
['Q8678', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q8678 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Rio de Janeiro
action filter_type
action find
entity Rio de Janeiro
relation head of government
type common name
['Rio de Janeiro', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Rio_de_Janeiro property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
common name
Q972007
SYSTEM
Eduardo Paes
Q972007
(Q8678,P6,c(Q502895))
action filter_type
action find
entity Q8678
relation P6
type Q502895
[ANSWER] has Rio de Janeiro as its head of government
['Q8678', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q8678 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Eduardo Paes
Eduardo Paes has Rio de Janeiro as its head of government
Eduardo Paes
action filter_type
action find
entity Rio de Janeiro
relation head of government
type common name
['Rio de Janeiro', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Rio_de_Janeiro property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8678
P127
Q1076486
USER
Which sports venues are owned by that administrative territory ?
(c(Q1076486),P127,Q972007)
action filter_type
action find_reverse
entity Q8678
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q972007']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q8678 . ?w rdf:type ontology:Q1076486 }
Rio de Janeiro
action filter_type
action find_reverse
entity Rio de Janeiro
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Eduardo Paes']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Rio_de_Janeiro . ?w rdf:type ontology:sports_venue }
[]
sports venue
Q17489 Q6617188 Q7089145
SYSTEM
Estádio Olímpico João Havelange, Olympic golf course (Rio de Janeiro), Olympic Tennis Center
Q17489 Q6617188 Q7089145
(c(Q1076486),P127,Q972007)
action filter_type
action find_reverse
entity Q8678
relation P127
type Q1076486
[ANSWERS] are owned by that administrative territory
[{'concept': 'Q1076486'}, 'P127', 'Q972007']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q8678 . ?w rdf:type ontology:Q1076486 }
Estádio Olímpico João Havelange Olympic golf course (Rio de Janeiro) Olympic Tennis Center
Estádio Olímpico João Havelange, Olympic golf course (Rio de Janeiro) and Olympic Tennis Center are owned by that administrative territory
Estádio Olímpico João Havelange Olympic golf course (Rio de Janeiro) Olympic Tennis Center
action filter_type
action find_reverse
entity Rio de Janeiro
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Eduardo Paes']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Rio_de_Janeiro . ?w rdf:type ontology:sports_venue }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P115
Q16510064 Q2312410
USER
How many sporting events or sport disciplines have that sports venue as their home ground ?
(c(Q16510064),P115,Q17489) (c(Q2312410),P115,Q17489) (c(Q16510064),P115,Q17489) (c(Q2312410),P115,Q17489) (c(Q16510064),P115,Q6617188) (c(Q2312410),P115,Q6617188) (c(Q16510064),P115,Q7089145) (c(Q2312410),P115,Q7089145)
[{'concept': 'Q16510064'}, 'P115', 'Q17489'] [{'concept': 'Q2312410'}, 'P115', 'Q17489'] [{'concept': 'Q16510064'}, 'P115', 'Q17489'] [{'concept': 'Q2312410'}, 'P115', 'Q17489'] [{'concept': 'Q16510064'}, 'P115', 'Q6617188'] [{'concept': 'Q2312410'}, 'P115', 'Q6617188'] [{'concept': 'Q16510064'}, 'P115', 'Q7089145'] [{'concept': 'Q2312410'}, 'P115', 'Q7089145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P115 resource:Q17489 } UNION { ?y property:P115 resource:Q17489 } UNION { ?z property:P115 resource:Q17489 } UNION { ?y property:P115 resource:Q17489 } UNION { ?z property:P115 resource:Q6617188 } UNION { ?y property:P115 resource:Q6617188 } UNION { ?z property:P115 resource:Q25360318 } UNION { ?y property:P115 resource:Q25360318 } } . ?z rdf:type ontology:Q16510064 . ?y rdf:type ontology:Q2312410 }
[{'concept': 'sporting event'}, 'home venue', 'Estádio Olímpico João Havelange'] [{'concept': 'sport discipline'}, 'home venue', 'Estádio Olímpico João Havelange'] [{'concept': 'sporting event'}, 'home venue', 'Estádio Olímpico João Havelange'] [{'concept': 'sport discipline'}, 'home venue', 'Estádio Olímpico João Havelange'] [{'concept': 'sporting event'}, 'home venue', 'Olympic golf course (Rio de Janeiro)'] [{'concept': 'sport discipline'}, 'home venue', 'Olympic golf course (Rio de Janeiro)'] [{'concept': 'sporting event'}, 'home venue', 'Olympic Tennis Center'] [{'concept': 'sport discipline'}, 'home venue', 'Olympic Tennis Center']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:home_venue resource:Estádio_Olímpico_João_Havelange } UNION { ?y property:home_venue resource:Estádio_Olímpico_João_Havelange } UNION { ?z property:home_venue resource:Estádio_Olímpico_João_Havelange } UNION { ?y property:home_venue resource:Estádio_Olímpico_João_Havelange } UNION { ?z property:home_venue resource:Olympic_golf_course_(Rio_de_Janeiro) } UNION { ?y property:home_venue resource:Olympic_golf_course_(Rio_de_Janeiro) } UNION { ?z property:home_venue resource:Olympic_Tennis_Center } UNION { ?y property:home_venue resource:Olympic_Tennis_Center } } . ?z rdf:type ontology:sporting_event . ?y rdf:type ontology:sport_discipline }
[]
sporting event sport discipline
Quantitative|Count|Mult. entity type|Clarification
Q17489
SYSTEM
Did you mean Estádio Olímpico João Havelange ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P115 resource:Q17489 } UNION { ?y property:P115 resource:Q17489 } UNION { ?z property:P115 resource:Q17489 } UNION { ?y property:P115 resource:Q17489 } UNION { ?z property:P115 resource:Q6617188 } UNION { ?y property:P115 resource:Q6617188 } UNION { ?z property:P115 resource:Q25360318 } UNION { ?y property:P115 resource:Q25360318 } } . ?z rdf:type ontology:Q16510064 . ?y rdf:type ontology:Q2312410 }
Did you mean Estádio Olímpico João Havelange ?
Estádio Olímpico João Havelange
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:home_venue resource:Estádio_Olímpico_João_Havelange } UNION { ?y property:home_venue resource:Estádio_Olímpico_João_Havelange } UNION { ?z property:home_venue resource:Estádio_Olímpico_João_Havelange } UNION { ?y property:home_venue resource:Estádio_Olímpico_João_Havelange } UNION { ?z property:home_venue resource:Olympic_golf_course_(Rio_de_Janeiro) } UNION { ?y property:home_venue resource:Olympic_golf_course_(Rio_de_Janeiro) } UNION { ?z property:home_venue resource:Olympic_Tennis_Center } UNION { ?y property:home_venue resource:Olympic_Tennis_Center } } . ?z rdf:type ontology:sporting_event . ?y rdf:type ontology:sport_discipline }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q16510064),P115,Q17489) (c(Q2312410),P115,Q17489) (c(Q16510064),P115,Q17489) (c(Q2312410),P115,Q17489) (c(Q16510064),P115,Q6617188) (c(Q2312410),P115,Q6617188) (c(Q16510064),P115,Q7089145) (c(Q2312410),P115,Q7089145)
[{'concept': 'Q16510064'}, 'P115', 'Q17489'] [{'concept': 'Q2312410'}, 'P115', 'Q17489'] [{'concept': 'Q16510064'}, 'P115', 'Q17489'] [{'concept': 'Q2312410'}, 'P115', 'Q17489'] [{'concept': 'Q16510064'}, 'P115', 'Q6617188'] [{'concept': 'Q2312410'}, 'P115', 'Q6617188'] [{'concept': 'Q16510064'}, 'P115', 'Q7089145'] [{'concept': 'Q2312410'}, 'P115', 'Q7089145']
[{'concept': 'sporting event'}, 'home venue', 'Estádio Olímpico João Havelange'] [{'concept': 'sport discipline'}, 'home venue', 'Estádio Olímpico João Havelange'] [{'concept': 'sporting event'}, 'home venue', 'Estádio Olímpico João Havelange'] [{'concept': 'sport discipline'}, 'home venue', 'Estádio Olímpico João Havelange'] [{'concept': 'sporting event'}, 'home venue', 'Olympic golf course (Rio de Janeiro)'] [{'concept': 'sport discipline'}, 'home venue', 'Olympic golf course (Rio de Janeiro)'] [{'concept': 'sporting event'}, 'home venue', 'Olympic Tennis Center'] [{'concept': 'sport discipline'}, 'home venue', 'Olympic Tennis Center']
[]
SYSTEM
4
Q18479845 Q18193712 Q18479838 Q11865693
(c(Q16510064),P115,Q17489) (c(Q2312410),P115,Q17489) (c(Q16510064),P115,Q17489) (c(Q2312410),P115,Q17489) (c(Q16510064),P115,Q6617188) (c(Q2312410),P115,Q6617188) (c(Q16510064),P115,Q7089145) (c(Q2312410),P115,Q7089145)
[ANSWER]
[{'concept': 'Q16510064'}, 'P115', 'Q17489'] [{'concept': 'Q2312410'}, 'P115', 'Q17489'] [{'concept': 'Q16510064'}, 'P115', 'Q17489'] [{'concept': 'Q2312410'}, 'P115', 'Q17489'] [{'concept': 'Q16510064'}, 'P115', 'Q6617188'] [{'concept': 'Q2312410'}, 'P115', 'Q6617188'] [{'concept': 'Q16510064'}, 'P115', 'Q7089145'] [{'concept': 'Q2312410'}, 'P115', 'Q7089145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P115 resource:Q17489 } UNION { ?y property:P115 resource:Q17489 } UNION { ?z property:P115 resource:Q17489 } UNION { ?y property:P115 resource:Q17489 } UNION { ?z property:P115 resource:Q6617188 } UNION { ?y property:P115 resource:Q6617188 } UNION { ?z property:P115 resource:Q25360318 } UNION { ?y property:P115 resource:Q25360318 } } . ?z rdf:type ontology:Q16510064 . ?y rdf:type ontology:Q2312410 }
Football at the 2016 Summer Olympics – Men's tournament‎ athletics at the 2016 Summer Olympics Football at the 2016 Summer Olympics – Women's tournament football at the 2016 Summer Olympics
4
[{'concept': 'sporting event'}, 'home venue', 'Estádio Olímpico João Havelange'] [{'concept': 'sport discipline'}, 'home venue', 'Estádio Olímpico João Havelange'] [{'concept': 'sporting event'}, 'home venue', 'Estádio Olímpico João Havelange'] [{'concept': 'sport discipline'}, 'home venue', 'Estádio Olímpico João Havelange'] [{'concept': 'sporting event'}, 'home venue', 'Olympic golf course (Rio de Janeiro)'] [{'concept': 'sport discipline'}, 'home venue', 'Olympic golf course (Rio de Janeiro)'] [{'concept': 'sporting event'}, 'home venue', 'Olympic Tennis Center'] [{'concept': 'sport discipline'}, 'home venue', 'Olympic Tennis Center']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:home_venue resource:Estádio_Olímpico_João_Havelange } UNION { ?y property:home_venue resource:Estádio_Olímpico_João_Havelange } UNION { ?z property:home_venue resource:Estádio_Olímpico_João_Havelange } UNION { ?y property:home_venue resource:Estádio_Olímpico_João_Havelange } UNION { ?z property:home_venue resource:Olympic_golf_course_(Rio_de_Janeiro) } UNION { ?y property:home_venue resource:Olympic_golf_course_(Rio_de_Janeiro) } UNION { ?z property:home_venue resource:Olympic_Tennis_Center } UNION { ?y property:home_venue resource:Olympic_Tennis_Center } } . ?z rdf:type ontology:sporting_event . ?y rdf:type ontology:sport_discipline }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q150642
P26
Q502895
USER
Who is the spouse of Vittorio Emanuele III ?
(c(Q502895),P26,Q150642)
action filter_type
action find
entity Q150642
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q150642']
SELECT DISTINCT ?q WHERE { resource:Q150642 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Vittorio Emanuele III
action filter_type
action find
entity Vittorio Emanuele III
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Vittorio Emanuele III']
SELECT DISTINCT ?q WHERE { resource:Vittorio_Emanuele_III property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q181530
SYSTEM
Elena of Montenegro
Q181530
(c(Q502895),P26,Q150642)
action filter_type
action find
entity Q150642
relation P26
type Q502895
The spouse of Vittorio Emanuele III is Princess [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q150642']
SELECT DISTINCT ?q WHERE { resource:Q150642 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Elena of Montenegro
The spouse of Vittorio Emanuele III is Princess Elena of Montenegro
Elena of Montenegro
action filter_type
action find
entity Vittorio Emanuele III
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Vittorio Emanuele III']
SELECT DISTINCT ?q WHERE { resource:Vittorio_Emanuele_III property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181530
P7
Q502895
USER
Which people are the brothers of that one ?
(Q181530,P7,c(Q502895))
action filter_type
action find
entity Q181530
relation P7
type Q502895
['Q181530', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q181530 property:P7 ?v . ?v rdf:type ontology:Q502895 }
Elena of Montenegro
action filter_type
action find
entity Elena of Montenegro
relation brother
type common name
['Elena of Montenegro', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Elena_of_Montenegro property:brother ?v . ?v rdf:type ontology:common_name }
[]
common name
Q721995 Q661861 Q3064966
SYSTEM
Danilo, Crown Prince of Montenegro, Prince Mirko of Montenegro, Prince Peter of Montenegro
Q721995 Q661861 Q3064966
(Q181530,P7,c(Q502895))
action filter_type
action find
entity Q181530
relation P7
type Q502895
[ANSWERS] are the brothers of that one
['Q181530', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q181530 property:P7 ?v . ?v rdf:type ontology:Q502895 }
Danilo, Crown Prince of Montenegro Prince Mirko of Montenegro Prince Peter of Montenegro
Danilo, Crown Prince of Montenegro, Prince Mirko of Montenegro and Prince Peter of Montenegro are the brothers of that one
Danilo, Crown Prince of Montenegro Prince Mirko of Montenegro Prince Peter of Montenegro
action filter_type
action find
entity Elena of Montenegro
relation brother
type common name
['Elena of Montenegro', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Elena_of_Montenegro property:brother ?v . ?v rdf:type ontology:common_name }
[]