Simple Question (Direct)
Simple Question
Q7546560
P161
Q502895
USER
Who starred in Smrt čoveka na Balkanu ?
(Q7546560,P161,c(Q502895))
action filter_type
action find
entity Q7546560
relation P161
type Q502895
['Q7546560', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q7546560 property:P161 ?i }
Smrt čoveka na Balkanu
action filter_type
action find
entity Smrt čoveka na Balkanu
relation cast member
type common name
['Smrt čoveka na Balkanu', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Smrt_čoveka_na_Balkanu property:cast_member ?i }
[]
common name
Q291983 Q1260865 Q284498
SYSTEM
Nataša Ninković, Nikola Kojo, Mirjana Karanović
Q12749246 Q11039554 Q284498 Q291983 Q311618 Q8068711 Q1263764 Q3390304 Q12755380 Q1267155 Q1260865 Q12758129
(Q7546560,P161,c(Q502895))
action filter_type
action find
entity Q7546560
relation P161
type Q502895
[ANSWERS] starred in Smrt čoveka na Balkanu
['Q7546560', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q7546560 property:P161 ?i }
Bojan Žirović Anita Mančić Mirjana Karanović Nataša Ninković Ljubomir Bandović Zelda Tinska Emir Hadžihafizbegović Branislav Trifunović Milica Mihajlović Nikola Đuričko Nikola Kojo Radoslav Milenković
Nataša Ninković, Nikola Kojo and Mirjana Karanović starred in Smrt čoveka na Balkanu
Nataša Ninković Nikola Kojo Mirjana Karanović
action filter_type
action find
entity Smrt čoveka na Balkanu
relation cast member
type common name
['Smrt čoveka na Balkanu', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Smrt_čoveka_na_Balkanu property:cast_member ?i }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1260865
P27
Q7275
USER
Which states do that person belong to ?
(Q1260865,P27,c(Q7275))
action filter_type
action find
entity Q1260865
relation P27
type Q7275
['Q1260865', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7275 . resource:Q1260865 property:P27 ?n }
Nikola Kojo
action filter_type
action find
entity Nikola Kojo
relation country of citizenship
type state
['Nikola Kojo', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:state . resource:Nikola_Kojo property:country_of_citizenship ?n }
[]
state
Clarification for simple ques.
Q291983
SYSTEM
Did you mean Nataša Ninković ?
Q291983 Q1260865 Q284498
(Q291983,P27,c(Q7275)) (Q1260865,P27,c(Q7275)) (Q284498,P27,c(Q7275))
[ANSWER]
['Q291983', 'P27', {'concept': 'Q7275'}] ['Q1260865', 'P27', {'concept': 'Q7275'}] ['Q284498', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7275 . resource:Q1260865 property:P27 ?n }
Nataša Ninković Nikola Kojo Mirjana Karanović
Did you mean Nataša Ninković ?
Nataša Ninković
['Nataša Ninković', 'country of citizenship', {'concept': 'state'}] ['Nikola Kojo', 'country of citizenship', {'concept': 'state'}] ['Mirjana Karanović', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:state . resource:Nikola_Kojo property:country_of_citizenship ?n }
[]
Simple Question (Coreferenced)
USER
No, I meant Nikola Kojo. Could you tell me the answer for that?
(Q1260865,P27,c(Q7275))
Q1260865
['Q1260865', 'P27', {'concept': 'Q7275'}]
['Nikola Kojo', 'country of citizenship', {'concept': 'state'}]
[]
Q83286 Q37024
SYSTEM
Socialist Federal Republic of Yugoslavia, Serbia and Montenegro
Q83286 Q37024
(Q1260865,P27,c(Q7275))
action filter_type
action find
entity Q1260865
relation P27
type Q7275
That person belong to [ANSWERS]
['Q1260865', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7275 . resource:Q1260865 property:P27 ?n }
Socialist Federal Republic of Yugoslavia Serbia and Montenegro
That person belong to Socialist Federal Republic of Yugoslavia and Serbia and Montenegro
Socialist Federal Republic of Yugoslavia Serbia and Montenegro
action filter_type
action find
entity Nikola Kojo
relation country of citizenship
type state
['Nikola Kojo', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:state . resource:Nikola_Kojo property:country_of_citizenship ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1260865
P161
Q838948
USER
How many works of art have Nikola Kojo in their star cast ?
(c(Q838948),P161,Q1260865)
action count
action filter_type
action find_reverse
entity Q1260865
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1260865']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P161 resource:Q1260865 . ?z rdf:type ontology:Q838948 }
Nikola Kojo
action count
action filter_type
action find_reverse
entity Nikola Kojo
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Nikola Kojo']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:cast_member resource:Nikola_Kojo . ?z rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
21
Q6430325 Q8750025 Q12749487 Q21999962 Q18713274 Q7728617 Q585821 Q3448031 Q2530135 Q12752161 Q7546560 Q7977318 Q12760162 Q3437263 Q7774591 Q16088405 Q2051292 Q3179404 Q15304820 Q4846666 Q3405395
(c(Q838948),P161,Q1260865)
action count
action filter_type
action find_reverse
entity Q1260865
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q1260865']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P161 resource:Q1260865 . ?z rdf:type ontology:Q838948 }
Kontakt Shadows of Memories Boomerang The Brave Adventures of a Little Shoemaker Black Gruya and the Stone of Wisdom The Dagger Life Is a Miracle Skinning Pretty Village, Pretty Flame Ivkova Slava Smrt čoveka na Balkanu We Are Not Angels Wheels Foolish Years The White Suit Šta se zgoda kad se ljubav rode The Parade The Wounds The Fourth Man Sky Hook Bal-Can-Can
21
action count
action filter_type
action find_reverse
entity Nikola Kojo
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Nikola Kojo']
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:cast_member resource:Nikola_Kojo . ?z rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q250041
P1412
Q34770
USER
Which language can Michael Hurst understand ?
(Q250041,P1412,c(Q34770))
action filter_type
action find
entity Q250041
relation P1412
type Q34770
['Q250041', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q250041 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Michael Hurst
action filter_type
action find
entity Michael Hurst
relation languages spoken, written or signed
type language
['Michael Hurst', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Michael_Hurst property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q250041,P1412,c(Q34770))
action filter_type
action find
entity Q250041
relation P1412
type Q34770
Michael Hurst can understand [ANSWER]
['Q250041', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q250041 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
English
Michael Hurst can understand English
English
action filter_type
action find
entity Michael Hurst
relation languages spoken, written or signed
type language
['Michael Hurst', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Michael_Hurst property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q250041
P26
Q502895
USER
Which person is the spouse of Michael Hurst ?
(Q250041,P26,c(Q502895))
action filter_type
action find
entity Q250041
relation P26
type Q502895
['Q250041', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q250041 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Michael Hurst
action filter_type
action find
entity Michael Hurst
relation spouse
type common name
['Michael Hurst', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Michael_Hurst property:spouse ?v . ?v rdf:type ontology:common_name }
[]
common name
Q6178922
SYSTEM
Jennifer Ward-Lealand
Q6178922
(Q250041,P26,c(Q502895))
action filter_type
action find
entity Q250041
relation P26
type Q502895
[ANSWER] is the spouse of Michael Hurst
['Q250041', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q250041 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Jennifer Ward-Lealand
Jennifer Ward-Lealand is the spouse of Michael Hurst
Jennifer Ward-Lealand
action filter_type
action find
entity Michael Hurst
relation spouse
type common name
['Michael Hurst', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Michael_Hurst property:spouse ?v . ?v rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q6178922 Q4699699 Q2093755
P26
Q502895
USER
Does that person have Ajeet Bajaj and Pierre Parat as spouse ?
(Q6178922,P26,Q4699699) (Q6178922,P26,Q2093755)
action is_in
entity Q6178922
action intersection
action find_reverse
entity Q4699699
relation P26
action find_reverse
entity Q2093755
relation P26
['Q6178922', 'P26', 'Q4699699'] ['Q6178922', 'P26', 'Q2093755']
ASK WHERE { resource:Q6178922 property:P26 resource:Q4699699 . resource:Q6178922 property:P26 resource:Q2093755 }
Jennifer Ward-Lealand Ajeet Bajaj Pierre Parat
action is_in
entity Jennifer Ward-Lealand
action intersection
action find_reverse
entity Ajeet Bajaj
relation spouse
action find_reverse
entity Pierre Parat
relation spouse
['Jennifer Ward-Lealand', 'spouse', 'Ajeet Bajaj'] ['Jennifer Ward-Lealand', 'spouse', 'Pierre Parat']
ASK WHERE { resource:Jennifer_Ward-Lealand property:spouse resource:Ajeet_Bajaj . resource:Jennifer_Ward-Lealand property:spouse resource:Pierre_Parat }
[]
common name
SYSTEM
NO
(Q6178922,P26,Q4699699) (Q6178922,P26,Q2093755)
action is_in
entity Q6178922
action intersection
action find_reverse
entity Q4699699
relation P26
action find_reverse
entity Q2093755
relation P26
[ANSWER]
['Q6178922', 'P26', 'Q4699699'] ['Q6178922', 'P26', 'Q2093755']
ASK WHERE { resource:Q6178922 property:P26 resource:Q4699699 . resource:Q6178922 property:P26 resource:Q2093755 }
No
action is_in
entity Jennifer Ward-Lealand
action intersection
action find_reverse
entity Ajeet Bajaj
relation spouse
action find_reverse
entity Pierre Parat
relation spouse
['Jennifer Ward-Lealand', 'spouse', 'Ajeet Bajaj'] ['Jennifer Ward-Lealand', 'spouse', 'Pierre Parat']
ASK WHERE { resource:Jennifer_Ward-Lealand property:spouse resource:Ajeet_Bajaj . resource:Jennifer_Ward-Lealand property:spouse resource:Pierre_Parat }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q130232 Q6178922
P136 P161
Q838948
USER
Which works of art have Jennifer Ward-Lealand in their star cast and do not have genre named drama film ?
AND((c(Q838948),P161,Q6178922), NOT((c(Q838948),P136,Q130232)))
action filter_type
action difference
action find_reverse
entity Q6178922
relation P161
action find_reverse
entity Q130232
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q6178922'], {'NOT': [[{'concept': 'Q838948'}, 'P136', 'Q130232']]}]}
SELECT DISTINCT ?w WHERE { ?w property:P161 resource:Q6178922 . MINUS { ?w property:P136 resource:Q130232 } . ?w rdf:type ontology:Q838948 }
drama film Jennifer Ward-Lealand
action filter_type
action difference
action find_reverse
entity Jennifer Ward-Lealand
relation cast member
action find_reverse
entity drama film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Jennifer Ward-Lealand'], {'NOT': [[{'concept': 'work of art'}, 'genre', 'drama film']]}]}
SELECT DISTINCT ?w WHERE { ?w property:cast_member resource:Jennifer_Ward-Lealand . MINUS { ?w property:genre resource:drama_film } . ?w rdf:type ontology:work_of_art }
[]
work of art
Q2793620 Q4340213
SYSTEM
The Ugly, Desperate Remedies
Q2793620 Q4340213
AND((c(Q838948),P161,Q6178922), NOT((c(Q838948),P136,Q130232)))
action filter_type
action difference
action find_reverse
entity Q6178922
relation P161
action find_reverse
entity Q130232
relation P136
type Q838948
[ANSWERS] have Jennifer Ward-Lealand in their star cast and do not have genre named drama film
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q6178922'], {'NOT': [[{'concept': 'Q838948'}, 'P136', 'Q130232']]}]}
SELECT DISTINCT ?w WHERE { ?w property:P161 resource:Q6178922 . MINUS { ?w property:P136 resource:Q130232 } . ?w rdf:type ontology:Q838948 }
The Ugly Desperate Remedies
The Ugly and Desperate Remedies have Jennifer Ward-Lealand in their star cast and do not have genre named drama film
The Ugly Desperate Remedies
action filter_type
action difference
action find_reverse
entity Jennifer Ward-Lealand
relation cast member
action find_reverse
entity drama film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Jennifer Ward-Lealand'], {'NOT': [[{'concept': 'work of art'}, 'genre', 'drama film']]}]}
SELECT DISTINCT ?w WHERE { ?w property:cast_member resource:Jennifer_Ward-Lealand . MINUS { ?w property:genre resource:drama_film } . ?w rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q43229 Q151885 Q7275
USER
How many states have atleast 1 organizations and concepts as the form of government ?
(c(Q7275),P122,c(Q43229)|c(Q151885))
action count
action atleast
action union
action find_tuple_counts
relation P122
type Q7275
type Q43229
action find_tuple_counts
relation P122
type Q7275
type Q151885
value 1
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q43229'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:Q151885 ) ( ontology:Q43229 ) } . ?m rdf:type ?z } GROUP BY ?i } . FILTER ( ?q >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation basic form of government
type state
type organization
action find_tuple_counts
relation basic form of government
type state
type concept
value 1
[{'concept': 'state'}, 'basic form of government', [{'concept': 'organization'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:concept ) ( ontology:organization ) } . ?m rdf:type ?z } GROUP BY ?i } . FILTER ( ?q >= 1 ) }
[]
organization concept state
SYSTEM
5
Q44642 Q170072 Q146713 Q1077630 Q832554
(c(Q7275),P122,c(Q43229)|c(Q151885))
action count
action atleast
action union
action find_tuple_counts
relation P122
type Q7275
type Q43229
action find_tuple_counts
relation P122
type Q7275
type Q151885
value 1
[ANSWER]
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q43229'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:Q151885 ) ( ontology:Q43229 ) } . ?m rdf:type ?z } GROUP BY ?i } . FILTER ( ?q >= 1 ) }
Federation of Arab Republics Dutch Republic Arab Federation Septinsular Republic Argentine Confederation
5
action count
action atleast
action union
action find_tuple_counts
relation basic form of government
type state
type organization
action find_tuple_counts
relation basic form of government
type state
type concept
value 1
[{'concept': 'state'}, 'basic form of government', [{'concept': 'organization'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:concept ) ( ontology:organization ) } . ?m rdf:type ?z } GROUP BY ?i } . FILTER ( ?q >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q37024
P1376
Q56061
USER
Which administrative territory is the capital of Serbia and Montenegro ?
(c(Q56061),P1376,Q37024)
action filter_type
action find_reverse
entity Q37024
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q37024']
SELECT DISTINCT ?z WHERE { ?z property:P1376 resource:Q37024 . ?z rdf:type ontology:Q56061 }
Serbia and Montenegro
action filter_type
action find_reverse
entity Serbia and Montenegro
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Serbia and Montenegro']
SELECT DISTINCT ?z WHERE { ?z property:capital_of resource:Serbia_and_Montenegro . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3711
SYSTEM
Belgrade
Q3711
(c(Q56061),P1376,Q37024)
action filter_type
action find_reverse
entity Q37024
relation P1376
type Q56061
[ANSWER] is the capital of Serbia and Montenegro
[{'concept': 'Q56061'}, 'P1376', 'Q37024']
SELECT DISTINCT ?z WHERE { ?z property:P1376 resource:Q37024 . ?z rdf:type ontology:Q56061 }
Belgrade
Belgrade is the capital of Serbia and Montenegro
Belgrade
action filter_type
action find_reverse
entity Serbia and Montenegro
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Serbia and Montenegro']
SELECT DISTINCT ?z WHERE { ?z property:capital_of resource:Serbia_and_Montenegro . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q37024
P463
Q484652
USER
Which international organization had Serbia and Montenegro as its member ?
(Q37024,P463,c(Q484652))
action filter_type
action find
entity Q37024
relation P463
type Q484652
['Q37024', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?w WHERE { resource:Q37024 property:P463 ?w . ?w rdf:type ontology:Q484652 }
Serbia and Montenegro
action filter_type
action find
entity Serbia and Montenegro
relation member of
type international organization
['Serbia and Montenegro', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?w WHERE { resource:Serbia_and_Montenegro property:member_of ?w . ?w rdf:type ontology:international_organization }
[]
international organization
Q81299
SYSTEM
Organization for Security and Co-operation in Europe
Q81299
(Q37024,P463,c(Q484652))
action filter_type
action find
entity Q37024
relation P463
type Q484652
[ANSWER] had Serbia and Montenegro as its member
['Q37024', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?w WHERE { resource:Q37024 property:P463 ?w . ?w rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe
Organization for Security and Co-operation in Europe had Serbia and Montenegro as its member
Organization for Security and Co-operation in Europe
action filter_type
action find
entity Serbia and Montenegro
relation member of
type international organization
['Serbia and Montenegro', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?w WHERE { resource:Serbia_and_Montenegro property:member_of ?w . ?w rdf:type ontology:international_organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P169
Q502895 Q2001305 Q1002697
USER
Which people are the CEOs of exactly 1 television channels and periodical literatures ?
(c(Q2001305)|c(Q1002697),P169,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q2001305
action find_reverse_tuple_counts
relation P169
type Q502895
type Q1002697
value 1
[[{'concept': 'Q2001305'}, {'concept': 'Q1002697'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?y ) WHERE { VALUES ( ?n ) { ( ontology:Q2001305 ) ( ontology:Q1002697 ) } . ?g rdf:type ?n } GROUP BY ?j } . FILTER ( ?y = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type television channel
action find_reverse_tuple_counts
relation chief executive officer
type common name
type periodical literature
value 1
[[{'concept': 'television channel'}, {'concept': 'periodical literature'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?y ) WHERE { VALUES ( ?n ) { ( ontology:television_channel ) ( ontology:periodical_literature ) } . ?g rdf:type ?n } GROUP BY ?j } . FILTER ( ?y = 1 ) }
[]
common name television channel periodical literature
Q952737 Q111695 Q1710229
SYSTEM
Diego Abad de Santillán, Jakob Augstein, João do Rio
Q9024946 Q952737 Q1710229 Q111695 Q5872324 Q3047406 Q5675607 Q4888662 Q776008
(c(Q2001305)|c(Q1002697),P169,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q2001305
action find_reverse_tuple_counts
relation P169
type Q502895
type Q1002697
value 1
[ANSWERS] are the CEOs of exactly 1 television channels and periodical literatures
[[{'concept': 'Q2001305'}, {'concept': 'Q1002697'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?y ) WHERE { VALUES ( ?n ) { ( ontology:Q2001305 ) ( ontology:Q1002697 ) } . ?g rdf:type ?n } GROUP BY ?j } . FILTER ( ?y = 1 ) }
Luis Bello Diego Abad de Santillán João do Rio Jakob Augstein Félix Lorenzo Joseph Blanco White Andrés Borrego José Lázaro Galdiano Nasser Al-Khelaifi
Diego Abad de Santillán, Jakob Augstein and João do Rio are the CEOs of exactly 1 television channels and periodical literatures
Diego Abad de Santillán Jakob Augstein João do Rio
action equal
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type television channel
action find_reverse_tuple_counts
relation chief executive officer
type common name
type periodical literature
value 1
[[{'concept': 'television channel'}, {'concept': 'periodical literature'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?y ) WHERE { VALUES ( ?n ) { ( ontology:television_channel ) ( ontology:periodical_literature ) } . ?g rdf:type ?n } GROUP BY ?j } . FILTER ( ?y = 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q952737 Q111695 Q1710229
P169
Q1002697
USER
Which periodical literatures have Diego Abad de Santillán, Jakob Augstein and João do Rio as chief executive ?
(c(Q1002697),P169,Q952737) (c(Q1002697),P169,Q111695) (c(Q1002697),P169,Q1710229)
action union
action filter_type
action find_reverse
entity Q952737
relation P169
type Q1002697
action filter_type
action find_reverse
entity Q111695
relation P169
type Q1002697
action filter_type
action find_reverse
entity Q1710229
relation P169
type Q1002697
[{'concept': 'Q1002697'}, 'P169', 'Q952737'] [{'concept': 'Q1002697'}, 'P169', 'Q111695'] [{'concept': 'Q1002697'}, 'P169', 'Q1710229']
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:Q1002697 . ?s property:P169 resource:Q952737 } UNION { ?s property:P169 resource:Q111695 . ?s rdf:type ontology:Q1002697 } }
Diego Abad de Santillán Jakob Augstein João do Rio
action union
action filter_type
action find_reverse
entity Diego Abad de Santillán
relation chief executive officer
type periodical literature
action filter_type
action find_reverse
entity Jakob Augstein
relation chief executive officer
type periodical literature
action filter_type
action find_reverse
entity João do Rio
relation chief executive officer
type periodical literature
[{'concept': 'periodical literature'}, 'chief executive officer', 'Diego Abad de Santillán'] [{'concept': 'periodical literature'}, 'chief executive officer', 'Jakob Augstein'] [{'concept': 'periodical literature'}, 'chief executive officer', 'João do Rio']
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:periodical_literature . ?s property:chief_executive_officer resource:Diego_Abad_de_Santillán } UNION { ?s property:chief_executive_officer resource:Jakob_Augstein . ?s rdf:type ontology:periodical_literature } }
[]
periodical literature
Q20630722 Q265362 Q18238169
SYSTEM
Tiempos Nuevos, Der Freitag, Atlantida
Q20630722 Q265362 Q18238169
(c(Q1002697),P169,Q952737) (c(Q1002697),P169,Q111695) (c(Q1002697),P169,Q1710229)
action union
action filter_type
action find_reverse
entity Q952737
relation P169
type Q1002697
action filter_type
action find_reverse
entity Q111695
relation P169
type Q1002697
action filter_type
action find_reverse
entity Q1710229
relation P169
type Q1002697
[ANSWERS] have Diego Abad de Santillán, Jakob Augstein and João do Rio as chief executive
[{'concept': 'Q1002697'}, 'P169', 'Q952737'] [{'concept': 'Q1002697'}, 'P169', 'Q111695'] [{'concept': 'Q1002697'}, 'P169', 'Q1710229']
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:Q1002697 . ?s property:P169 resource:Q952737 } UNION { ?s property:P169 resource:Q111695 . ?s rdf:type ontology:Q1002697 } }
Tiempos Nuevos Der Freitag Atlantida
Tiempos Nuevos, Der Freitag and Atlantida have Diego Abad de Santillán, Jakob Augstein and João do Rio as chief executive
Tiempos Nuevos Der Freitag Atlantida
action union
action filter_type
action find_reverse
entity Diego Abad de Santillán
relation chief executive officer
type periodical literature
action filter_type
action find_reverse
entity Jakob Augstein
relation chief executive officer
type periodical literature
action filter_type
action find_reverse
entity João do Rio
relation chief executive officer
type periodical literature
[{'concept': 'periodical literature'}, 'chief executive officer', 'Diego Abad de Santillán'] [{'concept': 'periodical literature'}, 'chief executive officer', 'Jakob Augstein'] [{'concept': 'periodical literature'}, 'chief executive officer', 'João do Rio']
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:periodical_literature . ?s property:chief_executive_officer resource:Diego_Abad_de_Santillán } UNION { ?s property:chief_executive_officer resource:Jakob_Augstein . ?s rdf:type ontology:periodical_literature } }
[]