Simple Question (Direct)
Simple Question
Q1300575
P734
Q82799
USER
Which name is associated with John Mason Martin ?
(Q1300575,P734,c(Q82799))
action filter_type
action find
entity Q1300575
relation P734
type Q82799
['Q1300575', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q82799 . resource:Q1300575 property:P734 ?d }
John Mason Martin
action filter_type
action find
entity John Mason Martin
relation family name
type name
['John Mason Martin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:name . resource:John_Mason_Martin property:family_name ?d }
[]
name
Q17744604
SYSTEM
Martin
Q17744604
(Q1300575,P734,c(Q82799))
action filter_type
action find
entity Q1300575
relation P734
type Q82799
[ANSWER]
['Q1300575', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q82799 . resource:Q1300575 property:P734 ?d }
Martin
Martin
action filter_type
action find
entity John Mason Martin
relation family name
type name
['John Mason Martin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:name . resource:John_Mason_Martin property:family_name ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1300575
P19
Q56061
USER
Which administrative territory was John Mason Martin born in ?
(Q1300575,P19,c(Q56061))
action filter_type
action find
entity Q1300575
relation P19
type Q56061
['Q1300575', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q1300575 property:P19 ?g . ?g rdf:type ontology:Q56061 }
John Mason Martin
action filter_type
action find
entity John Mason Martin
relation place of birth
type administrative territorial entity
['John Mason Martin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:John_Mason_Martin property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q79439
SYSTEM
Athens
Q79439
(Q1300575,P19,c(Q56061))
action filter_type
action find
entity Q1300575
relation P19
type Q56061
[ANSWER]
['Q1300575', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q1300575 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Athens
Athens
action filter_type
action find
entity John Mason Martin
relation place of birth
type administrative territorial entity
['John Mason Martin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:John_Mason_Martin property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4783865 Q1300575
P27
Q15617994
USER
Which administrative territories do John Mason Martin or Araksia Gyulzadyan belong to ?
OR((Q1300575,P27,c(Q15617994)), (Q4783865,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1300575
relation P27
action find
entity Q4783865
relation P27
type Q15617994
{'OR': [['Q1300575', 'P27', {'concept': 'Q15617994'}], ['Q4783865', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1300575 property:P27 ?n } UNION { resource:Q4783865 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
Araksia Gyulzadyan John Mason Martin
action filter_type
action union
action find
entity John Mason Martin
relation country of citizenship
action find
entity Araksia Gyulzadyan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Mason Martin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Araksia Gyulzadyan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:John_Mason_Martin property:country_of_citizenship ?n } UNION { resource:Araksia_Gyulzadyan property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q399
SYSTEM
United States of America, Armenia
Q30 Q399
OR((Q1300575,P27,c(Q15617994)), (Q4783865,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1300575
relation P27
action find
entity Q4783865
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q1300575', 'P27', {'concept': 'Q15617994'}], ['Q4783865', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1300575 property:P27 ?n } UNION { resource:Q4783865 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
United States of America Armenia
United States of America Armenia
action filter_type
action union
action find
entity John Mason Martin
relation country of citizenship
action find
entity Araksia Gyulzadyan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Mason Martin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Araksia Gyulzadyan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:John_Mason_Martin property:country_of_citizenship ?n } UNION { resource:Araksia_Gyulzadyan property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2389114
P27
Q502895
USER
Are Raffi Hovannisian a native of those administrative territories ?
(Q2389114,P27,Q30) (Q2389114,P27,Q399)
action is_in
entity prev_answer
action find
entity Q2389114
relation P27
['Q2389114', 'P27', 'Q30'] ['Q2389114', 'P27', 'Q399']
ASK WHERE { VALUES ( ?q ) { ( resource:Q30 ) ( resource:Q399 ) } . resource:Q2389114 property:P27 ?q }
Raffi Hovannisian
action is_in
entity prev_answer
action find
entity Raffi Hovannisian
relation country of citizenship
['Raffi Hovannisian', 'country of citizenship', 'United States of America'] ['Raffi Hovannisian', 'country of citizenship', 'Armenia']
ASK WHERE { VALUES ( ?q ) { ( resource:United_States_of_America ) ( resource:Armenia ) } . resource:Raffi_Hovannisian property:country_of_citizenship ?q }
[]
common name
SYSTEM
YES
(Q2389114,P27,Q30) (Q2389114,P27,Q399)
action is_in
entity prev_answer
action find
entity Q2389114
relation P27
[ANSWER]
['Q2389114', 'P27', 'Q30'] ['Q2389114', 'P27', 'Q399']
ASK WHERE { VALUES ( ?q ) { ( resource:Q30 ) ( resource:Q399 ) } . resource:Q2389114 property:P27 ?q }
Yes
action is_in
entity prev_answer
action find
entity Raffi Hovannisian
relation country of citizenship
['Raffi Hovannisian', 'country of citizenship', 'United States of America'] ['Raffi Hovannisian', 'country of citizenship', 'Armenia']
ASK WHERE { VALUES ( ?q ) { ( resource:United_States_of_America ) ( resource:Armenia ) } . resource:Raffi_Hovannisian property:country_of_citizenship ?q }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q2389114
P1412 P40
Q502895
USER
Which people have Raffi Hovannisian as a child and speaks English ?
AND((c(Q502895),P40,Q2389114), (c(Q502895),P1412,Q1860))
action filter_type
action intersection
action find_reverse
entity Q2389114
relation P40
action find_reverse
entity Q1860
relation P1412
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q2389114'], [{'concept': 'Q502895'}, 'P1412', 'Q1860']]}
SELECT DISTINCT ?p WHERE { ?p property:P40 resource:Q2389114 . ?p property:P1412 resource:Q1860 . ?p rdf:type ontology:Q502895 }
English Raffi Hovannisian
action filter_type
action intersection
action find_reverse
entity Raffi Hovannisian
relation child
action find_reverse
entity English
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Raffi Hovannisian'], [{'concept': 'common name'}, 'languages spoken, written or signed', 'English']]}
SELECT DISTINCT ?p WHERE { ?p property:child resource:Raffi_Hovannisian . ?p property:languages_spoken,_written_or_signed resource:English . ?p rdf:type ontology:common_name }
[]
common name
Q2657741
SYSTEM
Richard G. Hovannisian
Q2657741
AND((c(Q502895),P40,Q2389114), (c(Q502895),P1412,Q1860))
action filter_type
action intersection
action find_reverse
entity Q2389114
relation P40
action find_reverse
entity Q1860
relation P1412
type Q502895
[ANSWER]
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q2389114'], [{'concept': 'Q502895'}, 'P1412', 'Q1860']]}
SELECT DISTINCT ?p WHERE { ?p property:P40 resource:Q2389114 . ?p property:P1412 resource:Q1860 . ?p rdf:type ontology:Q502895 }
Richard G. Hovannisian
Richard G. Hovannisian
action filter_type
action intersection
action find_reverse
entity Raffi Hovannisian
relation child
action find_reverse
entity English
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Raffi Hovannisian'], [{'concept': 'common name'}, 'languages spoken, written or signed', 'English']]}
SELECT DISTINCT ?p WHERE { ?p property:child resource:Raffi_Hovannisian . ?p property:languages_spoken,_written_or_signed resource:English . ?p rdf:type ontology:common_name }
[]