Simple Question (Direct)
Simple Question
Q1571065
P27
Q1048835
USER
Which political territory is Oliver Primavesi an inhabitant of ?
(Q1571065,P27,c(Q1048835))
action filter_type
action find
entity Q1571065
relation P27
type Q1048835
['Q1571065', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q1571065 property:P27 ?q . ?q rdf:type ontology:Q1048835 }
Oliver Primavesi
action filter_type
action find
entity Oliver Primavesi
relation country of citizenship
type political territorial entity
['Oliver Primavesi', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Oliver_Primavesi property:country_of_citizenship ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1571065,P27,c(Q1048835))
action filter_type
action find
entity Q1571065
relation P27
type Q1048835
[ANSWER] is Oliver Primavesi an inhabitant of
['Q1571065', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q1571065 property:P27 ?q . ?q rdf:type ontology:Q1048835 }
Germany
Germany is Oliver Primavesi an inhabitant of
Germany
action filter_type
action find
entity Oliver Primavesi
relation country of citizenship
type political territorial entity
['Oliver Primavesi', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Oliver_Primavesi property:country_of_citizenship ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1571065
P463
Q48204
USER
Which voluntary association was that person a member of ?
(Q183,P463,c(Q48204))
action filter_type
action find
entity Q1571065
relation P463
type Q48204
['Q183', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q48204 . resource:Q1571065 property:P463 ?z }
Oliver Primavesi
action filter_type
action find
entity Oliver Primavesi
relation member of
type voluntary association
['Germany', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:voluntary_association . resource:Oliver_Primavesi property:member_of ?z }
[]
voluntary association
Q1583587
SYSTEM
Mommsen Society
Q1583587
(Q183,P463,c(Q48204))
action filter_type
action find
entity Q1571065
relation P463
type Q48204
[ANSWER] was that person a member of
['Q183', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q48204 . resource:Q1571065 property:P463 ?z }
Mommsen Society
Mommsen Society was that person a member of
Mommsen Society
action filter_type
action find
entity Oliver Primavesi
relation member of
type voluntary association
['Germany', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:voluntary_association . resource:Oliver_Primavesi property:member_of ?z }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1583587 Q25351 Q983378
P138
Q502895
USER
Does Mommsen Society have Theodor Mommsen and Huey Dunbar as its namesake ?
(Q1583587,P138,Q25351) (Q1583587,P138,Q983378)
action is_in
entity Q1583587
action intersection
action find_reverse
entity Q25351
relation P138
action find_reverse
entity Q983378
relation P138
['Q1583587', 'P138', 'Q25351'] ['Q1583587', 'P138', 'Q983378']
ASK WHERE { resource:Q1583587 property:P138 resource:Q25351 . resource:Q1583587 property:P138 resource:Q983378 }
Mommsen Society Theodor Mommsen Huey Dunbar
action is_in
entity Mommsen Society
action intersection
action find_reverse
entity Theodor Mommsen
relation named after
action find_reverse
entity Huey Dunbar
relation named after
['Mommsen Society', 'named after', 'Theodor Mommsen'] ['Mommsen Society', 'named after', 'Huey Dunbar']
ASK WHERE { resource:Mommsen_Society property:named_after resource:Theodor_Mommsen . resource:Mommsen_Society property:named_after resource:Huey_Dunbar }
[]
common name
SYSTEM
YES and NO respectively
(Q1583587,P138,Q25351) (Q1583587,P138,Q983378)
action is_in
entity Q1583587
action intersection
action find_reverse
entity Q25351
relation P138
action find_reverse
entity Q983378
relation P138
[ANSWER]
['Q1583587', 'P138', 'Q25351'] ['Q1583587', 'P138', 'Q983378']
ASK WHERE { resource:Q1583587 property:P138 resource:Q25351 . resource:Q1583587 property:P138 resource:Q983378 }
YES and NO respectively
action is_in
entity Mommsen Society
action intersection
action find_reverse
entity Theodor Mommsen
relation named after
action find_reverse
entity Huey Dunbar
relation named after
['Mommsen Society', 'named after', 'Theodor Mommsen'] ['Mommsen Society', 'named after', 'Huey Dunbar']
ASK WHERE { resource:Mommsen_Society property:named_after resource:Theodor_Mommsen . resource:Mommsen_Society property:named_after resource:Huey_Dunbar }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q25351
P1038 P21
Q502895
USER
Which people are related to Theodor Mommsen and are a male ?
AND((c(Q502895),P1038,Q25351), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q25351
relation P1038
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1038', 'Q25351'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e property:P1038 resource:Q25351 . ?e property:P21 resource:Q6581097 . ?e rdf:type ontology:Q502895 }
male Theodor Mommsen
action filter_type
action intersection
action find_reverse
entity Theodor Mommsen
relation relative
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'relative', 'Theodor Mommsen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e property:relative resource:Theodor_Mommsen . ?e property:gender resource:male . ?e rdf:type ontology:common_name }
[]
common name
Q97428 Q61863
SYSTEM
Tycho von Wilamowitz-Moellendorff, Ulrich von Wilamowitz-Moellendorff
Q97428 Q61863
AND((c(Q502895),P1038,Q25351), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q25351
relation P1038
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are related to Theodor Mommsen and are a male
{'AND': [[{'concept': 'Q502895'}, 'P1038', 'Q25351'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e property:P1038 resource:Q25351 . ?e property:P21 resource:Q6581097 . ?e rdf:type ontology:Q502895 }
Tycho von Wilamowitz-Moellendorff Ulrich von Wilamowitz-Moellendorff
Tycho von Wilamowitz-Moellendorff and Ulrich von Wilamowitz-Moellendorff are related to Theodor Mommsen and are a male
Tycho von Wilamowitz-Moellendorff Ulrich von Wilamowitz-Moellendorff
action filter_type
action intersection
action find_reverse
entity Theodor Mommsen
relation relative
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'relative', 'Theodor Mommsen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e property:relative resource:Theodor_Mommsen . ?e property:gender resource:male . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q97428 Q61863
P1038
Q502895
USER
Who are kins of Tycho von Wilamowitz-Moellendorff and Ulrich von Wilamowitz-Moellendorff ?
(c(Q502895),P1038,Q97428) (c(Q502895),P1038,Q61863)
action union
action filter_type
action find
entity Q97428
relation P1038
type Q502895
action filter_type
action find
entity Q61863
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q97428'] [{'concept': 'Q502895'}, 'P1038', 'Q61863']
SELECT DISTINCT ?a WHERE { VALUES ( ?t ) { ( resource:Q97428 ) ( resource:Q61863 ) } . ?t property:P1038 ?a }
Tycho von Wilamowitz-Moellendorff Ulrich von Wilamowitz-Moellendorff
action union
action filter_type
action find
entity Tycho von Wilamowitz-Moellendorff
relation relative
type common name
action filter_type
action find
entity Ulrich von Wilamowitz-Moellendorff
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Tycho von Wilamowitz-Moellendorff'] [{'concept': 'common name'}, 'relative', 'Ulrich von Wilamowitz-Moellendorff']
SELECT DISTINCT ?a WHERE { VALUES ( ?t ) { ( resource:Tycho_von_Wilamowitz-Moellendorff ) ( resource:Ulrich_von_Wilamowitz-Moellendorff ) } . ?t property:relative ?a }
[]
common name
Q25351 Q25351 Q1732404
SYSTEM
Theodor Mommsen for 1st, 2nd, Karl Mommsen for 3rd
Q124983 Q1732404 Q25351 Q1732404 Q25351
(c(Q502895),P1038,Q97428) (c(Q502895),P1038,Q61863)
action union
action filter_type
action find
entity Q97428
relation P1038
type Q502895
action filter_type
action find
entity Q61863
relation P1038
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1038', 'Q97428'] [{'concept': 'Q502895'}, 'P1038', 'Q61863']
SELECT DISTINCT ?a WHERE { VALUES ( ?t ) { ( resource:Q97428 ) ( resource:Q61863 ) } . ?t property:P1038 ?a }
Hugo von Wilamowitz-Moellendorff Karl Mommsen Theodor Mommsen Karl Mommsen Theodor Mommsen
Kins of Tycho von Wilamowitz-Moellendorff and Ulrich von Wilamowitz-Moellendorff are born Theodor Mommsen, Theodor Mommsen and Karl Mommsen
Theodor Mommsen Theodor Mommsen Karl Mommsen
action union
action filter_type
action find
entity Tycho von Wilamowitz-Moellendorff
relation relative
type common name
action filter_type
action find
entity Ulrich von Wilamowitz-Moellendorff
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Tycho von Wilamowitz-Moellendorff'] [{'concept': 'common name'}, 'relative', 'Ulrich von Wilamowitz-Moellendorff']
SELECT DISTINCT ?a WHERE { VALUES ( ?t ) { ( resource:Tycho_von_Wilamowitz-Moellendorff ) ( resource:Ulrich_von_Wilamowitz-Moellendorff ) } . ?t property:relative ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25351
P1412
Q34770
USER
Which language is spoken by Theodor Mommsen ?
(Q25351,P1412,c(Q34770))
action filter_type
action find
entity Q25351
relation P1412
type Q34770
['Q25351', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q25351 property:P1412 ?y }
Theodor Mommsen
action filter_type
action find
entity Theodor Mommsen
relation languages spoken, written or signed
type language
['Theodor Mommsen', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:Theodor_Mommsen property:languages_spoken,_written_or_signed ?y }
[]
language
Q397
SYSTEM
Latin
Q397
(Q25351,P1412,c(Q34770))
action filter_type
action find
entity Q25351
relation P1412
type Q34770
S [ANSWER] is spoken by Theodor Mommsen
['Q25351', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q25351 property:P1412 ?y }
Latin
S Latin is spoken by Theodor Mommsen
Latin
action filter_type
action find
entity Theodor Mommsen
relation languages spoken, written or signed
type language
['Theodor Mommsen', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:Theodor_Mommsen property:languages_spoken,_written_or_signed ?y }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1470383
Q34770
USER
And also tell me about Ricardo Ernesto Centellas Guzmán?
(Q1470383,P1412,c(Q34770))
action filter_type
action find
entity Q1470383
relation P1412
type Q34770
['Q1470383', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q1470383 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
Ricardo Ernesto Centellas Guzmán
action filter_type
action find
entity Ricardo Ernesto Centellas Guzmán
relation languages spoken, written or signed
type language
['Ricardo Ernesto Centellas Guzmán', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Ricardo_Ernesto_Centellas_Guzmán property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q1470383,P1412,c(Q34770))
action filter_type
action find
entity Q1470383
relation P1412
type Q34770
[ANSWER]
['Q1470383', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q1470383 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
Spanish
Spanish
action filter_type
action find
entity Ricardo Ernesto Centellas Guzmán
relation languages spoken, written or signed
type language
['Ricardo Ernesto Centellas Guzmán', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Ricardo_Ernesto_Centellas_Guzmán property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q25351
P1038 P21
Q502895
USER
Which people are related to Theodor Mommsen and have the gender as male ?
AND((c(Q502895),P1038,Q25351), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q25351
relation P1038
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1038', 'Q25351'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P21 resource:Q6581097 . ?j property:P1038 resource:Q25351 . ?j rdf:type ontology:Q502895 }
male Theodor Mommsen
action filter_type
action intersection
action find_reverse
entity Theodor Mommsen
relation relative
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'relative', 'Theodor Mommsen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:gender resource:male . ?j property:relative resource:Theodor_Mommsen . ?j rdf:type ontology:common_name }
[]
common name
Q97428 Q61863
SYSTEM
Tycho von Wilamowitz-Moellendorff, Ulrich von Wilamowitz-Moellendorff
Q97428 Q61863
AND((c(Q502895),P1038,Q25351), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q25351
relation P1038
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are related to Theodor Mommsen and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P1038', 'Q25351'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P21 resource:Q6581097 . ?j property:P1038 resource:Q25351 . ?j rdf:type ontology:Q502895 }
Tycho von Wilamowitz-Moellendorff Ulrich von Wilamowitz-Moellendorff
Tycho von Wilamowitz-Moellendorff and Ulrich von Wilamowitz-Moellendorff are related to Theodor Mommsen and have the gender as male
Tycho von Wilamowitz-Moellendorff Ulrich von Wilamowitz-Moellendorff
action filter_type
action intersection
action find_reverse
entity Theodor Mommsen
relation relative
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'relative', 'Theodor Mommsen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:gender resource:male . ?j property:relative resource:Theodor_Mommsen . ?j rdf:type ontology:common_name }
[]