Simple Question (Direct)
Simple Question
Q15450392
P27
Q1048835
USER
Which political territory is the country of citizenship of Friedrich Stählin ?
(Q15450392,P27,c(Q1048835))
action filter_type
action find
entity Q15450392
relation P27
type Q1048835
['Q15450392', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1048835 . resource:Q15450392 property:P27 ?e }
Friedrich Stählin
action filter_type
action find
entity Friedrich Stählin
relation country of citizenship
type political territorial entity
['Friedrich Stählin', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_territorial_entity . resource:Friedrich_Stählin property:country_of_citizenship ?e }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q15450392,P27,c(Q1048835))
action filter_type
action find
entity Q15450392
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Friedrich Stählin
['Q15450392', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1048835 . resource:Q15450392 property:P27 ?e }
Germany
Germany is the country of citizenship of Friedrich Stählin
Germany
action filter_type
action find
entity Friedrich Stählin
relation country of citizenship
type political territorial entity
['Friedrich Stählin', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_territorial_entity . resource:Friedrich_Stählin property:country_of_citizenship ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15450392
P937
Q56061
USER
What are the locations where Friedrich Stählin worked ?
(Q15450392,P937,c(Q56061))
action filter_type
action find
entity Q15450392
relation P937
type Q56061
['Q15450392', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q15450392 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Friedrich Stählin
action filter_type
action find
entity Friedrich Stählin
relation work location
type administrative territorial entity
['Friedrich Stählin', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Friedrich_Stählin property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726 Q2090
SYSTEM
Munich, Nuremberg
Q1726 Q2090
(Q15450392,P937,c(Q56061))
action filter_type
action find
entity Q15450392
relation P937
type Q56061
The locations Friedrich Stählin worked are in [ANSWERS]
['Q15450392', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q15450392 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Munich Nuremberg
The locations Friedrich Stählin worked are in Munich and Nuremberg
Munich Nuremberg
action filter_type
action find
entity Friedrich Stählin
relation work location
type administrative territorial entity
['Friedrich Stählin', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Friedrich_Stählin property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15450392
P607
Q198
USER
Which battle did Friedrich Stählin take part in ?
(Q15450392,P607,c(Q198))
action filter_type
action find
entity Q15450392
relation P607
type Q198
['Q15450392', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?g WHERE { resource:Q15450392 property:P607 ?g . ?g rdf:type ontology:Q198 }
Friedrich Stählin
action filter_type
action find
entity Friedrich Stählin
relation conflict
type war
['Friedrich Stählin', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?g WHERE { resource:Friedrich_Stählin property:conflict ?g . ?g rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q15450392,P607,c(Q198))
action filter_type
action find
entity Q15450392
relation P607
type Q198
Friedrich Stählin took part in [ANSWER]
['Q15450392', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?g WHERE { resource:Q15450392 property:P607 ?g . ?g rdf:type ontology:Q198 }
World War I
Friedrich Stählin took part in World War I
World War I
action filter_type
action find
entity Friedrich Stählin
relation conflict
type war
['Friedrich Stählin', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?g WHERE { resource:Friedrich_Stählin property:conflict ?g . ?g rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15450392
P20
Q515
USER
Where did the expiration of that person occur ?
(Q361,P20,c(Q515))
action filter_type
action find
entity Q15450392
relation P20
type Q515
['Q361', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q15450392 property:P20 ?x . ?x rdf:type ontology:Q515 }
Friedrich Stählin
action filter_type
action find
entity Friedrich Stählin
relation place of death
type city
['World War I', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Friedrich_Stählin property:place_of_death ?x . ?x rdf:type ontology:city }
[]
city
Q3126
SYSTEM
Erlangen
Q3126
(Q361,P20,c(Q515))
action filter_type
action find
entity Q15450392
relation P20
type Q515
The expiration of that person occurred in [ANSWER]
['Q361', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q15450392 property:P20 ?x . ?x rdf:type ontology:Q515 }
Erlangen
The expiration of that person occurred in Erlangen
Erlangen
action filter_type
action find
entity Friedrich Stählin
relation place of death
type city
['World War I', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Friedrich_Stählin property:place_of_death ?x . ?x rdf:type ontology:city }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q76802
P841
Q573 Q186081 Q502895
USER
Which people have greater number of days or time intervals as their principal feast day than Adelaide of Italy ?
(c(Q502895),P841,c(Q573)|c(Q186081))
action greater
action union
action find_tuple_counts
relation P841
type Q502895
type Q573
action find_tuple_counts
relation P841
type Q502895
type Q186081
action count
action filter_multi_types
action find
entity Q76802
relation P841
type Q573
type Q186081
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?z ) WHERE { VALUES ( ?m ) { ( ontology:Q573 ) ( ontology:Q186081 ) } . ?w rdf:type ?m } GROUP BY ?a } . FILTER ( ?z > ?f ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { resource:Q76802 property:P841 ?o . { { ?o rdf:type ontology:Q573 } UNION { ?o rdf:type ontology:Q186081 } } } } }
Adelaide of Italy
action greater
action union
action find_tuple_counts
relation feast day
type common name
type day
action find_tuple_counts
relation feast day
type common name
type time interval
action count
action filter_multi_types
action find
entity Adelaide of Italy
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?z ) WHERE { VALUES ( ?m ) { ( ontology:day ) ( ontology:time_interval ) } . ?w rdf:type ?m } GROUP BY ?a } . FILTER ( ?z > ?f ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { resource:Adelaide_of_Italy property:feast_day ?o . { { ?o rdf:type ontology:day } UNION { ?o rdf:type ontology:time_interval } } } } }
[]
day time interval common name
Q2332287 Q44265 Q158504
SYSTEM
Ingegerd Olofsdotter of Sweden, Benedict of Nursia, Clement of Ohrid
Q770633 Q724454 Q161775 Q44265 Q319319 Q37599 Q3189724 Q170164 Q158504 Q2332287 Q18691847
(c(Q502895),P841,c(Q573)|c(Q186081))
action greater
action union
action find_tuple_counts
relation P841
type Q502895
type Q573
action find_tuple_counts
relation P841
type Q502895
type Q186081
action count
action filter_multi_types
action find
entity Q76802
relation P841
type Q573
type Q186081
[ANSWERS] have greater number of days or time intervals as their principal feast day than Adelaide of Italy
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?z ) WHERE { VALUES ( ?m ) { ( ontology:Q573 ) ( ontology:Q186081 ) } . ?w rdf:type ?m } GROUP BY ?a } . FILTER ( ?z > ?f ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { resource:Q76802 property:P841 ?o . { { ?o rdf:type ontology:Q573 } UNION { ?o rdf:type ontology:Q186081 } } } } }
Padarn Julian of Antioch Stephen Benedict of Nursia Abercius of Hieropolis Theodore of Amasea Julienne de Vyazma Helena of Constantinople Clement of Ohrid Ingegerd Olofsdotter of Sweden Saint Ilar
Ingegerd Olofsdotter of Sweden, Benedict of Nursia and Clement of Ohrid have greater number of days or time intervals as their principal feast day than Adelaide of Italy
Ingegerd Olofsdotter of Sweden Benedict of Nursia Clement of Ohrid
action greater
action union
action find_tuple_counts
relation feast day
type common name
type day
action find_tuple_counts
relation feast day
type common name
type time interval
action count
action filter_multi_types
action find
entity Adelaide of Italy
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?z ) WHERE { VALUES ( ?m ) { ( ontology:day ) ( ontology:time_interval ) } . ?w rdf:type ?m } GROUP BY ?a } . FILTER ( ?z > ?f ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { resource:Adelaide_of_Italy property:feast_day ?o . { { ?o rdf:type ontology:day } UNION { ?o rdf:type ontology:time_interval } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q1048835 Q15617994 Q1048835
USER
How many political territories have ambassadorial relations with atleast 102 political territories or administrative territories ?
(c(Q1048835),P530,c(Q1048835)|c(Q15617994))
action count
action atleast
action union
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 102
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?k ) WHERE { VALUES ( ?f ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?h rdf:type ?f } GROUP BY ?g } . FILTER ( ?k >= 102 ) }
action count
action atleast
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 102
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?k ) WHERE { VALUES ( ?f ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?h rdf:type ?f } GROUP BY ?g } . FILTER ( ?k >= 102 ) }
[]
political territorial entity designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q1048835)|c(Q15617994))
action count
action atleast
action union
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 102
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?k ) WHERE { VALUES ( ?f ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?h rdf:type ?f } GROUP BY ?g } . FILTER ( ?k >= 102 ) }
Germany Australia
2
action count
action atleast
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 102
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?k ) WHERE { VALUES ( ?f ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?h rdf:type ?f } GROUP BY ?g } . FILTER ( ?k >= 102 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1726
P206
Q4022
USER
Which river is situated nearby Munich ?
(Q1726,P206,c(Q4022))
action filter_type
action find
entity Q1726
relation P206
type Q4022
['Q1726', 'P206', {'concept': 'Q4022'}]
SELECT DISTINCT ?u WHERE { resource:Q1726 property:P206 ?u . ?u rdf:type ontology:Q4022 }
Munich
action filter_type
action find
entity Munich
relation located next to body of water
type river
['Munich', 'located next to body of water', {'concept': 'river'}]
SELECT DISTINCT ?u WHERE { resource:Munich property:located_next_to_body_of_water ?u . ?u rdf:type ontology:river }
[]
river
Q277974
SYSTEM
Auer Mühlbach
Q277974
(Q1726,P206,c(Q4022))
action filter_type
action find
entity Q1726
relation P206
type Q4022
[ANSWER] is situated nearby Munich
['Q1726', 'P206', {'concept': 'Q4022'}]
SELECT DISTINCT ?u WHERE { resource:Q1726 property:P206 ?u . ?u rdf:type ontology:Q4022 }
Auer Mühlbach
Auer Mühlbach is situated nearby Munich
Auer Mühlbach
action filter_type
action find
entity Munich
relation located next to body of water
type river
['Munich', 'located next to body of water', {'concept': 'river'}]
SELECT DISTINCT ?u WHERE { resource:Munich property:located_next_to_body_of_water ?u . ?u rdf:type ontology:river }
[]