Simple Question (Direct)
Simple Question
Q457253
P184
Q502895
USER
Who was the advisor of Igal Talmi ?
(Q457253,P184,c(Q502895))
action filter_type
action find
entity Q457253
relation P184
type Q502895
['Q457253', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q457253 property:P184 ?i }
Igal Talmi
action filter_type
action find
entity Igal Talmi
relation doctoral advisor
type common name
['Igal Talmi', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Igal_Talmi property:doctoral_advisor ?i }
[]
common name
Q65989
SYSTEM
Wolfgang Pauli
Q65989
(Q457253,P184,c(Q502895))
action filter_type
action find
entity Q457253
relation P184
type Q502895
The advisor of Igal Talmi was the [ANSWER]
['Q457253', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q457253 property:P184 ?i }
Wolfgang Pauli
The advisor of Igal Talmi was the Wolfgang Pauli
Wolfgang Pauli
action filter_type
action find
entity Igal Talmi
relation doctoral advisor
type common name
['Igal Talmi', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Igal_Talmi property:doctoral_advisor ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q65989
P1066
Q502895
USER
Which person was the supervisor of that one ?
(Q65989,P1066,c(Q502895))
action filter_type
action find
entity Q65989
relation P1066
type Q502895
['Q65989', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q65989 property:P1066 ?d . ?d rdf:type ontology:Q502895 }
Wolfgang Pauli
action filter_type
action find
entity Wolfgang Pauli
relation student of
type common name
['Wolfgang Pauli', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Wolfgang_Pauli property:student_of ?d . ?d rdf:type ontology:common_name }
[]
common name
Q58978
SYSTEM
Max Born
Q58978
(Q65989,P1066,c(Q502895))
action filter_type
action find
entity Q65989
relation P1066
type Q502895
[ANSWER] was the supervisor of that one
['Q65989', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q65989 property:P1066 ?d . ?d rdf:type ontology:Q502895 }
Max Born
Max Born was the supervisor of that one
Max Born
action filter_type
action find
entity Wolfgang Pauli
relation student of
type common name
['Wolfgang Pauli', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Wolfgang_Pauli property:student_of ?d . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P138
Q17444909 Q618779
USER
How many astronomical object types or awards have that person as their toponym ?
(c(Q17444909),P138,Q58978) (c(Q618779),P138,Q58978) (c(Q17444909),P138,Q58978) (c(Q618779),P138,Q58978)
action count
action union
action filter_type
action find_reverse
entity Q58978
relation P138
type Q17444909
action filter_type
action find_reverse
entity Q58978
relation P138
type Q618779
[{'concept': 'Q17444909'}, 'P138', 'Q58978'] [{'concept': 'Q618779'}, 'P138', 'Q58978'] [{'concept': 'Q17444909'}, 'P138', 'Q58978'] [{'concept': 'Q618779'}, 'P138', 'Q58978']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { ?u rdf:type ontology:Q17444909 . ?u property:P138 resource:Q58978 } UNION { ?u property:P138 resource:Q58978 . ?u rdf:type ontology:Q618779 } }
action count
action union
action filter_type
action find_reverse
entity Max Born
relation named after
type astronomical object type
action filter_type
action find_reverse
entity Max Born
relation named after
type award
[{'concept': 'astronomical object type'}, 'named after', 'Max Born'] [{'concept': 'award'}, 'named after', 'Max Born'] [{'concept': 'astronomical object type'}, 'named after', 'Max Born'] [{'concept': 'award'}, 'named after', 'Max Born']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { ?u rdf:type ontology:astronomical_object_type . ?u property:named_after resource:Max_Born } UNION { ?u property:named_after resource:Max_Born . ?u rdf:type ontology:award } }
[]
astronomical object type award
SYSTEM
2
Q1912290 Q2623111
(c(Q17444909),P138,Q58978) (c(Q618779),P138,Q58978) (c(Q17444909),P138,Q58978) (c(Q618779),P138,Q58978)
action count
action union
action filter_type
action find_reverse
entity Q58978
relation P138
type Q17444909
action filter_type
action find_reverse
entity Q58978
relation P138
type Q618779
[ANSWER]
[{'concept': 'Q17444909'}, 'P138', 'Q58978'] [{'concept': 'Q618779'}, 'P138', 'Q58978'] [{'concept': 'Q17444909'}, 'P138', 'Q58978'] [{'concept': 'Q618779'}, 'P138', 'Q58978']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { ?u rdf:type ontology:Q17444909 . ?u property:P138 resource:Q58978 } UNION { ?u property:P138 resource:Q58978 . ?u rdf:type ontology:Q618779 } }
Max Born Award 13954 Born
2
action count
action union
action filter_type
action find_reverse
entity Max Born
relation named after
type astronomical object type
action filter_type
action find_reverse
entity Max Born
relation named after
type award
[{'concept': 'astronomical object type'}, 'named after', 'Max Born'] [{'concept': 'award'}, 'named after', 'Max Born'] [{'concept': 'astronomical object type'}, 'named after', 'Max Born'] [{'concept': 'award'}, 'named after', 'Max Born']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { ?u rdf:type ontology:astronomical_object_type . ?u property:named_after resource:Max_Born } UNION { ?u property:named_after resource:Max_Born . ?u rdf:type ontology:award } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q58978
P184 P21
Q502895
USER
Which people have Max Born as doctor supervisor and are a male ?
AND((c(Q502895),P184,Q58978), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q58978
relation P184
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P184', 'Q58978'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P184 resource:Q58978 . ?l property:P21 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
male Max Born
action filter_type
action intersection
action find_reverse
entity Max Born
relation doctoral advisor
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'doctoral advisor', 'Max Born'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:doctoral_advisor resource:Max_Born . ?l property:gender resource:male . ?l rdf:type ontology:common_name }
[]
common name
Q215973 Q61761 Q1069890 Q17489114 Q61201 Q441154 Q552715 Q24204010 Q132537
SYSTEM
Lothar Wolfgang Nordheim, Pascual Jordan, Cheng Kaijia, Alister George McLellan, Friedrich Hund, Victor Weisskopf, Herbert S. Green, Paul Weiss, J. Robert Oppenheimer
Q215973 Q61761 Q1069890 Q17489114 Q61201 Q441154 Q552715 Q24204010 Q132537
AND((c(Q502895),P184,Q58978), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q58978
relation P184
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Max Born as doctor supervisor and are a male
{'AND': [[{'concept': 'Q502895'}, 'P184', 'Q58978'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P184 resource:Q58978 . ?l property:P21 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
Lothar Wolfgang Nordheim Pascual Jordan Cheng Kaijia Alister George McLellan Friedrich Hund Victor Weisskopf Herbert S. Green Paul Weiss J. Robert Oppenheimer
Lothar Wolfgang Nordheim, Pascual Jordan, Cheng Kaijia, Alister George McLellan, Friedrich Hund, Victor Weisskopf, Herbert S. Green, Paul Weiss and J. Robert Oppenheimer have Max Born as doctor supervisor and are a male
Lothar Wolfgang Nordheim Pascual Jordan Cheng Kaijia Alister George McLellan Friedrich Hund Victor Weisskopf Herbert S. Green Paul Weiss J. Robert Oppenheimer
action filter_type
action intersection
action find_reverse
entity Max Born
relation doctoral advisor
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'doctoral advisor', 'Max Born'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:doctoral_advisor resource:Max_Born . ?l property:gender resource:male . ?l rdf:type ontology:common_name }
[]