Simple Question (Direct)
Simple Question
Q5648375
P735
Q82799
USER
What is the firstname of Hank Kazmierski ?
(Q5648375,P735,c(Q82799))
action filter_type
action find
entity Q5648375
relation P735
type Q82799
['Q5648375', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q5648375 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Hank Kazmierski
action filter_type
action find
entity Hank Kazmierski
relation given name
type name
['Hank Kazmierski', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Hank_Kazmierski property:given_name ?d . ?d rdf:type ontology:name }
[]
name
Q19819765
SYSTEM
Hank
Q19819765
(Q5648375,P735,c(Q82799))
action filter_type
action find
entity Q5648375
relation P735
type Q82799
The firstname of [ANSWER] Kazmierski is the [ANSWER]
['Q5648375', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q5648375 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Hank
The firstname of Hank Kazmierski is the Hank
Hank
action filter_type
action find
entity Hank Kazmierski
relation given name
type name
['Hank Kazmierski', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Hank_Kazmierski property:given_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5648375
P641
Q349
USER
Which sport did Hank Kazmierski participate in ?
(Q5648375,P641,c(Q349))
action filter_type
action find
entity Q5648375
relation P641
type Q349
['Q5648375', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q349 . resource:Q5648375 property:P641 ?c }
Hank Kazmierski
action filter_type
action find
entity Hank Kazmierski
relation sport
type sport
['Hank Kazmierski', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sport . resource:Hank_Kazmierski property:sport ?c }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5648375,P641,c(Q349))
action filter_type
action find
entity Q5648375
relation P641
type Q349
Hank Kazmierski participated in [ANSWER]
['Q5648375', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q349 . resource:Q5648375 property:P641 ?c }
association football
Hank Kazmierski participated in association football
association football
action filter_type
action find
entity Hank Kazmierski
relation sport
type sport
['Hank Kazmierski', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sport . resource:Hank_Kazmierski property:sport ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19819765
P1533
Q82799
USER
Which name is equal to Hank ?
(Q19819765,P1533,c(Q82799))
action filter_type
action find
entity Q19819765
relation P1533
type Q82799
['Q19819765', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q19819765 property:P1533 ?o . ?o rdf:type ontology:Q82799 }
Hank
action filter_type
action find
entity Hank
relation family name identical to this first name
type name
['Hank', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Hank property:family_name_identical_to_this_first_name ?o . ?o rdf:type ontology:name }
[]
name
Q3783038
SYSTEM
Hank
Q3783038
(Q19819765,P1533,c(Q82799))
action filter_type
action find
entity Q19819765
relation P1533
type Q82799
Is [ANSWER] is equal to [ANSWER]
['Q19819765', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q19819765 property:P1533 ?o . ?o rdf:type ontology:Q82799 }
Hank
Is Hank is equal to Hank
Hank
action filter_type
action find
entity Hank
relation family name identical to this first name
type name
['Hank', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Hank property:family_name_identical_to_this_first_name ?o . ?o rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4428095 Q3783038
P734
Q502895
USER
Which people have Hank or Соловьёва as family name ?
OR((c(Q502895),P734,Q3783038), (c(Q502895),P734,Q4428095))
action filter_type
action union
action find_reverse
entity Q3783038
relation P734
action find_reverse
entity Q4428095
relation P734
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P734', 'Q3783038'], [{'concept': 'Q502895'}, 'P734', 'Q4428095']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . { VALUES ( ?s ) { ( resource:Q3783038 ) ( resource:Q4428095 ) } . ?y property:P734 ?s } }
Соловьёва Hank
action filter_type
action union
action find_reverse
entity Hank
relation family name
action find_reverse
entity Соловьёва
relation family name
type common name
{'OR': [[{'concept': 'common name'}, 'family name', 'Hank'], [{'concept': 'common name'}, 'family name', 'Соловьёва']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . { VALUES ( ?s ) { ( resource:Hank ) ( resource:Соловьёва ) } . ?y property:family_name ?s } }
[]
common name
Q247192 Q2176478 Q820606 Q4428102 Q4428104
SYSTEM
Valeriya Solovyeva, Jorge Hank Rhon, Irina Solovyova, Yelena Solovyova, Yelena Solovyova
Q247192 Q2176478 Q820606 Q4428102 Q4428104
OR((c(Q502895),P734,Q3783038), (c(Q502895),P734,Q4428095))
action filter_type
action union
action find_reverse
entity Q3783038
relation P734
action find_reverse
entity Q4428095
relation P734
type Q502895
[ANSWERS] have Hank or Соловьёва as family name
{'OR': [[{'concept': 'Q502895'}, 'P734', 'Q3783038'], [{'concept': 'Q502895'}, 'P734', 'Q4428095']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . { VALUES ( ?s ) { ( resource:Q3783038 ) ( resource:Q4428095 ) } . ?y property:P734 ?s } }
Valeriya Solovyeva Jorge Hank Rhon Irina Solovyova Yelena Solovyova Yelena Solovyova
Valeriya Solovyeva, Jorge Hank Rhon, Irina Solovyova, Yelena Solovyova and Yelena Solovyova have Hank or Соловьёва as family name
Valeriya Solovyeva Jorge Hank Rhon Irina Solovyova Yelena Solovyova Yelena Solovyova
action filter_type
action union
action find_reverse
entity Hank
relation family name
action find_reverse
entity Соловьёва
relation family name
type common name
{'OR': [[{'concept': 'common name'}, 'family name', 'Hank'], [{'concept': 'common name'}, 'family name', 'Соловьёва']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . { VALUES ( ?s ) { ( resource:Hank ) ( resource:Соловьёва ) } . ?y property:family_name ?s } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q25115046
P138
Q79529 Q82799 Q82799
USER
Which names are the eponym of lesser number of chemical substances or names than Louarn ?
(c(Q82799),P138,c(Q79529)|c(Q82799))
action less
action union
action find_tuple_counts
relation P138
type Q82799
type Q79529
action find_tuple_counts
relation P138
type Q82799
type Q82799
action count
action filter_multi_types
action find
entity Q25115046
relation P138
type Q79529
type Q82799
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?p WHERE { { ?p property:P138 ?u . ?p rdf:type ontology:Q82799 . ?u rdf:type ontology:Q82799 } UNION { ?p property:P138 ?u . ?u rdf:type ontology:Q79529 . ?p rdf:type ontology:Q82799 } } GROUP BY ?p } . FILTER ( ?i < ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Q25115046 property:P138 ?q . { { ?q rdf:type ontology:Q79529 } UNION { ?q rdf:type ontology:Q82799 } } } } }
Louarn
action less
action union
action find_tuple_counts
relation named after
type name
type chemical substance
action find_tuple_counts
relation named after
type name
type name
action count
action filter_multi_types
action find
entity Louarn
relation named after
type chemical substance
type name
[{'concept': 'name'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'name'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?p WHERE { { ?p property:named_after ?u . ?p rdf:type ontology:name . ?u rdf:type ontology:name } UNION { ?p property:named_after ?u . ?u rdf:type ontology:chemical_substance . ?p rdf:type ontology:name } } GROUP BY ?p } . FILTER ( ?i < ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Louarn property:named_after ?q . { { ?q rdf:type ontology:chemical_substance } UNION { ?q rdf:type ontology:name } } } } }
[]
chemical substance name name
Q318363 Q1069827 Q1746111
SYSTEM
Abel, Rosario, Michael Gregorio
Q18335877 Q25212228 Q6501864 Q27022433 Q18198499 Q16281329 Q25368020 Q16428618 Q1069827 Q46767 Q1061262 Q19558843 Q16871796 Q23688105 Q23599481 Q1158323 Q1370531 Q16869665 Q1158446 Q1158882 Q8046631 Q11231408 Q24699545 Q13099004 Q15785531 Q21508058 Q16869754 Q5352294 Q20747163 Q813701 Q17847495 Q15629400 Q1746111 Q23885849 Q1812295 Q25343999 Q21161805 Q21449089 Q23783070 Q1643088 Q2909103 Q24529820 Q807882 Q21448754 Q23995126 Q25058808 Q21501910 Q18198433 Q24805372 Q24451619 Q21491852 Q19847573 Q568872 Q25303577 Q1260304 Q714189 Q21493520 Q18309769 Q17643158 Q21506697 Q2160221 Q16865178 Q26985935 Q179234 Q21517798 Q18198435 Q688520 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 Q23301520 Q16865123 Q16148136 Q20727079 Q16881199 Q21491815 Q19899706 Q24229341
(c(Q82799),P138,c(Q79529)|c(Q82799))
action less
action union
action find_tuple_counts
relation P138
type Q82799
type Q79529
action find_tuple_counts
relation P138
type Q82799
type Q82799
action count
action filter_multi_types
action find
entity Q25115046
relation P138
type Q79529
type Q82799
[ANSWERS] are the eponym of lesser number of chemical substances or names than Louarn
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?p WHERE { { ?p property:P138 ?u . ?p rdf:type ontology:Q82799 . ?u rdf:type ontology:Q82799 } UNION { ?p property:P138 ?u . ?u rdf:type ontology:Q79529 . ?p rdf:type ontology:Q82799 } } GROUP BY ?p } . FILTER ( ?i < ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Q25115046 property:P138 ?q . { { ?q rdf:type ontology:Q79529 } UNION { ?q rdf:type ontology:Q82799 } } } } }
Prévot Émile-Louis Kaplan Danziger Elizur Sha'aban Racine Súla Rosario Meyer Ruby Pseudo-Lucian Lancaster de Bragança Bouvier Albrecht Meister (surname) Draper Smith Fisher Yael Fischer Saunier Larsen Barber Delaroche Eastman Fisichella Saccharomyces carlsbergensis Becker Rózsa Dimorphotheca ecklonis Michael Gregorio Achaz Van Leemput Grenier Cain Lebreton Potier Ramos Boissel Rameau Barbus Müller 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 Arminia 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 Aonchotheca moraveci Buffet Archer Schultheiss Picard Le Guen Sawyer Toscano
Abel, Rosario and Michael Gregorio are the eponym of lesser number of chemical substances or names than Louarn
Abel Rosario Michael Gregorio
action less
action union
action find_tuple_counts
relation named after
type name
type chemical substance
action find_tuple_counts
relation named after
type name
type name
action count
action filter_multi_types
action find
entity Louarn
relation named after
type chemical substance
type name
[{'concept': 'name'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'name'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?p WHERE { { ?p property:named_after ?u . ?p rdf:type ontology:name . ?u rdf:type ontology:name } UNION { ?p property:named_after ?u . ?u rdf:type ontology:chemical_substance . ?p rdf:type ontology:name } } GROUP BY ?p } . FILTER ( ?i < ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Louarn property:named_after ?q . { { ?q rdf:type ontology:chemical_substance } UNION { ?q rdf:type ontology:name } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q13553585
P138
Q79529 Q82799 Q82799
USER
And also tell me about Gold?
(c(Q82799),P138,c(Q79529)|c(Q82799))
action less
action union
action find_tuple_counts
relation P138
type Q82799
type Q79529
action find_tuple_counts
relation P138
type Q82799
type Q82799
action count
action filter_multi_types
action find
entity Q13553585
relation P138
type Q79529
type Q82799
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q13553585 property:P138 ?k . { { ?k rdf:type ontology:Q79529 } UNION { ?k rdf:type ontology:Q82799 } } } } . FILTER ( ?j < ?y ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) ?f WHERE { { ?f rdf:type ontology:Q82799 . ?e rdf:type ontology:Q79529 . ?f property:P138 ?e } UNION { ?f property:P138 ?e . ?e rdf:type ontology:Q82799 . ?f rdf:type ontology:Q82799 } } GROUP BY ?f } }
Gold
action less
action union
action find_tuple_counts
relation named after
type name
type chemical substance
action find_tuple_counts
relation named after
type name
type name
action count
action filter_multi_types
action find
entity Gold
relation named after
type chemical substance
type name
[{'concept': 'name'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'name'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Gold property:named_after ?k . { { ?k rdf:type ontology:chemical_substance } UNION { ?k rdf:type ontology:name } } } } . FILTER ( ?j < ?y ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) ?f WHERE { { ?f rdf:type ontology:name . ?e rdf:type ontology:chemical_substance . ?f property:named_after ?e } UNION { ?f property:named_after ?e . ?e rdf:type ontology:name . ?f rdf:type ontology:name } } GROUP BY ?f } }
[]
chemical substance name name
Q318363 Q1069827 Q1746111
SYSTEM
Abel, Rosario, Michael Gregorio
Q18335877 Q25212228 Q6501864 Q27022433 Q18198499 Q16281329 Q25368020 Q16428618 Q1069827 Q46767 Q1061262 Q19558843 Q16871796 Q23688105 Q23599481 Q1158323 Q1370531 Q16869665 Q1158446 Q1158882 Q8046631 Q11231408 Q24699545 Q13099004 Q15785531 Q21508058 Q16869754 Q5352294 Q20747163 Q813701 Q17847495 Q15629400 Q1746111 Q23885849 Q1812295 Q25343999 Q21161805 Q21449089 Q23783070 Q1643088 Q2909103 Q24529820 Q807882 Q21448754 Q23995126 Q25058808 Q21501910 Q18198433 Q24805372 Q24451619 Q21491852 Q19847573 Q568872 Q25303577 Q1260304 Q714189 Q21493520 Q18309769 Q17643158 Q21506697 Q2160221 Q16865178 Q26985935 Q179234 Q21517798 Q18198435 Q688520 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 Q23301520 Q16865123 Q16148136 Q20727079 Q16881199 Q21491815 Q19899706 Q24229341
(c(Q82799),P138,c(Q79529)|c(Q82799))
action less
action union
action find_tuple_counts
relation P138
type Q82799
type Q79529
action find_tuple_counts
relation P138
type Q82799
type Q82799
action count
action filter_multi_types
action find
entity Q13553585
relation P138
type Q79529
type Q82799
[ANSWERS]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q13553585 property:P138 ?k . { { ?k rdf:type ontology:Q79529 } UNION { ?k rdf:type ontology:Q82799 } } } } . FILTER ( ?j < ?y ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) ?f WHERE { { ?f rdf:type ontology:Q82799 . ?e rdf:type ontology:Q79529 . ?f property:P138 ?e } UNION { ?f property:P138 ?e . ?e rdf:type ontology:Q82799 . ?f rdf:type ontology:Q82799 } } GROUP BY ?f } }
Prévot Émile-Louis Kaplan Danziger Elizur Sha'aban Racine Súla Rosario Meyer Ruby Pseudo-Lucian Lancaster de Bragança Bouvier Albrecht Meister (surname) Draper Smith Fisher Yael Fischer Saunier Larsen Barber Delaroche Eastman Fisichella Saccharomyces carlsbergensis Becker Rózsa Dimorphotheca ecklonis Michael Gregorio Achaz Van Leemput Grenier Cain Lebreton Potier Ramos Boissel Rameau Barbus Müller 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 Arminia 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 Aonchotheca moraveci Buffet Archer Schultheiss Picard Le Guen Sawyer Toscano
Abel Rosario Michael Gregorio
action less
action union
action find_tuple_counts
relation named after
type name
type chemical substance
action find_tuple_counts
relation named after
type name
type name
action count
action filter_multi_types
action find
entity Gold
relation named after
type chemical substance
type name
[{'concept': 'name'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'name'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Gold property:named_after ?k . { { ?k rdf:type ontology:chemical_substance } UNION { ?k rdf:type ontology:name } } } } . FILTER ( ?j < ?y ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) ?f WHERE { { ?f rdf:type ontology:name . ?e rdf:type ontology:chemical_substance . ?f property:named_after ?e } UNION { ?f property:named_after ?e . ?e rdf:type ontology:name . ?f rdf:type ontology:name } } GROUP BY ?f } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q625291 Q4428102
P27
Q15617994
USER
Which administrative territories are the native countriesof Yelena Solovyova or Chu Sang-mi ?
OR((Q4428102,P27,c(Q15617994)), (Q625291,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4428102
relation P27
action find
entity Q625291
relation P27
type Q15617994
{'OR': [['Q4428102', 'P27', {'concept': 'Q15617994'}], ['Q625291', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q625291 property:P27 ?o } UNION { resource:Q4428102 property:P27 ?o } } }
Chu Sang-mi Yelena Solovyova
action filter_type
action union
action find
entity Yelena Solovyova
relation country of citizenship
action find
entity Chu Sang-mi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Yelena Solovyova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Chu Sang-mi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Chu_Sang-mi property:country_of_citizenship ?o } UNION { resource:Yelena_Solovyova property:country_of_citizenship ?o } } }
[]
designation for an administrative territorial entity
Q884 Q159
SYSTEM
South Korea, Russia
Q884 Q159
OR((Q4428102,P27,c(Q15617994)), (Q625291,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4428102
relation P27
action find
entity Q625291
relation P27
type Q15617994
[ANSWERS] are the native countriesof Yelena Solovyova or Chu Sang-mi
{'OR': [['Q4428102', 'P27', {'concept': 'Q15617994'}], ['Q625291', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q625291 property:P27 ?o } UNION { resource:Q4428102 property:P27 ?o } } }
South Korea Russia
South Korea and Russia are the native countriesof Yelena Solovyova or Chu Sang-mi
South Korea Russia
action filter_type
action union
action find
entity Yelena Solovyova
relation country of citizenship
action find
entity Chu Sang-mi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Yelena Solovyova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Chu Sang-mi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Chu_Sang-mi property:country_of_citizenship ?o } UNION { resource:Yelena_Solovyova property:country_of_citizenship ?o } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q625291
P161
Q838948
USER
How many works of art have Chu Sang-mi in their star cast ?
(c(Q838948),P161,Q625291)
action count
action filter_type
action find_reverse
entity Q625291
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q625291']
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n rdf:type ontology:Q838948 . ?n property:P161 resource:Q625291 }
Chu Sang-mi
action count
action filter_type
action find_reverse
entity Chu Sang-mi
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Chu Sang-mi']
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n rdf:type ontology:work_of_art . ?n property:cast_member resource:Chu_Sang-mi }
[]
work of art
SYSTEM
5
Q489235 Q3474704 Q626868 Q16178059 Q6946315
(c(Q838948),P161,Q625291)
action count
action filter_type
action find_reverse
entity Q625291
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q625291']
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n rdf:type ontology:Q838948 . ?n property:P161 resource:Q625291 }
Everybody Has Secrets Say Yes On the Occasion of Remembering the Turning Gate The Wonder Years My Right to Ravage Myself
5
action count
action filter_type
action find_reverse
entity Chu Sang-mi
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Chu Sang-mi']
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n rdf:type ontology:work_of_art . ?n property:cast_member resource:Chu_Sang-mi }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q625291
P26
Q502895
USER
Which person is the life partner of that one ?
action filter_type
action find_reverse
entity Q625291
relation P26
type Q502895
SELECT DISTINCT ?d WHERE { ?d property:P26 resource:Q625291 . ?d rdf:type ontology:Q502895 }
Chu Sang-mi
action filter_type
action find_reverse
entity Chu Sang-mi
relation spouse
type common name
SELECT DISTINCT ?d WHERE { ?d property:spouse resource:Chu_Sang-mi . ?d rdf:type ontology:common_name }
[]
common name
Q18648443
SYSTEM
Lee Seok-jun
Q18648443
action filter_type
action find_reverse
entity Q625291
relation P26
type Q502895
[ANSWER] is the life partner of that one
SELECT DISTINCT ?d WHERE { ?d property:P26 resource:Q625291 . ?d rdf:type ontology:Q502895 }
Lee Seok-jun
Lee Seok-jun is the life partner of that one
Lee Seok-jun
action filter_type
action find_reverse
entity Chu Sang-mi
relation spouse
type common name
SELECT DISTINCT ?d WHERE { ?d property:spouse resource:Chu_Sang-mi . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P530
Q5589178
USER
Who holds diplomatic relationship with Russia ?
(Q159,P530,c(Q5589178))
action filter_type
action find
entity Q159
relation P530
type Q5589178
['Q159', 'P530', {'concept': 'Q5589178'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q5589178 . resource:Q159 property:P530 ?e }
Russia
action filter_type
action find
entity Russia
relation diplomatic relation
type regime
['Russia', 'diplomatic relation', {'concept': 'regime'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:regime . resource:Russia property:diplomatic_relation ?e }
[]
regime
Q23427
SYSTEM
South Ossetia
Q23427
(Q159,P530,c(Q5589178))
action filter_type
action find
entity Q159
relation P530
type Q5589178
And [ANSWER] holds diplomatic relationship with Russia
['Q159', 'P530', {'concept': 'Q5589178'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q5589178 . resource:Q159 property:P530 ?e }
South Ossetia
And South Ossetia holds diplomatic relationship with Russia
South Ossetia
action filter_type
action find
entity Russia
relation diplomatic relation
type regime
['Russia', 'diplomatic relation', {'concept': 'regime'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:regime . resource:Russia property:diplomatic_relation ?e }
[]