Simple Question (Direct)
Simple Question
Q3509294
P26
Q502895
USER
Which person is married to Gabriel Bengtsson Oxenstierna ?
(Q3509294,P26,c(Q502895))
action filter_type
action find
entity Q3509294
relation P26
type Q502895
['Q3509294', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q3509294 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Gabriel Bengtsson Oxenstierna
action filter_type
action find
entity Gabriel Bengtsson Oxenstierna
relation spouse
type common name
['Gabriel Bengtsson Oxenstierna', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Gabriel_Bengtsson_Oxenstierna property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q22670927
SYSTEM
Anna Gustafsdotter Banér
Q22670927
(Q3509294,P26,c(Q502895))
action filter_type
action find
entity Q3509294
relation P26
type Q502895
[ANSWER] is married to Gabriel Bengtsson Oxenstierna
['Q3509294', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q3509294 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Anna Gustafsdotter Banér
Anna Gustafsdotter Banér is married to Gabriel Bengtsson Oxenstierna
Anna Gustafsdotter Banér
action filter_type
action find
entity Gabriel Bengtsson Oxenstierna
relation spouse
type common name
['Gabriel Bengtsson Oxenstierna', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Gabriel_Bengtsson_Oxenstierna property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22670927
P25
Q502895
USER
Which people have that one as mom ?
(c(Q502895),P25,Q22670927)
action filter_type
action find_reverse
entity Q22670927
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q22670927']
SELECT DISTINCT ?n WHERE { ?n property:P25 resource:Q22670927 . ?n rdf:type ontology:Q502895 }
Anna Gustafsdotter Banér
action filter_type
action find_reverse
entity Anna Gustafsdotter Banér
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Anna Gustafsdotter Banér']
SELECT DISTINCT ?n WHERE { ?n property:mother resource:Anna_Gustafsdotter_Banér . ?n rdf:type ontology:common_name }
[]
common name
Q817239 Q6031780
SYSTEM
Bengt Gabrielsson Oxenstierna, Gustaf Gabrielsson Oxenstierna
Q817239 Q6031780
(c(Q502895),P25,Q22670927)
action filter_type
action find_reverse
entity Q22670927
relation P25
type Q502895
[ANSWERS] have that one as mom
[{'concept': 'Q502895'}, 'P25', 'Q22670927']
SELECT DISTINCT ?n WHERE { ?n property:P25 resource:Q22670927 . ?n rdf:type ontology:Q502895 }
Bengt Gabrielsson Oxenstierna Gustaf Gabrielsson Oxenstierna
Bengt Gabrielsson Oxenstierna and Gustaf Gabrielsson Oxenstierna have that one as mom
Bengt Gabrielsson Oxenstierna Gustaf Gabrielsson Oxenstierna
action filter_type
action find_reverse
entity Anna Gustafsdotter Banér
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Anna Gustafsdotter Banér']
SELECT DISTINCT ?n WHERE { ?n property:mother resource:Anna_Gustafsdotter_Banér . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q817239 Q6031780
P40
Q502895
USER
Whose child are Bengt Gabrielsson Oxenstierna and Gustaf Gabrielsson Oxenstierna ?
(c(Q502895),P40,Q817239) (c(Q502895),P40,Q6031780)
action union
action filter_type
action find_reverse
entity Q817239
relation P40
type Q502895
action filter_type
action find_reverse
entity Q6031780
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q817239'] [{'concept': 'Q502895'}, 'P40', 'Q6031780']
SELECT DISTINCT ?d WHERE { ?d property:P40 ?a . VALUES ( ?a ) { ( resource:Q6031780 ) ( resource:Q817239 ) } }
Bengt Gabrielsson Oxenstierna Gustaf Gabrielsson Oxenstierna
action union
action filter_type
action find_reverse
entity Bengt Gabrielsson Oxenstierna
relation child
type common name
action filter_type
action find_reverse
entity Gustaf Gabrielsson Oxenstierna
relation child
type common name
[{'concept': 'common name'}, 'child', 'Bengt Gabrielsson Oxenstierna'] [{'concept': 'common name'}, 'child', 'Gustaf Gabrielsson Oxenstierna']
SELECT DISTINCT ?d WHERE { ?d property:child ?a . VALUES ( ?a ) { ( resource:Gustaf_Gabrielsson_Oxenstierna ) ( resource:Bengt_Gabrielsson_Oxenstierna ) } }
[]
common name
Q3509294 Q3509294 Q22670927
SYSTEM
Gabriel Bengtsson Oxenstierna for 1st, 2nd, Anna Gustafsdotter Banér for 3rd
Q22670927 Q3509294 Q22670927 Q3509294
(c(Q502895),P40,Q817239) (c(Q502895),P40,Q6031780)
action union
action filter_type
action find_reverse
entity Q817239
relation P40
type Q502895
action filter_type
action find_reverse
entity Q6031780
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q817239'] [{'concept': 'Q502895'}, 'P40', 'Q6031780']
SELECT DISTINCT ?d WHERE { ?d property:P40 ?a . VALUES ( ?a ) { ( resource:Q6031780 ) ( resource:Q817239 ) } }
Anna Gustafsdotter Banér Gabriel Bengtsson Oxenstierna Anna Gustafsdotter Banér Gabriel Bengtsson Oxenstierna
Gabriel Bengtsson Oxenstierna, Gabriel Bengtsson Oxenstierna and Anna Gustafsdotter Banér are Bengt Gabrielsson Oxenstierna and Gustaf Gabrielsson Oxenstierna
Gabriel Bengtsson Oxenstierna Gabriel Bengtsson Oxenstierna Anna Gustafsdotter Banér
action union
action filter_type
action find_reverse
entity Bengt Gabrielsson Oxenstierna
relation child
type common name
action filter_type
action find_reverse
entity Gustaf Gabrielsson Oxenstierna
relation child
type common name
[{'concept': 'common name'}, 'child', 'Bengt Gabrielsson Oxenstierna'] [{'concept': 'common name'}, 'child', 'Gustaf Gabrielsson Oxenstierna']
SELECT DISTINCT ?d WHERE { ?d property:child ?a . VALUES ( ?a ) { ( resource:Gustaf_Gabrielsson_Oxenstierna ) ( resource:Bengt_Gabrielsson_Oxenstierna ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q817239
P7
Q502895
USER
Who is Bengt Gabrielsson Oxenstierna a brother of ?
(c(Q502895),P7,Q817239)
action filter_type
action find
entity Q817239
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q817239']
SELECT DISTINCT ?p WHERE { resource:Q817239 property:P7 ?p . ?p rdf:type ontology:Q502895 }
Bengt Gabrielsson Oxenstierna
action filter_type
action find
entity Bengt Gabrielsson Oxenstierna
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Bengt Gabrielsson Oxenstierna']
SELECT DISTINCT ?p WHERE { resource:Bengt_Gabrielsson_Oxenstierna property:brother ?p . ?p rdf:type ontology:common_name }
[]
common name
Q6031780
SYSTEM
Gustaf Gabrielsson Oxenstierna
Q6031780
(c(Q502895),P7,Q817239)
action filter_type
action find
entity Q817239
relation P7
type Q502895
[ANSWER] is Bengt Gabrielsson Oxenstierna a brother of
[{'concept': 'Q502895'}, 'P7', 'Q817239']
SELECT DISTINCT ?p WHERE { resource:Q817239 property:P7 ?p . ?p rdf:type ontology:Q502895 }
Gustaf Gabrielsson Oxenstierna
Gustaf Gabrielsson Oxenstierna is Bengt Gabrielsson Oxenstierna a brother of
Gustaf Gabrielsson Oxenstierna
action filter_type
action find
entity Bengt Gabrielsson Oxenstierna
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Bengt Gabrielsson Oxenstierna']
SELECT DISTINCT ?p WHERE { resource:Bengt_Gabrielsson_Oxenstierna property:brother ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3509294
P27
Q15617994
USER
Which administrative territory is Gabriel Bengtsson Oxenstierna an inhabitant of ?
(Q3509294,P27,c(Q15617994))
action filter_type
action find
entity Q3509294
relation P27
type Q15617994
['Q3509294', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q3509294 property:P27 ?s }
Gabriel Bengtsson Oxenstierna
action filter_type
action find
entity Gabriel Bengtsson Oxenstierna
relation country of citizenship
type designation for an administrative territorial entity
['Gabriel Bengtsson Oxenstierna', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gabriel_Bengtsson_Oxenstierna property:country_of_citizenship ?s }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q3509294,P27,c(Q15617994))
action filter_type
action find
entity Q3509294
relation P27
type Q15617994
[ANSWER] is Gabriel Bengtsson Oxenstierna an inhabitant of
['Q3509294', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q3509294 property:P27 ?s }
Sweden
Sweden is Gabriel Bengtsson Oxenstierna an inhabitant of
Sweden
action filter_type
action find
entity Gabriel Bengtsson Oxenstierna
relation country of citizenship
type designation for an administrative territorial entity
['Gabriel Bengtsson Oxenstierna', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gabriel_Bengtsson_Oxenstierna property:country_of_citizenship ?s }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16188087
Q15617994
USER
And what about Silje Hagrim Dahl?
(Q16188087,P27,c(Q15617994))
action filter_type
action find
entity Q16188087
relation P27
type Q15617994
['Q16188087', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q16188087 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Silje Hagrim Dahl
action filter_type
action find
entity Silje Hagrim Dahl
relation country of citizenship
type designation for an administrative territorial entity
['Silje Hagrim Dahl', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Silje_Hagrim_Dahl property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q16188087,P27,c(Q15617994))
action filter_type
action find
entity Q16188087
relation P27
type Q15617994
[ANSWER]
['Q16188087', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q16188087 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Norway
Norway
action filter_type
action find
entity Silje Hagrim Dahl
relation country of citizenship
type designation for an administrative territorial entity
['Silje Hagrim Dahl', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Silje_Hagrim_Dahl property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q20 Q7792515
P27
Q502895
USER
Is Thomas Monroe Campbell a citizen of that administrative territory ?
(Q7792515,P27,Q20)
action is_in
entity Q7792515
action find
entity Q20
relation P27
['Q7792515', 'P27', 'Q20']
ASK WHERE { resource:Q20 property:P27 resource:Q7792515 }
Norway Thomas Monroe Campbell
action is_in
entity Thomas Monroe Campbell
action find
entity Norway
relation country of citizenship
['Thomas Monroe Campbell', 'country of citizenship', 'Norway']
ASK WHERE { resource:Norway property:country_of_citizenship resource:Thomas_Monroe_Campbell }
[]
common name
SYSTEM
NO
(Q7792515,P27,Q20)
action is_in
entity Q7792515
action find
entity Q20
relation P27
[ANSWER]
['Q7792515', 'P27', 'Q20']
ASK WHERE { resource:Q20 property:P27 resource:Q7792515 }
No
action is_in
entity Thomas Monroe Campbell
action find
entity Norway
relation country of citizenship
['Thomas Monroe Campbell', 'country of citizenship', 'Norway']
ASK WHERE { resource:Norway property:country_of_citizenship resource:Thomas_Monroe_Campbell }
[]