Simple Question (Direct)
Simple Question
Q120999
P20
Q56061
USER
Where did the expiration of Werner Höfer occur ?
(Q120999,P20,c(Q56061))
action filter_type
action find
entity Q120999
relation P20
type Q56061
['Q120999', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q120999 property:P20 ?l }
Werner Höfer
action filter_type
action find
entity Werner Höfer
relation place of death
type administrative territorial entity
['Werner Höfer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Werner_Höfer property:place_of_death ?l }
[]
administrative territorial entity
Q365
SYSTEM
Cologne
Q365
(Q120999,P20,c(Q56061))
action filter_type
action find
entity Q120999
relation P20
type Q56061
The expiration of Werner Höfer occurred in [ANSWER]
['Q120999', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q120999 property:P20 ?l }
Cologne
The expiration of Werner Höfer occurred in Cologne
Cologne
action filter_type
action find
entity Werner Höfer
relation place of death
type administrative territorial entity
['Werner Höfer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Werner_Höfer property:place_of_death ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q120999
P161
Q15416
USER
What is the name of television program starring Werner Höfer ?
(c(Q15416),P161,Q120999)
action filter_type
action find_reverse
entity Q120999
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q120999']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q120999 . ?j rdf:type ontology:Q15416 }
Werner Höfer
action filter_type
action find_reverse
entity Werner Höfer
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Werner Höfer']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Werner_Höfer . ?j rdf:type ontology:television_program }
[]
television program
Q1875243
SYSTEM
Ludwig van
Q1875243
(c(Q15416),P161,Q120999)
action filter_type
action find_reverse
entity Q120999
relation P161
type Q15416
The name of television program starring Werner Höfer is [ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q120999']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q120999 . ?j rdf:type ontology:Q15416 }
Ludwig van
The name of television program starring Werner Höfer is Ludwig van
Ludwig van
action filter_type
action find_reverse
entity Werner Höfer
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Werner Höfer']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Werner_Höfer . ?j rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q120999
P27
Q1048835
USER
Which political territory is the country of citizenship of Werner Höfer ?
(Q120999,P27,c(Q1048835))
action filter_type
action find
entity Q120999
relation P27
type Q1048835
['Q120999', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q120999 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Werner Höfer
action filter_type
action find
entity Werner Höfer
relation country of citizenship
type political territorial entity
['Werner Höfer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Werner_Höfer property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q120999,P27,c(Q1048835))
action filter_type
action find
entity Q120999
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Werner Höfer
['Q120999', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q120999 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Germany
Germany is the country of citizenship of Werner Höfer
Germany
action filter_type
action find
entity Werner Höfer
relation country of citizenship
type political territorial entity
['Werner Höfer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Werner_Höfer property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q183 Q7000582
P17
Q15617994
USER
Is Nettleton School District located in that political territory ?
(Q7000582,P17,Q183)
action is_in
entity Q7000582
action find
entity Q183
relation P17
['Q7000582', 'P17', 'Q183']
ASK WHERE { resource:Q183 property:P17 resource:Q7000582 }
Germany Nettleton School District
action is_in
entity Nettleton School District
action find
entity Germany
relation country
['Nettleton School District', 'country', 'Germany']
ASK WHERE { resource:Germany property:country resource:Nettleton_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7000582,P17,Q183)
action is_in
entity Q7000582
action find
entity Q183
relation P17
[ANSWER]
['Q7000582', 'P17', 'Q183']
ASK WHERE { resource:Q183 property:P17 resource:Q7000582 }
No
action is_in
entity Nettleton School District
action find
entity Germany
relation country
['Nettleton School District', 'country', 'Germany']
ASK WHERE { resource:Germany property:country resource:Nettleton_School_District }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q660198
P841
Q573 Q186081 Q502895
USER
How many people have more number of days and time intervals as principal feast day than Helena of Skövde ?
(c(Q502895),P841,c(Q573)|c(Q186081))
action count
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 Q660198
relation P841
type Q573
type Q186081
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?v WHERE { { ?v property:P841 ?j . ?v rdf:type ontology:Q502895 . ?j rdf:type ontology:Q573 } UNION { ?v property:P841 ?j . ?v rdf:type ontology:Q502895 . ?j rdf:type ontology:Q186081 } } GROUP BY ?v } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Q660198 property:P841 ?a . { { ?a rdf:type ontology:Q573 } UNION { ?a rdf:type ontology:Q186081 } } } } }
Helena of Skövde
action count
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 Helena of Skövde
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?v WHERE { { ?v property:feast_day ?j . ?v rdf:type ontology:common_name . ?j rdf:type ontology:day } UNION { ?v property:feast_day ?j . ?v rdf:type ontology:common_name . ?j rdf:type ontology:time_interval } } GROUP BY ?v } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Helena_of_Skövde property:feast_day ?a . { { ?a rdf:type ontology:day } UNION { ?a rdf:type ontology:time_interval } } } } }
[]
day time interval common name
SYSTEM
11
Q770633 Q724454 Q161775 Q44265 Q319319 Q37599 Q3189724 Q170164 Q158504 Q2332287 Q18691847
(c(Q502895),P841,c(Q573)|c(Q186081))
action count
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 Q660198
relation P841
type Q573
type Q186081
[ANSWER]
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?v WHERE { { ?v property:P841 ?j . ?v rdf:type ontology:Q502895 . ?j rdf:type ontology:Q573 } UNION { ?v property:P841 ?j . ?v rdf:type ontology:Q502895 . ?j rdf:type ontology:Q186081 } } GROUP BY ?v } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Q660198 property:P841 ?a . { { ?a rdf:type ontology:Q573 } UNION { ?a 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
11
action count
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 Helena of Skövde
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?v WHERE { { ?v property:feast_day ?j . ?v rdf:type ontology:common_name . ?j rdf:type ontology:day } UNION { ?v property:feast_day ?j . ?v rdf:type ontology:common_name . ?j rdf:type ontology:time_interval } } GROUP BY ?v } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Helena_of_Skövde property:feast_day ?a . { { ?a rdf:type ontology:day } UNION { ?a rdf:type ontology:time_interval } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q441714
P841
Q573 Q186081 Q502895
USER
And also tell me about Jean Eudes?
(c(Q502895),P841,c(Q573)|c(Q186081))
action count
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 Q441714
relation P841
type Q573
type Q186081
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?e WHERE { { ?e property:P841 ?s . ?e rdf:type ontology:Q502895 . ?s rdf:type ontology:Q573 } UNION { ?e property:P841 ?s . ?e rdf:type ontology:Q502895 . ?s rdf:type ontology:Q186081 } } GROUP BY ?e } . FILTER ( ?f > ?w ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Q441714 property:P841 ?x . { VALUES ( ?g ) { ( ontology:Q186081 ) ( ontology:Q573 ) } . ?x rdf:type ?g } } } }
Jean Eudes
action count
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 Jean Eudes
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?e WHERE { { ?e property:feast_day ?s . ?e rdf:type ontology:common_name . ?s rdf:type ontology:day } UNION { ?e property:feast_day ?s . ?e rdf:type ontology:common_name . ?s rdf:type ontology:time_interval } } GROUP BY ?e } . FILTER ( ?f > ?w ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Jean_Eudes property:feast_day ?x . { VALUES ( ?g ) { ( ontology:time_interval ) ( ontology:day ) } . ?x rdf:type ?g } } } }
[]
day time interval common name
SYSTEM
11
Q770633 Q724454 Q161775 Q44265 Q319319 Q37599 Q3189724 Q170164 Q158504 Q2332287 Q18691847
(c(Q502895),P841,c(Q573)|c(Q186081))
action count
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 Q441714
relation P841
type Q573
type Q186081
[ANSWER]
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?e WHERE { { ?e property:P841 ?s . ?e rdf:type ontology:Q502895 . ?s rdf:type ontology:Q573 } UNION { ?e property:P841 ?s . ?e rdf:type ontology:Q502895 . ?s rdf:type ontology:Q186081 } } GROUP BY ?e } . FILTER ( ?f > ?w ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Q441714 property:P841 ?x . { VALUES ( ?g ) { ( ontology:Q186081 ) ( ontology:Q573 ) } . ?x rdf:type ?g } } } }
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
11
action count
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 Jean Eudes
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?e WHERE { { ?e property:feast_day ?s . ?e rdf:type ontology:common_name . ?s rdf:type ontology:day } UNION { ?e property:feast_day ?s . ?e rdf:type ontology:common_name . ?s rdf:type ontology:time_interval } } GROUP BY ?e } . FILTER ( ?f > ?w ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Jean_Eudes property:feast_day ?x . { VALUES ( ?g ) { ( ontology:time_interval ) ( ontology:day ) } . ?x rdf:type ?g } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1875243
P57
Q502895
USER
Which person directed Ludwig van ?
(Q1875243,P57,c(Q502895))
action filter_type
action find
entity Q1875243
relation P57
type Q502895
['Q1875243', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1875243 property:P57 ?u . ?u rdf:type ontology:Q502895 }
Ludwig van
action filter_type
action find
entity Ludwig van
relation director
type common name
['Ludwig van', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Ludwig_van property:director ?u . ?u rdf:type ontology:common_name }
[]
common name
Q178293
SYSTEM
Mauricio Kagel
Q178293
(Q1875243,P57,c(Q502895))
action filter_type
action find
entity Q1875243
relation P57
type Q502895
[ANSWER] directed Ludwig van
['Q1875243', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1875243 property:P57 ?u . ?u rdf:type ontology:Q502895 }
Mauricio Kagel
Mauricio Kagel directed Ludwig van
Mauricio Kagel
action filter_type
action find
entity Ludwig van
relation director
type common name
['Ludwig van', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Ludwig_van property:director ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17149294
Q502895
USER
And how about War on Whistleblowers: Free Press and the National Security State?
(Q17149294,P57,c(Q502895))
action filter_type
action find
entity Q17149294
relation P57
type Q502895
['Q17149294', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q17149294 property:P57 ?r . ?r rdf:type ontology:Q502895 }
War on Whistleblowers: Free Press and the National Security State
action filter_type
action find
entity War on Whistleblowers: Free Press and the National Security State
relation director
type common name
['War on Whistleblowers: Free Press and the National Security State', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:War_on_Whistleblowers:_Free_Press_and_the_National_Security_State property:director ?r . ?r rdf:type ontology:common_name }
[]
common name
Q1281011
SYSTEM
Robert Greenwald
Q1281011
(Q17149294,P57,c(Q502895))
action filter_type
action find
entity Q17149294
relation P57
type Q502895
[ANSWER]
['Q17149294', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q17149294 property:P57 ?r . ?r rdf:type ontology:Q502895 }
Robert Greenwald
Robert Greenwald
action filter_type
action find
entity War on Whistleblowers: Free Press and the National Security State
relation director
type common name
['War on Whistleblowers: Free Press and the National Security State', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:War_on_Whistleblowers:_Free_Press_and_the_National_Security_State property:director ?r . ?r rdf:type ontology:common_name }
[]