Simple Question (Direct)
Simple Question
Q6396625
P27
Q15617994
USER
Which administrative territory is Kevin Jones a civilian of ?
(Q6396625,P27,c(Q15617994))
action filter_type
action find
entity Q6396625
relation P27
type Q15617994
['Q6396625', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q6396625 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Kevin Jones
action filter_type
action find
entity Kevin Jones
relation country of citizenship
type designation for an administrative territorial entity
['Kevin Jones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Kevin_Jones property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6396625,P27,c(Q15617994))
action filter_type
action find
entity Q6396625
relation P27
type Q15617994
The [ANSWER] is Kevin Jones a civilian of
['Q6396625', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q6396625 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
United States of America
The United States of America is Kevin Jones a civilian of
United States of America
action filter_type
action find
entity Kevin Jones
relation country of citizenship
type designation for an administrative territorial entity
['Kevin Jones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Kevin_Jones property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6396625
P734
Q82799
USER
Who is associated with that person ?
(Q30,P734,c(Q82799))
action filter_type
action find
entity Q6396625
relation P734
type Q82799
['Q30', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q6396625 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Kevin Jones
action filter_type
action find
entity Kevin Jones
relation family name
type name
['United States of America', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Kevin_Jones property:family_name ?n . ?n rdf:type ontology:name }
[]
name
Q59853
SYSTEM
Jones
Q59853
(Q30,P734,c(Q82799))
action filter_type
action find
entity Q6396625
relation P734
type Q82799
[ANSWER] is associated with that person
['Q30', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q6396625 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Jones
Jones is associated with that person
Jones
action filter_type
action find
entity Kevin Jones
relation family name
type name
['United States of America', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Kevin_Jones property:family_name ?n . ?n rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6396625
P106
Q12737077
USER
What does that person do for a living ?
(Q59853,P106,c(Q12737077))
action filter_type
action find
entity Q6396625
relation P106
type Q12737077
['Q59853', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q6396625 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Kevin Jones
action filter_type
action find
entity Kevin Jones
relation occupation
type occupation
['Jones', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Kevin_Jones property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q59853,P106,c(Q12737077))
action filter_type
action find
entity Q6396625
relation P106
type Q12737077
That person does an [ANSWER] for a living
['Q59853', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q6396625 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
American football player
That person does an American football player for a living
American football player
action filter_type
action find
entity Kevin Jones
relation occupation
type occupation
['Jones', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Kevin_Jones property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6396625
P21
Q290
USER
What is the sex of Kevin Jones ?
(Q6396625,P21,c(Q290))
action filter_type
action find
entity Q6396625
relation P21
type Q290
['Q6396625', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q6396625 property:P21 ?t . ?t rdf:type ontology:Q290 }
Kevin Jones
action filter_type
action find
entity Kevin Jones
relation gender
type sex
['Kevin Jones', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Kevin_Jones property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6396625,P21,c(Q290))
action filter_type
action find
entity Q6396625
relation P21
type Q290
The sex of Kevin Jones is a [ANSWER]
['Q6396625', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q6396625 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
The sex of Kevin Jones is a male
male
action filter_type
action find
entity Kevin Jones
relation gender
type sex
['Kevin Jones', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Kevin_Jones property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20738154
Q290
USER
And what about Robert Owen Hughes?
(Q20738154,P21,c(Q290))
action filter_type
action find
entity Q20738154
relation P21
type Q290
['Q20738154', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q20738154 property:P21 ?y . ?y rdf:type ontology:Q290 }
Robert Owen Hughes
action filter_type
action find
entity Robert Owen Hughes
relation gender
type sex
['Robert Owen Hughes', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Robert_Owen_Hughes property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20738154,P21,c(Q290))
action filter_type
action find
entity Q20738154
relation P21
type Q290
[ANSWER]
['Q20738154', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q20738154 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Robert Owen Hughes
relation gender
type sex
['Robert Owen Hughes', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Robert_Owen_Hughes property:gender ?y . ?y rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q16860286
P138
Q486972 Q502895 Q82799
USER
How many names have around the same number of human settlements and people as their toponym as Boucher ?
(c(Q82799),P138,c(Q486972)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q486972
action find_tuple_counts
relation P138
type Q82799
type Q502895
action count
action filter_multi_types
action find
entity Q16860286
relation P138
type Q486972
type Q502895
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?z ) { ( ontology:Q486972 ) ( ontology:Q502895 ) } . ?k rdf:type ?z } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Q16860286 property:P138 ?v . { VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q486972 ) } . ?v rdf:type ?c } } } . FILTER ( ?i = ?s ) }
Boucher
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type human settlement
action find_tuple_counts
relation named after
type name
type common name
action count
action filter_multi_types
action find
entity Boucher
relation named after
type human settlement
type common name
[{'concept': 'name'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?z ) { ( ontology:human_settlement ) ( ontology:common_name ) } . ?k rdf:type ?z } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Boucher property:named_after ?v . { VALUES ( ?c ) { ( ontology:common_name ) ( ontology:human_settlement ) } . ?v rdf:type ?c } } } . FILTER ( ?i = ?s ) }
[]
human settlement common name name
SYSTEM
100
Q18335877 Q25212228 Q6501864 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 Q13553585 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(Q486972)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q486972
action find_tuple_counts
relation P138
type Q82799
type Q502895
action count
action filter_multi_types
action find
entity Q16860286
relation P138
type Q486972
type Q502895
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?z ) { ( ontology:Q486972 ) ( ontology:Q502895 ) } . ?k rdf:type ?z } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Q16860286 property:P138 ?v . { VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q486972 ) } . ?v rdf:type ?c } } } . FILTER ( ?i = ?s ) }
Prévot Émile-Louis Kaplan 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 Gold 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
100
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type human settlement
action find_tuple_counts
relation named after
type name
type common name
action count
action filter_multi_types
action find
entity Boucher
relation named after
type human settlement
type common name
[{'concept': 'name'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?z ) { ( ontology:human_settlement ) ( ontology:common_name ) } . ?k rdf:type ?z } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Boucher property:named_after ?v . { VALUES ( ?c ) { ( ontology:common_name ) ( ontology:human_settlement ) } . ?v rdf:type ?c } } } . FILTER ( ?i = ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q21449089
P138
Q486972 Q502895 Q82799
USER
And how about Lebreton?
(c(Q82799),P138,c(Q486972)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q486972
action find_tuple_counts
relation P138
type Q82799
type Q502895
action count
action filter_multi_types
action find
entity Q21449089
relation P138
type Q486972
type Q502895
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?x WHERE { { ?x property:P138 ?j . ?x rdf:type ontology:Q82799 . ?j rdf:type ontology:Q486972 } UNION { ?x rdf:type ontology:Q82799 . ?j rdf:type ontology:Q502895 . ?x property:P138 ?j } } GROUP BY ?x } . FILTER ( ?b = ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Q21449089 property:P138 ?y . { { ?y rdf:type ontology:Q486972 } UNION { ?y rdf:type ontology:Q502895 } } } } }
Lebreton
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type human settlement
action find_tuple_counts
relation named after
type name
type common name
action count
action filter_multi_types
action find
entity Lebreton
relation named after
type human settlement
type common name
[{'concept': 'name'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?x WHERE { { ?x property:named_after ?j . ?x rdf:type ontology:name . ?j rdf:type ontology:human_settlement } UNION { ?x rdf:type ontology:name . ?j rdf:type ontology:common_name . ?x property:named_after ?j } } GROUP BY ?x } . FILTER ( ?b = ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Lebreton property:named_after ?y . { { ?y rdf:type ontology:human_settlement } UNION { ?y rdf:type ontology:common_name } } } } }
[]
human settlement common name name
SYSTEM
100
Q18335877 Q25212228 Q6501864 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 Q13553585 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(Q486972)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q486972
action find_tuple_counts
relation P138
type Q82799
type Q502895
action count
action filter_multi_types
action find
entity Q21449089
relation P138
type Q486972
type Q502895
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?x WHERE { { ?x property:P138 ?j . ?x rdf:type ontology:Q82799 . ?j rdf:type ontology:Q486972 } UNION { ?x rdf:type ontology:Q82799 . ?j rdf:type ontology:Q502895 . ?x property:P138 ?j } } GROUP BY ?x } . FILTER ( ?b = ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Q21449089 property:P138 ?y . { { ?y rdf:type ontology:Q486972 } UNION { ?y rdf:type ontology:Q502895 } } } } }
Prévot Émile-Louis Kaplan 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 Gold 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
100
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type human settlement
action find_tuple_counts
relation named after
type name
type common name
action count
action filter_multi_types
action find
entity Lebreton
relation named after
type human settlement
type common name
[{'concept': 'name'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?x WHERE { { ?x property:named_after ?j . ?x rdf:type ontology:name . ?j rdf:type ontology:human_settlement } UNION { ?x rdf:type ontology:name . ?j rdf:type ontology:common_name . ?x property:named_after ?j } } GROUP BY ?x } . FILTER ( ?b = ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Lebreton property:named_after ?y . { { ?y rdf:type ontology:human_settlement } UNION { ?y rdf:type ontology:common_name } } } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P88
Q502895 Q340169 Q838948
USER
Which people commissioned max number of medias or works of art ?
(c(Q340169)|c(Q838948),P88,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P88
type Q502895
type Q838948
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?i WHERE { ?e rdf:type ?n . VALUES ( ?n ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?z WHERE { { ?t property:P88 ?z . ?z rdf:type ontology:Q502895 . ?t rdf:type ontology:Q340169 } UNION { ?t property:P88 ?z . ?t rdf:type ontology:Q838948 . ?z rdf:type ontology:Q502895 } } GROUP BY ?z } . FILTER ( ?q = ?o ) }
action argmax
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type media
action find_reverse_tuple_counts
relation commissioned by
type common name
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?i WHERE { ?e rdf:type ?n . VALUES ( ?n ) { ( ontology:media ) ( ontology:work_of_art ) } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?z WHERE { { ?t property:commissioned_by ?z . ?z rdf:type ontology:common_name . ?t rdf:type ontology:media } UNION { ?t property:commissioned_by ?z . ?t rdf:type ontology:work_of_art . ?z rdf:type ontology:common_name } } GROUP BY ?z } . FILTER ( ?q = ?o ) }
[]
common name media work of art
Q2854144
SYSTEM
Antoine Le Viste
Q2854144
(c(Q340169)|c(Q838948),P88,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P88
type Q502895
type Q838948
[ANSWER] commissioned max number of medias or works of art
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?i WHERE { ?e rdf:type ?n . VALUES ( ?n ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?z WHERE { { ?t property:P88 ?z . ?z rdf:type ontology:Q502895 . ?t rdf:type ontology:Q340169 } UNION { ?t property:P88 ?z . ?t rdf:type ontology:Q838948 . ?z rdf:type ontology:Q502895 } } GROUP BY ?z } . FILTER ( ?q = ?o ) }
Antoine Le Viste
Antoine Le Viste commissioned max number of medias or works of art
Antoine Le Viste
action argmax
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type media
action find_reverse_tuple_counts
relation commissioned by
type common name
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?i WHERE { ?e rdf:type ?n . VALUES ( ?n ) { ( ontology:media ) ( ontology:work_of_art ) } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?z WHERE { { ?t property:commissioned_by ?z . ?z rdf:type ontology:common_name . ?t rdf:type ontology:media } UNION { ?t property:commissioned_by ?z . ?t rdf:type ontology:work_of_art . ?z rdf:type ontology:common_name } } GROUP BY ?z } . FILTER ( ?q = ?o ) }
[]