Simple Question (Direct)
Simple Question
Q1288737
P166
Q618779
USER
What were won by Eduard Hindelang ?
(Q1288737,P166,c(Q618779))
action filter_type
action find
entity Q1288737
relation P166
type Q618779
['Q1288737', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q1288737 property:P166 ?m . ?m rdf:type ontology:Q618779 }
Eduard Hindelang
action filter_type
action find
entity Eduard Hindelang
relation award received
type award
['Eduard Hindelang', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Eduard_Hindelang property:award_received ?m . ?m rdf:type ontology:award }
[]
award
Q16750686 Q10905334 Q445673
SYSTEM
knight of St. Sylvester, Officer's Cross of the Order of Merit of the Federal Republic of Germany, Order of Merit of Baden-Württemberg
Q16750686 Q10905334 Q445673
(Q1288737,P166,c(Q618779))
action filter_type
action find
entity Q1288737
relation P166
type Q618779
[ANSWERS] were won by Eduard Hindelang
['Q1288737', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q1288737 property:P166 ?m . ?m rdf:type ontology:Q618779 }
knight of St. Sylvester Officer's Cross of the Order of Merit of the Federal Republic of Germany Order of Merit of Baden-Württemberg
Knight of St. Sylvester, Officer's Cross of the Order of Merit of the Federal Republic of Germany and Order of Merit of Baden-Württemberg were won by Eduard Hindelang
knight of St. Sylvester Officer's Cross of the Order of Merit of the Federal Republic of Germany Order of Merit of Baden-Württemberg
action filter_type
action find
entity Eduard Hindelang
relation award received
type award
['Eduard Hindelang', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Eduard_Hindelang property:award_received ?m . ?m rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1288737
P734
Q82799
USER
Who is associated with Eduard Hindelang ?
(Q1288737,P734,c(Q82799))
action filter_type
action find
entity Q1288737
relation P734
type Q82799
['Q1288737', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q1288737 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Eduard Hindelang
action filter_type
action find
entity Eduard Hindelang
relation family name
type name
['Eduard Hindelang', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Eduard_Hindelang property:family_name ?a . ?a rdf:type ontology:name }
[]
name
Q23307734
SYSTEM
Hindelang
Q23307734
(Q1288737,P734,c(Q82799))
action filter_type
action find
entity Q1288737
relation P734
type Q82799
Eduard [ANSWER] is associated with Eduard [ANSWER]
['Q1288737', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q1288737 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Hindelang
Eduard Hindelang is associated with Eduard Hindelang
Hindelang
action filter_type
action find
entity Eduard Hindelang
relation family name
type name
['Eduard Hindelang', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Eduard_Hindelang property:family_name ?a . ?a rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1027
Q515 Q12737077 Q618779
USER
Which awards are awarded by max number of cities and occupations ?
(c(Q618779),P1027,c(Q515)|c(Q12737077))
action argmax
action union
action find_tuple_counts
relation P1027
type Q618779
type Q515
action find_tuple_counts
relation P1027
type Q618779
type Q12737077
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q515'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?t WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:Q515 ) ( ontology:Q12737077 ) } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?u WHERE { { ?u property:P1027 ?v . ?u rdf:type ontology:Q618779 . ?v rdf:type ontology:Q515 } UNION { ?u property:P1027 ?v . ?u rdf:type ontology:Q618779 . ?v rdf:type ontology:Q12737077 } } GROUP BY ?u } . FILTER ( ?l = ?g ) }
action argmax
action union
action find_tuple_counts
relation conferred by
type award
type city
action find_tuple_counts
relation conferred by
type award
type occupation
[{'concept': 'award'}, 'conferred by', [{'concept': 'city'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?t WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:city ) ( ontology:occupation ) } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?u WHERE { { ?u property:conferred_by ?v . ?u rdf:type ontology:award . ?v rdf:type ontology:city } UNION { ?u property:conferred_by ?v . ?u rdf:type ontology:award . ?v rdf:type ontology:occupation } } GROUP BY ?u } . FILTER ( ?l = ?g ) }
[]
city occupation award
Q11883475 Q735298 Q657973
SYSTEM
Musiikkineuvos, Supreme Order of Christ, Medal of Valor
Q1955217 Q3003649 Q18608365 Q3042865 Q11883475 Q735298 Q7241175 Q20716439 Q1141859 Q657973 Q16750686 Q93716 Q16750840 Q4287039 Q4286925
(c(Q618779),P1027,c(Q515)|c(Q12737077))
action argmax
action union
action find_tuple_counts
relation P1027
type Q618779
type Q515
action find_tuple_counts
relation P1027
type Q618779
type Q12737077
[ANSWERS] are awarded by max number of cities and occupations
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q515'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?t WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:Q515 ) ( ontology:Q12737077 ) } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?u WHERE { { ?u property:P1027 ?v . ?u rdf:type ontology:Q618779 . ?v rdf:type ontology:Q515 } UNION { ?u property:P1027 ?v . ?u rdf:type ontology:Q618779 . ?v rdf:type ontology:Q12737077 } } GROUP BY ?u } . FILTER ( ?l = ?g ) }
Musikpreis der Stadt Duisburg Meritorious Service Cross Knight Grand Cross of the Order of St. Sylvester Canadian Forces Decoration Musiikkineuvos Supreme Order of Christ Presidential Medal of Distinction Order for Exceptional Merits Medal of Merit Medal of Valor knight of St. Sylvester Order of the Golden Spur komtur of Order of St. Sylvester Medal for Sacrifice and Courage Medal for Long Marital Life
Musiikkineuvos, Supreme Order of Christ and Medal of Valor are awarded by max number of cities and occupations
Musiikkineuvos Supreme Order of Christ Medal of Valor
action argmax
action union
action find_tuple_counts
relation conferred by
type award
type city
action find_tuple_counts
relation conferred by
type award
type occupation
[{'concept': 'award'}, 'conferred by', [{'concept': 'city'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?t WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:city ) ( ontology:occupation ) } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?u WHERE { { ?u property:conferred_by ?v . ?u rdf:type ontology:award . ?v rdf:type ontology:city } UNION { ?u property:conferred_by ?v . ?u rdf:type ontology:award . ?v rdf:type ontology:occupation } } GROUP BY ?u } . FILTER ( ?l = ?g ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q11883475 Q735298 Q657973
P166
Q502895
USER
Which people won those awards ?
(c(Q502895),P166,Q11883475) (c(Q502895),P166,Q735298) (c(Q502895),P166,Q657973)
action filter_type
action find_reverse
entity prev_answer
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q11883475'] [{'concept': 'Q502895'}, 'P166', 'Q735298'] [{'concept': 'Q502895'}, 'P166', 'Q657973']
SELECT DISTINCT ?w WHERE { VALUES ( ?u ) { ( resource:Q1955217 ) ( resource:Q3003649 ) ( resource:Q18608365 ) } . ?w property:P166 ?u . ?w rdf:type ontology:Q502895 }
Musiikkineuvos Supreme Order of Christ Medal of Valor
action filter_type
action find_reverse
entity prev_answer
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Musiikkineuvos'] [{'concept': 'common name'}, 'award received', 'Supreme Order of Christ'] [{'concept': 'common name'}, 'award received', 'Medal of Valor']
SELECT DISTINCT ?w WHERE { VALUES ( ?u ) { ( resource:Musikpreis_der_Stadt_Duisburg ) ( resource:Meritorious_Service_Cross ) ( resource:Knight_Grand_Cross_of_the_Order_of_St._Sylvester ) } . ?w property:award_received ?u . ?w rdf:type ontology:common_name }
[]
common name
Q2492 Q8442 Q78578
SYSTEM
Konrad Adenauer, Otto von Bismarck, Archduke Eugen of Austria
Q11887825 Q11896431 Q17322738 Q637649 Q17322763 Q599528 Q173347 Q536838 Q214966 Q4776081 Q567395 Q57569 Q382433 Q157271 Q1383017 Q222123 Q118888 Q78578 Q1379650 Q114393 Q17194405 Q123150 Q333111 Q1878439 Q950611 Q4587913 Q97920 Q2492 Q15821222 Q12976 Q364689 Q474552 Q17123888 Q29179 Q8442 Q596807 Q6836134 Q2465923 Q12023853
(c(Q502895),P166,Q11883475) (c(Q502895),P166,Q735298) (c(Q502895),P166,Q657973)
action filter_type
action find_reverse
entity prev_answer
relation P166
type Q502895
[ANSWERS] won those awards
[{'concept': 'Q502895'}, 'P166', 'Q11883475'] [{'concept': 'Q502895'}, 'P166', 'Q735298'] [{'concept': 'Q502895'}, 'P166', 'Q657973']
SELECT DISTINCT ?w WHERE { VALUES ( ?u ) { ( resource:Q1955217 ) ( resource:Q3003649 ) ( resource:Q18608365 ) } . ?w property:P166 ?u . ?w rdf:type ontology:Q502895 }
Petter Ohls Tapani Tirilä Karl Eduard von Komers Heinrich von Heß Karl von Culoz Antonio González de Aguilar, 8th Marquis of la Vega de Armijo Éamon de Valera Angelo de Mojana di Cologna Frederick Ferdinand, Duke of Anhalt-Köthen Anton von Gumppenberg Peter Anton von Verschaffelt Prince Henry of Prussia Charles III, Prince of Monaco Karl Wilhelm Friedrich Schlegel Maximilien de Furstenberg Henry, King of Portugal Johann Carl Hedlinger Archduke Eugen of Austria Ludovico Chigi Albani della Rovere Franz Adolf Prohaska von Guelfenburg Joseph Skribanek Francesco Borromini George Robinson, 1st Marquess of Ripon Luís Valente de Oliveira Charles Woeste Niels Christian Ditleff Karl von Seinsheim Konrad Adenauer Johann Franz Anton von Olry Baudouin of Belgium Prince Adolf of Auersperg Johann Scheffer von Leonhardshoff Joseph Zocchi von Morecci Francisco Franco Otto von Bismarck Yohai Ben-Nun Uri Weisler Zvika Greengold Jaroslav Klemeš
Konrad Adenauer, Otto von Bismarck and Archduke Eugen of Austria won those awards
Konrad Adenauer Otto von Bismarck Archduke Eugen of Austria
action filter_type
action find_reverse
entity prev_answer
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Musiikkineuvos'] [{'concept': 'common name'}, 'award received', 'Supreme Order of Christ'] [{'concept': 'common name'}, 'award received', 'Medal of Valor']
SELECT DISTINCT ?w WHERE { VALUES ( ?u ) { ( resource:Musikpreis_der_Stadt_Duisburg ) ( resource:Meritorious_Service_Cross ) ( resource:Knight_Grand_Cross_of_the_Order_of_St._Sylvester ) } . ?w property:award_received ?u . ?w rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8442
P26
Q502895
USER
Which person is the life partner of that one ?
(c(Q502895),P26,Q8442)
action filter_type
action find
entity Q8442
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q8442']
SELECT DISTINCT ?g WHERE { resource:Q8442 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Otto von Bismarck
action filter_type
action find
entity Otto von Bismarck
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Otto von Bismarck']
SELECT DISTINCT ?g WHERE { resource:Otto_von_Bismarck property:spouse ?g . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q78578
SYSTEM
Did you mean Archduke Eugen of Austria ?
Q2492 Q8442 Q78578
(c(Q502895),P26,Q2492) (c(Q502895),P26,Q8442) (c(Q502895),P26,Q78578)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q2492'] [{'concept': 'Q502895'}, 'P26', 'Q8442'] [{'concept': 'Q502895'}, 'P26', 'Q78578']
SELECT DISTINCT ?g WHERE { resource:Q8442 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Konrad Adenauer Otto von Bismarck Archduke Eugen of Austria
Did you mean Archduke Eugen of Austria ?
Archduke Eugen of Austria
[{'concept': 'common name'}, 'spouse', 'Konrad Adenauer'] [{'concept': 'common name'}, 'spouse', 'Otto von Bismarck'] [{'concept': 'common name'}, 'spouse', 'Archduke Eugen of Austria']
SELECT DISTINCT ?g WHERE { resource:Otto_von_Bismarck property:spouse ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Otto von Bismarck. Could you tell me the answer for that?
(c(Q502895),P26,Q8442)
Q8442
[{'concept': 'Q502895'}, 'P26', 'Q8442']
[{'concept': 'common name'}, 'spouse', 'Otto von Bismarck']
[]
Q77267
SYSTEM
Johanna von Puttkamer
Q77267
(c(Q502895),P26,Q8442)
action filter_type
action find
entity Q8442
relation P26
type Q502895
[ANSWER] is the life partner of that one
[{'concept': 'Q502895'}, 'P26', 'Q8442']
SELECT DISTINCT ?g WHERE { resource:Q8442 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Johanna von Puttkamer
Johanna von Puttkamer is the life partner of that one
Johanna von Puttkamer
action filter_type
action find
entity Otto von Bismarck
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Otto von Bismarck']
SELECT DISTINCT ?g WHERE { resource:Otto_von_Bismarck property:spouse ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8442
P22
Q502895
USER
Which people have Otto von Bismarck as a parent ?
(c(Q502895),P22,Q8442)
action filter_type
action find_reverse
entity Q8442
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q8442']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P22 resource:Q8442 }
Otto von Bismarck
action filter_type
action find_reverse
entity Otto von Bismarck
relation father
type common name
[{'concept': 'common name'}, 'father', 'Otto von Bismarck']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:father resource:Otto_von_Bismarck }
[]
common name
Q59904 Q66748
SYSTEM
Herbert von Bismarck, Wilhelm von Bismarck
Q59904 Q66748
(c(Q502895),P22,Q8442)
action filter_type
action find_reverse
entity Q8442
relation P22
type Q502895
[ANSWERS] have Otto von Bismarck as a parent
[{'concept': 'Q502895'}, 'P22', 'Q8442']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P22 resource:Q8442 }
Herbert von Bismarck Wilhelm von Bismarck
Herbert von Bismarck and Wilhelm von Bismarck have Otto von Bismarck as a parent
Herbert von Bismarck Wilhelm von Bismarck
action filter_type
action find_reverse
entity Otto von Bismarck
relation father
type common name
[{'concept': 'common name'}, 'father', 'Otto von Bismarck']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:father resource:Otto_von_Bismarck }
[]
Clarification
Simple Question|Single Entity|Indirect
Q66748
P40
Q502895
USER
Which people have that one as an offspring ?
(c(Q502895),P40,Q66748)
action filter_type
action find_reverse
entity Q66748
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q66748']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q66748 . ?k rdf:type ontology:Q502895 }
Wilhelm von Bismarck
action filter_type
action find_reverse
entity Wilhelm von Bismarck
relation child
type common name
[{'concept': 'common name'}, 'child', 'Wilhelm von Bismarck']
SELECT DISTINCT ?k WHERE { ?k property:child resource:Wilhelm_von_Bismarck . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q66748
SYSTEM
Did you mean Wilhelm von Bismarck ?
Q59904 Q66748
(c(Q502895),P40,Q59904) (c(Q502895),P40,Q66748)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q59904'] [{'concept': 'Q502895'}, 'P40', 'Q66748']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q66748 . ?k rdf:type ontology:Q502895 }
Herbert von Bismarck Wilhelm von Bismarck
Did you mean Wilhelm von Bismarck ?
Wilhelm von Bismarck
[{'concept': 'common name'}, 'child', 'Herbert von Bismarck'] [{'concept': 'common name'}, 'child', 'Wilhelm von Bismarck']
SELECT DISTINCT ?k WHERE { ?k property:child resource:Wilhelm_von_Bismarck . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P40,Q66748)
[{'concept': 'Q502895'}, 'P40', 'Q66748']
[{'concept': 'common name'}, 'child', 'Wilhelm von Bismarck']
[]
Q77267 Q8442
SYSTEM
Johanna von Puttkamer, Otto von Bismarck
Q77267 Q8442
(c(Q502895),P40,Q66748)
action filter_type
action find_reverse
entity Q66748
relation P40
type Q502895
[ANSWERS] have that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q66748']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q66748 . ?k rdf:type ontology:Q502895 }
Johanna von Puttkamer Otto von Bismarck
Johanna von Puttkamer and Otto von Bismarck have that one as an offspring
Johanna von Puttkamer Otto von Bismarck
action filter_type
action find_reverse
entity Wilhelm von Bismarck
relation child
type common name
[{'concept': 'common name'}, 'child', 'Wilhelm von Bismarck']
SELECT DISTINCT ?k WHERE { ?k property:child resource:Wilhelm_von_Bismarck . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1027
Q163740 Q12737077 Q618779
USER
Which awards are conferred by max number of nonprofit organizations or occupations ?
(c(Q618779),P1027,c(Q163740)|c(Q12737077))
action argmax
action union
action find_tuple_counts
relation P1027
type Q618779
type Q163740
action find_tuple_counts
relation P1027
type Q618779
type Q12737077
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q163740'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?p ) { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?h ) WHERE { VALUES ( ?x ) { ( ontology:Q163740 ) ( ontology:Q12737077 ) } . ?l rdf:type ?x } GROUP BY ?j } } . FILTER ( ?i = ?p ) . { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?i ) WHERE { { ?r property:P1027 ?z . ?r rdf:type ontology:Q618779 . ?z rdf:type ontology:Q163740 } UNION { ?r property:P1027 ?z . ?r rdf:type ontology:Q618779 . ?z rdf:type ontology:Q12737077 } } GROUP BY ?r } }
action argmax
action union
action find_tuple_counts
relation conferred by
type award
type nonprofit organization
action find_tuple_counts
relation conferred by
type award
type occupation
[{'concept': 'award'}, 'conferred by', [{'concept': 'nonprofit organization'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?p ) { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?h ) WHERE { VALUES ( ?x ) { ( ontology:nonprofit_organization ) ( ontology:occupation ) } . ?l rdf:type ?x } GROUP BY ?j } } . FILTER ( ?i = ?p ) . { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?i ) WHERE { { ?r property:conferred_by ?z . ?r rdf:type ontology:award . ?z rdf:type ontology:nonprofit_organization } UNION { ?r property:conferred_by ?z . ?r rdf:type ontology:award . ?z rdf:type ontology:occupation } } GROUP BY ?r } }
[]
nonprofit organization occupation award
Q1120501 Q5055189 Q1865093
SYSTEM
Communicator Award of DFG, Cavling Prize, Brücke Berlin Award
Q23005880 Q1514013 Q23000365 Q3911041 Q1585689 Q2465314 Q3003649 Q605151 Q18608365 Q3042865 Q11682189 Q11883475 Q735298 Q1120501 Q7241175 Q1865093 Q521371 Q248041 Q20716439 Q5055189 Q1003951 Q5594940 Q1141859 Q1506751 Q657973 Q16750686 Q21522006 Q5211226 Q732997 Q1912039 Q93716 Q16750840 Q2037956 Q700236 Q4287039 Q4286925
(c(Q618779),P1027,c(Q163740)|c(Q12737077))
action argmax
action union
action find_tuple_counts
relation P1027
type Q618779
type Q163740
action find_tuple_counts
relation P1027
type Q618779
type Q12737077
[ANSWERS] are conferred by max number of nonprofit organizations or occupations
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q163740'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?p ) { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?h ) WHERE { VALUES ( ?x ) { ( ontology:Q163740 ) ( ontology:Q12737077 ) } . ?l rdf:type ?x } GROUP BY ?j } } . FILTER ( ?i = ?p ) . { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?i ) WHERE { { ?r property:P1027 ?z . ?r rdf:type ontology:Q618779 . ?z rdf:type ontology:Q163740 } UNION { ?r property:P1027 ?z . ?r rdf:type ontology:Q618779 . ?z rdf:type ontology:Q12737077 } } GROUP BY ?r } }
Joseph B. Goldberger Award in Clinical Nutrition Arts and Culture Prize of German Catholics SUMA Award Honorary President of the World Esperanto Association Harnack medal Critics' Choice Television Award Meritorious Service Cross Carl-von-Ossietzky-Medaille Knight Grand Cross of the Order of St. Sylvester Canadian Forces Decoration Grand Prix du Disque Musiikkineuvos Supreme Order of Christ Communicator Award of DFG Presidential Medal of Distinction Brücke Berlin Award Gold record Zülch-Preis Order for Exceptional Merits Cavling Prize Friedrich-Gundolf-Preis Grand Prix du Disque for Chamber Music Medal of Merit The George B. Dantzig Prize Medal of Valor knight of St. Sylvester Dallas-Fort Worth Film Critics Association Award Dallas-Fort Worth Film Critics Association Award for Best Film British Academy Film Awards Max Planck research award Order of the Golden Spur komtur of Order of St. Sylvester Otto Hahn Medal German Book Prize Medal for Sacrifice and Courage Medal for Long Marital Life
Communicator Award of DFG, Cavling Prize and Brücke Berlin Award are conferred by max number of nonprofit organizations or occupations
Communicator Award of DFG Cavling Prize Brücke Berlin Award
action argmax
action union
action find_tuple_counts
relation conferred by
type award
type nonprofit organization
action find_tuple_counts
relation conferred by
type award
type occupation
[{'concept': 'award'}, 'conferred by', [{'concept': 'nonprofit organization'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?p ) { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?h ) WHERE { VALUES ( ?x ) { ( ontology:nonprofit_organization ) ( ontology:occupation ) } . ?l rdf:type ?x } GROUP BY ?j } } . FILTER ( ?i = ?p ) . { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?i ) WHERE { { ?r property:conferred_by ?z . ?r rdf:type ontology:award . ?z rdf:type ontology:nonprofit_organization } UNION { ?r property:conferred_by ?z . ?r rdf:type ontology:award . ?z rdf:type ontology:occupation } } GROUP BY ?r } }
[]