Simple Question (Direct)
Simple Question
Q1576983
P937
Q56061
USER
Which administrative territories are the work locations of Hans-Georg Knopp ?
(Q1576983,P937,c(Q56061))
action filter_type
action find
entity Q1576983
relation P937
type Q56061
['Q1576983', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q1576983 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Hans-Georg Knopp
action filter_type
action find
entity Hans-Georg Knopp
relation work location
type administrative territorial entity
['Hans-Georg Knopp', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Hans-Georg_Knopp property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q1297 Q1726
SYSTEM
Berlin, Chicago, Munich
Q1726 Q64 Q35381 Q1297 Q3630
(Q1576983,P937,c(Q56061))
action filter_type
action find
entity Q1576983
relation P937
type Q56061
[ANSWERS] are the work locations of Hans-Georg Knopp
['Q1576983', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q1576983 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Munich Berlin Colombo Chicago Jakarta
Berlin, Chicago and Munich are the work locations of Hans-Georg Knopp
Berlin Chicago Munich
action filter_type
action find
entity Hans-Georg Knopp
relation work location
type administrative territorial entity
['Hans-Georg Knopp', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Hans-Georg_Knopp property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1576983
P106
Q12737077
USER
What are the job of that person ?
(Q64,P106,c(Q12737077)) (Q1297,P106,c(Q12737077)) (Q1726,P106,c(Q12737077))
action filter_type
action find
entity Q1576983
relation P106
type Q12737077
['Q64', 'P106', {'concept': 'Q12737077'}] ['Q1297', 'P106', {'concept': 'Q12737077'}] ['Q1726', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1576983 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Hans-Georg Knopp
action filter_type
action find
entity Hans-Georg Knopp
relation occupation
type occupation
['Berlin', 'occupation', {'concept': 'occupation'}] ['Chicago', 'occupation', {'concept': 'occupation'}] ['Munich', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Hans-Georg_Knopp property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q6491450 Q18524037 Q82955
SYSTEM
intendant, indologist, politician
Q6491450 Q18524037 Q82955
(Q64,P106,c(Q12737077)) (Q1297,P106,c(Q12737077)) (Q1726,P106,c(Q12737077))
action filter_type
action find
entity Q1576983
relation P106
type Q12737077
The job of that person are the [ANSWERS]
['Q64', 'P106', {'concept': 'Q12737077'}] ['Q1297', 'P106', {'concept': 'Q12737077'}] ['Q1726', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1576983 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
intendant indologist politician
The job of that person are the intendant, indologist and politician
intendant indologist politician
action filter_type
action find
entity Hans-Georg Knopp
relation occupation
type occupation
['Berlin', 'occupation', {'concept': 'occupation'}] ['Chicago', 'occupation', {'concept': 'occupation'}] ['Munich', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Hans-Georg_Knopp property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q44265
P417
Q502895 Q12737077
USER
How many people are the patron saint of around the same number of occupations as Benedict of Nursia ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q44265
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:P417 ?d . ?d rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { resource:Q44265 property:P417 ?r . ?r rdf:type ontology:Q502895 } } . FILTER ( ?p = ?c ) }
Benedict of Nursia
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Benedict of Nursia
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:patron_saint ?d . ?d rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { resource:Benedict_of_Nursia property:patron_saint ?r . ?r rdf:type ontology:common_name } } . FILTER ( ?p = ?c ) }
[]
common name occupation
SYSTEM
10
Q229190 Q328804 Q166876 Q170547 Q183240 Q196653 Q44265 Q744884 Q151967 Q44248
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q44265
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:P417 ?d . ?d rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { resource:Q44265 property:P417 ?r . ?r rdf:type ontology:Q502895 } } . FILTER ( ?p = ?c ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Saint Lucy Saint Veronica Benedict of Nursia Zita Saint Blaise Jerome
10
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Benedict of Nursia
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:patron_saint ?d . ?d rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { resource:Benedict_of_Nursia property:patron_saint ?r . ?r rdf:type ontology:common_name } } . FILTER ( ?p = ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64
P1001
Q15617994
USER
Which administrative territory has control over the jurisdiction of Berlin ?
(c(Q15617994),P1001,Q64)
action filter_type
action find_reverse
entity Q64
relation P1001
type Q15617994
[{'concept': 'Q15617994'}, 'P1001', 'Q64']
SELECT DISTINCT ?e WHERE { ?e property:P1001 resource:Q64 . ?e rdf:type ontology:Q15617994 }
Berlin
action filter_type
action find_reverse
entity Berlin
relation applies to jurisdiction
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'applies to jurisdiction', 'Berlin']
SELECT DISTINCT ?e WHERE { ?e property:applies_to_jurisdiction resource:Berlin . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q821435
SYSTEM
district of Berlin
Q821435
(c(Q15617994),P1001,Q64)
action filter_type
action find_reverse
entity Q64
relation P1001
type Q15617994
The [ANSWER] has control over the jurisdiction of Berlin
[{'concept': 'Q15617994'}, 'P1001', 'Q64']
SELECT DISTINCT ?e WHERE { ?e property:P1001 resource:Q64 . ?e rdf:type ontology:Q15617994 }
district of Berlin
The district of Berlin has control over the jurisdiction of Berlin
district of Berlin
action filter_type
action find_reverse
entity Berlin
relation applies to jurisdiction
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'applies to jurisdiction', 'Berlin']
SELECT DISTINCT ?e WHERE { ?e property:applies_to_jurisdiction resource:Berlin . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q821435
P361
Q895526
USER
What is a component of that administrative territory ?
(c(Q895526),P361,Q821435)
action filter_type
action find_reverse
entity Q821435
relation P361
type Q895526
[{'concept': 'Q895526'}, 'P361', 'Q821435']
SELECT DISTINCT ?k WHERE { ?k property:P361 resource:Q821435 . ?k rdf:type ontology:Q895526 }
district of Berlin
action filter_type
action find_reverse
entity district of Berlin
relation part of
type authority organ
[{'concept': 'authority organ'}, 'part of', 'district of Berlin']
SELECT DISTINCT ?k WHERE { ?k property:part_of resource:district_of_Berlin . ?k rdf:type ontology:authority_organ }
[]
authority organ
Q854201
SYSTEM
district mayor
Q854201
(c(Q895526),P361,Q821435)
action filter_type
action find_reverse
entity Q821435
relation P361
type Q895526
A component of that administrative territory is the [ANSWER]
[{'concept': 'Q895526'}, 'P361', 'Q821435']
SELECT DISTINCT ?k WHERE { ?k property:P361 resource:Q821435 . ?k rdf:type ontology:Q895526 }
district mayor
A component of that administrative territory is the district mayor
district mayor
action filter_type
action find_reverse
entity district of Berlin
relation part of
type authority organ
[{'concept': 'authority organ'}, 'part of', 'district of Berlin']
SELECT DISTINCT ?k WHERE { ?k property:part_of resource:district_of_Berlin . ?k rdf:type ontology:authority_organ }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q59261 Q821435
P361
Q895526
USER
Or State Council of the People's Republic of China?
OR((c(Q895526),P361,Q821435), (c(Q895526),P361,Q59261))
action filter_type
action union
action find_reverse
entity Q821435
relation P361
action find_reverse
entity Q59261
relation P361
type Q895526
{'OR': [[{'concept': 'Q895526'}, 'P361', 'Q821435'], [{'concept': 'Q895526'}, 'P361', 'Q59261']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P361 resource:Q821435 } UNION { ?k property:P361 resource:Q59261 } } . ?k rdf:type ontology:Q895526 }
State Council of the People's Republic of China district of Berlin
action filter_type
action union
action find_reverse
entity district of Berlin
relation part of
action find_reverse
entity State Council of the People's Republic of China
relation part of
type authority organ
{'OR': [[{'concept': 'authority organ'}, 'part of', 'district of Berlin'], [{'concept': 'authority organ'}, 'part of', "State Council of the People's Republic of China"]]}
SELECT DISTINCT ?k WHERE { { { ?k property:part_of resource:district_of_Berlin } UNION { ?k property:part_of resource:State_Council_of_the_People's_Republic_of_China } } . ?k rdf:type ontology:authority_organ }
[]
authority organ
Q905379 Q854201 Q10926033 Q5531666
SYSTEM
State Administration for Religious Affairs, district mayor, State Administration of Press, General Administration of Press and Publication
Q905379 Q854201 Q10926033 Q5531666
OR((c(Q895526),P361,Q821435), (c(Q895526),P361,Q59261))
action filter_type
action union
action find_reverse
entity Q821435
relation P361
action find_reverse
entity Q59261
relation P361
type Q895526
[ANSWERS]
{'OR': [[{'concept': 'Q895526'}, 'P361', 'Q821435'], [{'concept': 'Q895526'}, 'P361', 'Q59261']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P361 resource:Q821435 } UNION { ?k property:P361 resource:Q59261 } } . ?k rdf:type ontology:Q895526 }
State Administration for Religious Affairs district mayor State Administration of Press General Administration of Press and Publication
State Administration for Religious Affairs district mayor State Administration of Press General Administration of Press and Publication
action filter_type
action union
action find_reverse
entity district of Berlin
relation part of
action find_reverse
entity State Council of the People's Republic of China
relation part of
type authority organ
{'OR': [[{'concept': 'authority organ'}, 'part of', 'district of Berlin'], [{'concept': 'authority organ'}, 'part of', "State Council of the People's Republic of China"]]}
SELECT DISTINCT ?k WHERE { { { ?k property:part_of resource:district_of_Berlin } UNION { ?k property:part_of resource:State_Council_of_the_People's_Republic_of_China } } . ?k rdf:type ontology:authority_organ }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q59261
P127
Q43229
USER
Which organizations belongs to that branch ?
(c(Q43229),P127,Q905379) (c(Q43229),P127,Q854201) (c(Q43229),P127,Q10926033) (c(Q43229),P127,Q5531666)
action filter_type
action find_reverse
entity Q59261
relation P127
type Q43229
[{'concept': 'Q43229'}, 'P127', 'Q905379'] [{'concept': 'Q43229'}, 'P127', 'Q854201'] [{'concept': 'Q43229'}, 'P127', 'Q10926033'] [{'concept': 'Q43229'}, 'P127', 'Q5531666']
SELECT DISTINCT ?q WHERE { ?q property:P127 resource:Q59261 . ?q rdf:type ontology:Q43229 }
State Council of the People's Republic of China
action filter_type
action find_reverse
entity State Council of the People's Republic of China
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'State Administration for Religious Affairs'] [{'concept': 'organization'}, 'owned by', 'district mayor'] [{'concept': 'organization'}, 'owned by', 'State Administration of Press'] [{'concept': 'organization'}, 'owned by', 'General Administration of Press and Publication']
SELECT DISTINCT ?q WHERE { ?q property:owned_by resource:State_Council_of_the_People's_Republic_of_China . ?q rdf:type ontology:organization }
[]
organization
Q741618 Q249692 Q3952867
SYSTEM
China Mobile, Baosteel, China National Heavy Duty Truck Group
Q249692 Q4881207 Q741618 Q20051446 Q2925357 Q5099885 Q5619672 Q1073519 Q3952867
(c(Q43229),P127,Q905379) (c(Q43229),P127,Q854201) (c(Q43229),P127,Q10926033) (c(Q43229),P127,Q5531666)
action filter_type
action find_reverse
entity Q59261
relation P127
type Q43229
[ANSWERS] belong to that branch
[{'concept': 'Q43229'}, 'P127', 'Q905379'] [{'concept': 'Q43229'}, 'P127', 'Q854201'] [{'concept': 'Q43229'}, 'P127', 'Q10926033'] [{'concept': 'Q43229'}, 'P127', 'Q5531666']
SELECT DISTINCT ?q WHERE { ?q property:P127 resource:Q59261 . ?q rdf:type ontology:Q43229 }
Baosteel Beijing Urban Construction Investment Development China Mobile China Railway Engineering Corporation Bright Food China Resources Shenzhen International Trust Guosen Securities China State Construction Engineering Corporation China National Heavy Duty Truck Group
China Mobile, Baosteel and China National Heavy Duty Truck Group belong to that branch
China Mobile Baosteel China National Heavy Duty Truck Group
action filter_type
action find_reverse
entity State Council of the People's Republic of China
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'State Administration for Religious Affairs'] [{'concept': 'organization'}, 'owned by', 'district mayor'] [{'concept': 'organization'}, 'owned by', 'State Administration of Press'] [{'concept': 'organization'}, 'owned by', 'General Administration of Press and Publication']
SELECT DISTINCT ?q WHERE { ?q property:owned_by resource:State_Council_of_the_People's_Republic_of_China . ?q rdf:type ontology:organization }
[]