Simple Question (Direct)
Simple Question
Q1690388
P937
Q486972
USER
Where did Joachim Raschke work ?
(Q1690388,P937,c(Q486972))
action filter_type
action find
entity Q1690388
relation P937
type Q486972
['Q1690388', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { resource:Q1690388 property:P937 ?y . ?y rdf:type ontology:Q486972 }
Joachim Raschke
action filter_type
action find
entity Joachim Raschke
relation work location
type human settlement
['Joachim Raschke', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { resource:Joachim_Raschke property:work_location ?y . ?y rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q1690388,P937,c(Q486972))
action filter_type
action find
entity Q1690388
relation P937
type Q486972
Joachim Raschke worked in [ANSWER]
['Q1690388', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { resource:Q1690388 property:P937 ?y . ?y rdf:type ontology:Q486972 }
Hamburg
Joachim Raschke worked in Hamburg
Hamburg
action filter_type
action find
entity Joachim Raschke
relation work location
type human settlement
['Joachim Raschke', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { resource:Joachim_Raschke property:work_location ?y . ?y rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1690388
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q1055,P106,c(Q12737077))
action filter_type
action find
entity Q1690388
relation P106
type Q12737077
['Q1055', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1690388 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Joachim Raschke
action filter_type
action find
entity Joachim Raschke
relation occupation
type occupation
['Hamburg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Joachim_Raschke property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q1238570 Q1622272
SYSTEM
political scientist, university teacher
Q1238570 Q1622272
(Q1055,P106,c(Q12737077))
action filter_type
action find
entity Q1690388
relation P106
type Q12737077
The professions of that person are the [ANSWERS]
['Q1055', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1690388 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
political scientist university teacher
The professions of that person are the political scientist and university teacher
political scientist university teacher
action filter_type
action find
entity Joachim Raschke
relation occupation
type occupation
['Hamburg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Joachim_Raschke property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1690388
P19
Q515
USER
Which city was that person born in ?
(Q1238570,P19,c(Q515)) (Q1622272,P19,c(Q515))
action filter_type
action find
entity Q1690388
relation P19
type Q515
['Q1238570', 'P19', {'concept': 'Q515'}] ['Q1622272', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q1690388 property:P19 ?k . ?k rdf:type ontology:Q515 }
Joachim Raschke
action filter_type
action find
entity Joachim Raschke
relation place of birth
type city
['political scientist', 'place of birth', {'concept': 'city'}] ['university teacher', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:Joachim_Raschke property:place_of_birth ?k . ?k rdf:type ontology:city }
[]
city
Q4007
SYSTEM
Rosenheim
Q4007
(Q1238570,P19,c(Q515)) (Q1622272,P19,c(Q515))
action filter_type
action find
entity Q1690388
relation P19
type Q515
That person was born in [ANSWER]
['Q1238570', 'P19', {'concept': 'Q515'}] ['Q1622272', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q1690388 property:P19 ?k . ?k rdf:type ontology:Q515 }
Rosenheim
That person was born in Rosenheim
Rosenheim
action filter_type
action find
entity Joachim Raschke
relation place of birth
type city
['political scientist', 'place of birth', {'concept': 'city'}] ['university teacher', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:Joachim_Raschke property:place_of_birth ?k . ?k rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q4007 Q183
P17
Q1048835
USER
Is that city a part of Germany ?
(Q4007,P17,Q183)
action is_in
entity Q183
action find
entity Q4007
relation P17
['Q4007', 'P17', 'Q183']
ASK WHERE { resource:Q4007 property:P17 resource:Q183 }
Rosenheim Germany
action is_in
entity Germany
action find
entity Rosenheim
relation country
['Rosenheim', 'country', 'Germany']
ASK WHERE { resource:Rosenheim property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q4007,P17,Q183)
action is_in
entity Q183
action find
entity Q4007
relation P17
[ANSWER]
['Q4007', 'P17', 'Q183']
ASK WHERE { resource:Q4007 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Rosenheim
relation country
['Rosenheim', 'country', 'Germany']
ASK WHERE { resource:Rosenheim property:country resource:Germany }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q1656682 Q33506 Q502895
USER
Which people were displayed at approximately 1 events or museums ?
(c(Q502895),P608,c(Q1656682)|c(Q33506))
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q33506
value 1
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?w WHERE { { ?w property:P608 ?n . ?w rdf:type ontology:Q502895 . ?n rdf:type ontology:Q1656682 } UNION { ?w property:P608 ?n . ?n rdf:type ontology:Q33506 . ?w rdf:type ontology:Q502895 } } GROUP BY ?w } . FILTER ( ?p = 1 ) }
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type museum
value 1
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'museum'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?w WHERE { { ?w property:exhibition_history ?n . ?w rdf:type ontology:common_name . ?n rdf:type ontology:event } UNION { ?w property:exhibition_history ?n . ?n rdf:type ontology:museum . ?w rdf:type ontology:common_name } } GROUP BY ?w } . FILTER ( ?p = 1 ) }
[]
event museum common name
Q1964408 Q15527965 Q55192
SYSTEM
Nan Hoover, Margaretha Roosenboom, Gertrude Abercrombie
Q70006 Q17314881 Q17455385 Q15734263 Q15734265 Q6196481 Q7649008 Q16858002 Q15991813 Q16062545 Q5671224 Q17625628 Q16005428 Q27505608 Q5248733 Q2824894 Q1964408 Q15734237 Q2965423 Q6687160 Q3289592 Q22815085 Q5375139 Q9015308 Q805807 Q16080418 Q15527965 Q15873898 Q55192 Q3335569
(c(Q502895),P608,c(Q1656682)|c(Q33506))
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q33506
value 1
[ANSWERS] were displayed at approximately 1 events or museums
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?w WHERE { { ?w property:P608 ?n . ?w rdf:type ontology:Q502895 . ?n rdf:type ontology:Q1656682 } UNION { ?w property:P608 ?n . ?n rdf:type ontology:Q33506 . ?w rdf:type ontology:Q502895 } } GROUP BY ?w } . FILTER ( ?p = 1 ) }
Lotte Jacobi René Izaure Jerry Cooke Johanna Bleuland van Oordt Adri Bleuland van Oordt Jim Love Susie Bootja Bootja Napaltjarri Anne Mee Judie Bamber Alice Havers Pablo Borges Delgado Deborah De Robertis Andrea Bowers Wolfgang Sellinger Manuel Ocampo Adolphe Péterelle Nan Hoover Tony van Alphen Christian Lhopital Louis Ferstadt Moniek Toebosch Georges Violet Ena Swansea Juan Carlos Alom Balto Alyce Frank Margaretha Roosenboom Chrisje van der Willigen Gertrude Abercrombie Nancy Elizabeth Prophet
Nan Hoover, Margaretha Roosenboom and Gertrude Abercrombie were displayed at approximately 1 events or museums
Nan Hoover Margaretha Roosenboom Gertrude Abercrombie
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type museum
value 1
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'museum'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?w WHERE { { ?w property:exhibition_history ?n . ?w rdf:type ontology:common_name . ?n rdf:type ontology:event } UNION { ?w property:exhibition_history ?n . ?n rdf:type ontology:museum . ?w rdf:type ontology:common_name } } GROUP BY ?w } . FILTER ( ?p = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q515 Q20667921 Q515
USER
Which cities are the capital of atleast 6 cities and french administrative divisions ?
(c(Q515),P1376,c(Q515)|c(Q20667921))
action atleast
action union
action find_tuple_counts
relation P1376
type Q515
type Q515
action find_tuple_counts
relation P1376
type Q515
type Q20667921
value 6
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?z WHERE { { ?z property:P1376 ?w . ?z rdf:type ontology:Q515 . ?w rdf:type ontology:Q515 } UNION { ?z rdf:type ontology:Q515 . ?w rdf:type ontology:Q20667921 . ?z property:P1376 ?w } } GROUP BY ?z } . FILTER ( ?j >= 6 ) }
action atleast
action union
action find_tuple_counts
relation capital of
type city
type city
action find_tuple_counts
relation capital of
type city
type type of french administrative division
value 6
[{'concept': 'city'}, 'capital of', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?z WHERE { { ?z property:capital_of ?w . ?z rdf:type ontology:city . ?w rdf:type ontology:city } UNION { ?z rdf:type ontology:city . ?w rdf:type ontology:type_of_french_administrative_division . ?z property:capital_of ?w } } GROUP BY ?z } . FILTER ( ?j >= 6 ) }
[]
city type of french administrative division city
Q23482 Q456 Q7003
SYSTEM
Marseille, Lyon, Dijon
Q23482 Q6602 Q456 Q7003
(c(Q515),P1376,c(Q515)|c(Q20667921))
action atleast
action union
action find_tuple_counts
relation P1376
type Q515
type Q515
action find_tuple_counts
relation P1376
type Q515
type Q20667921
value 6
[ANSWERS] are the capital of atleast 6 cities and french administrative divisions
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?z WHERE { { ?z property:P1376 ?w . ?z rdf:type ontology:Q515 . ?w rdf:type ontology:Q515 } UNION { ?z rdf:type ontology:Q515 . ?w rdf:type ontology:Q20667921 . ?z property:P1376 ?w } } GROUP BY ?z } . FILTER ( ?j >= 6 ) }
Marseille Strasbourg Lyon Dijon
Marseille, Lyon and Dijon are the capital of atleast 6 cities and french administrative divisions
Marseille Lyon Dijon
action atleast
action union
action find_tuple_counts
relation capital of
type city
type city
action find_tuple_counts
relation capital of
type city
type type of french administrative division
value 6
[{'concept': 'city'}, 'capital of', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?z WHERE { { ?z property:capital_of ?w . ?z rdf:type ontology:city . ?w rdf:type ontology:city } UNION { ?z rdf:type ontology:city . ?w rdf:type ontology:type_of_french_administrative_division . ?z property:capital_of ?w } } GROUP BY ?z } . FILTER ( ?j >= 6 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1392201
P276
Q1190554
USER
Do Showdown in the Sun have their location as those cities ?
(Q1392201,P276,Q23482) (Q1392201,P276,Q456) (Q1392201,P276,Q7003)
action is_in
entity prev_answer
action find
entity Q1392201
relation P276
['Q1392201', 'P276', 'Q23482'] ['Q1392201', 'P276', 'Q456'] ['Q1392201', 'P276', 'Q7003']
ASK WHERE { resource:Q1392201 property:P276 ?k . VALUES ( ?k ) { ( resource:Q23482 ) ( resource:Q6602 ) ( resource:Q456 ) } }
Showdown in the Sun
action is_in
entity prev_answer
action find
entity Showdown in the Sun
relation location
['Showdown in the Sun', 'location', 'Marseille'] ['Showdown in the Sun', 'location', 'Lyon'] ['Showdown in the Sun', 'location', 'Dijon']
ASK WHERE { resource:Showdown_in_the_Sun property:location ?k . VALUES ( ?k ) { ( resource:Marseille ) ( resource:Strasbourg ) ( resource:Lyon ) } }
[]
event
SYSTEM
NO
(Q1392201,P276,Q23482) (Q1392201,P276,Q456) (Q1392201,P276,Q7003)
action is_in
entity prev_answer
action find
entity Q1392201
relation P276
[ANSWER]
['Q1392201', 'P276', 'Q23482'] ['Q1392201', 'P276', 'Q456'] ['Q1392201', 'P276', 'Q7003']
ASK WHERE { resource:Q1392201 property:P276 ?k . VALUES ( ?k ) { ( resource:Q23482 ) ( resource:Q6602 ) ( resource:Q456 ) } }
No
action is_in
entity prev_answer
action find
entity Showdown in the Sun
relation location
['Showdown in the Sun', 'location', 'Marseille'] ['Showdown in the Sun', 'location', 'Lyon'] ['Showdown in the Sun', 'location', 'Dijon']
ASK WHERE { resource:Showdown_in_the_Sun property:location ?k . VALUES ( ?k ) { ( resource:Marseille ) ( resource:Strasbourg ) ( resource:Lyon ) } }
[]