Simple Question (Direct)
Simple Question
Q1797260
P463
Q874405
USER
Which social group had Osório Duque-Estrada as its member ?
(Q1797260,P463,c(Q874405))
action filter_type
action find
entity Q1797260
relation P463
type Q874405
['Q1797260', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { resource:Q1797260 property:P463 ?u . ?u rdf:type ontology:Q874405 }
Osório Duque-Estrada
action filter_type
action find
entity Osório Duque-Estrada
relation member of
type social group
['Osório Duque-Estrada', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { resource:Osório_Duque-Estrada property:member_of ?u . ?u rdf:type ontology:social_group }
[]
social group
Q337224
SYSTEM
Academia Brasileira de Letras
Q337224
(Q1797260,P463,c(Q874405))
action filter_type
action find
entity Q1797260
relation P463
type Q874405
[ANSWER] had Osório Duque-Estrada as its member
['Q1797260', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { resource:Q1797260 property:P463 ?u . ?u rdf:type ontology:Q874405 }
Academia Brasileira de Letras
Academia Brasileira de Letras had Osório Duque-Estrada as its member
Academia Brasileira de Letras
action filter_type
action find
entity Osório Duque-Estrada
relation member of
type social group
['Osório Duque-Estrada', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { resource:Osório_Duque-Estrada property:member_of ?u . ?u rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1797260
P106
Q12737077
USER
What are the professions of Osório Duque-Estrada ?
(Q1797260,P106,c(Q12737077))
action filter_type
action find
entity Q1797260
relation P106
type Q12737077
['Q1797260', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q1797260 property:P106 ?t }
Osório Duque-Estrada
action filter_type
action find
entity Osório Duque-Estrada
relation occupation
type occupation
['Osório Duque-Estrada', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Osório_Duque-Estrada property:occupation ?t }
[]
occupation
Q1930187 Q193391 Q4263842
SYSTEM
journalist, diplomat, literary critic
Q1930187 Q193391 Q4263842 Q49757 Q36180
(Q1797260,P106,c(Q12737077))
action filter_type
action find
entity Q1797260
relation P106
type Q12737077
The professions of Osório Duque-Estrada are [ANSWERS]
['Q1797260', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q1797260 property:P106 ?t }
journalist diplomat literary critic poet writer
The professions of Osório Duque-Estrada are journalist, diplomat and literary critic
journalist diplomat literary critic
action filter_type
action find
entity Osório Duque-Estrada
relation occupation
type occupation
['Osório Duque-Estrada', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Osório_Duque-Estrada property:occupation ?t }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q14023693 Q1797260
P39 P106
Q12737077
USER
Which occupations are the job of Osório Duque-Estrada or were the positions for which Miguel Zaragoza Fernandez were appointed ?
OR((Q1797260,P106,c(Q12737077)), (Q14023693,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q1797260
relation P106
action find
entity Q14023693
relation P39
type Q12737077
{'OR': [['Q1797260', 'P106', {'concept': 'Q12737077'}], ['Q14023693', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q14023693 property:P39 ?p } UNION { resource:Q1797260 property:P106 ?p } } . ?p rdf:type ontology:Q12737077 }
Miguel Zaragoza Fernandez Osório Duque-Estrada
action filter_type
action union
action find
entity Osório Duque-Estrada
relation occupation
action find
entity Miguel Zaragoza Fernandez
relation position held
type occupation
{'OR': [['Osório Duque-Estrada', 'occupation', {'concept': 'occupation'}], ['Miguel Zaragoza Fernandez', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Miguel_Zaragoza_Fernandez property:position_held ?p } UNION { resource:Osório_Duque-Estrada property:occupation ?p } } . ?p rdf:type ontology:occupation }
[]
occupation
Q193391 Q21609684 Q30185 Q1930187 Q36180 Q4263842 Q49757
SYSTEM
diplomat, member of the Corts Valencianes, mayor, journalist, writer, literary critic, poet
Q193391 Q21609684 Q30185 Q1930187 Q36180 Q4263842 Q49757
OR((Q1797260,P106,c(Q12737077)), (Q14023693,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q1797260
relation P106
action find
entity Q14023693
relation P39
type Q12737077
[ANSWERS] are the job of Osório Duque-Estrada or were the positions for which Miguel Zaragoza Fernandez were appointed
{'OR': [['Q1797260', 'P106', {'concept': 'Q12737077'}], ['Q14023693', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q14023693 property:P39 ?p } UNION { resource:Q1797260 property:P106 ?p } } . ?p rdf:type ontology:Q12737077 }
diplomat member of the Corts Valencianes mayor journalist writer literary critic poet
Diplomat, member of the Corts Valencianes, mayor, journalist, writer, literary critic and poet are the job of Osório Duque-Estrada or were the positions for which Miguel Zaragoza Fernandez were appointed
diplomat member of the Corts Valencianes mayor journalist writer literary critic poet
action filter_type
action union
action find
entity Osório Duque-Estrada
relation occupation
action find
entity Miguel Zaragoza Fernandez
relation position held
type occupation
{'OR': [['Osório Duque-Estrada', 'occupation', {'concept': 'occupation'}], ['Miguel Zaragoza Fernandez', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Miguel_Zaragoza_Fernandez property:position_held ?p } UNION { resource:Osório_Duque-Estrada property:occupation ?p } } . ?p rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q177220 Q4263842
P106
Q502895
USER
Which people have a job as literary critic and singer ?
AND((c(Q502895),P106,Q4263842), (c(Q502895),P106,Q177220))
action filter_type
action intersection
action find_reverse
entity Q4263842
relation P106
action find_reverse
entity Q177220
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q4263842'], [{'concept': 'Q502895'}, 'P106', 'Q177220']]}
SELECT DISTINCT ?f WHERE { ?f property:P106 resource:Q177220 . ?f property:P106 resource:Q4263842 . ?f rdf:type ontology:Q502895 }
singer literary critic
action filter_type
action intersection
action find_reverse
entity literary critic
relation occupation
action find_reverse
entity singer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'literary critic'], [{'concept': 'common name'}, 'occupation', 'singer']]}
SELECT DISTINCT ?f WHERE { ?f property:occupation resource:singer . ?f property:occupation resource:literary_critic . ?f rdf:type ontology:common_name }
[]
common name
Q7833 Q14720630 Q2705483 Q561833
SYSTEM
Boris Vian, Ifigenia Didaskalou, Alexander Amfiteatrov, José Emilio Pacheco
Q7833 Q14720630 Q2705483 Q561833
AND((c(Q502895),P106,Q4263842), (c(Q502895),P106,Q177220))
action filter_type
action intersection
action find_reverse
entity Q4263842
relation P106
action find_reverse
entity Q177220
relation P106
type Q502895
[ANSWERS] have a job as literary critic and singer
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q4263842'], [{'concept': 'Q502895'}, 'P106', 'Q177220']]}
SELECT DISTINCT ?f WHERE { ?f property:P106 resource:Q177220 . ?f property:P106 resource:Q4263842 . ?f rdf:type ontology:Q502895 }
Boris Vian Ifigenia Didaskalou Alexander Amfiteatrov José Emilio Pacheco
Boris Vian, Ifigenia Didaskalou, Alexander Amfiteatrov and José Emilio Pacheco have a job as literary critic and singer
Boris Vian Ifigenia Didaskalou Alexander Amfiteatrov José Emilio Pacheco
action filter_type
action intersection
action find_reverse
entity literary critic
relation occupation
action find_reverse
entity singer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'literary critic'], [{'concept': 'common name'}, 'occupation', 'singer']]}
SELECT DISTINCT ?f WHERE { ?f property:occupation resource:singer . ?f property:occupation resource:literary_critic . ?f rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q151885 Q28640
USER
How many concepts and professions have that person as his/her as a career ?
(Q7833,P106,c(Q151885)) (Q7833,P106,c(Q28640)) (Q7833,P106,c(Q151885)) (Q7833,P106,c(Q28640)) (Q14720630,P106,c(Q151885)) (Q14720630,P106,c(Q28640)) (Q2705483,P106,c(Q151885)) (Q2705483,P106,c(Q28640)) (Q561833,P106,c(Q151885)) (Q561833,P106,c(Q28640))
['Q7833', 'P106', {'concept': 'Q151885'}] ['Q7833', 'P106', {'concept': 'Q28640'}] ['Q7833', 'P106', {'concept': 'Q151885'}] ['Q7833', 'P106', {'concept': 'Q28640'}] ['Q14720630', 'P106', {'concept': 'Q151885'}] ['Q14720630', 'P106', {'concept': 'Q28640'}] ['Q2705483', 'P106', {'concept': 'Q151885'}] ['Q2705483', 'P106', {'concept': 'Q28640'}] ['Q561833', 'P106', {'concept': 'Q151885'}] ['Q561833', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q7833 property:Q528892 ?z } UNION { resource:Q7833 property:Q528892 ?y } UNION { resource:Q7833 property:Q528892 ?z } UNION { resource:Q7833 property:Q528892 ?y } UNION { resource:Q14720630 property:Q528892 ?z } UNION { resource:Q14720630 property:Q528892 ?y } UNION { resource:Q2705483 property:Q528892 ?z } UNION { resource:Q2705483 property:Q528892 ?y } UNION { resource:Q561833 property:Q528892 ?z } UNION { resource:Q561833 property:Q528892 ?y } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q28640 }
['Boris Vian', 'occupation', {'concept': 'concept'}] ['Boris Vian', 'occupation', {'concept': 'profession'}] ['Boris Vian', 'occupation', {'concept': 'concept'}] ['Boris Vian', 'occupation', {'concept': 'profession'}] ['Ifigenia Didaskalou', 'occupation', {'concept': 'concept'}] ['Ifigenia Didaskalou', 'occupation', {'concept': 'profession'}] ['Alexander Amfiteatrov', 'occupation', {'concept': 'concept'}] ['Alexander Amfiteatrov', 'occupation', {'concept': 'profession'}] ['José Emilio Pacheco', 'occupation', {'concept': 'concept'}] ['José Emilio Pacheco', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Boris_Vian property:occupation ?z } UNION { resource:Boris_Vian property:occupation ?y } UNION { resource:Boris_Vian property:occupation ?z } UNION { resource:Boris_Vian property:occupation ?y } UNION { resource:Ifigenia_Didaskalou property:occupation ?z } UNION { resource:Ifigenia_Didaskalou property:occupation ?y } UNION { resource:Alexander_Amfiteatrov property:occupation ?z } UNION { resource:Alexander_Amfiteatrov property:occupation ?y } UNION { resource:José_Emilio_Pacheco property:occupation ?z } UNION { resource:José_Emilio_Pacheco property:occupation ?y } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:profession }
[]
concept profession
Quantitative|Count|Mult. entity type|Clarification
Q561833
SYSTEM
Did you mean José Emilio Pacheco ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q7833 property:Q528892 ?z } UNION { resource:Q7833 property:Q528892 ?y } UNION { resource:Q7833 property:Q528892 ?z } UNION { resource:Q7833 property:Q528892 ?y } UNION { resource:Q14720630 property:Q528892 ?z } UNION { resource:Q14720630 property:Q528892 ?y } UNION { resource:Q2705483 property:Q528892 ?z } UNION { resource:Q2705483 property:Q528892 ?y } UNION { resource:Q561833 property:Q528892 ?z } UNION { resource:Q561833 property:Q528892 ?y } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q28640 }
Did you mean José Emilio Pacheco ?
José Emilio Pacheco
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Boris_Vian property:occupation ?z } UNION { resource:Boris_Vian property:occupation ?y } UNION { resource:Boris_Vian property:occupation ?z } UNION { resource:Boris_Vian property:occupation ?y } UNION { resource:Ifigenia_Didaskalou property:occupation ?z } UNION { resource:Ifigenia_Didaskalou property:occupation ?y } UNION { resource:Alexander_Amfiteatrov property:occupation ?z } UNION { resource:Alexander_Amfiteatrov property:occupation ?y } UNION { resource:José_Emilio_Pacheco property:occupation ?z } UNION { resource:José_Emilio_Pacheco property:occupation ?y } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:profession }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Boris Vian. Could you tell me the answer for that?
(Q7833,P106,c(Q151885)) (Q7833,P106,c(Q28640)) (Q7833,P106,c(Q151885)) (Q7833,P106,c(Q28640)) (Q14720630,P106,c(Q151885)) (Q14720630,P106,c(Q28640)) (Q2705483,P106,c(Q151885)) (Q2705483,P106,c(Q28640)) (Q561833,P106,c(Q151885)) (Q561833,P106,c(Q28640))
Q7833
['Q7833', 'P106', {'concept': 'Q151885'}] ['Q7833', 'P106', {'concept': 'Q28640'}] ['Q7833', 'P106', {'concept': 'Q151885'}] ['Q7833', 'P106', {'concept': 'Q28640'}] ['Q14720630', 'P106', {'concept': 'Q151885'}] ['Q14720630', 'P106', {'concept': 'Q28640'}] ['Q2705483', 'P106', {'concept': 'Q151885'}] ['Q2705483', 'P106', {'concept': 'Q28640'}] ['Q561833', 'P106', {'concept': 'Q151885'}] ['Q561833', 'P106', {'concept': 'Q28640'}]
['Boris Vian', 'occupation', {'concept': 'concept'}] ['Boris Vian', 'occupation', {'concept': 'profession'}] ['Boris Vian', 'occupation', {'concept': 'concept'}] ['Boris Vian', 'occupation', {'concept': 'profession'}] ['Ifigenia Didaskalou', 'occupation', {'concept': 'concept'}] ['Ifigenia Didaskalou', 'occupation', {'concept': 'profession'}] ['Alexander Amfiteatrov', 'occupation', {'concept': 'concept'}] ['Alexander Amfiteatrov', 'occupation', {'concept': 'profession'}] ['José Emilio Pacheco', 'occupation', {'concept': 'concept'}] ['José Emilio Pacheco', 'occupation', {'concept': 'profession'}]
[]
SYSTEM
2 concepts and 1 professions
Q214917 Q28389 Q270141
(Q7833,P106,c(Q151885)) (Q7833,P106,c(Q28640)) (Q7833,P106,c(Q151885)) (Q7833,P106,c(Q28640)) (Q14720630,P106,c(Q151885)) (Q14720630,P106,c(Q28640)) (Q2705483,P106,c(Q151885)) (Q2705483,P106,c(Q28640)) (Q561833,P106,c(Q151885)) (Q561833,P106,c(Q28640))
[ANSWER]
['Q7833', 'P106', {'concept': 'Q151885'}] ['Q7833', 'P106', {'concept': 'Q28640'}] ['Q7833', 'P106', {'concept': 'Q151885'}] ['Q7833', 'P106', {'concept': 'Q28640'}] ['Q14720630', 'P106', {'concept': 'Q151885'}] ['Q14720630', 'P106', {'concept': 'Q28640'}] ['Q2705483', 'P106', {'concept': 'Q151885'}] ['Q2705483', 'P106', {'concept': 'Q28640'}] ['Q561833', 'P106', {'concept': 'Q151885'}] ['Q561833', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q7833 property:Q528892 ?z } UNION { resource:Q7833 property:Q528892 ?y } UNION { resource:Q7833 property:Q528892 ?z } UNION { resource:Q7833 property:Q528892 ?y } UNION { resource:Q14720630 property:Q528892 ?z } UNION { resource:Q14720630 property:Q528892 ?y } UNION { resource:Q2705483 property:Q528892 ?z } UNION { resource:Q2705483 property:Q528892 ?y } UNION { resource:Q561833 property:Q528892 ?z } UNION { resource:Q561833 property:Q528892 ?y } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q28640 }
playwright screenwriter polymath
2 concepts and 1 professions
['Boris Vian', 'occupation', {'concept': 'concept'}] ['Boris Vian', 'occupation', {'concept': 'profession'}] ['Boris Vian', 'occupation', {'concept': 'concept'}] ['Boris Vian', 'occupation', {'concept': 'profession'}] ['Ifigenia Didaskalou', 'occupation', {'concept': 'concept'}] ['Ifigenia Didaskalou', 'occupation', {'concept': 'profession'}] ['Alexander Amfiteatrov', 'occupation', {'concept': 'concept'}] ['Alexander Amfiteatrov', 'occupation', {'concept': 'profession'}] ['José Emilio Pacheco', 'occupation', {'concept': 'concept'}] ['José Emilio Pacheco', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Boris_Vian property:occupation ?z } UNION { resource:Boris_Vian property:occupation ?y } UNION { resource:Boris_Vian property:occupation ?z } UNION { resource:Boris_Vian property:occupation ?y } UNION { resource:Ifigenia_Didaskalou property:occupation ?z } UNION { resource:Ifigenia_Didaskalou property:occupation ?y } UNION { resource:Alexander_Amfiteatrov property:occupation ?z } UNION { resource:Alexander_Amfiteatrov property:occupation ?y } UNION { resource:José_Emilio_Pacheco property:occupation ?z } UNION { resource:José_Emilio_Pacheco property:occupation ?y } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6625963
P425
Q1792379
USER
Who is associated with the field of occupation novelist ?
(Q6625963,P425,c(Q1792379))
action filter_type
action find
entity Q6625963
relation P425
type Q1792379
['Q6625963', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1792379 . resource:Q6625963 property:P425 ?w }
novelist
action filter_type
action find
entity novelist
relation field of this occupation
type art genre
['novelist', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:art_genre . resource:novelist property:field_of_this_occupation ?w }
[]
art genre
Q8261
SYSTEM
novel
Q8261
(Q6625963,P425,c(Q1792379))
action filter_type
action find
entity Q6625963
relation P425
type Q1792379
The [ANSWER] is associated with the field of occupation [ANSWER]ist
['Q6625963', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1792379 . resource:Q6625963 property:P425 ?w }
novel
The novel is associated with the field of occupation novelist
novel
action filter_type
action find
entity novelist
relation field of this occupation
type art genre
['novelist', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:art_genre . resource:novelist property:field_of_this_occupation ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30185
P466
Q811430
USER
Which construction is inhabited by mayor ?
(c(Q811430),P466,Q30185)
action filter_type
action find_reverse
entity Q30185
relation P466
type Q811430
[{'concept': 'Q811430'}, 'P466', 'Q30185']
SELECT DISTINCT ?d WHERE { ?d property:P466 resource:Q30185 . ?d rdf:type ontology:Q811430 }
mayor
action filter_type
action find_reverse
entity mayor
relation occupant
type construction
[{'concept': 'construction'}, 'occupant', 'mayor']
SELECT DISTINCT ?d WHERE { ?d property:occupant resource:mayor . ?d rdf:type ontology:construction }
[]
construction
Q1309294
SYSTEM
Einsteinhaus Caputh
Q1309294
(c(Q811430),P466,Q30185)
action filter_type
action find_reverse
entity Q30185
relation P466
type Q811430
[ANSWER] is inhabited by mayor
[{'concept': 'Q811430'}, 'P466', 'Q30185']
SELECT DISTINCT ?d WHERE { ?d property:P466 resource:Q30185 . ?d rdf:type ontology:Q811430 }
Einsteinhaus Caputh
Einsteinhaus Caputh is inhabited by mayor
Einsteinhaus Caputh
action filter_type
action find_reverse
entity mayor
relation occupant
type construction
[{'concept': 'construction'}, 'occupant', 'mayor']
SELECT DISTINCT ?d WHERE { ?d property:occupant resource:mayor . ?d rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1309294
P551
Q502895
USER
Which person lives in that construction ?
(c(Q502895),P551,Q1309294)
action filter_type
action find_reverse
entity Q1309294
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1309294']
SELECT DISTINCT ?p WHERE { ?p property:P551 resource:Q1309294 . ?p rdf:type ontology:Q502895 }
Einsteinhaus Caputh
action filter_type
action find_reverse
entity Einsteinhaus Caputh
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Einsteinhaus Caputh']
SELECT DISTINCT ?p WHERE { ?p property:residence resource:Einsteinhaus_Caputh . ?p rdf:type ontology:common_name }
[]
common name
Q937
SYSTEM
Albert Einstein
Q937
(c(Q502895),P551,Q1309294)
action filter_type
action find_reverse
entity Q1309294
relation P551
type Q502895
[ANSWER] lives in that construction
[{'concept': 'Q502895'}, 'P551', 'Q1309294']
SELECT DISTINCT ?p WHERE { ?p property:P551 resource:Q1309294 . ?p rdf:type ontology:Q502895 }
Albert Einstein
Albert Einstein lives in that construction
Albert Einstein
action filter_type
action find_reverse
entity Einsteinhaus Caputh
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Einsteinhaus Caputh']
SELECT DISTINCT ?p WHERE { ?p property:residence resource:Einsteinhaus_Caputh . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1309294
P127
Q502895
USER
Which person is the owner of Einsteinhaus Caputh ?
(Q1309294,P127,c(Q502895))
action filter_type
action find
entity Q1309294
relation P127
type Q502895
['Q1309294', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1309294 property:P127 ?c . ?c rdf:type ontology:Q502895 }
Einsteinhaus Caputh
action filter_type
action find
entity Einsteinhaus Caputh
relation owned by
type common name
['Einsteinhaus Caputh', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Einsteinhaus_Caputh property:owned_by ?c . ?c rdf:type ontology:common_name }
[]
common name
Q937
SYSTEM
Albert Einstein
Q937
(Q1309294,P127,c(Q502895))
action filter_type
action find
entity Q1309294
relation P127
type Q502895
[ANSWER] is the owner of Einsteinhaus Caputh
['Q1309294', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1309294 property:P127 ?c . ?c rdf:type ontology:Q502895 }
Albert Einstein
Albert Einstein is the owner of Einsteinhaus Caputh
Albert Einstein
action filter_type
action find
entity Einsteinhaus Caputh
relation owned by
type common name
['Einsteinhaus Caputh', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Einsteinhaus_Caputh property:owned_by ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1309294
Q486972
USER
And which human settlement?
(Q1309294,P127,c(Q486972))
action filter_type
action find
entity Q1309294
relation P127
type Q486972
['Q1309294', 'P127', {'concept': 'Q486972'}]
SELECT DISTINCT ?e WHERE { resource:Q1309294 property:P127 ?e . ?e rdf:type ontology:Q486972 }
Einsteinhaus Caputh
action filter_type
action find
entity Einsteinhaus Caputh
relation owned by
type human settlement
['Einsteinhaus Caputh', 'owned by', {'concept': 'human settlement'}]
SELECT DISTINCT ?e WHERE { resource:Einsteinhaus_Caputh property:owned_by ?e . ?e rdf:type ontology:human_settlement }
[]
human settlement
Q464344
SYSTEM
Caputh
Q464344
(Q1309294,P127,c(Q486972))
action filter_type
action find
entity Q1309294
relation P127
type Q486972
[ANSWER]
['Q1309294', 'P127', {'concept': 'Q486972'}]
SELECT DISTINCT ?e WHERE { resource:Q1309294 property:P127 ?e . ?e rdf:type ontology:Q486972 }
Caputh
Caputh
action filter_type
action find
entity Einsteinhaus Caputh
relation owned by
type human settlement
['Einsteinhaus Caputh', 'owned by', {'concept': 'human settlement'}]
SELECT DISTINCT ?e WHERE { resource:Einsteinhaus_Caputh property:owned_by ?e . ?e rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3351231 Q21609684
P27 P17
Q15617994
USER
Which administrative territories are member of the Corts Valencianes present in or are Olivier Mony an inhabitant of ?
OR((Q21609684,P17,c(Q15617994)), (Q3351231,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q21609684
relation P17
action find
entity Q3351231
relation P27
type Q15617994
{'OR': [['Q21609684', 'P17', {'concept': 'Q15617994'}], ['Q3351231', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q21609684 property:P17 ?w } UNION { resource:Q3351231 property:P27 ?w } } }
Olivier Mony member of the Corts Valencianes
action filter_type
action union
action find
entity member of the Corts Valencianes
relation country
action find
entity Olivier Mony
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['member of the Corts Valencianes', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Olivier Mony', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:member_of_the_Corts_Valencianes property:country ?w } UNION { resource:Olivier_Mony property:country_of_citizenship ?w } } }
[]
designation for an administrative territorial entity
Q142 Q29
SYSTEM
France, Spain
Q142 Q29
OR((Q21609684,P17,c(Q15617994)), (Q3351231,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q21609684
relation P17
action find
entity Q3351231
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q21609684', 'P17', {'concept': 'Q15617994'}], ['Q3351231', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q21609684 property:P17 ?w } UNION { resource:Q3351231 property:P27 ?w } } }
France Spain
Which administrative territories are member of the Corts Valencianes present in or are Olivier Mony an inhabitant of
France Spain
action filter_type
action union
action find
entity member of the Corts Valencianes
relation country
action find
entity Olivier Mony
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['member of the Corts Valencianes', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Olivier Mony', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:member_of_the_Corts_Valencianes property:country ?w } UNION { resource:Olivier_Mony property:country_of_citizenship ?w } } }
[]