Simple Question (Direct)
Simple Question
Q76359
P69
Q811979
USER
Which architectural structure was Ernst Abbe educated at ?
(Q76359,P69,c(Q811979))
action filter_type
action find
entity Q76359
relation P69
type Q811979
['Q76359', 'P69', {'concept': 'Q811979'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q811979 . resource:Q76359 property:P69 ?j }
Ernst Abbe
action filter_type
action find
entity Ernst Abbe
relation educated at
type architectural structure
['Ernst Abbe', 'educated at', {'concept': 'architectural structure'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:architectural_structure . resource:Ernst_Abbe property:educated_at ?j }
[]
architectural structure
Q152838
SYSTEM
University of Göttingen
Q152838
(Q76359,P69,c(Q811979))
action filter_type
action find
entity Q76359
relation P69
type Q811979
Ernst Abbe was educated [ANSWER]
['Q76359', 'P69', {'concept': 'Q811979'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q811979 . resource:Q76359 property:P69 ?j }
University of Göttingen
Ernst Abbe was educated University of Göttingen
University of Göttingen
action filter_type
action find
entity Ernst Abbe
relation educated at
type architectural structure
['Ernst Abbe', 'educated at', {'concept': 'architectural structure'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:architectural_structure . resource:Ernst_Abbe property:educated_at ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q76359
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q152838,P102,c(Q7210356))
action filter_type
action find
entity Q76359
relation P102
type Q7210356
['Q152838', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q76359 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Ernst Abbe
action filter_type
action find
entity Ernst Abbe
relation member of political party
type political organization
['University of Göttingen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Ernst_Abbe property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
political organization
Q319457
SYSTEM
Free-minded People's Party
Q319457
(Q152838,P102,c(Q7210356))
action filter_type
action find
entity Q76359
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q152838', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q76359 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Free-minded People's Party
That person is affiliated with Free-minded People's Party
Free-minded People's Party
action filter_type
action find
entity Ernst Abbe
relation member of political party
type political organization
['University of Göttingen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Ernst_Abbe property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q76359
P463
Q19335303 Q3947
USER
How many German business organizations and houses were Ernst Abbe a member of ?
(Q76359,P463,c(Q19335303)) (Q76359,P463,c(Q3947))
action count
action union
action filter_type
action find
entity Q76359
relation P463
type Q19335303
action filter_type
action find
entity Q76359
relation P463
type Q3947
['Q76359', 'P463', {'concept': 'Q19335303'}] ['Q76359', 'P463', {'concept': 'Q3947'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { resource:Q76359 property:P463 ?m . ?m rdf:type ontology:Q19335303 } UNION { resource:Q76359 property:P463 ?m . ?m rdf:type ontology:Q3947 } }
Ernst Abbe
action count
action union
action filter_type
action find
entity Ernst Abbe
relation member of
type type of business entity in Germany
action filter_type
action find
entity Ernst Abbe
relation member of
type house
['Ernst Abbe', 'member of', {'concept': 'type of business entity in Germany'}] ['Ernst Abbe', 'member of', {'concept': 'house'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { resource:Ernst_Abbe property:member_of ?m . ?m rdf:type ontology:type_of_business_entity_in_Germany } UNION { resource:Ernst_Abbe property:member_of ?m . ?m rdf:type ontology:house } }
[]
type of business entity in Germany house
SYSTEM
2 German business organizations and 1 houses
Q543804 Q451079 Q414188
(Q76359,P463,c(Q19335303)) (Q76359,P463,c(Q3947))
action count
action union
action filter_type
action find
entity Q76359
relation P463
type Q19335303
action filter_type
action find
entity Q76359
relation P463
type Q3947
[ANSWER]
['Q76359', 'P463', {'concept': 'Q19335303'}] ['Q76359', 'P463', {'concept': 'Q3947'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { resource:Q76359 property:P463 ?m . ?m rdf:type ontology:Q19335303 } UNION { resource:Q76359 property:P463 ?m . ?m rdf:type ontology:Q3947 } }
German Academy of Sciences Leopoldina Saxonian Academy of Sciences Göttingen Academy of Sciences
2 German business organizations and 1 houses
action count
action union
action filter_type
action find
entity Ernst Abbe
relation member of
type type of business entity in Germany
action filter_type
action find
entity Ernst Abbe
relation member of
type house
['Ernst Abbe', 'member of', {'concept': 'type of business entity in Germany'}] ['Ernst Abbe', 'member of', {'concept': 'house'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { resource:Ernst_Abbe property:member_of ?m . ?m rdf:type ontology:type_of_business_entity_in_Germany } UNION { resource:Ernst_Abbe property:member_of ?m . ?m rdf:type ontology:house } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q76359
P184
Q502895
USER
Which person has that one as doctoral supervisor ?
action filter_type
action find_reverse
entity Q76359
relation P184
type Q502895
SELECT DISTINCT ?o WHERE { ?o property:P184 resource:Q76359 . ?o rdf:type ontology:Q502895 }
Ernst Abbe
action filter_type
action find_reverse
entity Ernst Abbe
relation doctoral advisor
type common name
SELECT DISTINCT ?o WHERE { ?o property:doctoral_advisor resource:Ernst_Abbe . ?o rdf:type ontology:common_name }
[]
common name
Q116635
SYSTEM
Heinrich Friedrich Weber
Q116635
action filter_type
action find_reverse
entity Q76359
relation P184
type Q502895
[ANSWER] has that one as doctoral supervisor
SELECT DISTINCT ?o WHERE { ?o property:P184 resource:Q76359 . ?o rdf:type ontology:Q502895 }
Heinrich Friedrich Weber
Heinrich Friedrich Weber has that one as doctoral supervisor
Heinrich Friedrich Weber
action filter_type
action find_reverse
entity Ernst Abbe
relation doctoral advisor
type common name
SELECT DISTINCT ?o WHERE { ?o property:doctoral_advisor resource:Ernst_Abbe . ?o rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q179103 Q76359
P138
Q17444909
USER
Which astronomical object types are named after Ernst Abbe or Japan Aerospace Exploration Agency ?
OR((c(Q17444909),P138,Q76359), (c(Q17444909),P138,Q179103))
action filter_type
action union
action find_reverse
entity Q76359
relation P138
action find_reverse
entity Q179103
relation P138
type Q17444909
{'OR': [[{'concept': 'Q17444909'}, 'P138', 'Q76359'], [{'concept': 'Q17444909'}, 'P138', 'Q179103']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P138 resource:Q179103 } UNION { ?g property:P138 resource:Q76359 } } . ?g rdf:type ontology:Q17444909 }
Japan Aerospace Exploration Agency Ernst Abbe
action filter_type
action union
action find_reverse
entity Ernst Abbe
relation named after
action find_reverse
entity Japan Aerospace Exploration Agency
relation named after
type astronomical object type
{'OR': [[{'concept': 'astronomical object type'}, 'named after', 'Ernst Abbe'], [{'concept': 'astronomical object type'}, 'named after', 'Japan Aerospace Exploration Agency']]}
SELECT DISTINCT ?g WHERE { { { ?g property:named_after resource:Japan_Aerospace_Exploration_Agency } UNION { ?g property:named_after resource:Ernst_Abbe } } . ?g rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q155126 Q2758446
SYSTEM
5224 Abbe, 100267 JAXA
Q155126 Q2758446
OR((c(Q17444909),P138,Q76359), (c(Q17444909),P138,Q179103))
action filter_type
action union
action find_reverse
entity Q76359
relation P138
action find_reverse
entity Q179103
relation P138
type Q17444909
[ANSWERS] are named after Ernst Abbe or Japan Aerospace Exploration Agency
{'OR': [[{'concept': 'Q17444909'}, 'P138', 'Q76359'], [{'concept': 'Q17444909'}, 'P138', 'Q179103']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P138 resource:Q179103 } UNION { ?g property:P138 resource:Q76359 } } . ?g rdf:type ontology:Q17444909 }
5224 Abbe 100267 JAXA
5224 Abbe and 100267 JAXA are named after Ernst Abbe or Japan Aerospace Exploration Agency
5224 Abbe 100267 JAXA
action filter_type
action union
action find_reverse
entity Ernst Abbe
relation named after
action find_reverse
entity Japan Aerospace Exploration Agency
relation named after
type astronomical object type
{'OR': [[{'concept': 'astronomical object type'}, 'named after', 'Ernst Abbe'], [{'concept': 'astronomical object type'}, 'named after', 'Japan Aerospace Exploration Agency']]}
SELECT DISTINCT ?g WHERE { { { ?g property:named_after resource:Japan_Aerospace_Exploration_Agency } UNION { ?g property:named_after resource:Ernst_Abbe } } . ?g rdf:type ontology:astronomical_object_type }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P138
Q17444909 Q15324
USER
Which bodies of water come from max number of astronomical object types ?
(c(Q15324),P138,c(Q17444909))
action argmax
action find_tuple_counts
relation P138
type Q15324
type Q17444909
[{'concept': 'Q15324'}, 'P138', {'concept': 'Q17444909'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?g ) { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?h ) WHERE { ?v property:P138 ?r . ?v rdf:type ontology:Q15324 . ?r rdf:type ontology:Q17444909 } GROUP BY ?v } } . { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?i ) WHERE { ?c property:P138 ?f . ?c rdf:type ontology:Q15324 . ?f rdf:type ontology:Q17444909 } GROUP BY ?c } . FILTER ( ?i = ?g ) }
action argmax
action find_tuple_counts
relation named after
type body of water
type astronomical object type
[{'concept': 'body of water'}, 'named after', {'concept': 'astronomical object type'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?g ) { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?h ) WHERE { ?v property:named_after ?r . ?v rdf:type ontology:body_of_water . ?r rdf:type ontology:astronomical_object_type } GROUP BY ?v } } . { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?i ) WHERE { ?c property:named_after ?f . ?c rdf:type ontology:body_of_water . ?f rdf:type ontology:astronomical_object_type } GROUP BY ?c } . FILTER ( ?i = ?g ) }
[]
astronomical object type body of water
Q21823246 Q21855512
SYSTEM
Aldebaran Glacier, Jupiter Glacier
Q21823246 Q21855512
(c(Q15324),P138,c(Q17444909))
action argmax
action find_tuple_counts
relation P138
type Q15324
type Q17444909
[ANSWERS] come from max number of astronomical object types
[{'concept': 'Q15324'}, 'P138', {'concept': 'Q17444909'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?g ) { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?h ) WHERE { ?v property:P138 ?r . ?v rdf:type ontology:Q15324 . ?r rdf:type ontology:Q17444909 } GROUP BY ?v } } . { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?i ) WHERE { ?c property:P138 ?f . ?c rdf:type ontology:Q15324 . ?f rdf:type ontology:Q17444909 } GROUP BY ?c } . FILTER ( ?i = ?g ) }
Aldebaran Glacier Jupiter Glacier
Aldebaran Glacier and Jupiter Glacier come from max number of astronomical object types
Aldebaran Glacier Jupiter Glacier
action argmax
action find_tuple_counts
relation named after
type body of water
type astronomical object type
[{'concept': 'body of water'}, 'named after', {'concept': 'astronomical object type'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?g ) { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?h ) WHERE { ?v property:named_after ?r . ?v rdf:type ontology:body_of_water . ?r rdf:type ontology:astronomical_object_type } GROUP BY ?v } } . { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?i ) WHERE { ?c property:named_after ?f . ?c rdf:type ontology:body_of_water . ?f rdf:type ontology:astronomical_object_type } GROUP BY ?c } . FILTER ( ?i = ?g ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21823246
P403
Q4022
USER
Where does the drainage of that body of water end ?
(Q21823246,P403,c(Q4022))
action filter_type
action find
entity Q21823246
relation P403
type Q4022
['Q21823246', 'P403', {'concept': 'Q4022'}]
SELECT DISTINCT ?s WHERE { resource:Q21823246 property:P403 ?s . ?s rdf:type ontology:Q4022 }
Aldebaran Glacier
action filter_type
action find
entity Aldebaran Glacier
relation mouth of the watercourse
type river
['Aldebaran Glacier', 'mouth of the watercourse', {'concept': 'river'}]
SELECT DISTINCT ?s WHERE { resource:Aldebaran_Glacier property:mouth_of_the_watercourse ?s . ?s rdf:type ontology:river }
[]
river
Clarification for simple ques.
Q21823246
SYSTEM
Did you mean Aldebaran Glacier ?
Q21823246 Q21855512
(Q21823246,P403,c(Q4022)) (Q21855512,P403,c(Q4022))
[ANSWER]
['Q21823246', 'P403', {'concept': 'Q4022'}] ['Q21855512', 'P403', {'concept': 'Q4022'}]
SELECT DISTINCT ?s WHERE { resource:Q21823246 property:P403 ?s . ?s rdf:type ontology:Q4022 }
Aldebaran Glacier Jupiter Glacier
Did you mean Aldebaran Glacier ?
Aldebaran Glacier
['Aldebaran Glacier', 'mouth of the watercourse', {'concept': 'river'}] ['Jupiter Glacier', 'mouth of the watercourse', {'concept': 'river'}]
SELECT DISTINCT ?s WHERE { resource:Aldebaran_Glacier property:mouth_of_the_watercourse ?s . ?s rdf:type ontology:river }
[]
Simple Question (Coreferenced)
USER
Yes
(Q21823246,P403,c(Q4022))
['Q21823246', 'P403', {'concept': 'Q4022'}]
['Aldebaran Glacier', 'mouth of the watercourse', {'concept': 'river'}]
[]
Q21812784
SYSTEM
Schuchert river
Q21812784
(Q21823246,P403,c(Q4022))
action filter_type
action find
entity Q21823246
relation P403
type Q4022
The drainage of that body of water ends [ANSWER]
['Q21823246', 'P403', {'concept': 'Q4022'}]
SELECT DISTINCT ?s WHERE { resource:Q21823246 property:P403 ?s . ?s rdf:type ontology:Q4022 }
Schuchert river
The drainage of that body of water ends Schuchert river
Schuchert river
action filter_type
action find
entity Aldebaran Glacier
relation mouth of the watercourse
type river
['Aldebaran Glacier', 'mouth of the watercourse', {'concept': 'river'}]
SELECT DISTINCT ?s WHERE { resource:Aldebaran_Glacier property:mouth_of_the_watercourse ?s . ?s rdf:type ontology:river }
[]