Simple Question (Direct)
Simple Question
Q96180
P166
Q18328097
USER
What was awarded to Vollrath von Hellermann ?
(Q96180,P166,c(Q18328097))
action filter_type
action find
entity Q96180
relation P166
type Q18328097
['Q96180', 'P166', {'concept': 'Q18328097'}]
SELECT DISTINCT ?v WHERE { resource:Q96180 property:P166 ?v . ?v rdf:type ontology:Q18328097 }
Vollrath von Hellermann
action filter_type
action find
entity Vollrath von Hellermann
relation award received
type courage award
['Vollrath von Hellermann', 'award received', {'concept': 'courage award'}]
SELECT DISTINCT ?v WHERE { resource:Vollrath_von_Hellermann property:award_received ?v . ?v rdf:type ontology:courage_award }
[]
courage award
Q17412908
SYSTEM
German Cross in Gold
Q17412908
(Q96180,P166,c(Q18328097))
action filter_type
action find
entity Q96180
relation P166
type Q18328097
The [ANSWER] was awarded to Vollrath von Hellermann
['Q96180', 'P166', {'concept': 'Q18328097'}]
SELECT DISTINCT ?v WHERE { resource:Q96180 property:P166 ?v . ?v rdf:type ontology:Q18328097 }
German Cross in Gold
The German Cross in Gold was awarded to Vollrath von Hellermann
German Cross in Gold
action filter_type
action find
entity Vollrath von Hellermann
relation award received
type courage award
['Vollrath von Hellermann', 'award received', {'concept': 'courage award'}]
SELECT DISTINCT ?v WHERE { resource:Vollrath_von_Hellermann property:award_received ?v . ?v rdf:type ontology:courage_award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q96180
P607
Q198
USER
Which war did that person take part in ?
(Q17412908,P607,c(Q198))
action filter_type
action find
entity Q96180
relation P607
type Q198
['Q17412908', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?n WHERE { resource:Q96180 property:P607 ?n . ?n rdf:type ontology:Q198 }
Vollrath von Hellermann
action filter_type
action find
entity Vollrath von Hellermann
relation conflict
type war
['German Cross in Gold', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?n WHERE { resource:Vollrath_von_Hellermann property:conflict ?n . ?n rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q17412908,P607,c(Q198))
action filter_type
action find
entity Q96180
relation P607
type Q198
That person took part in [ANSWER]
['Q17412908', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?n WHERE { resource:Q96180 property:P607 ?n . ?n rdf:type ontology:Q198 }
World War II
That person took part in World War II
World War II
action filter_type
action find
entity Vollrath von Hellermann
relation conflict
type war
['German Cross in Gold', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?n WHERE { resource:Vollrath_von_Hellermann property:conflict ?n . ?n rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q96180
P20
Q56061
USER
Where did that person expire ?
(Q362,P20,c(Q56061))
action filter_type
action find
entity Q96180
relation P20
type Q56061
['Q362', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q96180 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Vollrath von Hellermann
action filter_type
action find
entity Vollrath von Hellermann
relation place of death
type administrative territorial entity
['World War II', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Vollrath_von_Hellermann property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q362,P20,c(Q56061))
action filter_type
action find
entity Q96180
relation P20
type Q56061
That person expired in [ANSWER]
['Q362', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q96180 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Munich
That person expired in Munich
Munich
action filter_type
action find
entity Vollrath von Hellermann
relation place of death
type administrative territorial entity
['World War II', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Vollrath_von_Hellermann property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1726
P119
Q15619164 Q502895
USER
How many abstract beings or people have Munich as his/her tomb ?
(c(Q15619164),P119,Q1726) (c(Q502895),P119,Q1726)
action count
action union
action filter_type
action find_reverse
entity Q1726
relation P119
type Q15619164
action filter_type
action find_reverse
entity Q1726
relation P119
type Q502895
[{'concept': 'Q15619164'}, 'P119', 'Q1726'] [{'concept': 'Q502895'}, 'P119', 'Q1726']
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { ?v property:P119 resource:Q1726 . ?v rdf:type ontology:Q15619164 } UNION { ?v property:P119 resource:Q1726 . ?v rdf:type ontology:Q502895 } }
Munich
action count
action union
action filter_type
action find_reverse
entity Munich
relation place of burial
type abstract being
action filter_type
action find_reverse
entity Munich
relation place of burial
type common name
[{'concept': 'abstract being'}, 'place of burial', 'Munich'] [{'concept': 'common name'}, 'place of burial', 'Munich']
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { ?v property:place_of_burial resource:Munich . ?v rdf:type ontology:abstract_being } UNION { ?v property:place_of_burial resource:Munich . ?v rdf:type ontology:common_name } }
[]
abstract being common name
SYSTEM
5
Q13859958 Q13882674 Q13882885 Q84942 Q6001165
(c(Q15619164),P119,Q1726) (c(Q502895),P119,Q1726)
action count
action union
action filter_type
action find_reverse
entity Q1726
relation P119
type Q15619164
action filter_type
action find_reverse
entity Q1726
relation P119
type Q502895
[ANSWER]
[{'concept': 'Q15619164'}, 'P119', 'Q1726'] [{'concept': 'Q502895'}, 'P119', 'Q1726']
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { ?v property:P119 resource:Q1726 . ?v rdf:type ontology:Q15619164 } UNION { ?v property:P119 resource:Q1726 . ?v rdf:type ontology:Q502895 } }
Benny Beimer Wolf-Dieter Dabelstein Elisabeth Dressler Herbert Hupka Ilse Braun
5
action count
action union
action filter_type
action find_reverse
entity Munich
relation place of burial
type abstract being
action filter_type
action find_reverse
entity Munich
relation place of burial
type common name
[{'concept': 'abstract being'}, 'place of burial', 'Munich'] [{'concept': 'common name'}, 'place of burial', 'Munich']
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { ?v property:place_of_burial resource:Munich . ?v rdf:type ontology:abstract_being } UNION { ?v property:place_of_burial resource:Munich . ?v rdf:type ontology:common_name } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q711836
P825
Q502895 Q482994 Q811979
USER
Which people are more number of albums or architectural structures dedicated to than Philippe Pot ?
(c(Q482994)|c(Q811979),P825,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q482994
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q711836
relation P825
type Q482994
type Q811979
[[{'concept': 'Q482994'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?q ) WHERE { { ?k property:P825 ?j . ?j rdf:type ontology:Q502895 . ?k rdf:type ontology:Q482994 } UNION { ?k property:P825 ?j . ?k rdf:type ontology:Q811979 . ?j rdf:type ontology:Q502895 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { ?x rdf:type ?w . VALUES ( ?w ) { ( ontology:Q482994 ) ( ontology:Q811979 ) } } . ?x property:P825 resource:Q711836 } } . FILTER ( ?q > ?l ) }
Philippe Pot
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type album
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Philippe Pot
relation dedicated to
type album
type architectural structure
[[{'concept': 'album'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?q ) WHERE { { ?k property:dedicated_to ?j . ?j rdf:type ontology:common_name . ?k rdf:type ontology:album } UNION { ?k property:dedicated_to ?j . ?k rdf:type ontology:architectural_structure . ?j rdf:type ontology:common_name } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { ?x rdf:type ?w . VALUES ( ?w ) { ( ontology:album ) ( ontology:architectural_structure ) } } . ?x property:dedicated_to resource:Philippe_Pot } } . FILTER ( ?q > ?l ) }
[]
common name album architectural structure
Q392 Q120180 Q935
SYSTEM
Bob Dylan, Alexander III of Russia, Isaac Newton
Q249719 Q534049 Q392 Q935 Q173061 Q888326 Q1666 Q120180 Q541634 Q2594000 Q6918007 Q313196 Q2853967 Q374467 Q123062
(c(Q482994)|c(Q811979),P825,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q482994
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q711836
relation P825
type Q482994
type Q811979
[ANSWERS] are more number of albums or architectural structures dedicated to than Philippe Pot
[[{'concept': 'Q482994'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?q ) WHERE { { ?k property:P825 ?j . ?j rdf:type ontology:Q502895 . ?k rdf:type ontology:Q482994 } UNION { ?k property:P825 ?j . ?k rdf:type ontology:Q811979 . ?j rdf:type ontology:Q502895 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { ?x rdf:type ?w . VALUES ( ?w ) { ( ontology:Q482994 ) ( ontology:Q811979 ) } } . ?x property:P825 resource:Q711836 } } . FILTER ( ?q > ?l ) }
Yui Saint Petroc Bob Dylan Isaac Newton Syd Barrett Bob Wills Jacques Brel Alexander III of Russia Bobby Bland Diego Brosset Motoharu Sano Louis Desaix Antoine Gailleton Gabriel of Our Lady of Sorrows Jacques Necker
Bob Dylan, Alexander III of Russia and Isaac Newton are more number of albums or architectural structures dedicated to than Philippe Pot
Bob Dylan Alexander III of Russia Isaac Newton
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type album
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Philippe Pot
relation dedicated to
type album
type architectural structure
[[{'concept': 'album'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?q ) WHERE { { ?k property:dedicated_to ?j . ?j rdf:type ontology:common_name . ?k rdf:type ontology:album } UNION { ?k property:dedicated_to ?j . ?k rdf:type ontology:architectural_structure . ?j rdf:type ontology:common_name } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { ?x rdf:type ?w . VALUES ( ?w ) { ( ontology:album ) ( ontology:architectural_structure ) } } . ?x property:dedicated_to resource:Philippe_Pot } } . FILTER ( ?q > ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q117710
P825
Q502895 Q482994 Q811979
USER
And how about Lorin Maazel?
(c(Q482994)|c(Q811979),P825,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q482994
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q117710
relation P825
type Q482994
type Q811979
[[{'concept': 'Q482994'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) ?c WHERE { VALUES ( ?m ) { ( ontology:Q482994 ) ( ontology:Q811979 ) } . ?e rdf:type ?m } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { VALUES ( ?s ) { ( ontology:Q482994 ) ( ontology:Q811979 ) } . ?p rdf:type ?s } . ?p property:P825 resource:Q117710 } } . FILTER ( ?o > ?u ) }
Lorin Maazel
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type album
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Lorin Maazel
relation dedicated to
type album
type architectural structure
[[{'concept': 'album'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) ?c WHERE { VALUES ( ?m ) { ( ontology:album ) ( ontology:architectural_structure ) } . ?e rdf:type ?m } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { VALUES ( ?s ) { ( ontology:album ) ( ontology:architectural_structure ) } . ?p rdf:type ?s } . ?p property:dedicated_to resource:Lorin_Maazel } } . FILTER ( ?o > ?u ) }
[]
common name album architectural structure
Q392 Q120180 Q935
SYSTEM
Bob Dylan, Alexander III of Russia, Isaac Newton
Q249719 Q534049 Q392 Q935 Q173061 Q888326 Q1666 Q120180 Q541634 Q2594000 Q6918007 Q313196 Q2853967 Q374467 Q123062
(c(Q482994)|c(Q811979),P825,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q482994
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q117710
relation P825
type Q482994
type Q811979
[ANSWERS]
[[{'concept': 'Q482994'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) ?c WHERE { VALUES ( ?m ) { ( ontology:Q482994 ) ( ontology:Q811979 ) } . ?e rdf:type ?m } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { VALUES ( ?s ) { ( ontology:Q482994 ) ( ontology:Q811979 ) } . ?p rdf:type ?s } . ?p property:P825 resource:Q117710 } } . FILTER ( ?o > ?u ) }
Yui Saint Petroc Bob Dylan Isaac Newton Syd Barrett Bob Wills Jacques Brel Alexander III of Russia Bobby Bland Diego Brosset Motoharu Sano Louis Desaix Antoine Gailleton Gabriel of Our Lady of Sorrows Jacques Necker
Bob Dylan Alexander III of Russia Isaac Newton
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type album
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Lorin Maazel
relation dedicated to
type album
type architectural structure
[[{'concept': 'album'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) ?c WHERE { VALUES ( ?m ) { ( ontology:album ) ( ontology:architectural_structure ) } . ?e rdf:type ?m } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { VALUES ( ?s ) { ( ontology:album ) ( ontology:architectural_structure ) } . ?p rdf:type ?s } . ?p property:dedicated_to resource:Lorin_Maazel } } . FILTER ( ?o > ?u ) }
[]