Simple Question (Direct)
Simple Question
Q3245171
P734
Q82799
USER
Which name is associated with Shinya Tanoue ?
(Q3245171,P734,c(Q82799))
action filter_type
action find
entity Q3245171
relation P734
type Q82799
['Q3245171', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q82799 . resource:Q3245171 property:P734 ?b }
Shinya Tanoue
action filter_type
action find
entity Shinya Tanoue
relation family name
type name
['Shinya Tanoue', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:name . resource:Shinya_Tanoue property:family_name ?b }
[]
name
Q16884265
SYSTEM
Tanoue
Q16884265
(Q3245171,P734,c(Q82799))
action filter_type
action find
entity Q3245171
relation P734
type Q82799
[ANSWER] is associated with Shinya [ANSWER]
['Q3245171', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q82799 . resource:Q3245171 property:P734 ?b }
Tanoue
Tanoue is associated with Shinya Tanoue
Tanoue
action filter_type
action find
entity Shinya Tanoue
relation family name
type name
['Shinya Tanoue', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:name . resource:Shinya_Tanoue property:family_name ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3245171
P641
Q349
USER
Which sport did that person participate in ?
(Q16884265,P641,c(Q349))
action filter_type
action find
entity Q3245171
relation P641
type Q349
['Q16884265', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q3245171 property:P641 ?h . ?h rdf:type ontology:Q349 }
Shinya Tanoue
action filter_type
action find
entity Shinya Tanoue
relation sport
type sport
['Tanoue', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Shinya_Tanoue property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16884265,P641,c(Q349))
action filter_type
action find
entity Q3245171
relation P641
type Q349
That person participated in [ANSWER]
['Q16884265', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q3245171 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Shinya Tanoue
relation sport
type sport
['Tanoue', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Shinya_Tanoue property:sport ?h . ?h rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q23688105
P138
Q502895 Q79529 Q82799
USER
Which names are named after around the same number of people and chemical substances as de Bragança ?
(c(Q82799),P138,c(Q502895)|c(Q79529))
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q502895
action find_tuple_counts
relation P138
type Q82799
type Q79529
action count
action filter_multi_types
action find
entity Q23688105
relation P138
type Q502895
type Q79529
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?s ) WHERE { { ?j property:P138 ?z . ?j rdf:type ontology:Q82799 . ?z rdf:type ontology:Q502895 } UNION { ?j property:P138 ?z . ?j rdf:type ontology:Q82799 . ?z rdf:type ontology:Q79529 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { resource:Q23688105 property:P138 ?h . { { ?h rdf:type ontology:Q502895 } UNION { ?h rdf:type ontology:Q79529 } } } } . FILTER ( ?s = ?i ) }
de Bragança
action approx
action union
action find_tuple_counts
relation named after
type name
type common name
action find_tuple_counts
relation named after
type name
type chemical substance
action count
action filter_multi_types
action find
entity de Bragança
relation named after
type common name
type chemical substance
[{'concept': 'name'}, 'named after', [{'concept': 'common name'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?s ) WHERE { { ?j property:named_after ?z . ?j rdf:type ontology:name . ?z rdf:type ontology:common_name } UNION { ?j property:named_after ?z . ?j rdf:type ontology:name . ?z rdf:type ontology:chemical_substance } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { resource:de_Bragança property:named_after ?h . { { ?h rdf:type ontology:common_name } UNION { ?h rdf:type ontology:chemical_substance } } } } . FILTER ( ?s = ?i ) }
[]
common name chemical substance name
Q318363 Q1069827 Q26247962
SYSTEM
Abel, Rosario, Master of The Hours of Henri II
Q18335877 Q25212228 Q6501864 Q27022433 Q16281329 Q25368020 Q23727105 Q18043344 Q16428618 Q1069827 Q46767 Q1061262 Q25115046 Q16871796 Q23688105 Q23599481 Q1158323 Q1370531 Q16869665 Q1158446 Q1158882 Q8046631 Q11231408 Q24699545 Q13099004 Q17747435 Q15785531 Q21508058 Q16869754 Q5352294 Q20747163 Q813701 Q17847495 Q15629400 Q1812295 Q25343999 Q21449089 Q23783070 Q1643088 Q21507928 Q2909103 Q24529820 Q21448754 Q23995126 Q25058808 Q21501910 Q18198433 Q24805372 Q24451619 Q21491852 Q19847573 Q568872 Q25303577 Q1260304 Q714189 Q21493520 Q18309769 Q17643158 Q21506697 Q2160221 Q16865178 Q26985935 Q179234 Q21517798 Q18198435 Q928249 Q318363 Q24566045 Q1724227 Q26262632 Q23773623 Q20027829 Q18578754 Q25201582 Q1882407 Q24035235 Q22738156 Q13626156 Q19831835 Q16965278 Q20818054 Q16883336 Q16860286 Q25326750 Q16865812 Q20963077 Q612479 Q1755217 Q17625919 Q26247962 Q22922124 Q24689291 Q16877784 Q16865123 Q16148136 Q20727079 Q16881199 Q21491815 Q19899706 Q24229341
(c(Q82799),P138,c(Q502895)|c(Q79529))
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q502895
action find_tuple_counts
relation P138
type Q82799
type Q79529
action count
action filter_multi_types
action find
entity Q23688105
relation P138
type Q502895
type Q79529
[ANSWERS] are named after around the same number of people and chemical substances as de Bragança
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?s ) WHERE { { ?j property:P138 ?z . ?j rdf:type ontology:Q82799 . ?z rdf:type ontology:Q502895 } UNION { ?j property:P138 ?z . ?j rdf:type ontology:Q82799 . ?z rdf:type ontology:Q79529 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { resource:Q23688105 property:P138 ?h . { { ?h rdf:type ontology:Q502895 } UNION { ?h rdf:type ontology:Q79529 } } } } . FILTER ( ?s = ?i ) }
Prévot Émile-Louis Kaplan Danziger Sha'aban Racine Poisson Renard Súla Rosario Meyer Ruby Louarn Lancaster de Bragança Bouvier Albrecht Meister (surname) Draper Smith Fisher Yael Fischer Saunier Larsen Ruzena Barber Delaroche Eastman Fisichella Saccharomyces carlsbergensis Becker Rózsa Dimorphotheca ecklonis Van Leemput Grenier Lebreton Potier Ramos Mouton Boissel Rameau Ahrens Mercier Dumoulin Boulanger Peleg Bigot Métivier Poulain Laserbeak Palmer Vallon Berger Duce Bergmann Macdara If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Lenormand Roche Bureau Froment Cro-Magnon Appenzeller Phanuel Kelly Abel Pignon Rose Ofer Lamour Saxon Voisin Roux MacGowan Kleineidam Zijlstra Ackermann Qutb Wald Giolla Íosa Silver Boucher Février Couture Aryaman Koehler Magowan Du Moulin Master of The Hours of Henri II von Mecklenburg-Schwerin Vigneron Napoli Buffet Archer Schultheiss Picard Le Guen Sawyer Toscano
Abel, Rosario and Master of The Hours of Henri II are named after around the same number of people and chemical substances as de Bragança
Abel Rosario Master of The Hours of Henri II
action approx
action union
action find_tuple_counts
relation named after
type name
type common name
action find_tuple_counts
relation named after
type name
type chemical substance
action count
action filter_multi_types
action find
entity de Bragança
relation named after
type common name
type chemical substance
[{'concept': 'name'}, 'named after', [{'concept': 'common name'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?s ) WHERE { { ?j property:named_after ?z . ?j rdf:type ontology:name . ?z rdf:type ontology:common_name } UNION { ?j property:named_after ?z . ?j rdf:type ontology:name . ?z rdf:type ontology:chemical_substance } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { resource:de_Bragança property:named_after ?h . { { ?h rdf:type ontology:common_name } UNION { ?h rdf:type ontology:chemical_substance } } } } . FILTER ( ?s = ?i ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q318363
P407
Q5962346
USER
What is the language of work for that name ?
(Q318363,P407,c(Q5962346))
action filter_type
action find
entity Q318363
relation P407
type Q5962346
['Q318363', 'P407', {'concept': 'Q5962346'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q5962346 . resource:Q318363 property:P407 ?w }
Abel
action filter_type
action find
entity Abel
relation language of work or name
type classification scheme
['Abel', 'language of work or name', {'concept': 'classification scheme'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:classification_scheme . resource:Abel property:language_of_work_or_name ?w }
[]
classification scheme
Clarification for simple ques.
Q318363
SYSTEM
Did you mean Abel ?
Q318363 Q1069827 Q26247962
(Q318363,P407,c(Q5962346)) (Q1069827,P407,c(Q5962346)) (Q26247962,P407,c(Q5962346))
[ANSWER]
['Q318363', 'P407', {'concept': 'Q5962346'}] ['Q1069827', 'P407', {'concept': 'Q5962346'}] ['Q26247962', 'P407', {'concept': 'Q5962346'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q5962346 . resource:Q318363 property:P407 ?w }
Abel Rosario Master of The Hours of Henri II
Did you mean Abel ?
Abel
['Abel', 'language of work or name', {'concept': 'classification scheme'}] ['Rosario', 'language of work or name', {'concept': 'classification scheme'}] ['Master of The Hours of Henri II', 'language of work or name', {'concept': 'classification scheme'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:classification_scheme . resource:Abel property:language_of_work_or_name ?w }
[]
Simple Question (Coreferenced)
USER
Yes
(Q318363,P407,c(Q5962346))
['Q318363', 'P407', {'concept': 'Q5962346'}]
['Abel', 'language of work or name', {'concept': 'classification scheme'}]
[]
Q21200
SYSTEM
Germanic languages
Q21200
(Q318363,P407,c(Q5962346))
action filter_type
action find
entity Q318363
relation P407
type Q5962346
The language of work for that name is in [ANSWER]
['Q318363', 'P407', {'concept': 'Q5962346'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q5962346 . resource:Q318363 property:P407 ?w }
Germanic languages
The language of work for that name is in Germanic languages
Germanic languages
action filter_type
action find
entity Abel
relation language of work or name
type classification scheme
['Abel', 'language of work or name', {'concept': 'classification scheme'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:classification_scheme . resource:Abel property:language_of_work_or_name ?w }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20898783 Q3245171
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Shinya Tanoue or Manuel González-Quevedo ?
OR((Q3245171,P27,c(Q15617994)), (Q20898783,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3245171
relation P27
action find
entity Q20898783
relation P27
type Q15617994
{'OR': [['Q3245171', 'P27', {'concept': 'Q15617994'}], ['Q20898783', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?k ) { ( resource:Q3245171 ) ( resource:Q20898783 ) } . ?k property:P27 ?x } . ?x rdf:type ontology:Q15617994 }
Manuel González-Quevedo Shinya Tanoue
action filter_type
action union
action find
entity Shinya Tanoue
relation country of citizenship
action find
entity Manuel González-Quevedo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Shinya Tanoue', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Manuel González-Quevedo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?k ) { ( resource:Shinya_Tanoue ) ( resource:Manuel_González-Quevedo ) } . ?k property:country_of_citizenship ?x } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q17
SYSTEM
Spain, Japan
Q29 Q17
OR((Q3245171,P27,c(Q15617994)), (Q20898783,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3245171
relation P27
action find
entity Q20898783
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Shinya Tanoue or Manuel González-Quevedo
{'OR': [['Q3245171', 'P27', {'concept': 'Q15617994'}], ['Q20898783', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?k ) { ( resource:Q3245171 ) ( resource:Q20898783 ) } . ?k property:P27 ?x } . ?x rdf:type ontology:Q15617994 }
Spain Japan
Spain and Japan are the countries of citizenship of Shinya Tanoue or Manuel González-Quevedo
Spain Japan
action filter_type
action union
action find
entity Shinya Tanoue
relation country of citizenship
action find
entity Manuel González-Quevedo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Shinya Tanoue', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Manuel González-Quevedo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?k ) { ( resource:Shinya_Tanoue ) ( resource:Manuel_González-Quevedo ) } . ?k property:country_of_citizenship ?x } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q17
P793
Q15275719 Q8065
USER
How many recurring events and natural disasters are a significant events associated with Japan ?
(Q17,P793,c(Q15275719)) (Q17,P793,c(Q8065))
action count
action union
action filter_type
action find
entity Q17
relation P793
type Q15275719
action filter_type
action find
entity Q17
relation P793
type Q8065
['Q17', 'P793', {'concept': 'Q15275719'}] ['Q17', 'P793', {'concept': 'Q8065'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { resource:Q17 property:P793 ?y . ?y rdf:type ontology:Q15275719 } UNION { resource:Q17 property:P793 ?y . ?y rdf:type ontology:Q8065 } }
Japan
action count
action union
action filter_type
action find
entity Japan
relation significant event
type recurring event
action filter_type
action find
entity Japan
relation significant event
type natural disaster
['Japan', 'significant event', {'concept': 'recurring event'}] ['Japan', 'significant event', {'concept': 'natural disaster'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { resource:Japan property:significant_event ?y . ?y rdf:type ontology:recurring_event } UNION { resource:Japan property:significant_event ?y . ?y rdf:type ontology:natural_disaster } }
[]
recurring event natural disaster
SYSTEM
1 recurring events and 1 natural disasters
Q47735 Q214866
(Q17,P793,c(Q15275719)) (Q17,P793,c(Q8065))
action count
action union
action filter_type
action find
entity Q17
relation P793
type Q15275719
action filter_type
action find
entity Q17
relation P793
type Q8065
[ANSWER]
['Q17', 'P793', {'concept': 'Q15275719'}] ['Q17', 'P793', {'concept': 'Q8065'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { resource:Q17 property:P793 ?y . ?y rdf:type ontology:Q15275719 } UNION { resource:Q17 property:P793 ?y . ?y rdf:type ontology:Q8065 } }
2002 FIFA World Cup Great Hanshin earthquake
1 recurring events and 1 natural disasters
action count
action union
action filter_type
action find
entity Japan
relation significant event
type recurring event
action filter_type
action find
entity Japan
relation significant event
type natural disaster
['Japan', 'significant event', {'concept': 'recurring event'}] ['Japan', 'significant event', {'concept': 'natural disaster'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { resource:Japan property:significant_event ?y . ?y rdf:type ontology:recurring_event } UNION { resource:Japan property:significant_event ?y . ?y rdf:type ontology:natural_disaster } }
[]