Simple Question (Direct)
Simple Question
Q67183
P108
Q19335303
USER
Which German business organization does August Neander work for ?
(Q67183,P108,c(Q19335303))
action filter_type
action find
entity Q67183
relation P108
type Q19335303
['Q67183', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?o WHERE { resource:Q67183 property:P108 ?o . ?o rdf:type ontology:Q19335303 }
August Neander
action filter_type
action find
entity August Neander
relation employer
type type of business entity in Germany
['August Neander', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?o WHERE { resource:August_Neander property:employer ?o . ?o rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q152087
SYSTEM
Humboldt University of Berlin
Q152087
(Q67183,P108,c(Q19335303))
action filter_type
action find
entity Q67183
relation P108
type Q19335303
August Neander works at [ANSWER]
['Q67183', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?o WHERE { resource:Q67183 property:P108 ?o . ?o rdf:type ontology:Q19335303 }
Humboldt University of Berlin
August Neander works at Humboldt University of Berlin
Humboldt University of Berlin
action filter_type
action find
entity August Neander
relation employer
type type of business entity in Germany
['August Neander', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?o WHERE { resource:August_Neander property:employer ?o . ?o rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q67183
P512
Q3412758
USER
What is the name of the degree held by that person ?
(Q152087,P512,c(Q3412758))
action filter_type
action find
entity Q67183
relation P512
type Q3412758
['Q152087', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?m WHERE { resource:Q67183 property:P512 ?m . ?m rdf:type ontology:Q3412758 }
August Neander
action filter_type
action find
entity August Neander
relation academic degree
type qualification
['Humboldt University of Berlin', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?m WHERE { resource:August_Neander property:academic_degree ?m . ?m rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q152087,P512,c(Q3412758))
action filter_type
action find
entity Q67183
relation P512
type Q3412758
The name of the degree held by that person is a [ANSWER]
['Q152087', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?m WHERE { resource:Q67183 property:P512 ?m . ?m rdf:type ontology:Q3412758 }
doctoral degree
The name of the degree held by that person is a doctoral degree
doctoral degree
action filter_type
action find
entity August Neander
relation academic degree
type qualification
['Humboldt University of Berlin', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?m WHERE { resource:August_Neander property:academic_degree ?m . ?m rdf:type ontology:qualification }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P512
Q3412758 Q502895
USER
Which qualifications are the names of the degree held by approximately the same number of people as that qualification ?
(c(Q502895),P512,c(Q3412758))
action approx
action find_reverse_tuple_counts
relation P512
type Q3412758
type Q502895
action count
action filter_type
action find
entity Q849697
relation P512
type Q3412758
[{'concept': 'Q502895'}, 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?a ) WHERE { ?j rdf:type ontology:Q3412758 . ?c rdf:type ontology:Q502895 . ?c property:P512 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { resource:Q849697 property:P512 ?n . ?n rdf:type ontology:Q3412758 } } . FILTER ( ?a = ?x ) }
action approx
action find_reverse_tuple_counts
relation academic degree
type qualification
type common name
action count
action filter_type
action find
entity doctoral degree
relation academic degree
type qualification
[{'concept': 'common name'}, 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?a ) WHERE { ?j rdf:type ontology:qualification . ?c rdf:type ontology:common_name . ?c property:academic_degree ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { resource:doctoral_degree property:academic_degree ?n . ?n rdf:type ontology:qualification } } . FILTER ( ?a = ?x ) }
[]
qualification common name
Q849697
SYSTEM
doctoral degree
Q849697
(c(Q502895),P512,c(Q3412758))
action approx
action find_reverse_tuple_counts
relation P512
type Q3412758
type Q502895
action count
action filter_type
action find
entity Q849697
relation P512
type Q3412758
[ANSWER] is the names of the degree held by approximately the same number of people as that qualification
[{'concept': 'Q502895'}, 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?a ) WHERE { ?j rdf:type ontology:Q3412758 . ?c rdf:type ontology:Q502895 . ?c property:P512 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { resource:Q849697 property:P512 ?n . ?n rdf:type ontology:Q3412758 } } . FILTER ( ?a = ?x ) }
doctoral degree
Doctoral degree is the names of the degree held by approximately the same number of people as that qualification
doctoral degree
action approx
action find_reverse_tuple_counts
relation academic degree
type qualification
type common name
action count
action filter_type
action find
entity doctoral degree
relation academic degree
type qualification
[{'concept': 'common name'}, 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?a ) WHERE { ?j rdf:type ontology:qualification . ?c rdf:type ontology:common_name . ?c property:academic_degree ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { resource:doctoral_degree property:academic_degree ?n . ?n rdf:type ontology:qualification } } . FILTER ( ?a = ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q67183
P19
Q56061
USER
Where was August Neander born ?
(Q67183,P19,c(Q56061))
action filter_type
action find
entity Q67183
relation P19
type Q56061
['Q67183', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q67183 property:P19 ?b }
August Neander
action filter_type
action find
entity August Neander
relation place of birth
type administrative territorial entity
['August Neander', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:August_Neander property:place_of_birth ?b }
[]
administrative territorial entity
Q3033
SYSTEM
Göttingen
Q3033
(Q67183,P19,c(Q56061))
action filter_type
action find
entity Q67183
relation P19
type Q56061
August Neander was born in [ANSWER]
['Q67183', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q67183 property:P19 ?b }
Göttingen
August Neander was born in Göttingen
Göttingen
action filter_type
action find
entity August Neander
relation place of birth
type administrative territorial entity
['August Neander', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:August_Neander property:place_of_birth ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q67183
P20
Q56061
USER
Where did August Neander die ?
(Q67183,P20,c(Q56061))
action filter_type
action find
entity Q67183
relation P20
type Q56061
['Q67183', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q67183 property:P20 ?i . ?i rdf:type ontology:Q56061 }
August Neander
action filter_type
action find
entity August Neander
relation place of death
type administrative territorial entity
['August Neander', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:August_Neander property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q67183,P20,c(Q56061))
action filter_type
action find
entity Q67183
relation P20
type Q56061
August Neander died in [ANSWER]
['Q67183', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q67183 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Berlin
August Neander died in Berlin
Berlin
action filter_type
action find
entity August Neander
relation place of death
type administrative territorial entity
['August Neander', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:August_Neander property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3502193 Q67183
P106
Q12737077
USER
Which occupations have August Neander or Stéphanie Loire as his/her as a career ?
OR((Q67183,P106,c(Q12737077)), (Q3502193,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q67183
relation P106
action find
entity Q3502193
relation P106
type Q12737077
{'OR': [['Q67183', 'P106', {'concept': 'Q12737077'}], ['Q3502193', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?u ) { ( resource:Q67183 ) ( resource:Q3502193 ) } . ?u property:P106 ?j } . ?j rdf:type ontology:Q12737077 }
Stéphanie Loire August Neander
action filter_type
action union
action find
entity August Neander
relation occupation
action find
entity Stéphanie Loire
relation occupation
type occupation
{'OR': [['August Neander', 'occupation', {'concept': 'occupation'}], ['Stéphanie Loire', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?u ) { ( resource:August_Neander ) ( resource:Stéphanie_Loire ) } . ?u property:occupation ?j } . ?j rdf:type ontology:occupation }
[]
occupation
Q201788 Q1234713 Q1622272 Q947873 Q2722764
SYSTEM
historian, theologian, university teacher, television presenter, radio personality
Q201788 Q1234713 Q1622272 Q947873 Q2722764
OR((Q67183,P106,c(Q12737077)), (Q3502193,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q67183
relation P106
action find
entity Q3502193
relation P106
type Q12737077
The [ANSWERS] have August Neander or Stéphanie Loire as his/her as a career
{'OR': [['Q67183', 'P106', {'concept': 'Q12737077'}], ['Q3502193', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?u ) { ( resource:Q67183 ) ( resource:Q3502193 ) } . ?u property:P106 ?j } . ?j rdf:type ontology:Q12737077 }
historian theologian university teacher television presenter radio personality
The historian, theologian, university teacher, television presenter and radio personality have August Neander or Stéphanie Loire as his/her as a career
historian theologian university teacher television presenter radio personality
action filter_type
action union
action find
entity August Neander
relation occupation
action find
entity Stéphanie Loire
relation occupation
type occupation
{'OR': [['August Neander', 'occupation', {'concept': 'occupation'}], ['Stéphanie Loire', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?u ) { ( resource:August_Neander ) ( resource:Stéphanie_Loire ) } . ?u property:occupation ?j } . ?j rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2039124 Q67183
P106
Q12737077
USER
Which occupations are the professions of August Neander and Otto Helmut Urban ?
AND((Q67183,P106,c(Q12737077)), (Q2039124,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q67183
relation P106
action find
entity Q2039124
relation P106
type Q12737077
{'AND': [['Q67183', 'P106', {'concept': 'Q12737077'}], ['Q2039124', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?m WHERE { resource:Q67183 property:P106 ?m . resource:Q2039124 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Otto Helmut Urban August Neander
action filter_type
action intersection
action find
entity August Neander
relation occupation
action find
entity Otto Helmut Urban
relation occupation
type occupation
{'AND': [['August Neander', 'occupation', {'concept': 'occupation'}], ['Otto Helmut Urban', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?m WHERE { resource:August_Neander property:occupation ?m . resource:Otto_Helmut_Urban property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q1622272
SYSTEM
university teacher
Q1622272
AND((Q67183,P106,c(Q12737077)), (Q2039124,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q67183
relation P106
action find
entity Q2039124
relation P106
type Q12737077
The professions of August Neander and Otto Helmut Urban are a [ANSWER]
{'AND': [['Q67183', 'P106', {'concept': 'Q12737077'}], ['Q2039124', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?m WHERE { resource:Q67183 property:P106 ?m . resource:Q2039124 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
university teacher
The professions of August Neander and Otto Helmut Urban are a university teacher
university teacher
action filter_type
action intersection
action find
entity August Neander
relation occupation
action find
entity Otto Helmut Urban
relation occupation
type occupation
{'AND': [['August Neander', 'occupation', {'concept': 'occupation'}], ['Otto Helmut Urban', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?m WHERE { resource:August_Neander property:occupation ?m . resource:Otto_Helmut_Urban property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2366998
P417
Q502895 Q12737077
USER
How many people are the patron saints of greater number of occupations than Eurosia ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q2366998
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:P417 ?k . ?k rdf:type ontology:Q502895 . ?j rdf:type ontology:Q12737077 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ontology:Q502895 . resource:Q2366998 property:P417 ?x } } . FILTER ( ?z > ?p ) }
Eurosia
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Eurosia
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:patron_saint ?k . ?k rdf:type ontology:common_name . ?j rdf:type ontology:occupation } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ontology:common_name . resource:Eurosia property:patron_saint ?x } } . FILTER ( ?z > ?p ) }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q2366998
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:P417 ?k . ?k rdf:type ontology:Q502895 . ?j rdf:type ontology:Q12737077 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ontology:Q502895 . resource:Q2366998 property:P417 ?x } } . FILTER ( ?z > ?p ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Eurosia
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:patron_saint ?k . ?k rdf:type ontology:common_name . ?j rdf:type ontology:occupation } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ontology:common_name . resource:Eurosia property:patron_saint ?x } } . FILTER ( ?z > ?p ) }
[]