Simple Question (Direct)
Simple Question
Q120465
P937
Q56061
USER
Which is the work location of Paul Boldt ?
(Q120465,P937,c(Q56061))
action filter_type
action find
entity Q120465
relation P937
type Q56061
['Q120465', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q120465 property:P937 ?b . ?b rdf:type ontology:Q56061 }
Paul Boldt
action filter_type
action find
entity Paul Boldt
relation work location
type administrative territorial entity
['Paul Boldt', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Paul_Boldt property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q120465,P937,c(Q56061))
action filter_type
action find
entity Q120465
relation P937
type Q56061
[ANSWER] is the work location of Paul Boldt
['Q120465', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q120465 property:P937 ?b . ?b rdf:type ontology:Q56061 }
Berlin
Berlin is the work location of Paul Boldt
Berlin
action filter_type
action find
entity Paul Boldt
relation work location
type administrative territorial entity
['Paul Boldt', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Paul_Boldt property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q120465
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q64,P106,c(Q12737077))
action filter_type
action find
entity Q120465
relation P106
type Q12737077
['Q64', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q120465 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Paul Boldt
action filter_type
action find
entity Paul Boldt
relation occupation
type occupation
['Berlin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Paul_Boldt property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q49757 Q36180
SYSTEM
poet, writer
Q49757 Q36180
(Q64,P106,c(Q12737077))
action filter_type
action find
entity Q120465
relation P106
type Q12737077
The professions of that person are the [ANSWERS]
['Q64', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q120465 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
poet writer
The professions of that person are the poet and writer
poet writer
action filter_type
action find
entity Paul Boldt
relation occupation
type occupation
['Berlin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Paul_Boldt property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q120465
P20
Q515
USER
Which city is the place of death of that person ?
(Q49757,P20,c(Q515)) (Q36180,P20,c(Q515))
action filter_type
action find
entity Q120465
relation P20
type Q515
['Q49757', 'P20', {'concept': 'Q515'}] ['Q36180', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q120465 property:P20 ?q . ?q rdf:type ontology:Q515 }
Paul Boldt
action filter_type
action find
entity Paul Boldt
relation place of death
type city
['poet', 'place of death', {'concept': 'city'}] ['writer', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Paul_Boldt property:place_of_death ?q . ?q rdf:type ontology:city }
[]
city
Q2833
SYSTEM
Freiburg im Breisgau
Q2833
(Q49757,P20,c(Q515)) (Q36180,P20,c(Q515))
action filter_type
action find
entity Q120465
relation P20
type Q515
[ANSWER] is the place of death of that person
['Q49757', 'P20', {'concept': 'Q515'}] ['Q36180', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q120465 property:P20 ?q . ?q rdf:type ontology:Q515 }
Freiburg im Breisgau
Freiburg im Breisgau is the place of death of that person
Freiburg im Breisgau
action filter_type
action find
entity Paul Boldt
relation place of death
type city
['poet', 'place of death', {'concept': 'city'}] ['writer', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Paul_Boldt property:place_of_death ?q . ?q rdf:type ontology:city }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P206
Q355304 Q15324 Q515
USER
Which cities are located nearby greater number of watercourses and bodies of water than that city ?
(c(Q515),P206,c(Q355304)|c(Q15324))
action greater
action union
action find_tuple_counts
relation P206
type Q515
type Q355304
action find_tuple_counts
relation P206
type Q515
type Q15324
action count
action filter_multi_types
action find
entity Q2833
relation P206
type Q355304
type Q15324
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?z WHERE { { ?z property:P206 ?e . ?z rdf:type ontology:Q515 . ?e rdf:type ontology:Q355304 } UNION { ?z property:P206 ?e . ?z rdf:type ontology:Q515 . ?e rdf:type ontology:Q15324 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Q2833 property:P206 ?t . { { ?t rdf:type ontology:Q355304 } UNION { ?t rdf:type ontology:Q15324 } } } } . FILTER ( ?l > ?w ) }
action greater
action union
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action find_tuple_counts
relation located next to body of water
type city
type body of water
action count
action filter_multi_types
action find
entity Freiburg im Breisgau
relation located next to body of water
type watercourse
type body of water
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?z WHERE { { ?z property:located_next_to_body_of_water ?e . ?z rdf:type ontology:city . ?e rdf:type ontology:watercourse } UNION { ?z property:located_next_to_body_of_water ?e . ?z rdf:type ontology:city . ?e rdf:type ontology:body_of_water } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Freiburg_im_Breisgau property:located_next_to_body_of_water ?t . { { ?t rdf:type ontology:watercourse } UNION { ?t rdf:type ontology:body_of_water } } } } . FILTER ( ?l > ?w ) }
[]
watercourse body of water city
SYSTEM
30
Q1410 Q3075 Q1865 Q19689 Q3004 Q1461 Q2865 Q1711 Q2978 Q2973 Q1773 Q14821 Q819587 Q1761 Q4007 Q2706 Q7070 Q2749 Q4174 Q1209 Q3750 Q3126 Q3042 Q3046 Q3936 Q2936 Q2100 Q1731 Q2119 Q1720
(c(Q515),P206,c(Q355304)|c(Q15324))
action greater
action union
action find_tuple_counts
relation P206
type Q515
type Q355304
action find_tuple_counts
relation P206
type Q515
type Q15324
action count
action filter_multi_types
action find
entity Q2833
relation P206
type Q355304
type Q15324
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?z WHERE { { ?z property:P206 ?e . ?z rdf:type ontology:Q515 . ?e rdf:type ontology:Q355304 } UNION { ?z property:P206 ?e . ?z rdf:type ontology:Q515 . ?e rdf:type ontology:Q15324 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Q2833 property:P206 ?t . { { ?t rdf:type ontology:Q355304 } UNION { ?t rdf:type ontology:Q15324 } } } } . FILTER ( ?l > ?w ) }
Gibraltar Fürth Kuala Lumpur Tirana Ingolstadt Manila Kassel Potsdam Regensburg Darmstadt Riga Coburg Noshiro Dublin Rosenheim Bremerhaven Eisenach Augsburg Emden Free Hanseatic City of Bremen Gera Erlangen Offenbach am Main Pforzheim Bamberg Oldenburg Duisburg Dresden Mannheim Mainz
30
action greater
action union
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action find_tuple_counts
relation located next to body of water
type city
type body of water
action count
action filter_multi_types
action find
entity Freiburg im Breisgau
relation located next to body of water
type watercourse
type body of water
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) ?z WHERE { { ?z property:located_next_to_body_of_water ?e . ?z rdf:type ontology:city . ?e rdf:type ontology:watercourse } UNION { ?z property:located_next_to_body_of_water ?e . ?z rdf:type ontology:city . ?e rdf:type ontology:body_of_water } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Freiburg_im_Breisgau property:located_next_to_body_of_water ?t . { { ?t rdf:type ontology:watercourse } UNION { ?t rdf:type ontology:body_of_water } } } } . FILTER ( ?l > ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49757
P921
Q2342494
USER
Which collectable has poet as its principal topic ?
(c(Q2342494),P921,Q49757)
action filter_type
action find_reverse
entity Q49757
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q49757']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q2342494 . ?w property:P921 resource:Q49757 }
poet
action filter_type
action find_reverse
entity poet
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'poet']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:collectable . ?w property:main_subject resource:poet }
[]
collectable
Q966732
SYSTEM
Life Is Elsewhere
Q966732
(c(Q2342494),P921,Q49757)
action filter_type
action find_reverse
entity Q49757
relation P921
type Q2342494
[ANSWER] has poet as its principal topic
[{'concept': 'Q2342494'}, 'P921', 'Q49757']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q2342494 . ?w property:P921 resource:Q49757 }
Life Is Elsewhere
Life Is Elsewhere has poet as its principal topic
Life Is Elsewhere
action filter_type
action find_reverse
entity poet
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'poet']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:collectable . ?w property:main_subject resource:poet }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64
P840
Q5398426
USER
Which television series has its setting located at Berlin ?
(c(Q5398426),P840,Q64)
action filter_type
action find_reverse
entity Q64
relation P840
type Q5398426
[{'concept': 'Q5398426'}, 'P840', 'Q64']
SELECT DISTINCT ?y WHERE { ?y property:P840 resource:Q64 . ?y rdf:type ontology:Q5398426 }
Berlin
action filter_type
action find_reverse
entity Berlin
relation narrative location
type television series
[{'concept': 'television series'}, 'narrative location', 'Berlin']
SELECT DISTINCT ?y WHERE { ?y property:narrative_location resource:Berlin . ?y rdf:type ontology:television_series }
[]
television series
Q823158
SYSTEM
Weissensee
Q823158
(c(Q5398426),P840,Q64)
action filter_type
action find_reverse
entity Q64
relation P840
type Q5398426
[ANSWER] has its setting located at Berlin
[{'concept': 'Q5398426'}, 'P840', 'Q64']
SELECT DISTINCT ?y WHERE { ?y property:P840 resource:Q64 . ?y rdf:type ontology:Q5398426 }
Weissensee
Weissensee has its setting located at Berlin
Weissensee
action filter_type
action find_reverse
entity Berlin
relation narrative location
type television series
[{'concept': 'television series'}, 'narrative location', 'Berlin']
SELECT DISTINCT ?y WHERE { ?y property:narrative_location resource:Berlin . ?y rdf:type ontology:television_series }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q823158
P170
Q502895
USER
Which person is the creater of that television series ?
(Q823158,P170,c(Q502895))
action filter_type
action find
entity Q823158
relation P170
type Q502895
['Q823158', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q823158 property:P170 ?y }
Weissensee
action filter_type
action find
entity Weissensee
relation creator
type common name
['Weissensee', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Weissensee property:creator ?y }
[]
common name
Q566588
SYSTEM
Annette Hess
Q566588
(Q823158,P170,c(Q502895))
action filter_type
action find
entity Q823158
relation P170
type Q502895
[ANSWER] is the creater of that television series
['Q823158', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q823158 property:P170 ?y }
Annette Hess
Annette Hess is the creater of that television series
Annette Hess
action filter_type
action find
entity Weissensee
relation creator
type common name
['Weissensee', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Weissensee property:creator ?y }
[]