Simple Question (Direct)
Simple Question
Q108833
P20
Q56061
USER
Where did Hermann von Mittnacht expire ?
(Q108833,P20,c(Q56061))
action filter_type
action find
entity Q108833
relation P20
type Q56061
['Q108833', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q108833 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Hermann von Mittnacht
action filter_type
action find
entity Hermann von Mittnacht
relation place of death
type administrative territorial entity
['Hermann von Mittnacht', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Hermann_von_Mittnacht property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4051
SYSTEM
Friedrichshafen
Q4051
(Q108833,P20,c(Q56061))
action filter_type
action find
entity Q108833
relation P20
type Q56061
Hermann von Mittnacht expired in [ANSWER]
['Q108833', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q108833 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Friedrichshafen
Hermann von Mittnacht expired in Friedrichshafen
Friedrichshafen
action filter_type
action find
entity Hermann von Mittnacht
relation place of death
type administrative territorial entity
['Hermann von Mittnacht', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Hermann_von_Mittnacht property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q108833
P166
Q618779
USER
What was awarded to Hermann von Mittnacht ?
(Q108833,P166,c(Q618779))
action filter_type
action find
entity Q108833
relation P166
type Q618779
['Q108833', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q618779 . resource:Q108833 property:P166 ?a }
Hermann von Mittnacht
action filter_type
action find
entity Hermann von Mittnacht
relation award received
type award
['Hermann von Mittnacht', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:award . resource:Hermann_von_Mittnacht property:award_received ?a }
[]
award
Q94145
SYSTEM
Order of the Black Eagle
Q94145
(Q108833,P166,c(Q618779))
action filter_type
action find
entity Q108833
relation P166
type Q618779
The [ANSWER] was awarded to Hermann von Mittnacht
['Q108833', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q618779 . resource:Q108833 property:P166 ?a }
Order of the Black Eagle
The Order of the Black Eagle was awarded to Hermann von Mittnacht
Order of the Black Eagle
action filter_type
action find
entity Hermann von Mittnacht
relation award received
type award
['Hermann von Mittnacht', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:award . resource:Hermann_von_Mittnacht property:award_received ?a }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1287727
P1027
Q2668072 Q43229 Q618779
USER
How many awards are awarded by more number of collections and organizations than Carlos J. Finlay Prize for Microbiology ?
(c(Q618779),P1027,c(Q2668072)|c(Q43229))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q2668072
action find_tuple_counts
relation P1027
type Q618779
type Q43229
action count
action filter_multi_types
action find
entity Q1287727
relation P1027
type Q2668072
type Q43229
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q2668072'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?v ) WHERE { { ?u rdf:type ontology:Q618779 . ?o rdf:type ontology:Q43229 . ?u property:P1027 ?o } UNION { ?u property:P1027 ?o . ?o rdf:type ontology:Q2668072 . ?u rdf:type ontology:Q618779 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Q1287727 property:P1027 ?b . { { ?b rdf:type ontology:Q2668072 } UNION { ?b rdf:type ontology:Q43229 } } } } . FILTER ( ?v > ?p ) }
Carlos J. Finlay Prize for Microbiology
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type collection
action find_tuple_counts
relation conferred by
type award
type organization
action count
action filter_multi_types
action find
entity Carlos J. Finlay Prize for Microbiology
relation conferred by
type collection
type organization
[{'concept': 'award'}, 'conferred by', [{'concept': 'collection'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?v ) WHERE { { ?u rdf:type ontology:award . ?o rdf:type ontology:organization . ?u property:conferred_by ?o } UNION { ?u property:conferred_by ?o . ?o rdf:type ontology:collection . ?u rdf:type ontology:award } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Carlos_J._Finlay_Prize_for_Microbiology property:conferred_by ?b . { { ?b rdf:type ontology:collection } UNION { ?b rdf:type ontology:organization } } } } . FILTER ( ?v > ?p ) }
[]
collection organization award
SYSTEM
2
Q1786381 Q1865093
(c(Q618779),P1027,c(Q2668072)|c(Q43229))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q2668072
action find_tuple_counts
relation P1027
type Q618779
type Q43229
action count
action filter_multi_types
action find
entity Q1287727
relation P1027
type Q2668072
type Q43229
[ANSWER]
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q2668072'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?v ) WHERE { { ?u rdf:type ontology:Q618779 . ?o rdf:type ontology:Q43229 . ?u property:P1027 ?o } UNION { ?u property:P1027 ?o . ?o rdf:type ontology:Q2668072 . ?u rdf:type ontology:Q618779 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Q1287727 property:P1027 ?b . { { ?b rdf:type ontology:Q2668072 } UNION { ?b rdf:type ontology:Q43229 } } } } . FILTER ( ?v > ?p ) }
L'Oréal-UNESCO Awards For Women in Science Brücke Berlin Award
2
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type collection
action find_tuple_counts
relation conferred by
type award
type organization
action count
action filter_multi_types
action find
entity Carlos J. Finlay Prize for Microbiology
relation conferred by
type collection
type organization
[{'concept': 'award'}, 'conferred by', [{'concept': 'collection'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?v ) WHERE { { ?u rdf:type ontology:award . ?o rdf:type ontology:organization . ?u property:conferred_by ?o } UNION { ?u property:conferred_by ?o . ?o rdf:type ontology:collection . ?u rdf:type ontology:award } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Carlos_J._Finlay_Prize_for_Microbiology property:conferred_by ?b . { { ?b rdf:type ontology:collection } UNION { ?b rdf:type ontology:organization } } } } . FILTER ( ?v > ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q94098
P1027
Q2668072 Q43229 Q618779
USER
And what about Lower Saxony Order of Merit?
(c(Q618779),P1027,c(Q2668072)|c(Q43229))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q2668072
action find_tuple_counts
relation P1027
type Q618779
type Q43229
action count
action filter_multi_types
action find
entity Q94098
relation P1027
type Q2668072
type Q43229
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q2668072'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Q94098 property:P1027 ?h . { { ?h rdf:type ontology:Q2668072 } UNION { ?h rdf:type ontology:Q43229 } } } } . FILTER ( ?d > ?l ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ?v . VALUES ( ?v ) { ( ontology:Q43229 ) ( ontology:Q2668072 ) } } GROUP BY ?j } }
Lower Saxony Order of Merit
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type collection
action find_tuple_counts
relation conferred by
type award
type organization
action count
action filter_multi_types
action find
entity Lower Saxony Order of Merit
relation conferred by
type collection
type organization
[{'concept': 'award'}, 'conferred by', [{'concept': 'collection'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Lower_Saxony_Order_of_Merit property:conferred_by ?h . { { ?h rdf:type ontology:collection } UNION { ?h rdf:type ontology:organization } } } } . FILTER ( ?d > ?l ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ?v . VALUES ( ?v ) { ( ontology:organization ) ( ontology:collection ) } } GROUP BY ?j } }
[]
collection organization award
SYSTEM
54
Q5970373 Q5970375 Q1786381 Q593216 Q1253764 Q782022 Q27575234 Q2892444 Q1912002 Q5970344 Q1122691 Q19689570 Q2736747 Q23688051 Q7191 Q5970364 Q5970368 Q15994892 Q963068 Q1287727 Q1841363 Q15881840 Q1865093 Q5970325 Q1540087 Q5970397 Q23015673 Q603631 Q1793320 Q1094517 Q3497636 Q18693595 Q7374715 Q18357422 Q3404975 Q663431 Q21509433 Q2720648 Q1254113 Q636830 Q15682685 Q7541057 Q1535416 Q1359606 Q182566 Q1348486 Q20744362 Q1452845 Q5970400 Q509383 Q3435796 Q1140715 Q26221038 Q6516122
(c(Q618779),P1027,c(Q2668072)|c(Q43229))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q2668072
action find_tuple_counts
relation P1027
type Q618779
type Q43229
action count
action filter_multi_types
action find
entity Q94098
relation P1027
type Q2668072
type Q43229
[ANSWER]
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q2668072'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Q94098 property:P1027 ?h . { { ?h rdf:type ontology:Q2668072 } UNION { ?h rdf:type ontology:Q43229 } } } } . FILTER ( ?d > ?l ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ?v . VALUES ( ?v ) { ( ontology:Q43229 ) ( ontology:Q2668072 ) } } GROUP BY ?j } }
IEEE Gustav Robert Kirchhoff Award IEEE Heinrich Hertz Medal L'Oréal-UNESCO Awards For Women in Science Constantijn Huygens Prize Dr.-Heinz-Cüppers-Preis Kalinga Prize Royal Philharmonic Society Gold Medal Martinus Nijhoff Vertaalprijs Max Brauer Award IEEE David Sarnoff Award Sultan Qaboos Prize for Environmental Preservation Kosta & Eleni Ouranis Foundation award Environmental Media Awards Sundance Festival Award Nobel Prize IEEE Frank Rosenblatt Award IEEE Frederik Philips Award IEEE Andrew S. Grove Award Sonning Prize Carlos J. Finlay Prize for Microbiology Jan Campert Prize Selexyz Debuutprijs Brücke Berlin Award IEEE Cledo Brunetti Award Gouden Zoen IEEE Joseph F. Keithley Award in Instrumentation and Measurement Reichel Award Templeton Prize Kurt Vorhofer Award Civis media prize Statuette of Joakim Vujić Risto Jarva Prize Royal Philharmonic Society Music Awards Grete Lundbeck European Brain Research Prize Lumière Award, Lyon Festival of cinema Radiosportens Jerringpris American Society of Cinematographers Award James E. Sullivan Award Robert Schuman Prize Olympic medal Kurt Wolff Prize Sloan Fellowship Gouden Griffel Guldbagge Award Casa de las Américas Prize Pierre de Coubertin medal New York Film Critics Circle Awards Art Award of the FDGB IEEE Leon K. Kirchmayer Graduate Teaching Award Yrjö Jahnsson Award Aniara Award Søren Gyldendal Prize Olympic Laurel Gyldendal prize
54
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type collection
action find_tuple_counts
relation conferred by
type award
type organization
action count
action filter_multi_types
action find
entity Lower Saxony Order of Merit
relation conferred by
type collection
type organization
[{'concept': 'award'}, 'conferred by', [{'concept': 'collection'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Lower_Saxony_Order_of_Merit property:conferred_by ?h . { { ?h rdf:type ontology:collection } UNION { ?h rdf:type ontology:organization } } } } . FILTER ( ?d > ?l ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ?v . VALUES ( ?v ) { ( ontology:organization ) ( ontology:collection ) } } GROUP BY ?j } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q94145
P112
Q502895
USER
How many people founded Order of the Black Eagle ?
(Q94145,P112,c(Q502895))
action count
action filter_type
action find
entity Q94145
relation P112
type Q502895
['Q94145', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Q94145 property:P112 ?o . ?o rdf:type ontology:Q502895 }
Order of the Black Eagle
action count
action filter_type
action find
entity Order of the Black Eagle
relation founder
type common name
['Order of the Black Eagle', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Order_of_the_Black_Eagle property:founder ?o . ?o rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q151826
(Q94145,P112,c(Q502895))
action count
action filter_type
action find
entity Q94145
relation P112
type Q502895
[ANSWER]
['Q94145', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Q94145 property:P112 ?o . ?o rdf:type ontology:Q502895 }
Frederick I of Prussia
1
action count
action filter_type
action find
entity Order of the Black Eagle
relation founder
type common name
['Order of the Black Eagle', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Order_of_the_Black_Eagle property:founder ?o . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1079074
P112
Q502895
USER
And what about Christian Broadcasting Network?
(Q1079074,P112,c(Q502895))
action count
action filter_type
action find
entity Q1079074
relation P112
type Q502895
['Q1079074', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Q1079074 property:P112 ?u . ?u rdf:type ontology:Q502895 }
Christian Broadcasting Network
action count
action filter_type
action find
entity Christian Broadcasting Network
relation founder
type common name
['Christian Broadcasting Network', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Christian_Broadcasting_Network property:founder ?u . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q364990
(Q1079074,P112,c(Q502895))
action count
action filter_type
action find
entity Q1079074
relation P112
type Q502895
[ANSWER]
['Q1079074', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Q1079074 property:P112 ?u . ?u rdf:type ontology:Q502895 }
Pat Robertson
1
action count
action filter_type
action find
entity Christian Broadcasting Network
relation founder
type common name
['Christian Broadcasting Network', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Christian_Broadcasting_Network property:founder ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q181114
Q502895
USER
And also tell me about Chrysler?
(Q181114,P112,c(Q502895))
action count
action filter_type
action find
entity Q181114
relation P112
type Q502895
['Q181114', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r rdf:type ontology:Q502895 . resource:Q181114 property:P112 ?r }
Chrysler
action count
action filter_type
action find
entity Chrysler
relation founder
type common name
['Chrysler', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r rdf:type ontology:common_name . resource:Chrysler property:founder ?r }
[]
common name
SYSTEM
1
(Q181114,P112,c(Q502895))
action count
action filter_type
action find
entity Q181114
relation P112
type Q502895
[ANSWER]
['Q181114', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r rdf:type ontology:Q502895 . resource:Q181114 property:P112 ?r }
1
action count
action filter_type
action find
entity Chrysler
relation founder
type common name
['Chrysler', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r rdf:type ontology:common_name . resource:Chrysler property:founder ?r }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1411
Q618779 Q502895 Q838948
USER
Which awards were max number of people or works of art nominated for ?
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action argmax
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?j ) { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?u ) WHERE { VALUES ( ?b ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } . ?g rdf:type ?b } GROUP BY ?f } } . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:P1411 ?c . ?c rdf:type ontology:Q618779 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P1411 ?c . ?c rdf:type ontology:Q618779 . ?r rdf:type ontology:Q502895 } } GROUP BY ?c } . FILTER ( ?v = ?j ) }
action argmax
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
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?j ) { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?u ) WHERE { VALUES ( ?b ) { ( ontology:common_name ) ( ontology:work_of_art ) } . ?g rdf:type ?b } GROUP BY ?f } } . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:nominated_for ?c . ?c rdf:type ontology:award . ?r rdf:type ontology:work_of_art } UNION { ?r property:nominated_for ?c . ?c rdf:type ontology:award . ?r rdf:type ontology:common_name } } GROUP BY ?c } . FILTER ( ?v = ?j ) }
[]
award common name work of art
Q37922
SYSTEM
Nobel Prize in Literature
Q37922
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action argmax
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
Max number of people or works of art were nominated for the [ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?j ) { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?u ) WHERE { VALUES ( ?b ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } . ?g rdf:type ?b } GROUP BY ?f } } . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:P1411 ?c . ?c rdf:type ontology:Q618779 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P1411 ?c . ?c rdf:type ontology:Q618779 . ?r rdf:type ontology:Q502895 } } GROUP BY ?c } . FILTER ( ?v = ?j ) }
Nobel Prize in Literature
Max number of people or works of art were nominated for the Nobel Prize in Literature
Nobel Prize in Literature
action argmax
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
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?j ) { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?u ) WHERE { VALUES ( ?b ) { ( ontology:common_name ) ( ontology:work_of_art ) } . ?g rdf:type ?b } GROUP BY ?f } } . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:nominated_for ?c . ?c rdf:type ontology:award . ?r rdf:type ontology:work_of_art } UNION { ?r property:nominated_for ?c . ?c rdf:type ontology:award . ?r rdf:type ontology:common_name } } GROUP BY ?c } . FILTER ( ?v = ?j ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q37922 Q131487
P1346
Q502895
USER
Was Karl Adolph Gjellerup the winner of that award ?
(Q37922,P1346,Q131487)
action is_in
entity Q131487
action find
entity Q37922
relation P1346
['Q37922', 'P1346', 'Q131487']
ASK WHERE { resource:Q37922 property:P1346 resource:Q131487 }
Nobel Prize in Literature Karl Adolph Gjellerup
action is_in
entity Karl Adolph Gjellerup
action find
entity Nobel Prize in Literature
relation winner
['Nobel Prize in Literature', 'winner', 'Karl Adolph Gjellerup']
ASK WHERE { resource:Nobel_Prize_in_Literature property:winner resource:Karl_Adolph_Gjellerup }
[]
common name
SYSTEM
YES
(Q37922,P1346,Q131487)
action is_in
entity Q131487
action find
entity Q37922
relation P1346
[ANSWER]
['Q37922', 'P1346', 'Q131487']
ASK WHERE { resource:Q37922 property:P1346 resource:Q131487 }
Yes
action is_in
entity Karl Adolph Gjellerup
action find
entity Nobel Prize in Literature
relation winner
['Nobel Prize in Literature', 'winner', 'Karl Adolph Gjellerup']
ASK WHERE { resource:Nobel_Prize_in_Literature property:winner resource:Karl_Adolph_Gjellerup }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q37922 Q22677923
P1346
Q502895
USER
How many people were the winners of Nobel Prize in Literature or 2015 Tour of Hainan ?
(Q37922,P1346,c(Q502895)) (Q22677923,P1346,c(Q502895))
action count
action union
action filter_type
action find
entity Q37922
relation P1346
type Q502895
action filter_type
action find
entity Q22677923
relation P1346
type Q502895
['Q37922', 'P1346', {'concept': 'Q502895'}] ['Q22677923', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { VALUES ( ?h ) { ( resource:Q37922 ) ( resource:Q22677923 ) } . ?h property:P1346 ?q }
Nobel Prize in Literature 2015 Tour of Hainan
action count
action union
action filter_type
action find
entity Nobel Prize in Literature
relation winner
type common name
action filter_type
action find
entity 2015 Tour of Hainan
relation winner
type common name
['Nobel Prize in Literature', 'winner', {'concept': 'common name'}] ['2015 Tour of Hainan', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { VALUES ( ?h ) { ( resource:Nobel_Prize_in_Literature ) ( resource:2015_Tour_of_Hainan ) } . ?h property:winner ?q }
[]
common name
SYSTEM
8
Q159552 Q929045 Q225554 Q719979 Q131487 Q121180 Q47561 Q502477
(Q37922,P1346,c(Q502895)) (Q22677923,P1346,c(Q502895))
action count
action union
action filter_type
action find
entity Q37922
relation P1346
type Q502895
action filter_type
action find
entity Q22677923
relation P1346
type Q502895
[ANSWER]
['Q37922', 'P1346', {'concept': 'Q502895'}] ['Q22677923', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { VALUES ( ?h ) { ( resource:Q37922 ) ( resource:Q22677923 ) } . ?h property:P1346 ?q }
Johannes V. Jensen Sacha Modolo Henrik Pontoppidan Julien El Fares Karl Adolph Gjellerup Władysław Reymont Ivo Andrić Andrey Zeits
8
action count
action union
action filter_type
action find
entity Nobel Prize in Literature
relation winner
type common name
action filter_type
action find
entity 2015 Tour of Hainan
relation winner
type common name
['Nobel Prize in Literature', 'winner', {'concept': 'common name'}] ['2015 Tour of Hainan', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { VALUES ( ?h ) { ( resource:Nobel_Prize_in_Literature ) ( resource:2015_Tour_of_Hainan ) } . ?h property:winner ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q37922
P361
Q618779
USER
What is that one a portion of ?
action filter_type
action find
entity Q37922
relation P361
type Q618779
SELECT DISTINCT ?m WHERE { resource:Q37922 property:P361 ?m . ?m rdf:type ontology:Q618779 }
Nobel Prize in Literature
action filter_type
action find
entity Nobel Prize in Literature
relation part of
type award
SELECT DISTINCT ?m WHERE { resource:Nobel_Prize_in_Literature property:part_of ?m . ?m rdf:type ontology:award }
[]
award
Q7191
SYSTEM
Nobel Prize
Q7191
action filter_type
action find
entity Q37922
relation P361
type Q618779
That one a portion of is the [ANSWER]
SELECT DISTINCT ?m WHERE { resource:Q37922 property:P361 ?m . ?m rdf:type ontology:Q618779 }
Nobel Prize
That one a portion of is the Nobel Prize
Nobel Prize
action filter_type
action find
entity Nobel Prize in Literature
relation part of
type award
SELECT DISTINCT ?m WHERE { resource:Nobel_Prize_in_Literature property:part_of ?m . ?m rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7191
P138
Q502895
USER
Which person is namesake of that award ?
(Q7191,P138,c(Q502895))
action filter_type
action find
entity Q7191
relation P138
type Q502895
['Q7191', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q7191 property:P138 ?u . ?u rdf:type ontology:Q502895 }
Nobel Prize
action filter_type
action find
entity Nobel Prize
relation named after
type common name
['Nobel Prize', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Nobel_Prize property:named_after ?u . ?u rdf:type ontology:common_name }
[]
common name
Q23810
SYSTEM
Alfred Nobel
Q23810
(Q7191,P138,c(Q502895))
action filter_type
action find
entity Q7191
relation P138
type Q502895
In [ANSWER] is namesake of that award
['Q7191', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q7191 property:P138 ?u . ?u rdf:type ontology:Q502895 }
Alfred Nobel
In Alfred Nobel is namesake of that award
Alfred Nobel
action filter_type
action find
entity Nobel Prize
relation named after
type common name
['Nobel Prize', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Nobel_Prize property:named_after ?u . ?u rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15725059 Q108833
P19
Q56061
USER
Which administrative territories were Hermann von Mittnacht or Jadumani Mahapatra born in ?
OR((Q108833,P19,c(Q56061)), (Q15725059,P19,c(Q56061)))
action filter_type
action union
action find
entity Q108833
relation P19
action find
entity Q15725059
relation P19
type Q56061
{'OR': [['Q108833', 'P19', {'concept': 'Q56061'}], ['Q15725059', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . { VALUES ( ?d ) { ( resource:Q108833 ) ( resource:Q15725059 ) } . ?d property:P19 ?r } }
Jadumani Mahapatra Hermann von Mittnacht
action filter_type
action union
action find
entity Hermann von Mittnacht
relation place of birth
action find
entity Jadumani Mahapatra
relation place of birth
type administrative territorial entity
{'OR': [['Hermann von Mittnacht', 'place of birth', {'concept': 'administrative territorial entity'}], ['Jadumani Mahapatra', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . { VALUES ( ?d ) { ( resource:Hermann_von_Mittnacht ) ( resource:Jadumani_Mahapatra ) } . ?d property:place_of_birth ?r } }
[]
administrative territorial entity
Q6093938 Q1022
SYSTEM
Itamati, Stuttgart
Q6093938 Q1022
OR((Q108833,P19,c(Q56061)), (Q15725059,P19,c(Q56061)))
action filter_type
action union
action find
entity Q108833
relation P19
action find
entity Q15725059
relation P19
type Q56061
Hermann von Mittnacht or Jadumani Mahapatra were born in [ANSWERS]
{'OR': [['Q108833', 'P19', {'concept': 'Q56061'}], ['Q15725059', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . { VALUES ( ?d ) { ( resource:Q108833 ) ( resource:Q15725059 ) } . ?d property:P19 ?r } }
Itamati Stuttgart
Hermann von Mittnacht or Jadumani Mahapatra were born in Itamati and Stuttgart
Itamati Stuttgart
action filter_type
action union
action find
entity Hermann von Mittnacht
relation place of birth
action find
entity Jadumani Mahapatra
relation place of birth
type administrative territorial entity
{'OR': [['Hermann von Mittnacht', 'place of birth', {'concept': 'administrative territorial entity'}], ['Jadumani Mahapatra', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . { VALUES ( ?d ) { ( resource:Hermann_von_Mittnacht ) ( resource:Jadumani_Mahapatra ) } . ?d property:place_of_birth ?r } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6093938
P17
Q15617994
USER
Which administrative territory is that administrative territory situated in ?
(Q6093938,P17,c(Q15617994))
action filter_type
action find
entity Q6093938
relation P17
type Q15617994
['Q6093938', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q6093938 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Itamati
action filter_type
action find
entity Itamati
relation country
type designation for an administrative territorial entity
['Itamati', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Itamati property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1022
SYSTEM
Did you mean Stuttgart ?
Q6093938 Q1022
(Q6093938,P17,c(Q15617994)) (Q1022,P17,c(Q15617994))
[ANSWER]
['Q6093938', 'P17', {'concept': 'Q15617994'}] ['Q1022', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q6093938 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Itamati Stuttgart
Did you mean Stuttgart ?
Stuttgart
['Itamati', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Stuttgart', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Itamati property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Itamati. Could you tell me the answer for that?
(Q6093938,P17,c(Q15617994))
Q6093938
['Q6093938', 'P17', {'concept': 'Q15617994'}]
['Itamati', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q668
SYSTEM
India
Q668
(Q6093938,P17,c(Q15617994))
action filter_type
action find
entity Q6093938
relation P17
type Q15617994
That administrative territory is situated in [ANSWER]
['Q6093938', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q6093938 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
India
That administrative territory is situated in India
India
action filter_type
action find
entity Itamati
relation country
type designation for an administrative territorial entity
['Itamati', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Itamati property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]