Simple Question (Direct)
Simple Question
Q9603802
P166
Q618779
USER
What was awarded to Alice Ruiz ?
(Q9603802,P166,c(Q618779))
action filter_type
action find
entity Q9603802
relation P166
type Q618779
['Q9603802', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q9603802 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Alice Ruiz
action filter_type
action find
entity Alice Ruiz
relation award received
type award
['Alice Ruiz', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Alice_Ruiz property:award_received ?j . ?j rdf:type ontology:award }
[]
award
Q772801
SYSTEM
Prêmio Jabuti
Q772801
(Q9603802,P166,c(Q618779))
action filter_type
action find
entity Q9603802
relation P166
type Q618779
[ANSWER] was awarded to Alice Ruiz
['Q9603802', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q9603802 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Prêmio Jabuti
Prêmio Jabuti was awarded to Alice Ruiz
Prêmio Jabuti
action filter_type
action find
entity Alice Ruiz
relation award received
type award
['Alice Ruiz', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Alice_Ruiz property:award_received ?j . ?j rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9603802
P21
Q290
USER
What is the sex of Alice Ruiz ?
(Q9603802,P21,c(Q290))
action filter_type
action find
entity Q9603802
relation P21
type Q290
['Q9603802', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q9603802 property:P21 ?m . ?m rdf:type ontology:Q290 }
Alice Ruiz
action filter_type
action find
entity Alice Ruiz
relation gender
type sex
['Alice Ruiz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Alice_Ruiz property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q9603802,P21,c(Q290))
action filter_type
action find
entity Q9603802
relation P21
type Q290
The sex of Alice Ruiz is the [ANSWER]
['Q9603802', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q9603802 property:P21 ?m . ?m rdf:type ontology:Q290 }
female
The sex of Alice Ruiz is the female
female
action filter_type
action find
entity Alice Ruiz
relation gender
type sex
['Alice Ruiz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Alice_Ruiz property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9603802
P26
Q502895
USER
Who is the spouse of Alice Ruiz ?
(c(Q502895),P26,Q9603802)
action filter_type
action find
entity Q9603802
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q9603802']
SELECT DISTINCT ?t WHERE { resource:Q9603802 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Alice Ruiz
action filter_type
action find
entity Alice Ruiz
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Alice Ruiz']
SELECT DISTINCT ?t WHERE { resource:Alice_Ruiz property:spouse ?t . ?t rdf:type ontology:common_name }
[]
common name
Q1890299
SYSTEM
Paulo Leminski
Q1890299
(c(Q502895),P26,Q9603802)
action filter_type
action find
entity Q9603802
relation P26
type Q502895
The spouse of Alice Ruiz is the [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q9603802']
SELECT DISTINCT ?t WHERE { resource:Q9603802 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Paulo Leminski
The spouse of Alice Ruiz is the Paulo Leminski
Paulo Leminski
action filter_type
action find
entity Alice Ruiz
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Alice Ruiz']
SELECT DISTINCT ?t WHERE { resource:Alice_Ruiz property:spouse ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1890299
P1196
Q1931388
USER
What manner did that person die ?
(Q1890299,P1196,c(Q1931388))
action filter_type
action find
entity Q1890299
relation P1196
type Q1931388
['Q1890299', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?n WHERE { resource:Q1890299 property:P1196 ?n . ?n rdf:type ontology:Q1931388 }
Paulo Leminski
action filter_type
action find
entity Paulo Leminski
relation manner of death
type cause of death
['Paulo Leminski', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?n WHERE { resource:Paulo_Leminski property:manner_of_death ?n . ?n rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1890299,P1196,c(Q1931388))
action filter_type
action find
entity Q1890299
relation P1196
type Q1931388
That person died in [ANSWER]
['Q1890299', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?n WHERE { resource:Q1890299 property:P1196 ?n . ?n rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Paulo Leminski
relation manner of death
type cause of death
['Paulo Leminski', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?n WHERE { resource:Paulo_Leminski property:manner_of_death ?n . ?n rdf:type ontology:cause_of_death }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q502895 Q838948
USER
Which awards do atleast 72 people and works of art have ?
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action atleast
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
value 72
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) ?g WHERE { { ?v property:P1411 ?g . ?g rdf:type ontology:Q618779 . ?v rdf:type ontology:Q502895 } UNION { ?v property:P1411 ?g . ?g rdf:type ontology:Q618779 . ?v rdf:type ontology:Q838948 } } GROUP BY ?g } . FILTER ( ?e >= 72 ) }
action atleast
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
value 72
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) ?g WHERE { { ?v property:nominated_for ?g . ?g rdf:type ontology:award . ?v rdf:type ontology:common_name } UNION { ?v property:nominated_for ?g . ?g rdf:type ontology:award . ?v rdf:type ontology:work_of_art } } GROUP BY ?g } . FILTER ( ?e >= 72 ) }
[]
award common name work of art
Q2530270 Q518675 Q1043985
SYSTEM
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series, Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture, Carnegie Medal
Q24241 Q266012 Q7821796 Q640374 Q1723064 Q1445521 Q645595 Q377293 Q1043985 Q1537996 Q37922 Q4790397 Q518675 Q627778 Q13449461 Q185299 Q1474410 Q2530270 Q24137 Q3993187
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action atleast
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
value 72
Atleast 72 people and works of art have won [ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) ?g WHERE { { ?v property:P1411 ?g . ?g rdf:type ontology:Q618779 . ?v rdf:type ontology:Q502895 } UNION { ?v property:P1411 ?g . ?g rdf:type ontology:Q618779 . ?v rdf:type ontology:Q838948 } } GROUP BY ?g } . FILTER ( ?e >= 72 ) }
César Award for Best Actress Nebula Award for Best Novel Tony Award for Best Lighting Design Tony Award for Best Direction of a Play Tony Award for Best Actor in a Musical Tony Award for Best Actor in a Play César Award for Best Film Tony Award for Best Direction of a Musical Carnegie Medal Tony Award for Best Actress in a Musical Nobel Prize in Literature Ariel Award for Best Actress Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture Tony Award for Best Featured Actress in a Play Tony Award for Best Scenic Design Tony Award for Best Actress in a Play Tony Award for Best Featured Actor in a Play Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series César Award for Best Director Tony Award for Best Costume Design
Atleast 72 people and works of art have won Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series, Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture and Carnegie Medal
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture Carnegie Medal
action atleast
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
value 72
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) ?g WHERE { { ?v property:nominated_for ?g . ?g rdf:type ontology:award . ?v rdf:type ontology:common_name } UNION { ?v property:nominated_for ?g . ?g rdf:type ontology:award . ?v rdf:type ontology:work_of_art } } GROUP BY ?g } . FILTER ( ?e >= 72 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1890299
P22
Q502895
USER
Who is the offspring of Paulo Leminski ?
(c(Q502895),P22,Q1890299)
action filter_type
action find_reverse
entity Q1890299
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1890299']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P22 resource:Q1890299 }
Paulo Leminski
action filter_type
action find_reverse
entity Paulo Leminski
relation father
type common name
[{'concept': 'common name'}, 'father', 'Paulo Leminski']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:father resource:Paulo_Leminski }
[]
common name
Q10276606
SYSTEM
Estrela Ruiz Leminski
Q10276606
(c(Q502895),P22,Q1890299)
action filter_type
action find_reverse
entity Q1890299
relation P22
type Q502895
The offspring of Paulo Leminski is the [ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q1890299']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P22 resource:Q1890299 }
Estrela Ruiz Leminski
The offspring of Paulo Leminski is the Estrela Ruiz Leminski
Estrela Ruiz Leminski
action filter_type
action find_reverse
entity Paulo Leminski
relation father
type common name
[{'concept': 'common name'}, 'father', 'Paulo Leminski']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:father resource:Paulo_Leminski }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10276606
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q10276606,P106,c(Q12737077))
action filter_type
action find
entity Q10276606
relation P106
type Q12737077
['Q10276606', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q10276606 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Estrela Ruiz Leminski
action filter_type
action find
entity Estrela Ruiz Leminski
relation occupation
type occupation
['Estrela Ruiz Leminski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Estrela_Ruiz_Leminski property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q36180 Q49757
SYSTEM
writer, poet
Q36180 Q49757
(Q10276606,P106,c(Q12737077))
action filter_type
action find
entity Q10276606
relation P106
type Q12737077
[ANSWERS] have that person as his/her 's career
['Q10276606', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q10276606 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
writer poet
Writer and poet have that person as his/her 's career
writer poet
action filter_type
action find
entity Estrela Ruiz Leminski
relation occupation
type occupation
['Estrela Ruiz Leminski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Estrela_Ruiz_Leminski property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P180
Q3305213 Q838948
USER
How many paintings or works of art depict that occupation ?
(c(Q3305213),P180,Q49757) (c(Q838948),P180,Q49757) (c(Q3305213),P180,Q36180) (c(Q838948),P180,Q36180) (c(Q3305213),P180,Q49757) (c(Q838948),P180,Q49757)
[{'concept': 'Q3305213'}, 'P180', 'Q49757'] [{'concept': 'Q838948'}, 'P180', 'Q49757'] [{'concept': 'Q3305213'}, 'P180', 'Q36180'] [{'concept': 'Q838948'}, 'P180', 'Q36180'] [{'concept': 'Q3305213'}, 'P180', 'Q49757'] [{'concept': 'Q838948'}, 'P180', 'Q49757']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P180 resource:Q49757 } UNION { ?y property:P180 resource:Q49757 } UNION { ?z property:P180 resource:Q36180 } UNION { ?y property:P180 resource:Q36180 } UNION { ?z property:P180 resource:Q49757 } UNION { ?y property:P180 resource:Q49757 } } . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q838948 }
[{'concept': 'painting'}, 'depicts', 'poet'] [{'concept': 'work of art'}, 'depicts', 'poet'] [{'concept': 'painting'}, 'depicts', 'writer'] [{'concept': 'work of art'}, 'depicts', 'writer'] [{'concept': 'painting'}, 'depicts', 'poet'] [{'concept': 'work of art'}, 'depicts', 'poet']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:depicts resource:poet } UNION { ?y property:depicts resource:poet } UNION { ?z property:depicts resource:writer } UNION { ?y property:depicts resource:writer } UNION { ?z property:depicts resource:poet } UNION { ?y property:depicts resource:poet } } . ?z rdf:type ontology:painting . ?y rdf:type ontology:work_of_art }
[]
painting work of art
Quantitative|Count|Mult. entity type|Clarification
Q36180
SYSTEM
Did you mean writer ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P180 resource:Q49757 } UNION { ?y property:P180 resource:Q49757 } UNION { ?z property:P180 resource:Q36180 } UNION { ?y property:P180 resource:Q36180 } UNION { ?z property:P180 resource:Q49757 } UNION { ?y property:P180 resource:Q49757 } } . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q838948 }
Did you mean writer ?
writer
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:depicts resource:poet } UNION { ?y property:depicts resource:poet } UNION { ?z property:depicts resource:writer } UNION { ?y property:depicts resource:writer } UNION { ?z property:depicts resource:poet } UNION { ?y property:depicts resource:poet } } . ?z rdf:type ontology:painting . ?y rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant poet. Could you tell me the answer for that?
(c(Q3305213),P180,Q49757) (c(Q838948),P180,Q49757) (c(Q3305213),P180,Q36180) (c(Q838948),P180,Q36180) (c(Q3305213),P180,Q49757) (c(Q838948),P180,Q49757)
Q49757
[{'concept': 'Q3305213'}, 'P180', 'Q49757'] [{'concept': 'Q838948'}, 'P180', 'Q49757'] [{'concept': 'Q3305213'}, 'P180', 'Q36180'] [{'concept': 'Q838948'}, 'P180', 'Q36180'] [{'concept': 'Q3305213'}, 'P180', 'Q49757'] [{'concept': 'Q838948'}, 'P180', 'Q49757']
[{'concept': 'painting'}, 'depicts', 'poet'] [{'concept': 'work of art'}, 'depicts', 'poet'] [{'concept': 'painting'}, 'depicts', 'writer'] [{'concept': 'work of art'}, 'depicts', 'writer'] [{'concept': 'painting'}, 'depicts', 'poet'] [{'concept': 'work of art'}, 'depicts', 'poet']
[]
SYSTEM
6
Q18822184 Q22034120 Q19257244 Q19345367 Q19061858 Q19204452
(c(Q3305213),P180,Q49757) (c(Q838948),P180,Q49757) (c(Q3305213),P180,Q36180) (c(Q838948),P180,Q36180) (c(Q3305213),P180,Q49757) (c(Q838948),P180,Q49757)
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q49757'] [{'concept': 'Q838948'}, 'P180', 'Q49757'] [{'concept': 'Q3305213'}, 'P180', 'Q36180'] [{'concept': 'Q838948'}, 'P180', 'Q36180'] [{'concept': 'Q3305213'}, 'P180', 'Q49757'] [{'concept': 'Q838948'}, 'P180', 'Q49757']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P180 resource:Q49757 } UNION { ?y property:P180 resource:Q49757 } UNION { ?z property:P180 resource:Q36180 } UNION { ?y property:P180 resource:Q36180 } UNION { ?z property:P180 resource:Q49757 } UNION { ?y property:P180 resource:Q49757 } } . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q838948 }
Arion with His Lyre The Poet Homer Medallion of Philippe Desportes Sapho Sappho
6
[{'concept': 'painting'}, 'depicts', 'poet'] [{'concept': 'work of art'}, 'depicts', 'poet'] [{'concept': 'painting'}, 'depicts', 'writer'] [{'concept': 'work of art'}, 'depicts', 'writer'] [{'concept': 'painting'}, 'depicts', 'poet'] [{'concept': 'work of art'}, 'depicts', 'poet']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:depicts resource:poet } UNION { ?y property:depicts resource:poet } UNION { ?z property:depicts resource:writer } UNION { ?y property:depicts resource:writer } UNION { ?z property:depicts resource:poet } UNION { ?y property:depicts resource:poet } } . ?z rdf:type ontology:painting . ?y rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q593216
P1027
Q11032 Q502895 Q618779
USER
Which awards are given by greater number of newspapers or people than Constantijn Huygens Prize ?
(c(Q618779),P1027,c(Q11032)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q11032
action find_tuple_counts
relation P1027
type Q618779
type Q502895
action count
action filter_multi_types
action find
entity Q593216
relation P1027
type Q11032
type Q502895
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q11032'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Q593216 property:P1027 ?a . { VALUES ( ?g ) { ( ontology:Q11032 ) ( ontology:Q502895 ) } . ?a rdf:type ?g } } } . FILTER ( ?z > ?l ) . { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?z ) WHERE { { ?w rdf:type ontology:Q618779 . ?m rdf:type ontology:Q11032 . ?w property:P1027 ?m } UNION { ?w property:P1027 ?m . ?w rdf:type ontology:Q618779 . ?m rdf:type ontology:Q502895 } } GROUP BY ?w } }
Constantijn Huygens Prize
action greater
action union
action find_tuple_counts
relation conferred by
type award
type newspaper
action find_tuple_counts
relation conferred by
type award
type common name
action count
action filter_multi_types
action find
entity Constantijn Huygens Prize
relation conferred by
type newspaper
type common name
[{'concept': 'award'}, 'conferred by', [{'concept': 'newspaper'}, {'concept': 'common name'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Constantijn_Huygens_Prize property:conferred_by ?a . { VALUES ( ?g ) { ( ontology:newspaper ) ( ontology:common_name ) } . ?a rdf:type ?g } } } . FILTER ( ?z > ?l ) . { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?z ) WHERE { { ?w rdf:type ontology:award . ?m rdf:type ontology:newspaper . ?w property:conferred_by ?m } UNION { ?w property:conferred_by ?m . ?w rdf:type ontology:award . ?m rdf:type ontology:common_name } } GROUP BY ?w } }
[]
newspaper common name award
Q971363 Q957043 Q15843622
SYSTEM
Guardian Children's Fiction Prize, Yomiuri Prize, SS Honor Dagger
Q957043 Q15843622 Q971363 Q16209317 Q699538 Q1383535
(c(Q618779),P1027,c(Q11032)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q11032
action find_tuple_counts
relation P1027
type Q618779
type Q502895
action count
action filter_multi_types
action find
entity Q593216
relation P1027
type Q11032
type Q502895
[ANSWERS] are given by greater number of newspapers or people than Constantijn Huygens Prize
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q11032'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Q593216 property:P1027 ?a . { VALUES ( ?g ) { ( ontology:Q11032 ) ( ontology:Q502895 ) } . ?a rdf:type ?g } } } . FILTER ( ?z > ?l ) . { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?z ) WHERE { { ?w rdf:type ontology:Q618779 . ?m rdf:type ontology:Q11032 . ?w property:P1027 ?m } UNION { ?w property:P1027 ?m . ?w rdf:type ontology:Q618779 . ?m rdf:type ontology:Q502895 } } GROUP BY ?w } }
Yomiuri Prize SS Honor Dagger Guardian Children's Fiction Prize Courage Award for the Arts SS-Ehrenring Prix du meilleur jeune économiste de France
Guardian Children's Fiction Prize, Yomiuri Prize and SS Honor Dagger are given by greater number of newspapers or people than Constantijn Huygens Prize
Guardian Children's Fiction Prize Yomiuri Prize SS Honor Dagger
action greater
action union
action find_tuple_counts
relation conferred by
type award
type newspaper
action find_tuple_counts
relation conferred by
type award
type common name
action count
action filter_multi_types
action find
entity Constantijn Huygens Prize
relation conferred by
type newspaper
type common name
[{'concept': 'award'}, 'conferred by', [{'concept': 'newspaper'}, {'concept': 'common name'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Constantijn_Huygens_Prize property:conferred_by ?a . { VALUES ( ?g ) { ( ontology:newspaper ) ( ontology:common_name ) } . ?a rdf:type ?g } } } . FILTER ( ?z > ?l ) . { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?z ) WHERE { { ?w rdf:type ontology:award . ?m rdf:type ontology:newspaper . ?w property:conferred_by ?m } UNION { ?w property:conferred_by ?m . ?w rdf:type ontology:award . ?m rdf:type ontology:common_name } } GROUP BY ?w } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q18693451
P1027
Q11032 Q502895 Q618779
USER
And what about Finnish State Prize for Cinema?
(c(Q618779),P1027,c(Q11032)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q11032
action find_tuple_counts
relation P1027
type Q618779
type Q502895
action count
action filter_multi_types
action find
entity Q18693451
relation P1027
type Q11032
type Q502895
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q11032'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?x ) WHERE { VALUES ( ?e ) { ( ontology:Q11032 ) ( ontology:Q502895 ) } . ?c rdf:type ?e } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q18693451 property:P1027 ?a . { VALUES ( ?k ) { ( ontology:Q11032 ) ( ontology:Q502895 ) } . ?a rdf:type ?k } } } . FILTER ( ?x > ?t ) }
Finnish State Prize for Cinema
action greater
action union
action find_tuple_counts
relation conferred by
type award
type newspaper
action find_tuple_counts
relation conferred by
type award
type common name
action count
action filter_multi_types
action find
entity Finnish State Prize for Cinema
relation conferred by
type newspaper
type common name
[{'concept': 'award'}, 'conferred by', [{'concept': 'newspaper'}, {'concept': 'common name'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?x ) WHERE { VALUES ( ?e ) { ( ontology:newspaper ) ( ontology:common_name ) } . ?c rdf:type ?e } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Finnish_State_Prize_for_Cinema property:conferred_by ?a . { VALUES ( ?k ) { ( ontology:newspaper ) ( ontology:common_name ) } . ?a rdf:type ?k } } } . FILTER ( ?x > ?t ) }
[]
newspaper common name award
Q971363 Q957043 Q15843622
SYSTEM
Guardian Children's Fiction Prize, Yomiuri Prize, SS Honor Dagger
Q957043 Q15843622 Q971363 Q16209317 Q699538 Q1383535
(c(Q618779),P1027,c(Q11032)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q11032
action find_tuple_counts
relation P1027
type Q618779
type Q502895
action count
action filter_multi_types
action find
entity Q18693451
relation P1027
type Q11032
type Q502895
[ANSWERS]
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q11032'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?x ) WHERE { VALUES ( ?e ) { ( ontology:Q11032 ) ( ontology:Q502895 ) } . ?c rdf:type ?e } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q18693451 property:P1027 ?a . { VALUES ( ?k ) { ( ontology:Q11032 ) ( ontology:Q502895 ) } . ?a rdf:type ?k } } } . FILTER ( ?x > ?t ) }
Yomiuri Prize SS Honor Dagger Guardian Children's Fiction Prize Courage Award for the Arts SS-Ehrenring Prix du meilleur jeune économiste de France
Guardian Children's Fiction Prize Yomiuri Prize SS Honor Dagger
action greater
action union
action find_tuple_counts
relation conferred by
type award
type newspaper
action find_tuple_counts
relation conferred by
type award
type common name
action count
action filter_multi_types
action find
entity Finnish State Prize for Cinema
relation conferred by
type newspaper
type common name
[{'concept': 'award'}, 'conferred by', [{'concept': 'newspaper'}, {'concept': 'common name'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?x ) WHERE { VALUES ( ?e ) { ( ontology:newspaper ) ( ontology:common_name ) } . ?c rdf:type ?e } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Finnish_State_Prize_for_Cinema property:conferred_by ?a . { VALUES ( ?k ) { ( ontology:newspaper ) ( ontology:common_name ) } . ?a rdf:type ?k } } } . FILTER ( ?x > ?t ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q1047113 Q13406554 Q618779
USER
Which awards are a component of atleast 1 special fields and sport competitions ?
(c(Q618779),P361,c(Q1047113)|c(Q13406554))
action atleast
action union
action find_tuple_counts
relation P361
type Q618779
type Q1047113
action find_tuple_counts
relation P361
type Q618779
type Q13406554
value 1
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q1047113'}, {'concept': 'Q13406554'}]]
SELECT DISTINCT ?q WHERE { FILTER ( ?u >= 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?u ) WHERE { { ?q rdf:type ontology:Q618779 . ?j rdf:type ontology:Q1047113 . ?q property:P361 ?j } UNION { ?q property:P361 ?j . ?j rdf:type ontology:Q13406554 . ?q rdf:type ontology:Q618779 } } GROUP BY ?q } }
action atleast
action union
action find_tuple_counts
relation part of
type award
type special field
action find_tuple_counts
relation part of
type award
type sport competition
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'special field'}, {'concept': 'sport competition'}]]
SELECT DISTINCT ?q WHERE { FILTER ( ?u >= 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?u ) WHERE { { ?q rdf:type ontology:award . ?j rdf:type ontology:special_field . ?q property:part_of ?j } UNION { ?q property:part_of ?j . ?j rdf:type ontology:sport_competition . ?q rdf:type ontology:award } } GROUP BY ?q } }
[]
special field sport competition award
Q372370 Q2050658 Q1549393
SYSTEM
Knight's Cross, 2009–10 ISU Speed Skating World Cup – Men's 1000 metres, Grand Officer
Q372370 Q2050658 Q1549393
(c(Q618779),P361,c(Q1047113)|c(Q13406554))
action atleast
action union
action find_tuple_counts
relation P361
type Q618779
type Q1047113
action find_tuple_counts
relation P361
type Q618779
type Q13406554
value 1
[ANSWERS] are a component of atleast 1 special fields and sport competitions
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q1047113'}, {'concept': 'Q13406554'}]]
SELECT DISTINCT ?q WHERE { FILTER ( ?u >= 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?u ) WHERE { { ?q rdf:type ontology:Q618779 . ?j rdf:type ontology:Q1047113 . ?q property:P361 ?j } UNION { ?q property:P361 ?j . ?j rdf:type ontology:Q13406554 . ?q rdf:type ontology:Q618779 } } GROUP BY ?q } }
Knight's Cross 2009–10 ISU Speed Skating World Cup – Men's 1000 metres Grand Officer
Knight's Cross, 2009–10 ISU Speed Skating World Cup – Men's 1000 metres and Grand Officer are a component of atleast 1 special fields and sport competitions
Knight's Cross 2009–10 ISU Speed Skating World Cup – Men's 1000 metres Grand Officer
action atleast
action union
action find_tuple_counts
relation part of
type award
type special field
action find_tuple_counts
relation part of
type award
type sport competition
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'special field'}, {'concept': 'sport competition'}]]
SELECT DISTINCT ?q WHERE { FILTER ( ?u >= 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?u ) WHERE { { ?q rdf:type ontology:award . ?j rdf:type ontology:special_field . ?q property:part_of ?j } UNION { ?q property:part_of ?j . ?j rdf:type ontology:sport_competition . ?q rdf:type ontology:award } } GROUP BY ?q } }
[]