Simple Question (Direct)
Simple Question
Q119670
P69
Q19335303
USER
Which German business organization is the alma mater of Wilhelm Oechsli ?
(Q119670,P69,c(Q19335303))
action filter_type
action find
entity Q119670
relation P69
type Q19335303
['Q119670', 'P69', {'concept': 'Q19335303'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q19335303 . resource:Q119670 property:P69 ?i }
Wilhelm Oechsli
action filter_type
action find
entity Wilhelm Oechsli
relation educated at
type type of business entity in Germany
['Wilhelm Oechsli', 'educated at', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:type_of_business_entity_in_Germany . resource:Wilhelm_Oechsli property:educated_at ?i }
[]
type of business entity in Germany
Q152087
SYSTEM
Humboldt University of Berlin
Q152087
(Q119670,P69,c(Q19335303))
action filter_type
action find
entity Q119670
relation P69
type Q19335303
[ANSWER] is the alma mater of Wilhelm Oechsli
['Q119670', 'P69', {'concept': 'Q19335303'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q19335303 . resource:Q119670 property:P69 ?i }
Humboldt University of Berlin
Humboldt University of Berlin is the alma mater of Wilhelm Oechsli
Humboldt University of Berlin
action filter_type
action find
entity Wilhelm Oechsli
relation educated at
type type of business entity in Germany
['Wilhelm Oechsli', 'educated at', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:type_of_business_entity_in_Germany . resource:Wilhelm_Oechsli property:educated_at ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q119670
P21
Q290
USER
Which sex does Wilhelm Oechsli possess ?
(Q119670,P21,c(Q290))
action filter_type
action find
entity Q119670
relation P21
type Q290
['Q119670', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q119670 property:P21 ?a . ?a rdf:type ontology:Q290 }
Wilhelm Oechsli
action filter_type
action find
entity Wilhelm Oechsli
relation gender
type sex
['Wilhelm Oechsli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Wilhelm_Oechsli property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q119670,P21,c(Q290))
action filter_type
action find
entity Q119670
relation P21
type Q290
Wilhelm Oechsli possesses un [ANSWER]
['Q119670', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q119670 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Wilhelm Oechsli possesses un male
male
action filter_type
action find
entity Wilhelm Oechsli
relation gender
type sex
['Wilhelm Oechsli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Wilhelm_Oechsli property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q119670
P19
Q13220204
USER
Which administrative country subdivision is the birthplace of that person ?
(Q6581097,P19,c(Q13220204))
action filter_type
action find
entity Q119670
relation P19
type Q13220204
['Q6581097', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?k WHERE { resource:Q119670 property:P19 ?k . ?k rdf:type ontology:Q13220204 }
Wilhelm Oechsli
action filter_type
action find
entity Wilhelm Oechsli
relation place of birth
type second-level administrative country subdivision
['male', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?k WHERE { resource:Wilhelm_Oechsli property:place_of_birth ?k . ?k rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q677710
SYSTEM
Riesbach
Q677710
(Q6581097,P19,c(Q13220204))
action filter_type
action find
entity Q119670
relation P19
type Q13220204
[ANSWER] is the birthplace of that person
['Q6581097', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?k WHERE { resource:Q119670 property:P19 ?k . ?k rdf:type ontology:Q13220204 }
Riesbach
Riesbach is the birthplace of that person
Riesbach
action filter_type
action find
entity Wilhelm Oechsli
relation place of birth
type second-level administrative country subdivision
['male', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?k WHERE { resource:Wilhelm_Oechsli property:place_of_birth ?k . ?k rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q119670
P20
Q13220204
USER
Which administrative country subdivision is the place of death of that person ?
(Q677710,P20,c(Q13220204))
action filter_type
action find
entity Q119670
relation P20
type Q13220204
['Q677710', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q13220204 . resource:Q119670 property:P20 ?p }
Wilhelm Oechsli
action filter_type
action find
entity Wilhelm Oechsli
relation place of death
type second-level administrative country subdivision
['Riesbach', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:second-level_administrative_country_subdivision . resource:Wilhelm_Oechsli property:place_of_death ?p }
[]
second-level administrative country subdivision
Q14580
SYSTEM
Weggis
Q14580
(Q677710,P20,c(Q13220204))
action filter_type
action find
entity Q119670
relation P20
type Q13220204
[ANSWER] is the place of death of that person
['Q677710', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q13220204 . resource:Q119670 property:P20 ?p }
Weggis
Weggis is the place of death of that person
Weggis
action filter_type
action find
entity Wilhelm Oechsli
relation place of death
type second-level administrative country subdivision
['Riesbach', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:second-level_administrative_country_subdivision . resource:Wilhelm_Oechsli property:place_of_death ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q14580 Q2087486
P47
Q13220204
USER
Is Stari Grad, Kragujevac next to the border of that one ?
(Q2087486,P47,Q14580)
action is_in
entity Q2087486
action find
entity Q14580
relation P47
['Q2087486', 'P47', 'Q14580']
ASK WHERE { resource:Q14580 property:P47 resource:Q2087486 }
Weggis Stari Grad, Kragujevac
action is_in
entity Stari Grad, Kragujevac
action find
entity Weggis
relation shares border with
['Stari Grad, Kragujevac', 'shares border with', 'Weggis']
ASK WHERE { resource:Weggis property:shares_border_with resource:Stari_Grad,_Kragujevac }
[]
second-level administrative country subdivision
SYSTEM
NO
(Q2087486,P47,Q14580)
action is_in
entity Q2087486
action find
entity Q14580
relation P47
[ANSWER]
['Q2087486', 'P47', 'Q14580']
ASK WHERE { resource:Q14580 property:P47 resource:Q2087486 }
No
action is_in
entity Stari Grad, Kragujevac
action find
entity Weggis
relation shares border with
['Stari Grad, Kragujevac', 'shares border with', 'Weggis']
ASK WHERE { resource:Weggis property:shares_border_with resource:Stari_Grad,_Kragujevac }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q515 Q13220204
USER
Which cities are the etymology of around 1 administrative country subdivision ?
(c(Q13220204),P138,c(Q515))
action approx
action find_reverse_tuple_counts
relation P138
type Q515
type Q13220204
value 1
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:P138 ?y . ?a rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q515 } GROUP BY ?y } . FILTER ( ?u = 1 ) }
action approx
action find_reverse_tuple_counts
relation named after
type city
type second-level administrative country subdivision
value 1
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:named_after ?y . ?a rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:city } GROUP BY ?y } . FILTER ( ?u = 1 ) }
[]
city second-level administrative country subdivision
Q373813 Q6807568
SYSTEM
Albufeira, Emmen
Q373813 Q6807568
(c(Q13220204),P138,c(Q515))
action approx
action find_reverse_tuple_counts
relation P138
type Q515
type Q13220204
value 1
[ANSWERS] are the etymology of around 1 administrative country subdivision
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:P138 ?y . ?a rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q515 } GROUP BY ?y } . FILTER ( ?u = 1 ) }
Albufeira Emmen
Albufeira and Emmen are the etymology of around 1 administrative country subdivision
Albufeira Emmen
action approx
action find_reverse_tuple_counts
relation named after
type city
type second-level administrative country subdivision
value 1
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:named_after ?y . ?a rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:city } GROUP BY ?y } . FILTER ( ?u = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q152087
P159
Q486972 Q34442
USER
How many human settlements and roads are the HQ of Humboldt University of Berlin ?
(Q152087,P159,c(Q486972)) (Q152087,P159,c(Q34442))
action count
action union
action filter_type
action find
entity Q152087
relation P159
type Q486972
action filter_type
action find
entity Q152087
relation P159
type Q34442
['Q152087', 'P159', {'concept': 'Q486972'}] ['Q152087', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { resource:Q152087 property:P159 ?n . ?n rdf:type ontology:Q486972 } UNION { resource:Q152087 property:P159 ?n . ?n rdf:type ontology:Q34442 } }
Humboldt University of Berlin
action count
action union
action filter_type
action find
entity Humboldt University of Berlin
relation headquarters location
type human settlement
action filter_type
action find
entity Humboldt University of Berlin
relation headquarters location
type road
['Humboldt University of Berlin', 'headquarters location', {'concept': 'human settlement'}] ['Humboldt University of Berlin', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { resource:Humboldt_University_of_Berlin property:headquarters_location ?n . ?n rdf:type ontology:human_settlement } UNION { resource:Humboldt_University_of_Berlin property:headquarters_location ?n . ?n rdf:type ontology:road } }
[]
human settlement road
SYSTEM
1 human settlements and 1 roads
Q677514 Q160899
(Q152087,P159,c(Q486972)) (Q152087,P159,c(Q34442))
action count
action union
action filter_type
action find
entity Q152087
relation P159
type Q486972
action filter_type
action find
entity Q152087
relation P159
type Q34442
[ANSWER]
['Q152087', 'P159', {'concept': 'Q486972'}] ['Q152087', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { resource:Q152087 property:P159 ?n . ?n rdf:type ontology:Q486972 } UNION { resource:Q152087 property:P159 ?n . ?n rdf:type ontology:Q34442 } }
Dorotheenstadt Unter den Linden
1 human settlements and 1 roads
action count
action union
action filter_type
action find
entity Humboldt University of Berlin
relation headquarters location
type human settlement
action filter_type
action find
entity Humboldt University of Berlin
relation headquarters location
type road
['Humboldt University of Berlin', 'headquarters location', {'concept': 'human settlement'}] ['Humboldt University of Berlin', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { resource:Humboldt_University_of_Berlin property:headquarters_location ?n . ?n rdf:type ontology:human_settlement } UNION { resource:Humboldt_University_of_Berlin property:headquarters_location ?n . ?n rdf:type ontology:road } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q373813
P190
Q1048835
USER
Which political territory is sister town of Albufeira ?
(Q373813,P190,c(Q1048835))
action filter_type
action find
entity Q373813
relation P190
type Q1048835
['Q373813', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q373813 property:P190 ?k . ?k rdf:type ontology:Q1048835 }
Albufeira
action filter_type
action find
entity Albufeira
relation sister city
type political territorial entity
['Albufeira', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Albufeira property:sister_city ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q201149
SYSTEM
Fife
Q201149
(Q373813,P190,c(Q1048835))
action filter_type
action find
entity Q373813
relation P190
type Q1048835
[ANSWER] is sister town of Albufeira
['Q373813', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q373813 property:P190 ?k . ?k rdf:type ontology:Q1048835 }
Fife
Fife is sister town of Albufeira
Fife
action filter_type
action find
entity Albufeira
relation sister city
type political territorial entity
['Albufeira', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Albufeira property:sister_city ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q373813
P17
Q15617994
USER
Which administrative territory is that city located in ?
(Q201149,P17,c(Q15617994))
action filter_type
action find
entity Q373813
relation P17
type Q15617994
['Q201149', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q373813 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Albufeira
action filter_type
action find
entity Albufeira
relation country
type designation for an administrative territorial entity
['Fife', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Albufeira property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q45
SYSTEM
Portugal
Q45
(Q201149,P17,c(Q15617994))
action filter_type
action find
entity Q373813
relation P17
type Q15617994
That city is located in [ANSWER]
['Q201149', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q373813 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Portugal
That city is located in Portugal
Portugal
action filter_type
action find
entity Albufeira
relation country
type designation for an administrative territorial entity
['Fife', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Albufeira property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4973419 Q152087
P17
Q1048835
USER
Which political territories are Humboldt University of Berlin or Broken Island located in ?
OR((Q152087,P17,c(Q1048835)), (Q4973419,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q152087
relation P17
action find
entity Q4973419
relation P17
type Q1048835
{'OR': [['Q152087', 'P17', {'concept': 'Q1048835'}], ['Q4973419', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { ?w property:P17 ?f . VALUES ( ?w ) { ( resource:Q152087 ) ( resource:Q4973419 ) } } . ?f rdf:type ontology:Q1048835 }
Broken Island Humboldt University of Berlin
action filter_type
action union
action find
entity Humboldt University of Berlin
relation country
action find
entity Broken Island
relation country
type political territorial entity
{'OR': [['Humboldt University of Berlin', 'country', {'concept': 'political territorial entity'}], ['Broken Island', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { ?w property:country ?f . VALUES ( ?w ) { ( resource:Humboldt_University_of_Berlin ) ( resource:Broken_Island ) } } . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q9648 Q183
SYSTEM
Falkland Islands, Germany
Q9648 Q183
OR((Q152087,P17,c(Q1048835)), (Q4973419,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q152087
relation P17
action find
entity Q4973419
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q152087', 'P17', {'concept': 'Q1048835'}], ['Q4973419', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { ?w property:P17 ?f . VALUES ( ?w ) { ( resource:Q152087 ) ( resource:Q4973419 ) } } . ?f rdf:type ontology:Q1048835 }
Falkland Islands Germany
Which political territories are Humboldt University of Berlin or Broken Island located in
Falkland Islands Germany
action filter_type
action union
action find
entity Humboldt University of Berlin
relation country
action find
entity Broken Island
relation country
type political territorial entity
{'OR': [['Humboldt University of Berlin', 'country', {'concept': 'political territorial entity'}], ['Broken Island', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { ?w property:country ?f . VALUES ( ?w ) { ( resource:Humboldt_University_of_Berlin ) ( resource:Broken_Island ) } } . ?f rdf:type ontology:political_territorial_entity }
[]