Simple Question (Direct)
Simple Question
Q26938383
P108
Q811979
USER
Which architectural structure employs Hanspeter Schaudig ?
(Q26938383,P108,c(Q811979))
action filter_type
action find
entity Q26938383
relation P108
type Q811979
['Q26938383', 'P108', {'concept': 'Q811979'}]
SELECT DISTINCT ?d WHERE { resource:Q26938383 property:P108 ?d . ?d rdf:type ontology:Q811979 }
Hanspeter Schaudig
action filter_type
action find
entity Hanspeter Schaudig
relation employer
type architectural structure
['Hanspeter Schaudig', 'employer', {'concept': 'architectural structure'}]
SELECT DISTINCT ?d WHERE { resource:Hanspeter_Schaudig property:employer ?d . ?d rdf:type ontology:architectural_structure }
[]
architectural structure
Q151510
SYSTEM
University of Heidelberg
Q151510
(Q26938383,P108,c(Q811979))
action filter_type
action find
entity Q26938383
relation P108
type Q811979
[ANSWER] employs Hanspeter Schaudig
['Q26938383', 'P108', {'concept': 'Q811979'}]
SELECT DISTINCT ?d WHERE { resource:Q26938383 property:P108 ?d . ?d rdf:type ontology:Q811979 }
University of Heidelberg
University of Heidelberg employs Hanspeter Schaudig
University of Heidelberg
action filter_type
action find
entity Hanspeter Schaudig
relation employer
type architectural structure
['Hanspeter Schaudig', 'employer', {'concept': 'architectural structure'}]
SELECT DISTINCT ?d WHERE { resource:Hanspeter_Schaudig property:employer ?d . ?d rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26938383
P27
Q1048835
USER
Which political territory is the country of citizenship of that person ?
(Q151510,P27,c(Q1048835))
action filter_type
action find
entity Q26938383
relation P27
type Q1048835
['Q151510', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q26938383 property:P27 ?u . ?u rdf:type ontology:Q1048835 }
Hanspeter Schaudig
action filter_type
action find
entity Hanspeter Schaudig
relation country of citizenship
type political territorial entity
['University of Heidelberg', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Hanspeter_Schaudig property:country_of_citizenship ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q151510,P27,c(Q1048835))
action filter_type
action find
entity Q26938383
relation P27
type Q1048835
[ANSWER] is the country of citizenship of that person
['Q151510', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q26938383 property:P27 ?u . ?u rdf:type ontology:Q1048835 }
Germany
Germany is the country of citizenship of that person
Germany
action filter_type
action find
entity Hanspeter Schaudig
relation country of citizenship
type political territorial entity
['University of Heidelberg', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Hanspeter_Schaudig property:country_of_citizenship ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26938383
P21
Q290
USER
What is the sex of that person ?
(Q183,P21,c(Q290))
action filter_type
action find
entity Q26938383
relation P21
type Q290
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q26938383 property:P21 ?h . ?h rdf:type ontology:Q290 }
Hanspeter Schaudig
action filter_type
action find
entity Hanspeter Schaudig
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Hanspeter_Schaudig property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q183,P21,c(Q290))
action filter_type
action find
entity Q26938383
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q26938383 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Hanspeter Schaudig
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Hanspeter_Schaudig property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26938383
P512
Q3412758
USER
What degree does that person hold ?
(Q6581097,P512,c(Q3412758))
action filter_type
action find
entity Q26938383
relation P512
type Q3412758
['Q6581097', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q3412758 . resource:Q26938383 property:P512 ?a }
Hanspeter Schaudig
action filter_type
action find
entity Hanspeter Schaudig
relation academic degree
type qualification
['male', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:qualification . resource:Hanspeter_Schaudig property:academic_degree ?a }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q6581097,P512,c(Q3412758))
action filter_type
action find
entity Q26938383
relation P512
type Q3412758
That person holds a [ANSWER]
['Q6581097', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q3412758 . resource:Q26938383 property:P512 ?a }
doctoral degree
That person holds a doctoral degree
doctoral degree
action filter_type
action find
entity Hanspeter Schaudig
relation academic degree
type qualification
['male', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:qualification . resource:Hanspeter_Schaudig property:academic_degree ?a }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q76143 Q26938383
P512
Q3412758
USER
And also Richard Thurnwald
AND((Q26938383,P512,c(Q3412758)), (Q76143,P512,c(Q3412758)))
action filter_type
action intersection
action find
entity Q26938383
relation P512
action find
entity Q76143
relation P512
type Q3412758
{'AND': [['Q26938383', 'P512', {'concept': 'Q3412758'}], ['Q76143', 'P512', {'concept': 'Q3412758'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q3412758 . resource:Q76143 property:P512 ?n . resource:Q26938383 property:P512 ?n }
Richard Thurnwald Hanspeter Schaudig
action filter_type
action intersection
action find
entity Hanspeter Schaudig
relation academic degree
action find
entity Richard Thurnwald
relation academic degree
type qualification
{'AND': [['Hanspeter Schaudig', 'academic degree', {'concept': 'qualification'}], ['Richard Thurnwald', 'academic degree', {'concept': 'qualification'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:qualification . resource:Richard_Thurnwald property:academic_degree ?n . resource:Hanspeter_Schaudig property:academic_degree ?n }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
AND((Q26938383,P512,c(Q3412758)), (Q76143,P512,c(Q3412758)))
action filter_type
action intersection
action find
entity Q26938383
relation P512
action find
entity Q76143
relation P512
type Q3412758
[ANSWER]
{'AND': [['Q26938383', 'P512', {'concept': 'Q3412758'}], ['Q76143', 'P512', {'concept': 'Q3412758'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q3412758 . resource:Q76143 property:P512 ?n . resource:Q26938383 property:P512 ?n }
doctoral degree
doctoral degree
action filter_type
action intersection
action find
entity Hanspeter Schaudig
relation academic degree
action find
entity Richard Thurnwald
relation academic degree
type qualification
{'AND': [['Hanspeter Schaudig', 'academic degree', {'concept': 'qualification'}], ['Richard Thurnwald', 'academic degree', {'concept': 'qualification'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:qualification . resource:Richard_Thurnwald property:academic_degree ?n . resource:Hanspeter_Schaudig property:academic_degree ?n }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q823840 Q76143
P108
Q19335303
USER
Which German business organizations employ Richard Thurnwald and Bernd Lucke ?
AND((Q76143,P108,c(Q19335303)), (Q823840,P108,c(Q19335303)))
action filter_type
action intersection
action find
entity Q76143
relation P108
action find
entity Q823840
relation P108
type Q19335303
{'AND': [['Q76143', 'P108', {'concept': 'Q19335303'}], ['Q823840', 'P108', {'concept': 'Q19335303'}]]}
SELECT DISTINCT ?j WHERE { resource:Q823840 property:P108 ?j . resource:Q76143 property:P108 ?j . ?j rdf:type ontology:Q19335303 }
Bernd Lucke Richard Thurnwald
action filter_type
action intersection
action find
entity Richard Thurnwald
relation employer
action find
entity Bernd Lucke
relation employer
type type of business entity in Germany
{'AND': [['Richard Thurnwald', 'employer', {'concept': 'type of business entity in Germany'}], ['Bernd Lucke', 'employer', {'concept': 'type of business entity in Germany'}]]}
SELECT DISTINCT ?j WHERE { resource:Bernd_Lucke property:employer ?j . resource:Richard_Thurnwald property:employer ?j . ?j rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q152087 Q153006
SYSTEM
Humboldt University of Berlin, Free University of Berlin
Q152087 Q153006
AND((Q76143,P108,c(Q19335303)), (Q823840,P108,c(Q19335303)))
action filter_type
action intersection
action find
entity Q76143
relation P108
action find
entity Q823840
relation P108
type Q19335303
[ANSWERS] employ Richard Thurnwald and Bernd Lucke
{'AND': [['Q76143', 'P108', {'concept': 'Q19335303'}], ['Q823840', 'P108', {'concept': 'Q19335303'}]]}
SELECT DISTINCT ?j WHERE { resource:Q823840 property:P108 ?j . resource:Q76143 property:P108 ?j . ?j rdf:type ontology:Q19335303 }
Humboldt University of Berlin Free University of Berlin
Humboldt University of Berlin and Free University of Berlin employ Richard Thurnwald and Bernd Lucke
Humboldt University of Berlin Free University of Berlin
action filter_type
action intersection
action find
entity Richard Thurnwald
relation employer
action find
entity Bernd Lucke
relation employer
type type of business entity in Germany
{'AND': [['Richard Thurnwald', 'employer', {'concept': 'type of business entity in Germany'}], ['Bernd Lucke', 'employer', {'concept': 'type of business entity in Germany'}]]}
SELECT DISTINCT ?j WHERE { resource:Bernd_Lucke property:employer ?j . resource:Richard_Thurnwald property:employer ?j . ?j rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q152087 Q153006
P1454
Q1269299
USER
Which business organizations represent the legal form of those German business organizations ?
(Q152087,P1454,c(Q1269299)) (Q153006,P1454,c(Q1269299))
action filter_type
action find
entity prev_answer
relation P1454
type Q1269299
['Q152087', 'P1454', {'concept': 'Q1269299'}] ['Q153006', 'P1454', {'concept': 'Q1269299'}]
SELECT DISTINCT ?t WHERE { ?h property:P1454 ?t . ?t rdf:type ontology:Q1269299 . VALUES ( ?h ) { ( resource:Q152087 ) ( resource:Q153006 ) } }
Humboldt University of Berlin Free University of Berlin
action filter_type
action find
entity prev_answer
relation legal form
type type of business entity
['Humboldt University of Berlin', 'legal form', {'concept': 'type of business entity'}] ['Free University of Berlin', 'legal form', {'concept': 'type of business entity'}]
SELECT DISTINCT ?t WHERE { ?h property:legal_form ?t . ?t rdf:type ontology:type_of_business_entity . VALUES ( ?h ) { ( resource:Humboldt_University_of_Berlin ) ( resource:Free_University_of_Berlin ) } }
[]
type of business entity
Q15734684 Q15734684
SYSTEM
Körperschaft des öffentlichen Rechts
Q15734684 Q15734684
(Q152087,P1454,c(Q1269299)) (Q153006,P1454,c(Q1269299))
action filter_type
action find
entity prev_answer
relation P1454
type Q1269299
[ANSWER] and [ANSWER] represent the legal form of those German business organizations
['Q152087', 'P1454', {'concept': 'Q1269299'}] ['Q153006', 'P1454', {'concept': 'Q1269299'}]
SELECT DISTINCT ?t WHERE { ?h property:P1454 ?t . ?t rdf:type ontology:Q1269299 . VALUES ( ?h ) { ( resource:Q152087 ) ( resource:Q153006 ) } }
Körperschaft des öffentlichen Rechts Körperschaft des öffentlichen Rechts
Körperschaft des öffentlichen Rechts and Körperschaft des öffentlichen Rechts represent the legal form of those German business organizations
Körperschaft des öffentlichen Rechts Körperschaft des öffentlichen Rechts
action filter_type
action find
entity prev_answer
relation legal form
type type of business entity
['Humboldt University of Berlin', 'legal form', {'concept': 'type of business entity'}] ['Free University of Berlin', 'legal form', {'concept': 'type of business entity'}]
SELECT DISTINCT ?t WHERE { ?h property:legal_form ?t . ?t rdf:type ontology:type_of_business_entity . VALUES ( ?h ) { ( resource:Humboldt_University_of_Berlin ) ( resource:Free_University_of_Berlin ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q152087
P138
Q502895
USER
Which people are namesakes of Humboldt University of Berlin ?
(Q152087,P138,c(Q502895))
action filter_type
action find
entity Q152087
relation P138
type Q502895
['Q152087', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q152087 property:P138 ?m . ?m rdf:type ontology:Q502895 }
Humboldt University of Berlin
action filter_type
action find
entity Humboldt University of Berlin
relation named after
type common name
['Humboldt University of Berlin', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Humboldt_University_of_Berlin property:named_after ?m . ?m rdf:type ontology:common_name }
[]
common name
Q77888 Q6694
SYSTEM
Wilhelm von Humboldt, Alexander von Humboldt
Q77888 Q6694
(Q152087,P138,c(Q502895))
action filter_type
action find
entity Q152087
relation P138
type Q502895
[ANSWERS] are namesakes of Humboldt University of Berlin
['Q152087', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q152087 property:P138 ?m . ?m rdf:type ontology:Q502895 }
Wilhelm von Humboldt Alexander von Humboldt
Wilhelm von Humboldt and Alexander von Humboldt are namesakes of Humboldt University of Berlin
Wilhelm von Humboldt Alexander von Humboldt
action filter_type
action find
entity Humboldt University of Berlin
relation named after
type common name
['Humboldt University of Berlin', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Humboldt_University_of_Berlin property:named_after ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q152087
P159
Q486972
USER
Where is the head office for Humboldt University of Berlin located ?
(Q152087,P159,c(Q486972))
action filter_type
action find
entity Q152087
relation P159
type Q486972
['Q152087', 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { resource:Q152087 property:P159 ?x . ?x rdf:type ontology:Q486972 }
Humboldt University of Berlin
action filter_type
action find
entity Humboldt University of Berlin
relation headquarters location
type human settlement
['Humboldt University of Berlin', 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { resource:Humboldt_University_of_Berlin property:headquarters_location ?x . ?x rdf:type ontology:human_settlement }
[]
human settlement
Q677514
SYSTEM
Dorotheenstadt
Q677514
(Q152087,P159,c(Q486972))
action filter_type
action find
entity Q152087
relation P159
type Q486972
The head office for Humboldt University of Berlin is located in [ANSWER]
['Q152087', 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { resource:Q152087 property:P159 ?x . ?x rdf:type ontology:Q486972 }
Dorotheenstadt
The head office for Humboldt University of Berlin is located in Dorotheenstadt
Dorotheenstadt
action filter_type
action find
entity Humboldt University of Berlin
relation headquarters location
type human settlement
['Humboldt University of Berlin', 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { resource:Humboldt_University_of_Berlin property:headquarters_location ?x . ?x rdf:type ontology:human_settlement }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7765658
Q486972
USER
And what about The Spaceship Company?
(Q7765658,P159,c(Q486972))
action filter_type
action find
entity Q7765658
relation P159
type Q486972
['Q7765658', 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q486972 . resource:Q7765658 property:P159 ?w }
The Spaceship Company
action filter_type
action find
entity The Spaceship Company
relation headquarters location
type human settlement
['The Spaceship Company', 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:human_settlement . resource:The_Spaceship_Company property:headquarters_location ?w }
[]
human settlement
Q1943133
SYSTEM
Mojave
Q1943133
(Q7765658,P159,c(Q486972))
action filter_type
action find
entity Q7765658
relation P159
type Q486972
[ANSWER]
['Q7765658', 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q486972 . resource:Q7765658 property:P159 ?w }
Mojave
Mojave
action filter_type
action find
entity The Spaceship Company
relation headquarters location
type human settlement
['The Spaceship Company', 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:human_settlement . resource:The_Spaceship_Company property:headquarters_location ?w }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q7275 Q486972
USER
Which states have atleast 1 human settlement as their county seat ?
(c(Q486972),P1376,c(Q7275))
action atleast
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
value 1
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?g >= 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:P1376 ?r . ?r rdf:type ontology:Q7275 . ?i rdf:type ontology:Q486972 } GROUP BY ?r } }
action atleast
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?g >= 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:capital_of ?r . ?r rdf:type ontology:state . ?i rdf:type ontology:human_settlement } GROUP BY ?r } }
[]
state human settlement
Q16957 Q172107 Q953432
SYSTEM
East Germany, Polish–Lithuanian Commonwealth, Couto Misto
Q1649871 Q2361927 Q953432 Q216173 Q16957 Q172107 Q797422 Q235030 Q487829
(c(Q486972),P1376,c(Q7275))
action atleast
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
value 1
[ANSWERS] have atleast 1 human settlement as their county seat
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?g >= 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:P1376 ?r . ?r rdf:type ontology:Q7275 . ?i rdf:type ontology:Q486972 } GROUP BY ?r } }
Kingdom of Poland Duchy of Masovia Couto Misto Free City of Danzig East Germany Polish–Lithuanian Commonwealth Republic of Upper Volta Principality of Antioch Chagatai Khanate
East Germany, Polish–Lithuanian Commonwealth and Couto Misto have atleast 1 human settlement as their county seat
East Germany Polish–Lithuanian Commonwealth Couto Misto
action atleast
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?g >= 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:capital_of ?r . ?r rdf:type ontology:state . ?i rdf:type ontology:human_settlement } GROUP BY ?r } }
[]