Simple Question (Direct)
Simple Question
Q2799612
P734
Q82799
USER
Who has the surname Carolyn McCormick ?
(Q2799612,P734,c(Q82799))
action filter_type
action find
entity Q2799612
relation P734
type Q82799
['Q2799612', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q82799 . resource:Q2799612 property:P734 ?s }
Carolyn McCormick
action filter_type
action find
entity Carolyn McCormick
relation family name
type name
['Carolyn McCormick', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:name . resource:Carolyn_McCormick property:family_name ?s }
[]
name
Q15224082
SYSTEM
McCormick
Q15224082
(Q2799612,P734,c(Q82799))
action filter_type
action find
entity Q2799612
relation P734
type Q82799
[ANSWER] has the surname Carolyn [ANSWER]
['Q2799612', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q82799 . resource:Q2799612 property:P734 ?s }
McCormick
McCormick has the surname Carolyn McCormick
McCormick
action filter_type
action find
entity Carolyn McCormick
relation family name
type name
['Carolyn McCormick', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:name . resource:Carolyn_McCormick property:family_name ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15224082
P407
Q34770
USER
Which language is that name in ?
(Q15224082,P407,c(Q34770))
action filter_type
action find
entity Q15224082
relation P407
type Q34770
['Q15224082', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q15224082 property:P407 ?b . ?b rdf:type ontology:Q34770 }
McCormick
action filter_type
action find
entity McCormick
relation language of work or name
type language
['McCormick', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:McCormick property:language_of_work_or_name ?b . ?b rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q15224082,P407,c(Q34770))
action filter_type
action find
entity Q15224082
relation P407
type Q34770
That is name in [ANSWER]
['Q15224082', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q15224082 property:P407 ?b . ?b rdf:type ontology:Q34770 }
English
That is name in English
English
action filter_type
action find
entity McCormick
relation language of work or name
type language
['McCormick', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:McCormick property:language_of_work_or_name ?b . ?b rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q5176173
P1412
Q502895
USER
Does Coulson Wallop speak that language ?
(Q5176173,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q5176173
relation P1412
['Q5176173', 'P1412', 'Q1860']
ASK WHERE { resource:Q5176173 property:P1412 resource:Q1860 }
English Coulson Wallop
action is_in
entity English
action find
entity Coulson Wallop
relation languages spoken, written or signed
['Coulson Wallop', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Coulson_Wallop property:languages_spoken,_written_or_signed resource:English }
[]
common name
SYSTEM
YES
(Q5176173,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q5176173
relation P1412
[ANSWER]
['Q5176173', 'P1412', 'Q1860']
ASK WHERE { resource:Q5176173 property:P1412 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Coulson Wallop
relation languages spoken, written or signed
['Coulson Wallop', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Coulson_Wallop property:languages_spoken,_written_or_signed resource:English }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2799612 Q667794 Q36
P27
Q15617994
USER
Is Carolyn McCormick a citizen of Eggern and Poland ?
(Q2799612,P27,Q667794) (Q2799612,P27,Q36)
action is_in
entity Q2799612
action intersection
action find_reverse
entity Q667794
relation P27
action find_reverse
entity Q36
relation P27
['Q2799612', 'P27', 'Q667794'] ['Q2799612', 'P27', 'Q36']
ASK WHERE { resource:Q2799612 property:P27 resource:Q667794 . resource:Q2799612 property:P27 resource:Q36 }
Carolyn McCormick Eggern Poland
action is_in
entity Carolyn McCormick
action intersection
action find_reverse
entity Eggern
relation country of citizenship
action find_reverse
entity Poland
relation country of citizenship
['Carolyn McCormick', 'country of citizenship', 'Eggern'] ['Carolyn McCormick', 'country of citizenship', 'Poland']
ASK WHERE { resource:Carolyn_McCormick property:country_of_citizenship resource:Eggern . resource:Carolyn_McCormick property:country_of_citizenship resource:Poland }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2799612,P27,Q667794) (Q2799612,P27,Q36)
action is_in
entity Q2799612
action intersection
action find_reverse
entity Q667794
relation P27
action find_reverse
entity Q36
relation P27
[ANSWER]
['Q2799612', 'P27', 'Q667794'] ['Q2799612', 'P27', 'Q36']
ASK WHERE { resource:Q2799612 property:P27 resource:Q667794 . resource:Q2799612 property:P27 resource:Q36 }
No
action is_in
entity Carolyn McCormick
action intersection
action find_reverse
entity Eggern
relation country of citizenship
action find_reverse
entity Poland
relation country of citizenship
['Carolyn McCormick', 'country of citizenship', 'Eggern'] ['Carolyn McCormick', 'country of citizenship', 'Poland']
ASK WHERE { resource:Carolyn_McCormick property:country_of_citizenship resource:Eggern . resource:Carolyn_McCormick property:country_of_citizenship resource:Poland }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20278 Q36
P47
Q15617994
USER
Which administrative territories are bordered by Poland or Ormea ?
OR((Q36,P47,c(Q15617994)), (Q20278,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q36
relation P47
action find
entity Q20278
relation P47
type Q15617994
{'OR': [['Q36', 'P47', {'concept': 'Q15617994'}], ['Q20278', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?p ) { ( resource:Q36 ) ( resource:Q20278 ) } . ?p property:P47 ?m } . ?m rdf:type ontology:Q15617994 }
Ormea Poland
action filter_type
action union
action find
entity Poland
relation shares border with
action find
entity Ormea
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Poland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Ormea', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?p ) { ( resource:Poland ) ( resource:Ormea ) } . ?p property:shares_border_with ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q37 Q19209 Q269319 Q20408 Q18344 Q184 Q270943 Q159 Q20090 Q213
SYSTEM
Some of them are Lithuania, Caprauna, Pornassio, Roburent, Alto, Belarus, Nasino, Russia, Garessio, Czech Republic
Q212 Q213 Q211 Q159 Q268742 Q214 Q19209 Q184 Q218 Q20414 Q269319 Q20090 Q37 Q18385 Q20056 Q20408 Q270943 Q20128 Q18344
OR((Q36,P47,c(Q15617994)), (Q20278,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q36
relation P47
action find
entity Q20278
relation P47
type Q15617994
[ANSWERS] are bordered by Poland or Ormea
{'OR': [['Q36', 'P47', {'concept': 'Q15617994'}], ['Q20278', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?p ) { ( resource:Q36 ) ( resource:Q20278 ) } . ?p property:P47 ?m } . ?m rdf:type ontology:Q15617994 }
Ukraine Czech Republic Latvia Russia Cosio di Arroscia Slovakia Caprauna Belarus Romania Roccaforte Mondovì Pornassio Garessio Lithuania Briga Alta Frabosa Soprana Roburent Nasino Magliano Alpi Alto
Lithuania, Caprauna, Pornassio, Roburent, Alto, Belarus, Nasino, Russia, Garessio and Czech Republic are bordered by Poland or Ormea
Lithuania Caprauna Pornassio Roburent Alto Belarus Nasino Russia Garessio Czech Republic
action filter_type
action union
action find
entity Poland
relation shares border with
action find
entity Ormea
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Poland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Ormea', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?p ) { ( resource:Poland ) ( resource:Ormea ) } . ?p property:shares_border_with ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]