Simple Question (Direct)
Simple Question
Q4757444
P641
Q31629
USER
Which type of sport was Andrew Jachno a part of ?
(Q4757444,P641,c(Q31629))
action filter_type
action find
entity Q4757444
relation P641
type Q31629
['Q4757444', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q31629 . resource:Q4757444 property:P641 ?q }
Andrew Jachno
action filter_type
action find
entity Andrew Jachno
relation sport
type type of sport
['Andrew Jachno', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_sport . resource:Andrew_Jachno property:sport ?q }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q4757444,P641,c(Q31629))
action filter_type
action find
entity Q4757444
relation P641
type Q31629
The [ANSWER] was Andrew Jachno a part of
['Q4757444', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q31629 . resource:Q4757444 property:P641 ?q }
athletics
The athletics was Andrew Jachno a part of
athletics
action filter_type
action find
entity Andrew Jachno
relation sport
type type of sport
['Andrew Jachno', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_sport . resource:Andrew_Jachno property:sport ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4757444
P106
Q151885
USER
Which concept is the profession of Andrew Jachno ?
(Q4757444,P106,c(Q151885))
action filter_type
action find
entity Q4757444
relation P106
type Q151885
['Q4757444', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?t WHERE { resource:Q4757444 property:P106 ?t . ?t rdf:type ontology:Q151885 }
Andrew Jachno
action filter_type
action find
entity Andrew Jachno
relation occupation
type concept
['Andrew Jachno', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?t WHERE { resource:Andrew_Jachno property:occupation ?t . ?t rdf:type ontology:concept }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
(Q4757444,P106,c(Q151885))
action filter_type
action find
entity Q4757444
relation P106
type Q151885
The [ANSWER] is the profession of Andrew Jachno
['Q4757444', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?t WHERE { resource:Q4757444 property:P106 ?t . ?t rdf:type ontology:Q151885 }
athletics competitor
The athletics competitor is the profession of Andrew Jachno
athletics competitor
action filter_type
action find
entity Andrew Jachno
relation occupation
type concept
['Andrew Jachno', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?t WHERE { resource:Andrew_Jachno property:occupation ?t . ?t rdf:type ontology:concept }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5493259 Q4757444
P27
Q1048835
USER
Which political territories are the countries of citizenship of Andrew Jachno or François Engongah Owono ?
OR((Q4757444,P27,c(Q1048835)), (Q5493259,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q4757444
relation P27
action find
entity Q5493259
relation P27
type Q1048835
{'OR': [['Q4757444', 'P27', {'concept': 'Q1048835'}], ['Q5493259', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . { { resource:Q4757444 property:P27 ?y } UNION { resource:Q5493259 property:P27 ?y } } }
François Engongah Owono Andrew Jachno
action filter_type
action union
action find
entity Andrew Jachno
relation country of citizenship
action find
entity François Engongah Owono
relation country of citizenship
type political territorial entity
{'OR': [['Andrew Jachno', 'country of citizenship', {'concept': 'political territorial entity'}], ['François Engongah Owono', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . { { resource:Andrew_Jachno property:country_of_citizenship ?y } UNION { resource:François_Engongah_Owono property:country_of_citizenship ?y } } }
[]
political territorial entity
Q408 Q1000
SYSTEM
Australia, Gabon
Q408 Q1000
OR((Q4757444,P27,c(Q1048835)), (Q5493259,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q4757444
relation P27
action find
entity Q5493259
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Andrew Jachno or François Engongah Owono
{'OR': [['Q4757444', 'P27', {'concept': 'Q1048835'}], ['Q5493259', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . { { resource:Q4757444 property:P27 ?y } UNION { resource:Q5493259 property:P27 ?y } } }
Australia Gabon
Australia and Gabon are the countries of citizenship of Andrew Jachno or François Engongah Owono
Australia Gabon
action filter_type
action union
action find
entity Andrew Jachno
relation country of citizenship
action find
entity François Engongah Owono
relation country of citizenship
type political territorial entity
{'OR': [['Andrew Jachno', 'country of citizenship', {'concept': 'political territorial entity'}], ['François Engongah Owono', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . { { resource:Andrew_Jachno property:country_of_citizenship ?y } UNION { resource:François_Engongah_Owono property:country_of_citizenship ?y } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5493259
P39
Q12737077
USER
What was the position for which François Engongah Owono was appointed ?
(Q5493259,P39,c(Q12737077))
action filter_type
action find
entity Q5493259
relation P39
type Q12737077
['Q5493259', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q5493259 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
François Engongah Owono
action filter_type
action find
entity François Engongah Owono
relation position held
type occupation
['François Engongah Owono', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:François_Engongah_Owono property:position_held ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q19798976
SYSTEM
Member of the National Assembly of Gabon
Q19798976
(Q5493259,P39,c(Q12737077))
action filter_type
action find
entity Q5493259
relation P39
type Q12737077
The [ANSWER]
['Q5493259', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q5493259 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
Member of the National Assembly of Gabon
The Member of the National Assembly of Gabon
Member of the National Assembly of Gabon
action filter_type
action find
entity François Engongah Owono
relation position held
type occupation
['François Engongah Owono', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:François_Engongah_Owono property:position_held ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P495
Q502895
USER
Which people have Australia as their place of origin ?
(c(Q502895),P495,Q408)
action filter_type
action find_reverse
entity Q408
relation P495
type Q502895
[{'concept': 'Q502895'}, 'P495', 'Q408']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P495 resource:Q408 }
Australia
action filter_type
action find_reverse
entity Australia
relation country of origin
type common name
[{'concept': 'common name'}, 'country of origin', 'Australia']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:country_of_origin resource:Australia }
[]
common name
Q239917 Q224097 Q218091
SYSTEM
Tina Arena, Elle Macpherson, Seal
Q5492023 Q17466589 Q6768759 Q6789198 Q7308436 Q236309 Q7839079 Q6862167 Q6437259 Q1837039 Q4760360 Q7610299 Q4974430 Q311970 Q27450245 Q19661509 Q315547 Q7422244 Q27458300 Q5537629 Q5839929 Q1852101 Q2739019 Q7422913 Q5524174 Q2938630 Q4757193 Q239917 Q7931512 Q7812530 Q5438299 Q5225055 Q17388721 Q5043591 Q5596182 Q6829696 Q17411318 Q16206339 Q16209637 Q4960152 Q224097 Q7305148 Q6790747 Q188461 Q16208642 Q6696267 Q16258599 Q18350812 Q16207577 Q3376893 Q6077939 Q1994732 Q218091 Q5349398 Q7298253 Q6968161 Q4757863 Q3776714 Q16211251 Q7561722 Q6116573 Q15525704 Q15052586 Q7823475 Q2439562 Q5102874 Q17489593 Q4685605 Q5525580 Q311467 Q7154149 Q5085399 Q4708160 Q512611 Q16732274 Q3441690 Q3390514 Q16197265 Q7407938 Q379832 Q6770381 Q6765206 Q6210322 Q4967040 Q236005 Q17305902 Q3533714 Q6768119 Q6847024 Q7025198 Q18810998 Q228818 Q5607741 Q1862701 Q4739661 Q18153364 Q5031686 Q4885902 Q756563 Q536434 Q4746963 Q886327 Q7207745 Q16207051 Q7517148 Q16213757 Q5703057 Q5110852 Q16207972 Q11988712 Q2374646 Q4758414 Q7174243 Q751972 Q6488525 Q6873263 Q6480002 Q16197876 Q23769967 Q4756785 Q19661071 Q6769022 Q3036977 Q4942395 Q7817996 Q6757110
(c(Q502895),P495,Q408)
action filter_type
action find_reverse
entity Q408
relation P495
type Q502895
[ANSWERS] have Australia as their place of origin
[{'concept': 'Q502895'}, 'P495', 'Q408']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P495 resource:Q408 }
Jack Vidgen Brent Owens Mark Matthews Matt Preston Regina Bird Dawn French Trevor Butler Mimi Macpherson Kris Noble Natalie Bassingthwaighte Andy Allen Stephen Quartermain Brooke Evers Brian McFadden Golden Miles Janine Allis Keith Urban Sarah De Bono Winged Seeds George Calombaris Julia Morris Donna Hay Richie Benaud Sarah Wilson Garry Lyon Redfoo Andrew Günsberg Tina Arena Vince Harder Todd McKenney Faustina Agolley Darren McMullen Yvonne Sampson Carmen Smith Grant Denyer Michael Dameski Anja Nissen Macario De Souza Joelle Hadjia Bree Amer Elle Macpherson Red Symons Matthew Johns Dannii Minogue Josh Earl Lucas Parsons Nathaniel Willemse Dean Ray Mohammed El-leissy Peter Sterling Isabella Bliss Rachael Finch Seal Eileen Louise Soper Ray Warren Natalie Garonzi Andrew Maher Shaun Micallef James Mathison Sonia Kruger Jackie O Mark Holden Ian Dickson Tony Squires Tom Burlinson Chloe Maxwell Reigan Derry Adriano Zumbo Gary Mehigan Ronan Keating Paul Vautin Charlie Pickering Alana Lowes Tim Ferguson Adam McDonald Mary Murphy Mark Ferguson Michael Stangel Sam Moran Eamon Sullivan Mark Wilson Marion Grasby Joe Hildebrand Brielle Davis Melanie Brown Erin Molan Kirk Pengilly Mark Howard Mike Goldman Nicholas Chevalier Al Daff Delta Goodrem Gretel Killeen Karise Eden Amanda Keller Marlisa Punzalan Candice Falzon Ben Ikin Joel Madden Luke Jacobz Amity Dry Timomatic Poh Ling Yeow Emma Dean Silvio Rivier Kyle Sandilands Helen Richey Christina Parie Bella Ferraro Matt Moran Daniel MacPherson Andrew Rochford Peter Gilmore John Reid Lara Bingle Miriam Rivera Lakyn Heperi Rhys Badcock Orpheus Omega Andrew De Silva Gina Liano Mark Nicholas Samantha Jade Bonnie Lythgoe Tom Waterhouse Marcia Hines
Tina Arena, Elle Macpherson and Seal have Australia as their place of origin
Tina Arena Elle Macpherson Seal
action filter_type
action find_reverse
entity Australia
relation country of origin
type common name
[{'concept': 'common name'}, 'country of origin', 'Australia']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:country_of_origin resource:Australia }
[]
Clarification
Simple Question|Single Entity|Indirect
Q239917
P50
Q7725634
USER
Which literary work was written by that person ?
(c(Q7725634),P50,Q239917)
action filter_type
action find_reverse
entity Q239917
relation P50
type Q7725634
[{'concept': 'Q7725634'}, 'P50', 'Q239917']
SELECT DISTINCT ?v WHERE { ?v property:P50 resource:Q239917 . ?v rdf:type ontology:Q7725634 }
Tina Arena
action filter_type
action find_reverse
entity Tina Arena
relation author
type literary work
[{'concept': 'literary work'}, 'author', 'Tina Arena']
SELECT DISTINCT ?v WHERE { ?v property:author resource:Tina_Arena . ?v rdf:type ontology:literary_work }
[]
literary work
Clarification for simple ques.
Q239917
SYSTEM
Did you mean Tina Arena ?
Q239917 Q224097 Q218091
(c(Q7725634),P50,Q239917) (c(Q7725634),P50,Q224097) (c(Q7725634),P50,Q218091)
[ANSWER]
[{'concept': 'Q7725634'}, 'P50', 'Q239917'] [{'concept': 'Q7725634'}, 'P50', 'Q224097'] [{'concept': 'Q7725634'}, 'P50', 'Q218091']
SELECT DISTINCT ?v WHERE { ?v property:P50 resource:Q239917 . ?v rdf:type ontology:Q7725634 }
Tina Arena Elle Macpherson Seal
Did you mean Tina Arena ?
Tina Arena
[{'concept': 'literary work'}, 'author', 'Tina Arena'] [{'concept': 'literary work'}, 'author', 'Elle Macpherson'] [{'concept': 'literary work'}, 'author', 'Seal']
SELECT DISTINCT ?v WHERE { ?v property:author resource:Tina_Arena . ?v rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q7725634),P50,Q239917)
[{'concept': 'Q7725634'}, 'P50', 'Q239917']
[{'concept': 'literary work'}, 'author', 'Tina Arena']
[]
Q17018651
SYSTEM
Now I Can Dance
Q17018651
(c(Q7725634),P50,Q239917)
action filter_type
action find_reverse
entity Q239917
relation P50
type Q7725634
Now I can Dance was written by that person
[{'concept': 'Q7725634'}, 'P50', 'Q239917']
SELECT DISTINCT ?v WHERE { ?v property:P50 resource:Q239917 . ?v rdf:type ontology:Q7725634 }
Now I Can Dance
Now I can Dance was written by that person
Now I Can Dance
action filter_type
action find_reverse
entity Tina Arena
relation author
type literary work
[{'concept': 'literary work'}, 'author', 'Tina Arena']
SELECT DISTINCT ?v WHERE { ?v property:author resource:Tina_Arena . ?v rdf:type ontology:literary_work }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q31629 Q12973014 Q500834
USER
Which types of sport did around 38 sports teams and tournaments participate in ?
(c(Q12973014)|c(Q500834),P641,c(Q31629))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
value 38
[[{'concept': 'Q12973014'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) ?k WHERE { VALUES ( ?b ) { ( ontology:Q500834 ) ( ontology:Q12973014 ) } . ?q rdf:type ?b } GROUP BY ?k } . FILTER ( ?h = 38 ) }
action approx
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
value 38
[[{'concept': 'sports team'}, {'concept': 'tournament'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) ?k WHERE { VALUES ( ?b ) { ( ontology:tournament ) ( ontology:sports_team ) } . ?q rdf:type ?b } GROUP BY ?k } . FILTER ( ?h = 38 ) }
[]
type of sport sports team tournament
Q718 Q1128216
SYSTEM
chess, wheelchair basketball
Q718 Q1128216
(c(Q12973014)|c(Q500834),P641,c(Q31629))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
value 38
[ANSWERS] around 38 sports teams and tournaments participated in
[[{'concept': 'Q12973014'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) ?k WHERE { VALUES ( ?b ) { ( ontology:Q500834 ) ( ontology:Q12973014 ) } . ?q rdf:type ?b } GROUP BY ?k } . FILTER ( ?h = 38 ) }
chess wheelchair basketball
Chess and wheelchair basketball around 38 sports teams and tournaments participated in
chess wheelchair basketball
action approx
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
value 38
[[{'concept': 'sports team'}, {'concept': 'tournament'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) ?k WHERE { VALUES ( ?b ) { ( ontology:tournament ) ( ontology:sports_team ) } . ?q rdf:type ?b } GROUP BY ?k } . FILTER ( ?h = 38 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q187
P85
Q7725634 Q56061 Q15617994
USER
Which literary works are the anthems for approximately the same number of administrative territories or administrative territories as Il Canto degli Italiani ?
(c(Q56061)|c(Q15617994),P85,c(Q7725634))
action approx
action union
action find_reverse_tuple_counts
relation P85
type Q7725634
type Q56061
action find_reverse_tuple_counts
relation P85
type Q7725634
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q187
relation P85
type Q56061
type Q15617994
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ?p . VALUES ( ?p ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P85 resource:Q187 . { { ?d rdf:type ontology:Q56061 } UNION { ?d rdf:type ontology:Q15617994 } } } } . FILTER ( ?a = ?z ) }
Il Canto degli Italiani
action approx
action union
action find_reverse_tuple_counts
relation anthem
type literary work
type administrative territorial entity
action find_reverse_tuple_counts
relation anthem
type literary work
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Il Canto degli Italiani
relation anthem
type administrative territorial entity
type designation for an administrative territorial entity
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ?p . VALUES ( ?p ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:anthem resource:Il_Canto_degli_Italiani . { { ?d rdf:type ontology:administrative_territorial_entity } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?a = ?z ) }
[]
literary work administrative territorial entity designation for an administrative territorial entity
Q166350 Q4944 Q187
SYSTEM
My Belarusy, National Anthem of Peru, Il Canto degli Italiani
Q2499004 Q329961 Q187 Q837310 Q166350 Q199506 Q193873 Q1378369 Q134654 Q482988 Q130865 Q4944 Q208016 Q2398452 Q632514
(c(Q56061)|c(Q15617994),P85,c(Q7725634))
action approx
action union
action find_reverse_tuple_counts
relation P85
type Q7725634
type Q56061
action find_reverse_tuple_counts
relation P85
type Q7725634
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q187
relation P85
type Q56061
type Q15617994
[ANSWERS] are the anthems for approximately the same number of administrative territories or administrative territories as Il Canto degli Italiani
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ?p . VALUES ( ?p ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P85 resource:Q187 . { { ?d rdf:type ontology:Q56061 } UNION { ?d rdf:type ontology:Q15617994 } } } } . FILTER ( ?a = ?z ) }
Ons Gelderland Lebanese National Anthem Il Canto degli Italiani Caminemos pisando las sendas de nuestra inmensa felicidad My Belarusy El Gran Carlemany Oben am jungen Rhein Shumi Maritsa Brazilian National Anthem Mazurek Dąbrowskiego Hatikvah National Anthem of Peru Tiến Quân Ca Moya Moskva Waar wij steden doen verrijzen...
My Belarusy, National Anthem of Peru and Il Canto degli Italiani are the anthems for approximately the same number of administrative territories or administrative territories as Il Canto degli Italiani
My Belarusy National Anthem of Peru Il Canto degli Italiani
action approx
action union
action find_reverse_tuple_counts
relation anthem
type literary work
type administrative territorial entity
action find_reverse_tuple_counts
relation anthem
type literary work
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Il Canto degli Italiani
relation anthem
type administrative territorial entity
type designation for an administrative territorial entity
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ?p . VALUES ( ?p ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:anthem resource:Il_Canto_degli_Italiani . { { ?d rdf:type ontology:administrative_territorial_entity } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?a = ?z ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P85
Q7725634 Q56061 Q5589178
USER
Which literary works are the national anthems of more number of administrative territories and regimes than that literary work ?
(c(Q56061)|c(Q5589178),P85,c(Q7725634))
[[{'concept': 'Q56061'}, {'concept': 'Q5589178'}], 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q541947 ?y } UNION { ?x property:Q541947 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7725634 . ?x rdf:type ontology:Q5589178 }
[[{'concept': 'administrative territorial entity'}, {'concept': 'regime'}], 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?y WHERE { { { ?z property:anthem ?y } UNION { ?x property:anthem ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:literary_work . ?x rdf:type ontology:regime }
[]
literary work administrative territorial entity regime
Comparative|More/Less|Mult. entity type|Clarification
Q166350
SYSTEM
Did you mean My Belarusy ?
(c(Q56061)|c(Q5589178),P85,c(Q7725634))
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q5589178'}], 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q541947 ?y } UNION { ?x property:Q541947 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7725634 . ?x rdf:type ontology:Q5589178 }
Did you mean My Belarusy ?
My Belarusy
[[{'concept': 'administrative territorial entity'}, {'concept': 'regime'}], 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?y WHERE { { { ?z property:anthem ?y } UNION { ?x property:anthem ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:literary_work . ?x rdf:type ontology:regime }
[]
Comparative Reasoning (All)
USER
No, I meant National Anthem of Peru. Could you tell me the answer for that?
(c(Q56061)|c(Q5589178),P85,c(Q7725634))
Q4944
[[{'concept': 'Q56061'}, {'concept': 'Q5589178'}], 'P85', {'concept': 'Q7725634'}]
[[{'concept': 'administrative territorial entity'}, {'concept': 'regime'}], 'anthem', {'concept': 'literary work'}]
[]
Q1353878 Q864979 Q83099
SYSTEM
Vajacki marš, National Anthem of the Republic of China, Jana Gana Mana
Q1353878 Q864979 Q40807 Q83099 Q1052211 Q2398452
(c(Q56061)|c(Q5589178),P85,c(Q7725634))
[ANSWERS] are the national anthems of more number of administrative territories and regimes than that literary work
[[{'concept': 'Q56061'}, {'concept': 'Q5589178'}], 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q541947 ?y } UNION { ?x property:Q541947 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7725634 . ?x rdf:type ontology:Q5589178 }
Vajacki marš National Anthem of the Republic of China God Save the Queen Jana Gana Mana China Heroically Stands in the Universe Moya Moskva
Vajacki marš, National Anthem of the Republic of China and Jana Gana Mana are the national anthems of more number of administrative territories and regimes than that literary work
Vajacki marš National Anthem of the Republic of China Jana Gana Mana
[[{'concept': 'administrative territorial entity'}, {'concept': 'regime'}], 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?y WHERE { { { ?z property:anthem ?y } UNION { ?x property:anthem ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:literary_work . ?x rdf:type ontology:regime }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1353878 Q864979 Q83099
P676
Q502895
USER
Who penned the lyrics for those literary works ?
(Q1353878,P676,c(Q502895)) (Q864979,P676,c(Q502895)) (Q83099,P676,c(Q502895))
action filter_type
action find
entity prev_answer
relation P676
type Q502895
['Q1353878', 'P676', {'concept': 'Q502895'}] ['Q864979', 'P676', {'concept': 'Q502895'}] ['Q83099', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?y ) { ( resource:Q1353878 ) ( resource:Q864979 ) ( resource:Q40807 ) } . ?y property:P676 ?t . ?t rdf:type ontology:Q502895 }
Vajacki marš National Anthem of the Republic of China Jana Gana Mana
action filter_type
action find
entity prev_answer
relation lyrics by
type common name
['Vajacki marš', 'lyrics by', {'concept': 'common name'}] ['National Anthem of the Republic of China', 'lyrics by', {'concept': 'common name'}] ['Jana Gana Mana', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?y ) { ( resource:Vajacki_marš ) ( resource:National_Anthem_of_the_Republic_of_China ) ( resource:God_Save_the_Queen ) } . ?y property:lyrics_by ?t . ?t rdf:type ontology:common_name }
[]
common name
Q1194134 Q8573 Q7241
SYSTEM
Makar Kraucou, Sun Yat-sen, Rabindranath Tagore
Q1194134 Q8573 Q7241
(Q1353878,P676,c(Q502895)) (Q864979,P676,c(Q502895)) (Q83099,P676,c(Q502895))
action filter_type
action find
entity prev_answer
relation P676
type Q502895
[ANSWERS] penned the lyrics for those literary works
['Q1353878', 'P676', {'concept': 'Q502895'}] ['Q864979', 'P676', {'concept': 'Q502895'}] ['Q83099', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?y ) { ( resource:Q1353878 ) ( resource:Q864979 ) ( resource:Q40807 ) } . ?y property:P676 ?t . ?t rdf:type ontology:Q502895 }
Makar Kraucou Sun Yat-sen Rabindranath Tagore
Makar Kraucou, Sun Yat-sen and Rabindranath Tagore penned the lyrics for those literary works
Makar Kraucou Sun Yat-sen Rabindranath Tagore
action filter_type
action find
entity prev_answer
relation lyrics by
type common name
['Vajacki marš', 'lyrics by', {'concept': 'common name'}] ['National Anthem of the Republic of China', 'lyrics by', {'concept': 'common name'}] ['Jana Gana Mana', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?y ) { ( resource:Vajacki_marš ) ( resource:National_Anthem_of_the_Republic_of_China ) ( resource:God_Save_the_Queen ) } . ?y property:lyrics_by ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1194134 Q8573 Q7241
P676
Q7725634
USER
Which literary works have their lyrics by those people ?
(c(Q7725634),P676,Q1194134) (c(Q7725634),P676,Q8573) (c(Q7725634),P676,Q7241)
action filter_type
action find_reverse
entity prev_answer
relation P676
type Q7725634
[{'concept': 'Q7725634'}, 'P676', 'Q1194134'] [{'concept': 'Q7725634'}, 'P676', 'Q8573'] [{'concept': 'Q7725634'}, 'P676', 'Q7241']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q7725634 . ?e property:P676 ?n . VALUES ( ?n ) { ( resource:Q1194134 ) ( resource:Q8573 ) ( resource:Q7241 ) } }
Makar Kraucou Sun Yat-sen Rabindranath Tagore
action filter_type
action find_reverse
entity prev_answer
relation lyrics by
type literary work
[{'concept': 'literary work'}, 'lyrics by', 'Makar Kraucou'] [{'concept': 'literary work'}, 'lyrics by', 'Sun Yat-sen'] [{'concept': 'literary work'}, 'lyrics by', 'Rabindranath Tagore']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:literary_work . ?e property:lyrics_by ?n . VALUES ( ?n ) { ( resource:Makar_Kraucou ) ( resource:Sun_Yat-sen ) ( resource:Rabindranath_Tagore ) } }
[]
literary work
Q1353878 Q864979 Q83099
SYSTEM
Vajacki marš, National Anthem of the Republic of China, Jana Gana Mana
Q1353878 Q864979 Q83099
(c(Q7725634),P676,Q1194134) (c(Q7725634),P676,Q8573) (c(Q7725634),P676,Q7241)
action filter_type
action find_reverse
entity prev_answer
relation P676
type Q7725634
[ANSWERS] have their lyrics by those people
[{'concept': 'Q7725634'}, 'P676', 'Q1194134'] [{'concept': 'Q7725634'}, 'P676', 'Q8573'] [{'concept': 'Q7725634'}, 'P676', 'Q7241']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q7725634 . ?e property:P676 ?n . VALUES ( ?n ) { ( resource:Q1194134 ) ( resource:Q8573 ) ( resource:Q7241 ) } }
Vajacki marš National Anthem of the Republic of China Jana Gana Mana
Vajacki marš, National Anthem of the Republic of China and Jana Gana Mana have their lyrics by those people
Vajacki marš National Anthem of the Republic of China Jana Gana Mana
action filter_type
action find_reverse
entity prev_answer
relation lyrics by
type literary work
[{'concept': 'literary work'}, 'lyrics by', 'Makar Kraucou'] [{'concept': 'literary work'}, 'lyrics by', 'Sun Yat-sen'] [{'concept': 'literary work'}, 'lyrics by', 'Rabindranath Tagore']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:literary_work . ?e property:lyrics_by ?n . VALUES ( ?n ) { ( resource:Makar_Kraucou ) ( resource:Sun_Yat-sen ) ( resource:Rabindranath_Tagore ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1353878
P86
Q502895
USER
Who composed that literary work ?
(Q1353878,P86,c(Q502895))
action filter_type
action find
entity Q1353878
relation P86
type Q502895
['Q1353878', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1353878 property:P86 ?g . ?g rdf:type ontology:Q502895 }
Vajacki marš
action filter_type
action find
entity Vajacki marš
relation composer
type common name
['Vajacki marš', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Vajacki_marš property:composer ?g . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q864979
SYSTEM
Did you mean National Anthem of the Republic of China ?
Q1353878 Q864979 Q83099
(Q1353878,P86,c(Q502895)) (Q864979,P86,c(Q502895)) (Q83099,P86,c(Q502895))
[ANSWER]
['Q1353878', 'P86', {'concept': 'Q502895'}] ['Q864979', 'P86', {'concept': 'Q502895'}] ['Q83099', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1353878 property:P86 ?g . ?g rdf:type ontology:Q502895 }
Vajacki marš National Anthem of the Republic of China Jana Gana Mana
Did you mean National Anthem of the Republic of China ?
National Anthem of the Republic of China
['Vajacki marš', 'composer', {'concept': 'common name'}] ['National Anthem of the Republic of China', 'composer', {'concept': 'common name'}] ['Jana Gana Mana', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Vajacki_marš property:composer ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Vajacki marš. Could you tell me the answer for that?
(Q1353878,P86,c(Q502895))
Q1353878
['Q1353878', 'P86', {'concept': 'Q502895'}]
['Vajacki marš', 'composer', {'concept': 'common name'}]
[]
Q3920278
SYSTEM
Uladzimir Terauski
Q3920278
(Q1353878,P86,c(Q502895))
action filter_type
action find
entity Q1353878
relation P86
type Q502895
[ANSWER] composed that literary work
['Q1353878', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1353878 property:P86 ?g . ?g rdf:type ontology:Q502895 }
Uladzimir Terauski
Uladzimir Terauski composed that literary work
Uladzimir Terauski
action filter_type
action find
entity Vajacki marš
relation composer
type common name
['Vajacki marš', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Vajacki_marš property:composer ?g . ?g rdf:type ontology:common_name }
[]