Simple Question (Direct)
Simple Question
Q1290407
P108
Q19335303
USER
Which German business organizations employ Victor Müller-Heß ?
(Q1290407,P108,c(Q19335303))
action filter_type
action find
entity Q1290407
relation P108
type Q19335303
['Q1290407', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?f WHERE { resource:Q1290407 property:P108 ?f . ?f rdf:type ontology:Q19335303 }
Victor Müller-Heß
action filter_type
action find
entity Victor Müller-Heß
relation employer
type type of business entity in Germany
['Victor Müller-Heß', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?f WHERE { resource:Victor_Müller-Heß property:employer ?f . ?f 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
(Q1290407,P108,c(Q19335303))
action filter_type
action find
entity Q1290407
relation P108
type Q19335303
[ANSWERS] employ Victor Müller-Heß
['Q1290407', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?f WHERE { resource:Q1290407 property:P108 ?f . ?f rdf:type ontology:Q19335303 }
Humboldt University of Berlin Free University of Berlin
Humboldt University of Berlin and Free University of Berlin employ Victor Müller-Heß
Humboldt University of Berlin Free University of Berlin
action filter_type
action find
entity Victor Müller-Heß
relation employer
type type of business entity in Germany
['Victor Müller-Heß', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?f WHERE { resource:Victor_Müller-Heß property:employer ?f . ?f rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1290407
P106
Q12737077
USER
What are the job of that person ?
(Q152087,P106,c(Q12737077)) (Q153006,P106,c(Q12737077))
action filter_type
action find
entity Q1290407
relation P106
type Q12737077
['Q152087', 'P106', {'concept': 'Q12737077'}] ['Q153006', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q1290407 property:P106 ?o }
Victor Müller-Heß
action filter_type
action find
entity Victor Müller-Heß
relation occupation
type occupation
['Humboldt University of Berlin', 'occupation', {'concept': 'occupation'}] ['Free University of Berlin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Victor_Müller-Heß property:occupation ?o }
[]
occupation
Q16062414 Q1622272
SYSTEM
forensic pathologist, university teacher
Q16062414 Q1622272
(Q152087,P106,c(Q12737077)) (Q153006,P106,c(Q12737077))
action filter_type
action find
entity Q1290407
relation P106
type Q12737077
The job of that person are a [ANSWERS]
['Q152087', 'P106', {'concept': 'Q12737077'}] ['Q153006', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q1290407 property:P106 ?o }
forensic pathologist university teacher
The job of that person are a forensic pathologist and university teacher
forensic pathologist university teacher
action filter_type
action find
entity Victor Müller-Heß
relation occupation
type occupation
['Humboldt University of Berlin', 'occupation', {'concept': 'occupation'}] ['Free University of Berlin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Victor_Müller-Heß property:occupation ?o }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q9359630
P106
Q502895
USER
Do Tomasz Prusek have those occupations as his/her means of employment ?
(Q9359630,P106,Q16062414) (Q9359630,P106,Q1622272)
action is_in
entity prev_answer
action find
entity Q9359630
relation P106
['Q9359630', 'P106', 'Q16062414'] ['Q9359630', 'P106', 'Q1622272']
ASK WHERE { resource:Q9359630 property:P106 ?g . VALUES ( ?g ) { ( resource:Q16062414 ) ( resource:Q1622272 ) } }
Tomasz Prusek
action is_in
entity prev_answer
action find
entity Tomasz Prusek
relation occupation
['Tomasz Prusek', 'occupation', 'forensic pathologist'] ['Tomasz Prusek', 'occupation', 'university teacher']
ASK WHERE { resource:Tomasz_Prusek property:occupation ?g . VALUES ( ?g ) { ( resource:forensic_pathologist ) ( resource:university_teacher ) } }
[]
common name
SYSTEM
NO
(Q9359630,P106,Q16062414) (Q9359630,P106,Q1622272)
action is_in
entity prev_answer
action find
entity Q9359630
relation P106
[ANSWER]
['Q9359630', 'P106', 'Q16062414'] ['Q9359630', 'P106', 'Q1622272']
ASK WHERE { resource:Q9359630 property:P106 ?g . VALUES ( ?g ) { ( resource:Q16062414 ) ( resource:Q1622272 ) } }
No
action is_in
entity prev_answer
action find
entity Tomasz Prusek
relation occupation
['Tomasz Prusek', 'occupation', 'forensic pathologist'] ['Tomasz Prusek', 'occupation', 'university teacher']
ASK WHERE { resource:Tomasz_Prusek property:occupation ?g . VALUES ( ?g ) { ( resource:forensic_pathologist ) ( resource:university_teacher ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q11204 Q1752346 Q12737077
USER
Which occupations are appointed by approximately 1 legislatures and assemblies ?
(c(Q12737077),P748,c(Q11204)|c(Q1752346))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?l WHERE { VALUES ( ?f ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } . ?u rdf:type ?f } GROUP BY ?l } }
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type assembly
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?l WHERE { VALUES ( ?f ) { ( ontology:assembly ) ( ontology:legislature ) } . ?u rdf:type ?f } GROUP BY ?l } }
[]
legislature assembly occupation
Q655407 Q4122271 Q842386
SYSTEM
President of the People's Republic of China, Premier of the People's Republic of China, Prime Minister of Russia
Q11793630 Q15305714 Q655407 Q842386 Q19056310 Q890030 Q796593 Q596123 Q1043568 Q7574264 Q866680 Q26000995 Q3409203 Q327948 Q4122271 Q1370482 Q628102
(c(Q12737077),P748,c(Q11204)|c(Q1752346))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
value 1
The [ANSWERS] are appointed by approximately 1 legislatures and assemblies
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?l WHERE { VALUES ( ?f ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } . ?u rdf:type ?f } GROUP BY ?l } }
governor of national banks of Serbia and Yugoslavia Prime Minister of Libya President of the People's Republic of China Prime Minister of Russia President of Botswana State President of South Africa President of Malta president of Bangladesh Prime Minister of Vietnam Speaker of the Hellenic Parliament President of Vietnam President of the Parliament of Catalonia President of Greece President of Israel Premier of the People's Republic of China President of Cuba President of Nauru
The President of the People's Republic of China, Premier of the People's Republic of China and Prime Minister of Russia are appointed by approximately 1 legislatures and assemblies
President of the People's Republic of China Premier of the People's Republic of China Prime Minister of Russia
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type assembly
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?l WHERE { VALUES ( ?f ) { ( ontology:assembly ) ( ontology:legislature ) } . ?u rdf:type ?f } GROUP BY ?l } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18962466 Q1290407
P276 P937
Q56061
USER
Which administrative territories are the work locations of Victor Müller-Heß or can Boötes be found ?
OR((Q1290407,P937,c(Q56061)), (Q18962466,P276,c(Q56061)))
action filter_type
action union
action find
entity Q1290407
relation P937
action find
entity Q18962466
relation P276
type Q56061
{'OR': [['Q1290407', 'P937', {'concept': 'Q56061'}], ['Q18962466', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q1290407 property:P937 ?c } UNION { resource:Q18962466 property:P276 ?c } } . ?c rdf:type ontology:Q56061 }
Boötes Victor Müller-Heß
action filter_type
action union
action find
entity Victor Müller-Heß
relation work location
action find
entity Boötes
relation location
type administrative territorial entity
{'OR': [['Victor Müller-Heß', 'work location', {'concept': 'administrative territorial entity'}], ['Boötes', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Victor_Müller-Heß property:work_location ?c } UNION { resource:Boötes property:location ?c } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q1019530
SYSTEM
Berlin, Loon op Zand
Q64 Q1019530
OR((Q1290407,P937,c(Q56061)), (Q18962466,P276,c(Q56061)))
action filter_type
action union
action find
entity Q1290407
relation P937
action find
entity Q18962466
relation P276
type Q56061
[ANSWERS] are the work locations of Victor Müller-Heß or can Boötes be found
{'OR': [['Q1290407', 'P937', {'concept': 'Q56061'}], ['Q18962466', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q1290407 property:P937 ?c } UNION { resource:Q18962466 property:P276 ?c } } . ?c rdf:type ontology:Q56061 }
Berlin Loon op Zand
Berlin and Loon op Zand are the work locations of Victor Müller-Heß or can Boötes be found
Berlin Loon op Zand
action filter_type
action union
action find
entity Victor Müller-Heß
relation work location
action find
entity Boötes
relation location
type administrative territorial entity
{'OR': [['Victor Müller-Heß', 'work location', {'concept': 'administrative territorial entity'}], ['Boötes', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Victor_Müller-Heß property:work_location ?c } UNION { resource:Boötes property:location ?c } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q655407 Q950356
P1001
Q15617994
USER
How many administrative territories belong to jurisdiction of President of the People's Republic of China or Parti Québécois ?
(Q655407,P1001,c(Q15617994)) (Q950356,P1001,c(Q15617994))
action count
action union
action filter_type
action find
entity Q655407
relation P1001
type Q15617994
action filter_type
action find
entity Q950356
relation P1001
type Q15617994
['Q655407', 'P1001', {'concept': 'Q15617994'}] ['Q950356', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { { ?f rdf:type ontology:Q15617994 . resource:Q655407 property:P1001 ?f } UNION { ?f rdf:type ontology:Q15617994 . resource:Q950356 property:P1001 ?f } }
President of the People's Republic of China Parti Québécois
action count
action union
action filter_type
action find
entity President of the People's Republic of China
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Parti Québécois
relation applies to jurisdiction
type designation for an administrative territorial entity
["President of the People's Republic of China", 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Parti Québécois', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:President_of_the_People's_Republic_of_China property:applies_to_jurisdiction ?f } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Parti_Québécois property:applies_to_jurisdiction ?f } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q176 Q148
(Q655407,P1001,c(Q15617994)) (Q950356,P1001,c(Q15617994))
action count
action union
action filter_type
action find
entity Q655407
relation P1001
type Q15617994
action filter_type
action find
entity Q950356
relation P1001
type Q15617994
[ANSWER]
['Q655407', 'P1001', {'concept': 'Q15617994'}] ['Q950356', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { { ?f rdf:type ontology:Q15617994 . resource:Q655407 property:P1001 ?f } UNION { ?f rdf:type ontology:Q15617994 . resource:Q950356 property:P1001 ?f } }
Quebec People's Republic of China
2
action count
action union
action filter_type
action find
entity President of the People's Republic of China
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Parti Québécois
relation applies to jurisdiction
type designation for an administrative territorial entity
["President of the People's Republic of China", 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Parti Québécois', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:President_of_the_People's_Republic_of_China property:applies_to_jurisdiction ?f } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Parti_Québécois property:applies_to_jurisdiction ?f } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q14517126 Q18962466
P17
Q15617994
USER
Which administrative territories are Boötes and WGW located in ?
AND((Q18962466,P17,c(Q15617994)), (Q14517126,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q18962466
relation P17
action find
entity Q14517126
relation P17
type Q15617994
{'AND': [['Q18962466', 'P17', {'concept': 'Q15617994'}], ['Q14517126', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q14517126 property:P17 ?k . resource:Q18962466 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
WGW Boötes
action filter_type
action intersection
action find
entity Boötes
relation country
action find
entity WGW
relation country
type designation for an administrative territorial entity
{'AND': [['Boötes', 'country', {'concept': 'designation for an administrative territorial entity'}], ['WGW', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:WGW property:country ?k . resource:Boötes property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
AND((Q18962466,P17,c(Q15617994)), (Q14517126,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q18962466
relation P17
action find
entity Q14517126
relation P17
type Q15617994
Boötes and WGW are located in [ANSWER]
{'AND': [['Q18962466', 'P17', {'concept': 'Q15617994'}], ['Q14517126', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q14517126 property:P17 ?k . resource:Q18962466 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Netherlands
Boötes and WGW are located in Netherlands
Netherlands
action filter_type
action intersection
action find
entity Boötes
relation country
action find
entity WGW
relation country
type designation for an administrative territorial entity
{'AND': [['Boötes', 'country', {'concept': 'designation for an administrative territorial entity'}], ['WGW', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:WGW property:country ?k . resource:Boötes property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]