Simple Question (Direct)
Simple Question
Q1394924
P21
Q290
USER
Which sex does John F. Lacey have ?
(Q1394924,P21,c(Q290))
action filter_type
action find
entity Q1394924
relation P21
type Q290
['Q1394924', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q1394924 property:P21 ?c . ?c rdf:type ontology:Q290 }
John F. Lacey
action filter_type
action find
entity John F. Lacey
relation gender
type sex
['John F. Lacey', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:John_F._Lacey property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1394924,P21,c(Q290))
action filter_type
action find
entity Q1394924
relation P21
type Q290
John F. Lacey has a [ANSWER]
['Q1394924', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q1394924 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
John F. Lacey has a male
male
action filter_type
action find
entity John F. Lacey
relation gender
type sex
['John F. Lacey', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:John_F._Lacey property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1394924
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q6581097,P102,c(Q7210356))
action filter_type
action find
entity Q1394924
relation P102
type Q7210356
['Q6581097', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q7210356 . resource:Q1394924 property:P102 ?q }
John F. Lacey
action filter_type
action find
entity John F. Lacey
relation member of political party
type political organization
['male', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_organization . resource:John_F._Lacey property:member_of_political_party ?q }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q6581097,P102,c(Q7210356))
action filter_type
action find
entity Q1394924
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q6581097', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q7210356 . resource:Q1394924 property:P102 ?q }
Republican Party
That person is affiliated with Republican Party
Republican Party
action filter_type
action find
entity John F. Lacey
relation member of political party
type political organization
['male', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_organization . resource:John_F._Lacey property:member_of_political_party ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q29468 Q3123990
P112
Q502895
USER
Is Gérard Gifuza the name of the founder of that political organization ?
(Q29468,P112,Q3123990)
action is_in
entity Q3123990
action find
entity Q29468
relation P112
['Q29468', 'P112', 'Q3123990']
ASK WHERE { resource:Q29468 property:P112 resource:Q3123990 }
Republican Party Gérard Gifuza
action is_in
entity Gérard Gifuza
action find
entity Republican Party
relation founder
['Republican Party', 'founder', 'Gérard Gifuza']
ASK WHERE { resource:Republican_Party property:founder resource:Gérard_Gifuza }
[]
common name
SYSTEM
NO
(Q29468,P112,Q3123990)
action is_in
entity Q3123990
action find
entity Q29468
relation P112
[ANSWER]
['Q29468', 'P112', 'Q3123990']
ASK WHERE { resource:Q29468 property:P112 resource:Q3123990 }
No
action is_in
entity Gérard Gifuza
action find
entity Republican Party
relation founder
['Republican Party', 'founder', 'Gérard Gifuza']
ASK WHERE { resource:Republican_Party property:founder resource:Gérard_Gifuza }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7297490 Q1394924
P607
Q198
USER
Which wars were John F. Lacey or Ray Forrest a part of ?
OR((Q1394924,P607,c(Q198)), (Q7297490,P607,c(Q198)))
action filter_type
action union
action find
entity Q1394924
relation P607
action find
entity Q7297490
relation P607
type Q198
{'OR': [['Q1394924', 'P607', {'concept': 'Q198'}], ['Q7297490', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1394924 property:P607 ?g } UNION { resource:Q7297490 property:P607 ?g } } . ?g rdf:type ontology:Q198 }
Ray Forrest John F. Lacey
action filter_type
action union
action find
entity John F. Lacey
relation conflict
action find
entity Ray Forrest
relation conflict
type war
{'OR': [['John F. Lacey', 'conflict', {'concept': 'war'}], ['Ray Forrest', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?g WHERE { { { resource:John_F._Lacey property:conflict ?g } UNION { resource:Ray_Forrest property:conflict ?g } } . ?g rdf:type ontology:war }
[]
war
Q362 Q8676
SYSTEM
World War II, American Civil War
Q362 Q8676
OR((Q1394924,P607,c(Q198)), (Q7297490,P607,c(Q198)))
action filter_type
action union
action find
entity Q1394924
relation P607
action find
entity Q7297490
relation P607
type Q198
The [ANSWERS] were John F. Lacey or Ray Forrest a part of
{'OR': [['Q1394924', 'P607', {'concept': 'Q198'}], ['Q7297490', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1394924 property:P607 ?g } UNION { resource:Q7297490 property:P607 ?g } } . ?g rdf:type ontology:Q198 }
World War II American Civil War
The World War II and American Civil War were John F. Lacey or Ray Forrest a part of
World War II American Civil War
action filter_type
action union
action find
entity John F. Lacey
relation conflict
action find
entity Ray Forrest
relation conflict
type war
{'OR': [['John F. Lacey', 'conflict', {'concept': 'war'}], ['Ray Forrest', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?g WHERE { { { resource:John_F._Lacey property:conflict ?g } UNION { resource:Ray_Forrest property:conflict ?g } } . ?g rdf:type ontology:war }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q210609
P607
Q52371
USER
Did those wars engage in 2nd Cavalry Regiment ?
(Q210609,P607,Q362) (Q210609,P607,Q8676)
action is_in
entity prev_answer
action find
entity Q210609
relation P607
['Q210609', 'P607', 'Q362'] ['Q210609', 'P607', 'Q8676']
ASK WHERE { VALUES ( ?u ) { ( resource:Q362 ) ( resource:Q8676 ) } . resource:Q210609 property:P607 ?u }
2nd Cavalry Regiment
action is_in
entity prev_answer
action find
entity 2nd Cavalry Regiment
relation conflict
['2nd Cavalry Regiment', 'conflict', 'World War II'] ['2nd Cavalry Regiment', 'conflict', 'American Civil War']
ASK WHERE { VALUES ( ?u ) { ( resource:World_War_II ) ( resource:American_Civil_War ) } . resource:2nd_Cavalry_Regiment property:conflict ?u }
[]
regiment
SYSTEM
YES
(Q210609,P607,Q362) (Q210609,P607,Q8676)
action is_in
entity prev_answer
action find
entity Q210609
relation P607
[ANSWER]
['Q210609', 'P607', 'Q362'] ['Q210609', 'P607', 'Q8676']
ASK WHERE { VALUES ( ?u ) { ( resource:Q362 ) ( resource:Q8676 ) } . resource:Q210609 property:P607 ?u }
Yes
action is_in
entity prev_answer
action find
entity 2nd Cavalry Regiment
relation conflict
['2nd Cavalry Regiment', 'conflict', 'World War II'] ['2nd Cavalry Regiment', 'conflict', 'American Civil War']
ASK WHERE { VALUES ( ?u ) { ( resource:World_War_II ) ( resource:American_Civil_War ) } . resource:2nd_Cavalry_Regiment property:conflict ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8676
P136
Q2342494
USER
Which collectable as American Civil War as its type ?
(c(Q2342494),P136,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P136
type Q2342494
[{'concept': 'Q2342494'}, 'P136', 'Q8676']
SELECT DISTINCT ?u WHERE { ?u property:P136 resource:Q8676 . ?u rdf:type ontology:Q2342494 }
American Civil War
action filter_type
action find_reverse
entity American Civil War
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'American Civil War']
SELECT DISTINCT ?u WHERE { ?u property:genre resource:American_Civil_War . ?u rdf:type ontology:collectable }
[]
collectable
Q5429709
SYSTEM
Failure in the Saddle: Nathan Bedford Forrest, Joseph Wheeler, and the Confederate Cavalry in the Chickamauga Campaign
Q5429709
(c(Q2342494),P136,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P136
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P136', 'Q8676']
SELECT DISTINCT ?u WHERE { ?u property:P136 resource:Q8676 . ?u rdf:type ontology:Q2342494 }
Failure in the Saddle: Nathan Bedford Forrest, Joseph Wheeler, and the Confederate Cavalry in the Chickamauga Campaign
Failure in the Saddle: Nathan Bedford Forrest, Joseph Wheeler, and the Confederate Cavalry in the Chickamauga Campaign
action filter_type
action find_reverse
entity American Civil War
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'American Civil War']
SELECT DISTINCT ?u WHERE { ?u property:genre resource:American_Civil_War . ?u rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8676
P1344
Q502895
USER
Who participated in that war ?
(c(Q502895),P1344,Q5429709)
action filter_type
action find_reverse
entity Q8676
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q5429709']
SELECT DISTINCT ?z WHERE { ?z property:P1344 resource:Q8676 . ?z rdf:type ontology:Q502895 }
American Civil War
action filter_type
action find_reverse
entity American Civil War
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', 'Failure in the Saddle: Nathan Bedford Forrest, Joseph Wheeler, and the Confederate Cavalry in the Chickamauga Campaign']
SELECT DISTINCT ?z WHERE { ?z property:participant_of resource:American_Civil_War . ?z rdf:type ontology:common_name }
[]
common name
Q20436726
SYSTEM
Matthias Ernest Rozsafy
Q20436726
(c(Q502895),P1344,Q5429709)
action filter_type
action find_reverse
entity Q8676
relation P1344
type Q502895
[ANSWER] participated in that war
[{'concept': 'Q502895'}, 'P1344', 'Q5429709']
SELECT DISTINCT ?z WHERE { ?z property:P1344 resource:Q8676 . ?z rdf:type ontology:Q502895 }
Matthias Ernest Rozsafy
Matthias Ernest Rozsafy participated in that war
Matthias Ernest Rozsafy
action filter_type
action find_reverse
entity American Civil War
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', 'Failure in the Saddle: Nathan Bedford Forrest, Joseph Wheeler, and the Confederate Cavalry in the Chickamauga Campaign']
SELECT DISTINCT ?z WHERE { ?z property:participant_of resource:American_Civil_War . ?z rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q20436726 Q210796 Q18427010
P19
Q56061
USER
Does that person have location of birth at Komárno and Santa Maria Frascati, L'Aquila ?
(Q20436726,P19,Q210796) (Q20436726,P19,Q18427010)
action is_in
entity Q20436726
action intersection
action find_reverse
entity Q210796
relation P19
action find_reverse
entity Q18427010
relation P19
['Q20436726', 'P19', 'Q210796'] ['Q20436726', 'P19', 'Q18427010']
ASK WHERE { resource:Q20436726 property:P19 resource:Q210796 . resource:Q20436726 property:P19 resource:Q18427010 }
Matthias Ernest Rozsafy Komárno Santa Maria Frascati, L'Aquila
action is_in
entity Matthias Ernest Rozsafy
action intersection
action find_reverse
entity Komárno
relation place of birth
action find_reverse
entity Santa Maria Frascati, L'Aquila
relation place of birth
['Matthias Ernest Rozsafy', 'place of birth', 'Komárno'] ['Matthias Ernest Rozsafy', 'place of birth', "Santa Maria Frascati, L'Aquila"]
ASK WHERE { resource:Matthias_Ernest_Rozsafy property:place_of_birth resource:Komárno . resource:Matthias_Ernest_Rozsafy property:place_of_birth resource:Santa_Maria_Frascati,_L'Aquila }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q20436726,P19,Q210796) (Q20436726,P19,Q18427010)
action is_in
entity Q20436726
action intersection
action find_reverse
entity Q210796
relation P19
action find_reverse
entity Q18427010
relation P19
[ANSWER]
['Q20436726', 'P19', 'Q210796'] ['Q20436726', 'P19', 'Q18427010']
ASK WHERE { resource:Q20436726 property:P19 resource:Q210796 . resource:Q20436726 property:P19 resource:Q18427010 }
YES and NO respectively
action is_in
entity Matthias Ernest Rozsafy
action intersection
action find_reverse
entity Komárno
relation place of birth
action find_reverse
entity Santa Maria Frascati, L'Aquila
relation place of birth
['Matthias Ernest Rozsafy', 'place of birth', 'Komárno'] ['Matthias Ernest Rozsafy', 'place of birth', "Santa Maria Frascati, L'Aquila"]
ASK WHERE { resource:Matthias_Ernest_Rozsafy property:place_of_birth resource:Komárno . resource:Matthias_Ernest_Rozsafy property:place_of_birth resource:Santa_Maria_Frascati,_L'Aquila }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3543719 Q1394924
P106
Q12737077
USER
Which occupations have John F. Lacey or Mitchi Love as his/her as a career ?
OR((Q1394924,P106,c(Q12737077)), (Q3543719,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1394924
relation P106
action find
entity Q3543719
relation P106
type Q12737077
{'OR': [['Q1394924', 'P106', {'concept': 'Q12737077'}], ['Q3543719', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1394924 property:P106 ?x } UNION { resource:Q3543719 property:P106 ?x } } . ?x rdf:type ontology:Q12737077 }
Mitchi Love John F. Lacey
action filter_type
action union
action find
entity John F. Lacey
relation occupation
action find
entity Mitchi Love
relation occupation
type occupation
{'OR': [['John F. Lacey', 'occupation', {'concept': 'occupation'}], ['Mitchi Love', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { { { resource:John_F._Lacey property:occupation ?x } UNION { resource:Mitchi_Love property:occupation ?x } } . ?x rdf:type ontology:occupation }
[]
occupation
Q82955 Q33999 Q189290
SYSTEM
politician, actor, officer
Q82955 Q33999 Q189290
OR((Q1394924,P106,c(Q12737077)), (Q3543719,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1394924
relation P106
action find
entity Q3543719
relation P106
type Q12737077
The [ANSWERS] have John F. Lacey or Mitchi Love as his/her as a career
{'OR': [['Q1394924', 'P106', {'concept': 'Q12737077'}], ['Q3543719', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1394924 property:P106 ?x } UNION { resource:Q3543719 property:P106 ?x } } . ?x rdf:type ontology:Q12737077 }
politician actor officer
The politician, actor and officer have John F. Lacey or Mitchi Love as his/her as a career
politician actor officer
action filter_type
action union
action find
entity John F. Lacey
relation occupation
action find
entity Mitchi Love
relation occupation
type occupation
{'OR': [['John F. Lacey', 'occupation', {'concept': 'occupation'}], ['Mitchi Love', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { { { resource:John_F._Lacey property:occupation ?x } UNION { resource:Mitchi_Love property:occupation ?x } } . ?x rdf:type ontology:occupation }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P101
Q502895 Q618779
USER
How many people or awards have specialisation in that occupation ?
(c(Q502895),P101,Q33999) (c(Q618779),P101,Q33999) (c(Q502895),P101,Q82955) (c(Q618779),P101,Q82955) (c(Q502895),P101,Q33999) (c(Q618779),P101,Q33999) (c(Q502895),P101,Q189290) (c(Q618779),P101,Q189290)
[{'concept': 'Q502895'}, 'P101', 'Q33999'] [{'concept': 'Q618779'}, 'P101', 'Q33999'] [{'concept': 'Q502895'}, 'P101', 'Q82955'] [{'concept': 'Q618779'}, 'P101', 'Q82955'] [{'concept': 'Q502895'}, 'P101', 'Q33999'] [{'concept': 'Q618779'}, 'P101', 'Q33999'] [{'concept': 'Q502895'}, 'P101', 'Q189290'] [{'concept': 'Q618779'}, 'P101', 'Q189290']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q627436 resource:Q33999 } UNION { ?y property:Q627436 resource:Q33999 } UNION { ?z property:Q627436 resource:Q82955 } UNION { ?y property:Q627436 resource:Q82955 } UNION { ?z property:Q627436 resource:Q33999 } UNION { ?y property:Q627436 resource:Q33999 } UNION { ?z property:Q627436 resource:Q189290 } UNION { ?y property:Q627436 resource:Q189290 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q618779 }
[{'concept': 'common name'}, 'field of work', 'actor'] [{'concept': 'award'}, 'field of work', 'actor'] [{'concept': 'common name'}, 'field of work', 'politician'] [{'concept': 'award'}, 'field of work', 'politician'] [{'concept': 'common name'}, 'field of work', 'actor'] [{'concept': 'award'}, 'field of work', 'actor'] [{'concept': 'common name'}, 'field of work', 'officer'] [{'concept': 'award'}, 'field of work', 'officer']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:field_of_work resource:actor } UNION { ?y property:field_of_work resource:actor } UNION { ?z property:field_of_work resource:politician } UNION { ?y property:field_of_work resource:politician } UNION { ?z property:field_of_work resource:actor } UNION { ?y property:field_of_work resource:actor } UNION { ?z property:field_of_work resource:officer } UNION { ?y property:field_of_work resource:officer } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:award }
[]
common name award
Quantitative|Count|Mult. entity type|Clarification
Q82955
SYSTEM
Did you mean politician ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q627436 resource:Q33999 } UNION { ?y property:Q627436 resource:Q33999 } UNION { ?z property:Q627436 resource:Q82955 } UNION { ?y property:Q627436 resource:Q82955 } UNION { ?z property:Q627436 resource:Q33999 } UNION { ?y property:Q627436 resource:Q33999 } UNION { ?z property:Q627436 resource:Q189290 } UNION { ?y property:Q627436 resource:Q189290 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q618779 }
Did you mean politician ?
politician
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:field_of_work resource:actor } UNION { ?y property:field_of_work resource:actor } UNION { ?z property:field_of_work resource:politician } UNION { ?y property:field_of_work resource:politician } UNION { ?z property:field_of_work resource:actor } UNION { ?y property:field_of_work resource:actor } UNION { ?z property:field_of_work resource:officer } UNION { ?y property:field_of_work resource:officer } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant actor. Could you tell me the answer for that?
(c(Q502895),P101,Q33999) (c(Q618779),P101,Q33999) (c(Q502895),P101,Q82955) (c(Q618779),P101,Q82955) (c(Q502895),P101,Q33999) (c(Q618779),P101,Q33999) (c(Q502895),P101,Q189290) (c(Q618779),P101,Q189290)
Q33999
[{'concept': 'Q502895'}, 'P101', 'Q33999'] [{'concept': 'Q618779'}, 'P101', 'Q33999'] [{'concept': 'Q502895'}, 'P101', 'Q82955'] [{'concept': 'Q618779'}, 'P101', 'Q82955'] [{'concept': 'Q502895'}, 'P101', 'Q33999'] [{'concept': 'Q618779'}, 'P101', 'Q33999'] [{'concept': 'Q502895'}, 'P101', 'Q189290'] [{'concept': 'Q618779'}, 'P101', 'Q189290']
[{'concept': 'common name'}, 'field of work', 'actor'] [{'concept': 'award'}, 'field of work', 'actor'] [{'concept': 'common name'}, 'field of work', 'politician'] [{'concept': 'award'}, 'field of work', 'politician'] [{'concept': 'common name'}, 'field of work', 'actor'] [{'concept': 'award'}, 'field of work', 'actor'] [{'concept': 'common name'}, 'field of work', 'officer'] [{'concept': 'award'}, 'field of work', 'officer']
[]
SYSTEM
3
Q1543426 Q5957599 Q3140773
(c(Q502895),P101,Q33999) (c(Q618779),P101,Q33999) (c(Q502895),P101,Q82955) (c(Q618779),P101,Q82955) (c(Q502895),P101,Q33999) (c(Q618779),P101,Q33999) (c(Q502895),P101,Q189290) (c(Q618779),P101,Q189290)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q33999'] [{'concept': 'Q618779'}, 'P101', 'Q33999'] [{'concept': 'Q502895'}, 'P101', 'Q82955'] [{'concept': 'Q618779'}, 'P101', 'Q82955'] [{'concept': 'Q502895'}, 'P101', 'Q33999'] [{'concept': 'Q618779'}, 'P101', 'Q33999'] [{'concept': 'Q502895'}, 'P101', 'Q189290'] [{'concept': 'Q618779'}, 'P101', 'Q189290']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q627436 resource:Q33999 } UNION { ?y property:Q627436 resource:Q33999 } UNION { ?z property:Q627436 resource:Q82955 } UNION { ?y property:Q627436 resource:Q82955 } UNION { ?z property:Q627436 resource:Q33999 } UNION { ?y property:Q627436 resource:Q33999 } UNION { ?z property:Q627436 resource:Q189290 } UNION { ?y property:Q627436 resource:Q189290 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q618779 }
NAACP Image Award for Outstanding Actor in a Drama Series Hamid Jebelli Rikako Aikawa
3
[{'concept': 'common name'}, 'field of work', 'actor'] [{'concept': 'award'}, 'field of work', 'actor'] [{'concept': 'common name'}, 'field of work', 'politician'] [{'concept': 'award'}, 'field of work', 'politician'] [{'concept': 'common name'}, 'field of work', 'actor'] [{'concept': 'award'}, 'field of work', 'actor'] [{'concept': 'common name'}, 'field of work', 'officer'] [{'concept': 'award'}, 'field of work', 'officer']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:field_of_work resource:actor } UNION { ?y property:field_of_work resource:actor } UNION { ?z property:field_of_work resource:politician } UNION { ?y property:field_of_work resource:politician } UNION { ?z property:field_of_work resource:actor } UNION { ?y property:field_of_work resource:actor } UNION { ?z property:field_of_work resource:officer } UNION { ?y property:field_of_work resource:officer } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:award }
[]