Simple Question (Direct)
Simple Question
Q4772951
P54
Q874405
USER
Which social group is Anthony Lloyd a member of ?
(Q4772951,P54,c(Q874405))
action filter_type
action find
entity Q4772951
relation P54
type Q874405
['Q4772951', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?e WHERE { resource:Q4772951 property:P54 ?e . ?e rdf:type ontology:Q874405 }
Anthony Lloyd
action filter_type
action find
entity Anthony Lloyd
relation member of sports team
type social group
['Anthony Lloyd', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?e WHERE { resource:Anthony_Lloyd property:member_of_sports_team ?e . ?e rdf:type ontology:social_group }
[]
social group
Q896965
SYSTEM
Bradford Park Avenue A.F.C.
Q896965
(Q4772951,P54,c(Q874405))
action filter_type
action find
entity Q4772951
relation P54
type Q874405
[ANSWER] is Anthony Lloyd a member of
['Q4772951', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?e WHERE { resource:Q4772951 property:P54 ?e . ?e rdf:type ontology:Q874405 }
Bradford Park Avenue A.F.C.
Bradford Park Avenue A.F.C. is Anthony Lloyd a member of
Bradford Park Avenue A.F.C.
action filter_type
action find
entity Anthony Lloyd
relation member of sports team
type social group
['Anthony Lloyd', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?e WHERE { resource:Anthony_Lloyd property:member_of_sports_team ?e . ?e rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4772951
P734
Q82799
USER
Who is associated with that person ?
(Q896965,P734,c(Q82799))
action filter_type
action find
entity Q4772951
relation P734
type Q82799
['Q896965', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q4772951 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Anthony Lloyd
action filter_type
action find
entity Anthony Lloyd
relation family name
type name
['Bradford Park Avenue A.F.C.', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Anthony_Lloyd property:family_name ?b . ?b rdf:type ontology:name }
[]
name
Q1287630
SYSTEM
Lloyd
Q1287630
(Q896965,P734,c(Q82799))
action filter_type
action find
entity Q4772951
relation P734
type Q82799
[ANSWER] is associated with that person
['Q896965', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q4772951 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Lloyd
Lloyd is associated with that person
Lloyd
action filter_type
action find
entity Anthony Lloyd
relation family name
type name
['Bradford Park Avenue A.F.C.', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Anthony_Lloyd property:family_name ?b . ?b rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P407
Q34770
USER
How many languages are that name composed in ?
(Q1287630,P407,c(Q34770))
action count
action filter_type
action find
entity Q1287630
relation P407
type Q34770
['Q1287630', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q1287630 property:P407 ?l . ?l rdf:type ontology:Q34770 }
action count
action filter_type
action find
entity Lloyd
relation language of work or name
type language
['Lloyd', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Lloyd property:language_of_work_or_name ?l . ?l rdf:type ontology:language }
[]
language
SYSTEM
1
Q1860
(Q1287630,P407,c(Q34770))
action count
action filter_type
action find
entity Q1287630
relation P407
type Q34770
[ANSWER]
['Q1287630', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q1287630 property:P407 ?l . ?l rdf:type ontology:Q34770 }
English
1
action count
action filter_type
action find
entity Lloyd
relation language of work or name
type language
['Lloyd', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Lloyd property:language_of_work_or_name ?l . ?l rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5200953 Q4772951
P27
Q15617994
USER
Which administrative territories are Anthony Lloyd or Cyrille Mangan a civilian of ?
OR((Q4772951,P27,c(Q15617994)), (Q5200953,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4772951
relation P27
action find
entity Q5200953
relation P27
type Q15617994
{'OR': [['Q4772951', 'P27', {'concept': 'Q15617994'}], ['Q5200953', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q4772951 property:P27 ?m } UNION { resource:Q5200953 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Cyrille Mangan Anthony Lloyd
action filter_type
action union
action find
entity Anthony Lloyd
relation country of citizenship
action find
entity Cyrille Mangan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Anthony Lloyd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Cyrille Mangan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Anthony_Lloyd property:country_of_citizenship ?m } UNION { resource:Cyrille_Mangan property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1009 Q145
SYSTEM
Cameroon, United Kingdom
Q1009 Q145
OR((Q4772951,P27,c(Q15617994)), (Q5200953,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4772951
relation P27
action find
entity Q5200953
relation P27
type Q15617994
[ANSWERS] are Anthony Lloyd or Cyrille Mangan a civilian of
{'OR': [['Q4772951', 'P27', {'concept': 'Q15617994'}], ['Q5200953', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q4772951 property:P27 ?m } UNION { resource:Q5200953 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Cameroon United Kingdom
Cameroon and United Kingdom are Anthony Lloyd or Cyrille Mangan a civilian of
Cameroon United Kingdom
action filter_type
action union
action find
entity Anthony Lloyd
relation country of citizenship
action find
entity Cyrille Mangan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Anthony Lloyd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Cyrille Mangan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Anthony_Lloyd property:country_of_citizenship ?m } UNION { resource:Cyrille_Mangan property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21832954 Q4772951
P27
Q15617994
USER
Which administrative territories are Anthony Lloyd or Michelangelo Notarianni an inhabitant of ?
OR((Q4772951,P27,c(Q15617994)), (Q21832954,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4772951
relation P27
action find
entity Q21832954
relation P27
type Q15617994
{'OR': [['Q4772951', 'P27', {'concept': 'Q15617994'}], ['Q21832954', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { ?h property:P27 ?p . VALUES ( ?h ) { ( resource:Q4772951 ) ( resource:Q21832954 ) } } . ?p rdf:type ontology:Q15617994 }
Michelangelo Notarianni Anthony Lloyd
action filter_type
action union
action find
entity Anthony Lloyd
relation country of citizenship
action find
entity Michelangelo Notarianni
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Anthony Lloyd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Michelangelo Notarianni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { ?h property:country_of_citizenship ?p . VALUES ( ?h ) { ( resource:Anthony_Lloyd ) ( resource:Michelangelo_Notarianni ) } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q145
SYSTEM
Italy, United Kingdom
Q38 Q145
OR((Q4772951,P27,c(Q15617994)), (Q21832954,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4772951
relation P27
action find
entity Q21832954
relation P27
type Q15617994
[ANSWERS] are Anthony Lloyd or Michelangelo Notarianni an inhabitant of
{'OR': [['Q4772951', 'P27', {'concept': 'Q15617994'}], ['Q21832954', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { ?h property:P27 ?p . VALUES ( ?h ) { ( resource:Q4772951 ) ( resource:Q21832954 ) } } . ?p rdf:type ontology:Q15617994 }
Italy United Kingdom
Italy and United Kingdom are Anthony Lloyd or Michelangelo Notarianni an inhabitant of
Italy United Kingdom
action filter_type
action union
action find
entity Anthony Lloyd
relation country of citizenship
action find
entity Michelangelo Notarianni
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Anthony Lloyd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Michelangelo Notarianni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { ?h property:country_of_citizenship ?p . VALUES ( ?h ) { ( resource:Anthony_Lloyd ) ( resource:Michelangelo_Notarianni ) } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7750023
P495
Q838948
USER
Does The Man from Cairo originate at those administrative territories ?
(Q7750023,P495,Q38) (Q7750023,P495,Q145)
action is_in
entity prev_answer
action find
entity Q7750023
relation P495
['Q7750023', 'P495', 'Q38'] ['Q7750023', 'P495', 'Q145']
ASK WHERE { VALUES ( ?a ) { ( resource:Q38 ) ( resource:Q145 ) } . resource:Q7750023 property:P495 ?a }
The Man from Cairo
action is_in
entity prev_answer
action find
entity The Man from Cairo
relation country of origin
['The Man from Cairo', 'country of origin', 'Italy'] ['The Man from Cairo', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?a ) { ( resource:Italy ) ( resource:United_Kingdom ) } . resource:The_Man_from_Cairo property:country_of_origin ?a }
[]
work of art
SYSTEM
YES
(Q7750023,P495,Q38) (Q7750023,P495,Q145)
action is_in
entity prev_answer
action find
entity Q7750023
relation P495
[ANSWER]
['Q7750023', 'P495', 'Q38'] ['Q7750023', 'P495', 'Q145']
ASK WHERE { VALUES ( ?a ) { ( resource:Q38 ) ( resource:Q145 ) } . resource:Q7750023 property:P495 ?a }
Yes
action is_in
entity prev_answer
action find
entity The Man from Cairo
relation country of origin
['The Man from Cairo', 'country of origin', 'Italy'] ['The Man from Cairo', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?a ) { ( resource:Italy ) ( resource:United_Kingdom ) } . resource:The_Man_from_Cairo property:country_of_origin ?a }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4772951 Q145 Q42849
P27
Q15617994
USER
Is Anthony Lloyd a civilian of United Kingdom and Trigolo ?
(Q4772951,P27,Q145) (Q4772951,P27,Q42849)
action is_in
entity Q4772951
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q42849
relation P27
['Q4772951', 'P27', 'Q145'] ['Q4772951', 'P27', 'Q42849']
ASK WHERE { resource:Q4772951 property:P27 resource:Q145 . resource:Q4772951 property:P27 resource:Q42849 }
Anthony Lloyd United Kingdom Trigolo
action is_in
entity Anthony Lloyd
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Trigolo
relation country of citizenship
['Anthony Lloyd', 'country of citizenship', 'United Kingdom'] ['Anthony Lloyd', 'country of citizenship', 'Trigolo']
ASK WHERE { resource:Anthony_Lloyd property:country_of_citizenship resource:United_Kingdom . resource:Anthony_Lloyd property:country_of_citizenship resource:Trigolo }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q4772951,P27,Q145) (Q4772951,P27,Q42849)
action is_in
entity Q4772951
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q42849
relation P27
[ANSWER]
['Q4772951', 'P27', 'Q145'] ['Q4772951', 'P27', 'Q42849']
ASK WHERE { resource:Q4772951 property:P27 resource:Q145 . resource:Q4772951 property:P27 resource:Q42849 }
YES and NO respectively
action is_in
entity Anthony Lloyd
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Trigolo
relation country of citizenship
['Anthony Lloyd', 'country of citizenship', 'United Kingdom'] ['Anthony Lloyd', 'country of citizenship', 'Trigolo']
ASK WHERE { resource:Anthony_Lloyd property:country_of_citizenship resource:United_Kingdom . resource:Anthony_Lloyd property:country_of_citizenship resource:Trigolo }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3794545
P364
Q34770
USER
Which language was used originally for the creation of Il mammo ?
(Q3794545,P364,c(Q34770))
action filter_type
action find
entity Q3794545
relation P364
type Q34770
['Q3794545', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q3794545 property:P364 ?l . ?l rdf:type ontology:Q34770 }
Il mammo
action filter_type
action find
entity Il mammo
relation original language of work
type language
['Il mammo', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Il_mammo property:original_language_of_work ?l . ?l rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3794545,P364,c(Q34770))
action filter_type
action find
entity Q3794545
relation P364
type Q34770
[ANSWER] was used originally for the creation of Il mammo
['Q3794545', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q3794545 property:P364 ?l . ?l rdf:type ontology:Q34770 }
Italian
Italian was used originally for the creation of Il mammo
Italian
action filter_type
action find
entity Il mammo
relation original language of work
type language
['Il mammo', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Il_mammo property:original_language_of_work ?l . ?l rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q652 Q4007147
P364
Q838948
USER
Does Vacanze di Natale a Cortina have that one as its original language of creation ?
(Q4007147,P364,Q652)
action is_in
entity Q652
action find
entity Q4007147
relation P364
['Q4007147', 'P364', 'Q652']
ASK WHERE { resource:Q4007147 property:P364 resource:Q652 }
Italian Vacanze di Natale a Cortina
action is_in
entity Italian
action find
entity Vacanze di Natale a Cortina
relation original language of work
['Vacanze di Natale a Cortina', 'original language of work', 'Italian']
ASK WHERE { resource:Vacanze_di_Natale_a_Cortina property:original_language_of_work resource:Italian }
[]
work of art
SYSTEM
YES
(Q4007147,P364,Q652)
action is_in
entity Q652
action find
entity Q4007147
relation P364
[ANSWER]
['Q4007147', 'P364', 'Q652']
ASK WHERE { resource:Q4007147 property:P364 resource:Q652 }
Yes
action is_in
entity Italian
action find
entity Vacanze di Natale a Cortina
relation original language of work
['Vacanze di Natale a Cortina', 'original language of work', 'Italian']
ASK WHERE { resource:Vacanze_di_Natale_a_Cortina property:original_language_of_work resource:Italian }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3984914 Q3794545
P19 P495
Q15617994
USER
Which administrative territories are the countries of origin of Il mammo or were Terzilio Cardinali born ?
OR((Q3794545,P495,c(Q15617994)), (Q3984914,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q3794545
relation P495
action find
entity Q3984914
relation P19
type Q15617994
{'OR': [['Q3794545', 'P495', {'concept': 'Q15617994'}], ['Q3984914', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q3794545 property:P495 ?j } UNION { resource:Q3984914 property:P19 ?j } } . ?j rdf:type ontology:Q15617994 }
Terzilio Cardinali Il mammo
action filter_type
action union
action find
entity Il mammo
relation country of origin
action find
entity Terzilio Cardinali
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Il mammo', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Terzilio Cardinali', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Il_mammo property:country_of_origin ?j } UNION { resource:Terzilio_Cardinali property:place_of_birth ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q52104
SYSTEM
Italy, Terranuova Bracciolini
Q38 Q52104
OR((Q3794545,P495,c(Q15617994)), (Q3984914,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q3794545
relation P495
action find
entity Q3984914
relation P19
type Q15617994
[ANSWERS] are the countries of origin of Il mammo or were Terzilio Cardinali born
{'OR': [['Q3794545', 'P495', {'concept': 'Q15617994'}], ['Q3984914', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q3794545 property:P495 ?j } UNION { resource:Q3984914 property:P19 ?j } } . ?j rdf:type ontology:Q15617994 }
Italy Terranuova Bracciolini
Italy and Terranuova Bracciolini are the countries of origin of Il mammo or were Terzilio Cardinali born
Italy Terranuova Bracciolini
action filter_type
action union
action find
entity Il mammo
relation country of origin
action find
entity Terzilio Cardinali
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Il mammo', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Terzilio Cardinali', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Il_mammo property:country_of_origin ?j } UNION { resource:Terzilio_Cardinali property:place_of_birth ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]