Simple Question (Direct)
Simple Question
Q153431
P21
Q290
USER
What is the sex of Taťána Kuchařová ?
(Q153431,P21,c(Q290))
action filter_type
action find
entity Q153431
relation P21
type Q290
['Q153431', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q153431 property:P21 ?d . ?d rdf:type ontology:Q290 }
Taťána Kuchařová
action filter_type
action find
entity Taťána Kuchařová
relation gender
type sex
['Taťána Kuchařová', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Taťána_Kuchařová property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q153431,P21,c(Q290))
action filter_type
action find
entity Q153431
relation P21
type Q290
The sex of Taťána Kuchařová is the [ANSWER]
['Q153431', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q153431 property:P21 ?d . ?d rdf:type ontology:Q290 }
female
The sex of Taťána Kuchařová is the female
female
action filter_type
action find
entity Taťána Kuchařová
relation gender
type sex
['Taťána Kuchařová', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Taťána_Kuchařová property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q153431
P1346
Q5
USER
Where was Taťána Kuchařová decalred as a champion ?
(c(Q5),P1346,Q153431)
action filter_type
action find_reverse
entity Q153431
relation P1346
type Q5
[{'concept': 'Q5'}, 'P1346', 'Q153431']
SELECT DISTINCT ?u WHERE { ?u property:P1346 resource:Q153431 . ?u rdf:type ontology:Q5 }
Taťána Kuchařová
action filter_type
action find_reverse
entity Taťána Kuchařová
relation winner
type human
[{'concept': 'human'}, 'winner', 'Taťána Kuchařová']
SELECT DISTINCT ?u WHERE { ?u property:winner resource:Taťána_Kuchařová . ?u rdf:type ontology:human }
[]
human
Q1075386
SYSTEM
Miss World 2006
Q1075386
(c(Q5),P1346,Q153431)
action filter_type
action find_reverse
entity Q153431
relation P1346
type Q5
Taťána Kuchařová was decalred for [ANSWER] as a champion
[{'concept': 'Q5'}, 'P1346', 'Q153431']
SELECT DISTINCT ?u WHERE { ?u property:P1346 resource:Q153431 . ?u rdf:type ontology:Q5 }
Miss World 2006
Taťána Kuchařová was decalred for Miss World 2006 as a champion
Miss World 2006
action filter_type
action find_reverse
entity Taťána Kuchařová
relation winner
type human
[{'concept': 'human'}, 'winner', 'Taťána Kuchařová']
SELECT DISTINCT ?u WHERE { ?u property:winner resource:Taťána_Kuchařová . ?u rdf:type ontology:human }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q153431
P26
Q502895
USER
Which person is married to Taťána Kuchařová ?
(c(Q502895),P26,Q153431)
action filter_type
action find_reverse
entity Q153431
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q153431']
SELECT DISTINCT ?n WHERE { ?n property:P26 resource:Q153431 . ?n rdf:type ontology:Q502895 }
Taťána Kuchařová
action filter_type
action find_reverse
entity Taťána Kuchařová
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Taťána Kuchařová']
SELECT DISTINCT ?n WHERE { ?n property:spouse resource:Taťána_Kuchařová . ?n rdf:type ontology:common_name }
[]
common name
Q12042658
SYSTEM
Ondřej Brzobohatý
Q12042658
(c(Q502895),P26,Q153431)
action filter_type
action find_reverse
entity Q153431
relation P26
type Q502895
[ANSWER] is married to Taťána Kuchařová
[{'concept': 'Q502895'}, 'P26', 'Q153431']
SELECT DISTINCT ?n WHERE { ?n property:P26 resource:Q153431 . ?n rdf:type ontology:Q502895 }
Ondřej Brzobohatý
Ondřej Brzobohatý is married to Taťána Kuchařová
Ondřej Brzobohatý
action filter_type
action find_reverse
entity Taťána Kuchařová
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Taťána Kuchařová']
SELECT DISTINCT ?n WHERE { ?n property:spouse resource:Taťána_Kuchařová . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12042658
P40
Q502895
USER
Whose child is that one ?
(c(Q502895),P40,Q12042658)
action filter_type
action find_reverse
entity Q12042658
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q12042658']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q12042658 . ?r rdf:type ontology:Q502895 }
Ondřej Brzobohatý
action filter_type
action find_reverse
entity Ondřej Brzobohatý
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ondřej Brzobohatý']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Ondřej_Brzobohatý . ?r rdf:type ontology:common_name }
[]
common name
Q12018955
SYSTEM
Hana Gregorová
Q12018955
(c(Q502895),P40,Q12042658)
action filter_type
action find_reverse
entity Q12042658
relation P40
type Q502895
[ANSWER] is that one
[{'concept': 'Q502895'}, 'P40', 'Q12042658']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q12042658 . ?r rdf:type ontology:Q502895 }
Hana Gregorová
Hana Gregorová is that one
Hana Gregorová
action filter_type
action find_reverse
entity Ondřej Brzobohatý
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ondřej Brzobohatý']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Ondřej_Brzobohatý . ?r rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12018955 Q705746
P27
Q15617994
USER
Is Rosenberg the native country of Hana Gregorová ?
(Q12018955,P27,Q705746)
action is_in
entity Q705746
action find
entity Q12018955
relation P27
['Q12018955', 'P27', 'Q705746']
ASK WHERE { resource:Q12018955 property:P27 resource:Q705746 }
Hana Gregorová Rosenberg
action is_in
entity Rosenberg
action find
entity Hana Gregorová
relation country of citizenship
['Hana Gregorová', 'country of citizenship', 'Rosenberg']
ASK WHERE { resource:Hana_Gregorová property:country_of_citizenship resource:Rosenberg }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q12018955,P27,Q705746)
action is_in
entity Q705746
action find
entity Q12018955
relation P27
[ANSWER]
['Q12018955', 'P27', 'Q705746']
ASK WHERE { resource:Q12018955 property:P27 resource:Q705746 }
No
action is_in
entity Rosenberg
action find
entity Hana Gregorová
relation country of citizenship
['Hana Gregorová', 'country of citizenship', 'Rosenberg']
ASK WHERE { resource:Hana_Gregorová property:country_of_citizenship resource:Rosenberg }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1065362 Q12018955
P40
Q502895
USER
Which people are children of Hana Gregorová or Charles Longuet ?
OR((Q12018955,P40,c(Q502895)), (Q1065362,P40,c(Q502895)))
action filter_type
action union
action find
entity Q12018955
relation P40
action find
entity Q1065362
relation P40
type Q502895
{'OR': [['Q12018955', 'P40', {'concept': 'Q502895'}], ['Q1065362', 'P40', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . { { resource:Q12018955 property:P40 ?j } UNION { resource:Q1065362 property:P40 ?j } } }
Charles Longuet Hana Gregorová
action filter_type
action union
action find
entity Hana Gregorová
relation child
action find
entity Charles Longuet
relation child
type common name
{'OR': [['Hana Gregorová', 'child', {'concept': 'common name'}], ['Charles Longuet', 'child', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . { { resource:Hana_Gregorová property:child ?j } UNION { resource:Charles_Longuet property:child ?j } } }
[]
common name
Q14816057 Q14816634 Q1284023 Q465386 Q14815702 Q14815701 Q12042658
SYSTEM
Harry Longuet, Charles Longuet, Edgar Longuet, Jean Longuet, Marcel Longuet, Jenny Longuet, Ondřej Brzobohatý
Q14816057 Q14816634 Q1284023 Q465386 Q14815702 Q14815701 Q12042658
OR((Q12018955,P40,c(Q502895)), (Q1065362,P40,c(Q502895)))
action filter_type
action union
action find
entity Q12018955
relation P40
action find
entity Q1065362
relation P40
type Q502895
[ANSWERS] are children of Hana Gregorová or Charles Longuet
{'OR': [['Q12018955', 'P40', {'concept': 'Q502895'}], ['Q1065362', 'P40', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . { { resource:Q12018955 property:P40 ?j } UNION { resource:Q1065362 property:P40 ?j } } }
Harry Longuet Charles Longuet Edgar Longuet Jean Longuet Marcel Longuet Jenny Longuet Ondřej Brzobohatý
Harry Longuet, Charles Longuet, Edgar Longuet, Jean Longuet, Marcel Longuet, Jenny Longuet and Ondřej Brzobohatý are children of Hana Gregorová or Charles Longuet
Harry Longuet Charles Longuet Edgar Longuet Jean Longuet Marcel Longuet Jenny Longuet Ondřej Brzobohatý
action filter_type
action union
action find
entity Hana Gregorová
relation child
action find
entity Charles Longuet
relation child
type common name
{'OR': [['Hana Gregorová', 'child', {'concept': 'common name'}], ['Charles Longuet', 'child', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . { { resource:Hana_Gregorová property:child ?j } UNION { resource:Charles_Longuet property:child ?j } } }
[]