Simple Question (Direct)
Simple Question
Q40418
P184
Q502895
USER
Which person was the doctoral superviser of Edward Frenkel ?
(Q40418,P184,c(Q502895))
action filter_type
action find
entity Q40418
relation P184
type Q502895
['Q40418', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q40418 property:P184 ?c . ?c rdf:type ontology:Q502895 }
Edward Frenkel
action filter_type
action find
entity Edward Frenkel
relation doctoral advisor
type common name
['Edward Frenkel', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Edward_Frenkel property:doctoral_advisor ?c . ?c rdf:type ontology:common_name }
[]
common name
Q370530
SYSTEM
Joseph Bernstein
Q370530
(Q40418,P184,c(Q502895))
action filter_type
action find
entity Q40418
relation P184
type Q502895
[ANSWER] was the doctoral superviser of Edward Frenkel
['Q40418', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q40418 property:P184 ?c . ?c rdf:type ontology:Q502895 }
Joseph Bernstein
Joseph Bernstein was the doctoral superviser of Edward Frenkel
Joseph Bernstein
action filter_type
action find
entity Edward Frenkel
relation doctoral advisor
type common name
['Edward Frenkel', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Edward_Frenkel property:doctoral_advisor ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q370530
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q370530,P106,c(Q12737077))
action filter_type
action find
entity Q370530
relation P106
type Q12737077
['Q370530', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q370530 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Joseph Bernstein
action filter_type
action find
entity Joseph Bernstein
relation occupation
type occupation
['Joseph Bernstein', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Joseph_Bernstein property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q170790
SYSTEM
mathematician
Q170790
(Q370530,P106,c(Q12737077))
action filter_type
action find
entity Q370530
relation P106
type Q12737077
[ANSWER] has that person as his/her 's career
['Q370530', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q370530 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
mathematician
Mathematician has that person as his/her 's career
mathematician
action filter_type
action find
entity Joseph Bernstein
relation occupation
type occupation
['Joseph Bernstein', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Joseph_Bernstein property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q370530
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q170790,P19,c(Q56061))
action filter_type
action find
entity Q370530
relation P19
type Q56061
['Q170790', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q370530 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Joseph Bernstein
action filter_type
action find
entity Joseph Bernstein
relation place of birth
type administrative territorial entity
['mathematician', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Joseph_Bernstein property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q170790,P19,c(Q56061))
action filter_type
action find
entity Q370530
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q170790', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q370530 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Moscow
Moscow is the birthplace of that person
Moscow
action filter_type
action find
entity Joseph Bernstein
relation place of birth
type administrative territorial entity
['mathematician', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Joseph_Bernstein property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q370530
P101
Q11862829
USER
Which academic discipline is the field of work of Joseph Bernstein ?
(Q370530,P101,c(Q11862829))
action filter_type
action find
entity Q370530
relation P101
type Q11862829
['Q370530', 'P101', {'concept': 'Q11862829'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q11862829 . resource:Q370530 property:P101 ?n }
Joseph Bernstein
action filter_type
action find
entity Joseph Bernstein
relation field of work
type academic discipline
['Joseph Bernstein', 'field of work', {'concept': 'academic discipline'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:academic_discipline . resource:Joseph_Bernstein property:field_of_work ?n }
[]
academic discipline
Q874429
SYSTEM
group theory
Q874429
(Q370530,P101,c(Q11862829))
action filter_type
action find
entity Q370530
relation P101
type Q11862829
Theory [ANSWER] is the field of work of Joseph Bernstein
['Q370530', 'P101', {'concept': 'Q11862829'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q11862829 . resource:Q370530 property:P101 ?n }
group theory
Theory group theory is the field of work of Joseph Bernstein
group theory
action filter_type
action find
entity Joseph Bernstein
relation field of work
type academic discipline
['Joseph Bernstein', 'field of work', {'concept': 'academic discipline'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:academic_discipline . resource:Joseph_Bernstein property:field_of_work ?n }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q11862829 Q43229
USER
How many academic disciplines do more number of organizations belong to than that academic discipline ?
(c(Q43229),P101,c(Q11862829))
action count
action greater
action find_reverse_tuple_counts
relation P101
type Q11862829
type Q43229
action count
action filter_type
action find
entity Q874429
relation P101
type Q11862829
[{'concept': 'Q43229'}, 'P101', {'concept': 'Q11862829'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P101 ?q . ?q rdf:type ontology:Q11862829 . ?t rdf:type ontology:Q43229 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q874429 property:P101 ?k . ?k rdf:type ontology:Q11862829 } } . FILTER ( ?b > ?h ) }
action count
action greater
action find_reverse_tuple_counts
relation field of work
type academic discipline
type organization
action count
action filter_type
action find
entity group theory
relation field of work
type academic discipline
[{'concept': 'organization'}, 'field of work', {'concept': 'academic discipline'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:field_of_work ?q . ?q rdf:type ontology:academic_discipline . ?t rdf:type ontology:organization } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:group_theory property:field_of_work ?k . ?k rdf:type ontology:academic_discipline } } . FILTER ( ?b > ?h ) }
[]
academic discipline organization
SYSTEM
1
Q11016
(c(Q43229),P101,c(Q11862829))
action count
action greater
action find_reverse_tuple_counts
relation P101
type Q11862829
type Q43229
action count
action filter_type
action find
entity Q874429
relation P101
type Q11862829
[ANSWER]
[{'concept': 'Q43229'}, 'P101', {'concept': 'Q11862829'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P101 ?q . ?q rdf:type ontology:Q11862829 . ?t rdf:type ontology:Q43229 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q874429 property:P101 ?k . ?k rdf:type ontology:Q11862829 } } . FILTER ( ?b > ?h ) }
technology
1
action count
action greater
action find_reverse_tuple_counts
relation field of work
type academic discipline
type organization
action count
action filter_type
action find
entity group theory
relation field of work
type academic discipline
[{'concept': 'organization'}, 'field of work', {'concept': 'academic discipline'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:field_of_work ?q . ?q rdf:type ontology:academic_discipline . ?t rdf:type ontology:organization } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:group_theory property:field_of_work ?k . ?k rdf:type ontology:academic_discipline } } . FILTER ( ?b > ?h ) }
[]