Simple Question (Direct)
Simple Question
Q2830110
P734
Q82799
USER
Who is associated with Alain Michel ?
(Q2830110,P734,c(Q82799))
action filter_type
action find
entity Q2830110
relation P734
type Q82799
['Q2830110', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q2830110 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Alain Michel
action filter_type
action find
entity Alain Michel
relation family name
type name
['Alain Michel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Alain_Michel property:family_name ?k . ?k rdf:type ontology:name }
[]
name
Q12036851
SYSTEM
Michel
Q12036851
(Q2830110,P734,c(Q82799))
action filter_type
action find
entity Q2830110
relation P734
type Q82799
[ANSWER]
['Q2830110', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q2830110 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Michel
Michel
action filter_type
action find
entity Alain Michel
relation family name
type name
['Alain Michel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Alain_Michel property:family_name ?k . ?k rdf:type ontology:name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q23773623
P138
Q39546 Q15619164 Q82799
USER
How many names are named after more number of tools and abstract beings than Lamour ?
(c(Q82799),P138,c(Q39546)|c(Q15619164))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q39546
action find_tuple_counts
relation P138
type Q82799
type Q15619164
action count
action filter_multi_types
action find
entity Q23773623
relation P138
type Q39546
type Q15619164
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Q23773623 property:P138 ?e . { { ?e rdf:type ontology:Q39546 } UNION { ?e rdf:type ontology:Q15619164 } } } } . FILTER ( ?c > ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?p WHERE { { ?p property:P138 ?w . ?p rdf:type ontology:Q82799 . ?w rdf:type ontology:Q15619164 } UNION { ?p property:P138 ?w . ?p rdf:type ontology:Q82799 . ?w rdf:type ontology:Q39546 } } GROUP BY ?p } }
Lamour
action count
action greater
action union
action find_tuple_counts
relation named after
type name
type tool
action find_tuple_counts
relation named after
type name
type abstract being
action count
action filter_multi_types
action find
entity Lamour
relation named after
type tool
type abstract being
[{'concept': 'name'}, 'named after', [{'concept': 'tool'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Lamour property:named_after ?e . { { ?e rdf:type ontology:tool } UNION { ?e rdf:type ontology:abstract_being } } } } . FILTER ( ?c > ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?p WHERE { { ?p property:named_after ?w . ?p rdf:type ontology:name . ?w rdf:type ontology:abstract_being } UNION { ?p property:named_after ?w . ?p rdf:type ontology:name . ?w rdf:type ontology:tool } } GROUP BY ?p } }
[]
tool abstract being name
SYSTEM
6
Q1069827 Q25058808 Q17643158 Q20818054 Q20963077 Q17625919
(c(Q82799),P138,c(Q39546)|c(Q15619164))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q39546
action find_tuple_counts
relation P138
type Q82799
type Q15619164
action count
action filter_multi_types
action find
entity Q23773623
relation P138
type Q39546
type Q15619164
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Q23773623 property:P138 ?e . { { ?e rdf:type ontology:Q39546 } UNION { ?e rdf:type ontology:Q15619164 } } } } . FILTER ( ?c > ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?p WHERE { { ?p property:P138 ?w . ?p rdf:type ontology:Q82799 . ?w rdf:type ontology:Q15619164 } UNION { ?p property:P138 ?w . ?p rdf:type ontology:Q82799 . ?w rdf:type ontology:Q39546 } } GROUP BY ?p } }
Rosario Dumoulin If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Giolla Íosa Aryaman Du Moulin
6
action count
action greater
action union
action find_tuple_counts
relation named after
type name
type tool
action find_tuple_counts
relation named after
type name
type abstract being
action count
action filter_multi_types
action find
entity Lamour
relation named after
type tool
type abstract being
[{'concept': 'name'}, 'named after', [{'concept': 'tool'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Lamour property:named_after ?e . { { ?e rdf:type ontology:tool } UNION { ?e rdf:type ontology:abstract_being } } } } . FILTER ( ?c > ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?p WHERE { { ?p property:named_after ?w . ?p rdf:type ontology:name . ?w rdf:type ontology:abstract_being } UNION { ?p property:named_after ?w . ?p rdf:type ontology:name . ?w rdf:type ontology:tool } } GROUP BY ?p } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q6501864
P138
Q39546 Q15619164 Q82799
USER
And also tell me about Kaplan?
(c(Q82799),P138,c(Q39546)|c(Q15619164))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q39546
action find_tuple_counts
relation P138
type Q82799
type Q15619164
action count
action filter_multi_types
action find
entity Q6501864
relation P138
type Q39546
type Q15619164
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?i WHERE { VALUES ( ?m ) { ( ontology:Q39546 ) ( ontology:Q15619164 ) } . ?d rdf:type ?m } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q6501864 property:P138 ?l . { { ?l rdf:type ontology:Q15619164 } UNION { ?l rdf:type ontology:Q39546 } } } } . FILTER ( ?h > ?v ) }
Kaplan
action count
action greater
action union
action find_tuple_counts
relation named after
type name
type tool
action find_tuple_counts
relation named after
type name
type abstract being
action count
action filter_multi_types
action find
entity Kaplan
relation named after
type tool
type abstract being
[{'concept': 'name'}, 'named after', [{'concept': 'tool'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?i WHERE { VALUES ( ?m ) { ( ontology:tool ) ( ontology:abstract_being ) } . ?d rdf:type ?m } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Kaplan property:named_after ?l . { { ?l rdf:type ontology:abstract_being } UNION { ?l rdf:type ontology:tool } } } } . FILTER ( ?h > ?v ) }
[]
tool abstract being name
SYSTEM
6
Q1069827 Q25058808 Q17643158 Q20818054 Q20963077 Q17625919
(c(Q82799),P138,c(Q39546)|c(Q15619164))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q39546
action find_tuple_counts
relation P138
type Q82799
type Q15619164
action count
action filter_multi_types
action find
entity Q6501864
relation P138
type Q39546
type Q15619164
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?i WHERE { VALUES ( ?m ) { ( ontology:Q39546 ) ( ontology:Q15619164 ) } . ?d rdf:type ?m } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q6501864 property:P138 ?l . { { ?l rdf:type ontology:Q15619164 } UNION { ?l rdf:type ontology:Q39546 } } } } . FILTER ( ?h > ?v ) }
Rosario Dumoulin If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Giolla Íosa Aryaman Du Moulin
6
action count
action greater
action union
action find_tuple_counts
relation named after
type name
type tool
action find_tuple_counts
relation named after
type name
type abstract being
action count
action filter_multi_types
action find
entity Kaplan
relation named after
type tool
type abstract being
[{'concept': 'name'}, 'named after', [{'concept': 'tool'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?i WHERE { VALUES ( ?m ) { ( ontology:tool ) ( ontology:abstract_being ) } . ?d rdf:type ?m } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Kaplan property:named_after ?l . { { ?l rdf:type ontology:abstract_being } UNION { ?l rdf:type ontology:tool } } } } . FILTER ( ?h > ?v ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for min number of names ?
(c(Q82799),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?c ) { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P407 ?r . ?r rdf:type ontology:Q34770 . ?n rdf:type ontology:Q82799 } GROUP BY ?r } } . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P407 ?v . ?v rdf:type ontology:Q34770 . ?j rdf:type ontology:Q82799 } GROUP BY ?v } . FILTER ( ?x = ?c ) }
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?c ) { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:language_of_work_or_name ?r . ?r rdf:type ontology:language . ?n rdf:type ontology:name } GROUP BY ?r } } . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:language_of_work_or_name ?v . ?v rdf:type ontology:language . ?j rdf:type ontology:name } GROUP BY ?v } . FILTER ( ?x = ?c ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q37041 Q25167 Q25164 Q36790 Q447117
(c(Q82799),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?c ) { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P407 ?r . ?r rdf:type ontology:Q34770 . ?n rdf:type ontology:Q82799 } GROUP BY ?r } } . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P407 ?v . ?v rdf:type ontology:Q34770 . ?j rdf:type ontology:Q82799 } GROUP BY ?v } . FILTER ( ?x = ?c ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse classical Chinese Bokmål Nynorsk Sumerian Old Egyptian
Old Egyptian Old Church Slavonic Etruscan
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?c ) { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:language_of_work_or_name ?r . ?r rdf:type ontology:language . ?n rdf:type ontology:name } GROUP BY ?r } } . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:language_of_work_or_name ?v . ?v rdf:type ontology:language . ?j rdf:type ontology:name } GROUP BY ?v } . FILTER ( ?x = ?c ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q35726
P1412 P21
Q502895
USER
Which people talks in Etruscan and have the gender as male ?
AND((c(Q502895),P1412,Q35726), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q35726
relation P1412
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1412', 'Q35726'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P1412 resource:Q35726 . ?j property:P21 resource:Q6581097 . ?j rdf:type ontology:Q502895 }
male Etruscan
action filter_type
action intersection
action find_reverse
entity Etruscan
relation languages spoken, written or signed
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'languages spoken, written or signed', 'Etruscan'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:languages_spoken,_written_or_signed resource:Etruscan . ?j property:gender resource:male . ?j rdf:type ontology:common_name }
[]
common name
Q385810 Q21580468 Q21580487 Q2874426 Q21584309 Q21584304 Q21584282 Q3523507 Q21580476
SYSTEM
Lars Tolumnius, Larth Spurinna, Arnth Velcha, Avie Spurinna, Laris Partunus, Velthur Partunus, Lars Pulena, Thefarie Velianas, Unknown brother of Velthur Spurinna
Q385810 Q21580468 Q21580487 Q2874426 Q21584309 Q21584304 Q21584282 Q3523507 Q21580476
AND((c(Q502895),P1412,Q35726), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q35726
relation P1412
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P1412', 'Q35726'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P1412 resource:Q35726 . ?j property:P21 resource:Q6581097 . ?j rdf:type ontology:Q502895 }
Lars Tolumnius Larth Spurinna Arnth Velcha Avie Spurinna Laris Partunus Velthur Partunus Lars Pulena Thefarie Velianas Unknown brother of Velthur Spurinna
Lars Tolumnius Larth Spurinna Arnth Velcha Avie Spurinna Laris Partunus Velthur Partunus Lars Pulena Thefarie Velianas Unknown brother of Velthur Spurinna
action filter_type
action intersection
action find_reverse
entity Etruscan
relation languages spoken, written or signed
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'languages spoken, written or signed', 'Etruscan'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:languages_spoken,_written_or_signed resource:Etruscan . ?j property:gender resource:male . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35499
P37
Q13414953
USER
Which religious denomination is known to have Old Church Slavonic as its official language ?
(c(Q13414953),P37,Q35499)
action filter_type
action find_reverse
entity Q35499
relation P37
type Q13414953
[{'concept': 'Q13414953'}, 'P37', 'Q35499']
SELECT DISTINCT ?x WHERE { ?x property:P37 resource:Q35499 . ?x rdf:type ontology:Q13414953 }
Old Church Slavonic
action filter_type
action find_reverse
entity Old Church Slavonic
relation official language
type religious denomination
[{'concept': 'religious denomination'}, 'official language', 'Old Church Slavonic']
SELECT DISTINCT ?x WHERE { ?x property:official_language resource:Old_Church_Slavonic . ?x rdf:type ontology:religious_denomination }
[]
religious denomination
Q906685
SYSTEM
Macedonian Orthodox Church – Ohrid Archbishopric
Q906685
(c(Q13414953),P37,Q35499)
action filter_type
action find_reverse
entity Q35499
relation P37
type Q13414953
[ANSWER]
[{'concept': 'Q13414953'}, 'P37', 'Q35499']
SELECT DISTINCT ?x WHERE { ?x property:P37 resource:Q35499 . ?x rdf:type ontology:Q13414953 }
Macedonian Orthodox Church – Ohrid Archbishopric
Macedonian Orthodox Church – Ohrid Archbishopric
action filter_type
action find_reverse
entity Old Church Slavonic
relation official language
type religious denomination
[{'concept': 'religious denomination'}, 'official language', 'Old Church Slavonic']
SELECT DISTINCT ?x WHERE { ?x property:official_language resource:Old_Church_Slavonic . ?x rdf:type ontology:religious_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q906685
P112
Q502895
USER
Which person founded that religious denomination ?
(Q906685,P112,c(Q502895))
action filter_type
action find
entity Q906685
relation P112
type Q502895
['Q906685', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q906685 property:P112 ?m . ?m rdf:type ontology:Q502895 }
Macedonian Orthodox Church – Ohrid Archbishopric
action filter_type
action find
entity Macedonian Orthodox Church – Ohrid Archbishopric
relation founder
type common name
['Macedonian Orthodox Church – Ohrid Archbishopric', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Macedonian_Orthodox_Church_–_Ohrid_Archbishopric property:founder ?m . ?m rdf:type ontology:common_name }
[]
common name
Q259539
SYSTEM
Dositheus II
Q259539
(Q906685,P112,c(Q502895))
action filter_type
action find
entity Q906685
relation P112
type Q502895
[ANSWER]
['Q906685', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q906685 property:P112 ?m . ?m rdf:type ontology:Q502895 }
Dositheus II
Dositheus II
action filter_type
action find
entity Macedonian Orthodox Church – Ohrid Archbishopric
relation founder
type common name
['Macedonian Orthodox Church – Ohrid Archbishopric', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Macedonian_Orthodox_Church_–_Ohrid_Archbishopric property:founder ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q906685
P140
Q502895
USER
Which people have that religious denomination as religious affiliation ?
(c(Q502895),P140,Q259539)
action filter_type
action find_reverse
entity Q906685
relation P140
type Q502895
[{'concept': 'Q502895'}, 'P140', 'Q259539']
SELECT DISTINCT ?s WHERE { ?s property:P140 resource:Q906685 . ?s rdf:type ontology:Q502895 }
Macedonian Orthodox Church – Ohrid Archbishopric
action filter_type
action find_reverse
entity Macedonian Orthodox Church – Ohrid Archbishopric
relation religion
type common name
[{'concept': 'common name'}, 'religion', 'Dositheus II']
SELECT DISTINCT ?s WHERE { ?s property:religion resource:Macedonian_Orthodox_Church_–_Ohrid_Archbishopric . ?s rdf:type ontology:common_name }
[]
common name
Q1990673 Q153381 Q2529738
SYSTEM
Nikola Kljusev, Kiro Gligorov, Vlado Bučkovski
Q1990673 Q153381 Q2529738 Q3406045
(c(Q502895),P140,Q259539)
action filter_type
action find_reverse
entity Q906685
relation P140
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P140', 'Q259539']
SELECT DISTINCT ?s WHERE { ?s property:P140 resource:Q906685 . ?s rdf:type ontology:Q502895 }
Nikola Kljusev Kiro Gligorov Vlado Bučkovski Katerina Nurdžieva Trajkova
Nikola Kljusev Kiro Gligorov Vlado Bučkovski
action filter_type
action find_reverse
entity Macedonian Orthodox Church – Ohrid Archbishopric
relation religion
type common name
[{'concept': 'common name'}, 'religion', 'Dositheus II']
SELECT DISTINCT ?s WHERE { ?s property:religion resource:Macedonian_Orthodox_Church_–_Ohrid_Archbishopric . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P169
Q502895 Q28640 Q2001305
USER
How many people are the chief executive officer of exactly 1 professions or television channels ?
(c(Q28640)|c(Q2001305),P169,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q28640
action find_reverse_tuple_counts
relation P169
type Q502895
type Q2001305
value 1
[[{'concept': 'Q28640'}, {'concept': 'Q2001305'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?s ) WHERE { { ?b rdf:type ontology:Q502895 . ?t rdf:type ontology:Q28640 . ?t property:P169 ?b } UNION { ?t property:P169 ?b . ?b rdf:type ontology:Q502895 . ?t rdf:type ontology:Q2001305 } } GROUP BY ?b } }
action count
action equal
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type profession
action find_reverse_tuple_counts
relation chief executive officer
type common name
type television channel
value 1
[[{'concept': 'profession'}, {'concept': 'television channel'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?s ) WHERE { { ?b rdf:type ontology:common_name . ?t rdf:type ontology:profession . ?t property:chief_executive_officer ?b } UNION { ?t property:chief_executive_officer ?b . ?b rdf:type ontology:common_name . ?t rdf:type ontology:television_channel } } GROUP BY ?b } }
[]
common name profession television channel
SYSTEM
4
Q6180981 Q729842 Q20726318 Q776008
(c(Q28640)|c(Q2001305),P169,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q28640
action find_reverse_tuple_counts
relation P169
type Q502895
type Q2001305
value 1
[ANSWER]
[[{'concept': 'Q28640'}, {'concept': 'Q2001305'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?s ) WHERE { { ?b rdf:type ontology:Q502895 . ?t rdf:type ontology:Q28640 . ?t property:P169 ?b } UNION { ?t property:P169 ?b . ?b rdf:type ontology:Q502895 . ?t rdf:type ontology:Q2001305 } } GROUP BY ?b } }
Jeremiah Slaczka Mark Pincus Maximo Cavazzani Nasser Al-Khelaifi
4
action count
action equal
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type profession
action find_reverse_tuple_counts
relation chief executive officer
type common name
type television channel
value 1
[[{'concept': 'profession'}, {'concept': 'television channel'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?s ) WHERE { { ?b rdf:type ontology:common_name . ?t rdf:type ontology:profession . ?t property:chief_executive_officer ?b } UNION { ?t property:chief_executive_officer ?b . ?b rdf:type ontology:common_name . ?t rdf:type ontology:television_channel } } GROUP BY ?b } }
[]