Simple Question (Direct)
Simple Question
Q90051
P136
Q151885
USER
Which concept can be considered as genre of Elli Erl ?
(Q90051,P136,c(Q151885))
action filter_type
action find
entity Q90051
relation P136
type Q151885
['Q90051', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { resource:Q90051 property:P136 ?x . ?x rdf:type ontology:Q151885 }
Elli Erl
action filter_type
action find
entity Elli Erl
relation genre
type concept
['Elli Erl', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { resource:Elli_Erl property:genre ?x . ?x rdf:type ontology:concept }
[]
concept
Q37073
SYSTEM
pop music
Q37073
(Q90051,P136,c(Q151885))
action filter_type
action find
entity Q90051
relation P136
type Q151885
[ANSWER] can be considered as genre of Elli Erl
['Q90051', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { resource:Q90051 property:P136 ?x . ?x rdf:type ontology:Q151885 }
pop music
Pop music can be considered as genre of Elli Erl
pop music
action filter_type
action find
entity Elli Erl
relation genre
type concept
['Elli Erl', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { resource:Elli_Erl property:genre ?x . ?x rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90051
P27
Q1048835
USER
Which political territory does Elli Erl belong to ?
(Q90051,P27,c(Q1048835))
action filter_type
action find
entity Q90051
relation P27
type Q1048835
['Q90051', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q90051 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
Elli Erl
action filter_type
action find
entity Elli Erl
relation country of citizenship
type political territorial entity
['Elli Erl', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Elli_Erl property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q90051,P27,c(Q1048835))
action filter_type
action find
entity Q90051
relation P27
type Q1048835
Elli Erl belongs to [ANSWER]
['Q90051', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q90051 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
Germany
Elli Erl belongs to Germany
Germany
action filter_type
action find
entity Elli Erl
relation country of citizenship
type political territorial entity
['Elli Erl', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Elli_Erl property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P108
Q502895
USER
Which people work for that political territory ?
(c(Q502895),P108,Q183)
action filter_type
action find_reverse
entity Q183
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q183']
SELECT DISTINCT ?a WHERE { ?a property:P108 resource:Q183 . ?a rdf:type ontology:Q502895 }
Germany
action filter_type
action find_reverse
entity Germany
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Germany']
SELECT DISTINCT ?a WHERE { ?a property:employer resource:Germany . ?a rdf:type ontology:common_name }
[]
common name
Q2514 Q57855 Q1492424
SYSTEM
Willy Brandt, Georg Friedrich Grotefend, Marieluise Deißmann-Merten
Q2514 Q57855 Q1492424
(c(Q502895),P108,Q183)
action filter_type
action find_reverse
entity Q183
relation P108
type Q502895
[ANSWERS] work for that political territory
[{'concept': 'Q502895'}, 'P108', 'Q183']
SELECT DISTINCT ?a WHERE { ?a property:P108 resource:Q183 . ?a rdf:type ontology:Q502895 }
Willy Brandt Georg Friedrich Grotefend Marieluise Deißmann-Merten
Willy Brandt, Georg Friedrich Grotefend and Marieluise Deißmann-Merten work for that political territory
Willy Brandt Georg Friedrich Grotefend Marieluise Deißmann-Merten
action filter_type
action find_reverse
entity Germany
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Germany']
SELECT DISTINCT ?a WHERE { ?a property:employer resource:Germany . ?a rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1492424
P184
Q502895
USER
Which person was the doctoral advisor of that one ?
(Q1492424,P184,c(Q502895))
action filter_type
action find
entity Q1492424
relation P184
type Q502895
['Q1492424', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q1492424 property:P184 ?f . ?f rdf:type ontology:Q502895 }
Marieluise Deißmann-Merten
action filter_type
action find
entity Marieluise Deißmann-Merten
relation doctoral advisor
type common name
['Marieluise Deißmann-Merten', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Marieluise_Deißmann-Merten property:doctoral_advisor ?f . ?f rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2514
SYSTEM
Did you mean Willy Brandt ?
Q2514 Q57855 Q1492424
(Q2514,P184,c(Q502895)) (Q57855,P184,c(Q502895)) (Q1492424,P184,c(Q502895))
[ANSWER]
['Q2514', 'P184', {'concept': 'Q502895'}] ['Q57855', 'P184', {'concept': 'Q502895'}] ['Q1492424', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q1492424 property:P184 ?f . ?f rdf:type ontology:Q502895 }
Willy Brandt Georg Friedrich Grotefend Marieluise Deißmann-Merten
Did you mean Willy Brandt ?
Willy Brandt
['Willy Brandt', 'doctoral advisor', {'concept': 'common name'}] ['Georg Friedrich Grotefend', 'doctoral advisor', {'concept': 'common name'}] ['Marieluise Deißmann-Merten', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Marieluise_Deißmann-Merten property:doctoral_advisor ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Marieluise Deißmann-Merten. Could you tell me the answer for that?
(Q1492424,P184,c(Q502895))
Q1492424
['Q1492424', 'P184', {'concept': 'Q502895'}]
['Marieluise Deißmann-Merten', 'doctoral advisor', {'concept': 'common name'}]
[]
Q1282427
SYSTEM
Hermann Strasburger
Q1282427
(Q1492424,P184,c(Q502895))
action filter_type
action find
entity Q1492424
relation P184
type Q502895
[ANSWER] was the doctoral advisor of that one
['Q1492424', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q1492424 property:P184 ?f . ?f rdf:type ontology:Q502895 }
Hermann Strasburger
Hermann Strasburger was the doctoral advisor of that one
Hermann Strasburger
action filter_type
action find
entity Marieluise Deißmann-Merten
relation doctoral advisor
type common name
['Marieluise Deißmann-Merten', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Marieluise_Deißmann-Merten property:doctoral_advisor ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1282427 Q2833 Q92381
P20
Q515
USER
Did that person expired at Freiburg im Breisgau and Baicheng ?
(Q1282427,P20,Q2833) (Q1282427,P20,Q92381)
action is_in
entity Q1282427
action intersection
action find_reverse
entity Q2833
relation P20
action find_reverse
entity Q92381
relation P20
['Q1282427', 'P20', 'Q2833'] ['Q1282427', 'P20', 'Q92381']
ASK WHERE { resource:Q1282427 property:P20 resource:Q2833 . resource:Q1282427 property:P20 resource:Q92381 }
Hermann Strasburger Freiburg im Breisgau Baicheng
action is_in
entity Hermann Strasburger
action intersection
action find_reverse
entity Freiburg im Breisgau
relation place of death
action find_reverse
entity Baicheng
relation place of death
['Hermann Strasburger', 'place of death', 'Freiburg im Breisgau'] ['Hermann Strasburger', 'place of death', 'Baicheng']
ASK WHERE { resource:Hermann_Strasburger property:place_of_death resource:Freiburg_im_Breisgau . resource:Hermann_Strasburger property:place_of_death resource:Baicheng }
[]
city
SYSTEM
YES and NO respectively
(Q1282427,P20,Q2833) (Q1282427,P20,Q92381)
action is_in
entity Q1282427
action intersection
action find_reverse
entity Q2833
relation P20
action find_reverse
entity Q92381
relation P20
[ANSWER]
['Q1282427', 'P20', 'Q2833'] ['Q1282427', 'P20', 'Q92381']
ASK WHERE { resource:Q1282427 property:P20 resource:Q2833 . resource:Q1282427 property:P20 resource:Q92381 }
YES and NO respectively
action is_in
entity Hermann Strasburger
action intersection
action find_reverse
entity Freiburg im Breisgau
relation place of death
action find_reverse
entity Baicheng
relation place of death
['Hermann Strasburger', 'place of death', 'Freiburg im Breisgau'] ['Hermann Strasburger', 'place of death', 'Baicheng']
ASK WHERE { resource:Hermann_Strasburger property:place_of_death resource:Freiburg_im_Breisgau . resource:Hermann_Strasburger property:place_of_death resource:Baicheng }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1282427 Q175833
P7
Q502895
USER
How many people have Hermann Strasburger or Wenceslaus I of Bohemia as their sibling ?
(c(Q502895),P7,Q1282427) (c(Q502895),P7,Q175833)
action count
action union
action filter_type
action find_reverse
entity Q1282427
relation P7
type Q502895
action filter_type
action find_reverse
entity Q175833
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q1282427'] [{'concept': 'Q502895'}, 'P7', 'Q175833']
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { ?m property:P7 resource:Q1282427 . ?m rdf:type ontology:Q502895 } UNION { ?m property:P7 resource:Q175833 . ?m rdf:type ontology:Q502895 } }
Hermann Strasburger Wenceslaus I of Bohemia
action count
action union
action filter_type
action find_reverse
entity Hermann Strasburger
relation brother
type common name
action filter_type
action find_reverse
entity Wenceslaus I of Bohemia
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Hermann Strasburger'] [{'concept': 'common name'}, 'brother', 'Wenceslaus I of Bohemia']
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { ?m property:brother resource:Hermann_Strasburger . ?m rdf:type ontology:common_name } UNION { ?m property:brother resource:Wenceslaus_I_of_Bohemia . ?m rdf:type ontology:common_name } }
[]
common name
SYSTEM
7
Q2385877 Q24306567 Q1368797 Q2270266 Q394727 Q263412 Q434662
(c(Q502895),P7,Q1282427) (c(Q502895),P7,Q175833)
action count
action union
action filter_type
action find_reverse
entity Q1282427
relation P7
type Q502895
action filter_type
action find_reverse
entity Q175833
relation P7
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q1282427'] [{'concept': 'Q502895'}, 'P7', 'Q175833']
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { ?m property:P7 resource:Q1282427 . ?m rdf:type ontology:Q502895 } UNION { ?m property:P7 resource:Q175833 . ?m rdf:type ontology:Q502895 } }
Judith of Bohemia Eduard Strasburger Přemyslid, Margrave of Moravia Vladislaus, Margrave of Moravia Agnes of Bohemia Dagmar of Bohemia Anne of Bohemia, Duchess of Silesia
7
action count
action union
action filter_type
action find_reverse
entity Hermann Strasburger
relation brother
type common name
action filter_type
action find_reverse
entity Wenceslaus I of Bohemia
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Hermann Strasburger'] [{'concept': 'common name'}, 'brother', 'Wenceslaus I of Bohemia']
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { ?m property:brother resource:Hermann_Strasburger . ?m rdf:type ontology:common_name } UNION { ?m property:brother resource:Wenceslaus_I_of_Bohemia . ?m rdf:type ontology:common_name } }
[]