Simple Question (Direct)
Simple Question
Q952831
P21
Q290
USER
What is the sex of Jean-Yves Calvez ?
(Q952831,P21,c(Q290))
action filter_type
action find
entity Q952831
relation P21
type Q290
['Q952831', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q952831 property:P21 ?k . ?k rdf:type ontology:Q290 }
Jean-Yves Calvez
action filter_type
action find
entity Jean-Yves Calvez
relation gender
type sex
['Jean-Yves Calvez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Jean-Yves_Calvez property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q952831,P21,c(Q290))
action filter_type
action find
entity Q952831
relation P21
type Q290
The sex of Jean-Yves Calvez is the [ANSWER]
['Q952831', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q952831 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of Jean-Yves Calvez is the male
male
action filter_type
action find
entity Jean-Yves Calvez
relation gender
type sex
['Jean-Yves Calvez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Jean-Yves_Calvez property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q952831
P106
Q12737077
USER
What are the professions of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q952831
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q952831 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Jean-Yves Calvez
action filter_type
action find
entity Jean-Yves Calvez
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Jean-Yves_Calvez property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q1622272 Q1234713 Q188094
SYSTEM
university teacher, theologian, economist
Q1234713 Q188094 Q250867 Q1622272 Q36180
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q952831
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q952831 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
theologian economist Catholic priest university teacher writer
The professions of that person are university teacher, theologian and economist
university teacher theologian economist
action filter_type
action find
entity Jean-Yves Calvez
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Jean-Yves_Calvez property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19795263
P106
Q502895
USER
Do Puakena Boreham have the profession as those occupations ?
(Q19795263,P106,Q1622272) (Q19795263,P106,Q1234713) (Q19795263,P106,Q188094)
action is_in
entity prev_answer
action find
entity Q19795263
relation P106
['Q19795263', 'P106', 'Q1622272'] ['Q19795263', 'P106', 'Q1234713'] ['Q19795263', 'P106', 'Q188094']
ASK WHERE { VALUES ( ?k ) { ( resource:Q1234713 ) ( resource:Q188094 ) ( resource:Q250867 ) } . resource:Q19795263 property:P106 ?k }
Puakena Boreham
action is_in
entity prev_answer
action find
entity Puakena Boreham
relation occupation
['Puakena Boreham', 'occupation', 'university teacher'] ['Puakena Boreham', 'occupation', 'theologian'] ['Puakena Boreham', 'occupation', 'economist']
ASK WHERE { VALUES ( ?k ) { ( resource:theologian ) ( resource:economist ) ( resource:Catholic_priest ) } . resource:Puakena_Boreham property:occupation ?k }
[]
common name
SYSTEM
NO
(Q19795263,P106,Q1622272) (Q19795263,P106,Q1234713) (Q19795263,P106,Q188094)
action is_in
entity prev_answer
action find
entity Q19795263
relation P106
[ANSWER]
['Q19795263', 'P106', 'Q1622272'] ['Q19795263', 'P106', 'Q1234713'] ['Q19795263', 'P106', 'Q188094']
ASK WHERE { VALUES ( ?k ) { ( resource:Q1234713 ) ( resource:Q188094 ) ( resource:Q250867 ) } . resource:Q19795263 property:P106 ?k }
No
action is_in
entity prev_answer
action find
entity Puakena Boreham
relation occupation
['Puakena Boreham', 'occupation', 'university teacher'] ['Puakena Boreham', 'occupation', 'theologian'] ['Puakena Boreham', 'occupation', 'economist']
ASK WHERE { VALUES ( ?k ) { ( resource:theologian ) ( resource:economist ) ( resource:Catholic_priest ) } . resource:Puakena_Boreham property:occupation ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q952831
P108
Q11032
USER
Which newspaper is the employer of Jean-Yves Calvez ?
(Q952831,P108,c(Q11032))
action filter_type
action find
entity Q952831
relation P108
type Q11032
['Q952831', 'P108', {'concept': 'Q11032'}]
SELECT DISTINCT ?z WHERE { resource:Q952831 property:P108 ?z . ?z rdf:type ontology:Q11032 }
Jean-Yves Calvez
action filter_type
action find
entity Jean-Yves Calvez
relation employer
type newspaper
['Jean-Yves Calvez', 'employer', {'concept': 'newspaper'}]
SELECT DISTINCT ?z WHERE { resource:Jean-Yves_Calvez property:employer ?z . ?z rdf:type ontology:newspaper }
[]
newspaper
Q1230298
SYSTEM
La Croix
Q1230298
(Q952831,P108,c(Q11032))
action filter_type
action find
entity Q952831
relation P108
type Q11032
De [ANSWER] is the employer of Jean-Yves Calvez
['Q952831', 'P108', {'concept': 'Q11032'}]
SELECT DISTINCT ?z WHERE { resource:Q952831 property:P108 ?z . ?z rdf:type ontology:Q11032 }
La Croix
De La Croix is the employer of Jean-Yves Calvez
La Croix
action filter_type
action find
entity Jean-Yves Calvez
relation employer
type newspaper
['Jean-Yves Calvez', 'employer', {'concept': 'newspaper'}]
SELECT DISTINCT ?z WHERE { resource:Jean-Yves_Calvez property:employer ?z . ?z rdf:type ontology:newspaper }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q952831
P140
Q879146
USER
What is the religion associated with Jean-Yves Calvez ?
(Q952831,P140,c(Q879146))
action filter_type
action find
entity Q952831
relation P140
type Q879146
['Q952831', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?i WHERE { resource:Q952831 property:P140 ?i . ?i rdf:type ontology:Q879146 }
Jean-Yves Calvez
action filter_type
action find
entity Jean-Yves Calvez
relation religion
type Christian denomination
['Jean-Yves Calvez', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?i WHERE { resource:Jean-Yves_Calvez property:religion ?i . ?i rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q952831,P140,c(Q879146))
action filter_type
action find
entity Q952831
relation P140
type Q879146
The religion associated with Jean-Yves Calvez is a [ANSWER]
['Q952831', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?i WHERE { resource:Q952831 property:P140 ?i . ?i rdf:type ontology:Q879146 }
Roman Catholic Church
The religion associated with Jean-Yves Calvez is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Jean-Yves Calvez
relation religion
type Christian denomination
['Jean-Yves Calvez', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?i WHERE { resource:Jean-Yves_Calvez property:religion ?i . ?i rdf:type ontology:Christian_denomination }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1508760
Q879146
USER
And how about Georges-Hilaire Dupont?
(Q1508760,P140,c(Q879146))
action filter_type
action find
entity Q1508760
relation P140
type Q879146
['Q1508760', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?w WHERE { resource:Q1508760 property:P140 ?w . ?w rdf:type ontology:Q879146 }
Georges-Hilaire Dupont
action filter_type
action find
entity Georges-Hilaire Dupont
relation religion
type Christian denomination
['Georges-Hilaire Dupont', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?w WHERE { resource:Georges-Hilaire_Dupont property:religion ?w . ?w rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q1508760,P140,c(Q879146))
action filter_type
action find
entity Q1508760
relation P140
type Q879146
[ANSWER]
['Q1508760', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?w WHERE { resource:Q1508760 property:P140 ?w . ?w rdf:type ontology:Q879146 }
Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Georges-Hilaire Dupont
relation religion
type Christian denomination
['Georges-Hilaire Dupont', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?w WHERE { resource:Georges-Hilaire_Dupont property:religion ?w . ?w rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1508760
P39
Q12737077
USER
What was the position held by that person ?
(Q9592,P39,c(Q12737077))
action filter_type
action find
entity Q1508760
relation P39
type Q12737077
['Q9592', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1508760 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
Georges-Hilaire Dupont
action filter_type
action find
entity Georges-Hilaire Dupont
relation position held
type occupation
['Roman Catholic Church', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Georges-Hilaire_Dupont property:position_held ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q29182
SYSTEM
bishop
Q29182
(Q9592,P39,c(Q12737077))
action filter_type
action find
entity Q1508760
relation P39
type Q12737077
The position held by that person was a [ANSWER]
['Q9592', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1508760 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
bishop
The position held by that person was a bishop
bishop
action filter_type
action find
entity Georges-Hilaire Dupont
relation position held
type occupation
['Roman Catholic Church', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Georges-Hilaire_Dupont property:position_held ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1508760
P734
Q82799
USER
Who is associated with that person ?
(Q29182,P734,c(Q82799))
action filter_type
action find
entity Q1508760
relation P734
type Q82799
['Q29182', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q82799 . resource:Q1508760 property:P734 ?t }
Georges-Hilaire Dupont
action filter_type
action find
entity Georges-Hilaire Dupont
relation family name
type name
['bishop', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:name . resource:Georges-Hilaire_Dupont property:family_name ?t }
[]
name
Q18627472
SYSTEM
Dupont
Q18627472
(Q29182,P734,c(Q82799))
action filter_type
action find
entity Q1508760
relation P734
type Q82799
[ANSWER] is associated with that person
['Q29182', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q82799 . resource:Q1508760 property:P734 ?t }
Dupont
Dupont is associated with that person
Dupont
action filter_type
action find
entity Georges-Hilaire Dupont
relation family name
type name
['bishop', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:name . resource:Georges-Hilaire_Dupont property:family_name ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q18627472 Q19831528
P734
Q502895
USER
Does Willy Goossens have that name as surname ?
(Q19831528,P734,Q18627472)
action is_in
entity Q19831528
action find
entity Q18627472
relation P734
['Q19831528', 'P734', 'Q18627472']
ASK WHERE { resource:Q18627472 property:P734 resource:Q19831528 }
Dupont Willy Goossens
action is_in
entity Willy Goossens
action find
entity Dupont
relation family name
['Willy Goossens', 'family name', 'Dupont']
ASK WHERE { resource:Dupont property:family_name resource:Willy_Goossens }
[]
common name
SYSTEM
NO
(Q19831528,P734,Q18627472)
action is_in
entity Q19831528
action find
entity Q18627472
relation P734
[ANSWER]
['Q19831528', 'P734', 'Q18627472']
ASK WHERE { resource:Q18627472 property:P734 resource:Q19831528 }
No
action is_in
entity Willy Goossens
action find
entity Dupont
relation family name
['Willy Goossens', 'family name', 'Dupont']
ASK WHERE { resource:Dupont property:family_name resource:Willy_Goossens }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1622272 Q6828190
P417
Q502895
USER
Is Michael Alpers the name of the patron saint of university teacher ?
(Q1622272,P417,Q6828190)
action is_in
entity Q6828190
action find
entity Q1622272
relation P417
['Q1622272', 'P417', 'Q6828190']
ASK WHERE { resource:Q1622272 property:P417 resource:Q6828190 }
university teacher Michael Alpers
action is_in
entity Michael Alpers
action find
entity university teacher
relation patron saint
['university teacher', 'patron saint', 'Michael Alpers']
ASK WHERE { resource:university_teacher property:patron_saint resource:Michael_Alpers }
[]
common name
SYSTEM
NO
(Q1622272,P417,Q6828190)
action is_in
entity Q6828190
action find
entity Q1622272
relation P417
[ANSWER]
['Q1622272', 'P417', 'Q6828190']
ASK WHERE { resource:Q1622272 property:P417 resource:Q6828190 }
No
action is_in
entity Michael Alpers
action find
entity university teacher
relation patron saint
['university teacher', 'patron saint', 'Michael Alpers']
ASK WHERE { resource:university_teacher property:patron_saint resource:Michael_Alpers }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q9592
P127
Q16970 Q16560
USER
How many churches or palaces are owned by Roman Catholic Church ?
(c(Q16970),P127,Q9592) (c(Q16560),P127,Q9592)
action count
action union
action filter_type
action find_reverse
entity Q9592
relation P127
type Q16970
action filter_type
action find_reverse
entity Q9592
relation P127
type Q16560
[{'concept': 'Q16970'}, 'P127', 'Q9592'] [{'concept': 'Q16560'}, 'P127', 'Q9592']
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { VALUES ( ?g ) { ( ontology:Q16970 ) ( ontology:Q16560 ) } . ?x rdf:type ?g }
Roman Catholic Church
action count
action union
action filter_type
action find_reverse
entity Roman Catholic Church
relation owned by
type church
action filter_type
action find_reverse
entity Roman Catholic Church
relation owned by
type palace
[{'concept': 'church'}, 'owned by', 'Roman Catholic Church'] [{'concept': 'palace'}, 'owned by', 'Roman Catholic Church']
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { VALUES ( ?g ) { ( ontology:church ) ( ontology:palace ) } . ?x rdf:type ?g }
[]
church palace
SYSTEM
3
Q3919090 Q980982 Q145093
(c(Q16970),P127,Q9592) (c(Q16560),P127,Q9592)
action count
action union
action filter_type
action find_reverse
entity Q9592
relation P127
type Q16970
action filter_type
action find_reverse
entity Q9592
relation P127
type Q16560
[ANSWER]
[{'concept': 'Q16970'}, 'P127', 'Q9592'] [{'concept': 'Q16560'}, 'P127', 'Q9592']
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { VALUES ( ?g ) { ( ontology:Q16970 ) ( ontology:Q16560 ) } . ?x rdf:type ?g }
Sarja Church Sacred Heart Cathedral Apostolic Palace
3
action count
action union
action filter_type
action find_reverse
entity Roman Catholic Church
relation owned by
type church
action filter_type
action find_reverse
entity Roman Catholic Church
relation owned by
type palace
[{'concept': 'church'}, 'owned by', 'Roman Catholic Church'] [{'concept': 'palace'}, 'owned by', 'Roman Catholic Church']
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { VALUES ( ?g ) { ( ontology:church ) ( ontology:palace ) } . ?x rdf:type ?g }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1234713 Q1489271
P425
Q1047113
USER
Is eloquence associated with the field of occupation theologian ?
(Q1234713,P425,Q1489271)
action is_in
entity Q1489271
action find
entity Q1234713
relation P425
['Q1234713', 'P425', 'Q1489271']
ASK WHERE { resource:Q1234713 property:P425 resource:Q1489271 }
theologian eloquence
action is_in
entity eloquence
action find
entity theologian
relation field of this occupation
['theologian', 'field of this occupation', 'eloquence']
ASK WHERE { resource:theologian property:field_of_this_occupation resource:eloquence }
[]
special field
SYSTEM
NO
(Q1234713,P425,Q1489271)
action is_in
entity Q1489271
action find
entity Q1234713
relation P425
[ANSWER]
['Q1234713', 'P425', 'Q1489271']
ASK WHERE { resource:Q1234713 property:P425 resource:Q1489271 }
No
action is_in
entity eloquence
action find
entity theologian
relation field of this occupation
['theologian', 'field of this occupation', 'eloquence']
ASK WHERE { resource:theologian property:field_of_this_occupation resource:eloquence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are atmost 100 names composed in ?
(c(Q82799),P407,c(Q34770))
action count
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 100
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?m rdf:type ontology:Q34770 . ?k rdf:type ontology:Q82799 . ?k property:P407 ?m } GROUP BY ?m } . FILTER ( ?h <= 100 ) }
action count
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 100
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?m rdf:type ontology:language . ?k rdf:type ontology:name . ?k property:language_of_work_or_name ?m } GROUP BY ?m } . FILTER ( ?h <= 100 ) }
[]
language name
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action count
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 100
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?m rdf:type ontology:Q34770 . ?k rdf:type ontology:Q82799 . ?k property:P407 ?m } GROUP BY ?m } . FILTER ( ?h <= 100 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
28
action count
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 100
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?m rdf:type ontology:language . ?k rdf:type ontology:name . ?k property:language_of_work_or_name ?m } GROUP BY ?m } . FILTER ( ?h <= 100 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3246797
P748
Q11204 Q895526 Q12737077
USER
How many occupations did more number of legislatures or authority organs appoint than Secretary of State for Transport ?
(c(Q12737077),P748,c(Q11204)|c(Q895526))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action count
action filter_multi_types
action find
entity Q3246797
relation P748
type Q11204
type Q895526
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?o ) WHERE { { ?z property:P748 ?n . ?z rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q895526 } UNION { ?z property:P748 ?n . ?n rdf:type ontology:Q11204 . ?z rdf:type ontology:Q12737077 } } GROUP BY ?z } . FILTER ( ?o > ?e ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q3246797 property:P748 ?i . { { ?i rdf:type ontology:Q11204 } UNION { ?i rdf:type ontology:Q895526 } } } } }
Secretary of State for Transport
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action count
action filter_multi_types
action find
entity Secretary of State for Transport
relation appointed by
type legislature
type authority organ
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?o ) WHERE { { ?z property:appointed_by ?n . ?z rdf:type ontology:occupation . ?n rdf:type ontology:authority_organ } UNION { ?z property:appointed_by ?n . ?n rdf:type ontology:legislature . ?z rdf:type ontology:occupation } } GROUP BY ?z } . FILTER ( ?o > ?e ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Secretary_of_State_for_Transport property:appointed_by ?i . { { ?i rdf:type ontology:legislature } UNION { ?i rdf:type ontology:authority_organ } } } } }
[]
legislature authority organ occupation
SYSTEM
38
Q2666591 Q11793630 Q1072417 Q2287650 Q5333410 Q261746 Q1029955 Q642859 Q967762 Q655407 Q940135 Q2305968 Q596123 Q7444340 Q2419581 Q25863345 Q2747647 Q1043568 Q13645132 Q636207 Q2003296 Q967750 Q866680 Q783785 Q1072415 Q26000995 Q1763459 Q1591470 Q735015 Q1029968 Q2297543 Q4122271 Q967737 Q6542448 Q2301213 Q1658460 Q786242 Q1434880
(c(Q12737077),P748,c(Q11204)|c(Q895526))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action count
action filter_multi_types
action find
entity Q3246797
relation P748
type Q11204
type Q895526
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?o ) WHERE { { ?z property:P748 ?n . ?z rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q895526 } UNION { ?z property:P748 ?n . ?n rdf:type ontology:Q11204 . ?z rdf:type ontology:Q12737077 } } GROUP BY ?z } . FILTER ( ?o > ?e ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q3246797 property:P748 ?i . { { ?i rdf:type ontology:Q11204 } UNION { ?i rdf:type ontology:Q895526 } } } } }
Chair of the Federal Reserve governor of national banks of Serbia and Yugoslavia Chief of Staff of the United States Air Force United States Secretary of the Interior Economic Secretary to the Treasury United States Secretary of the Air Force United States Secretary of Agriculture United States Secretary of Homeland Security United States Secretary of Education President of the People's Republic of China United States Secretary of the Navy United States Secretary of Health and Human Services president of Bangladesh Secretary of State for Dominion Affairs United States Secretary of Housing and Urban Development Secretary of State for International Trade Secretary of State for Defence Prime Minister of Vietnam Lord Mayor of Dublin United States Attorney General United States Secretary of Commerce United States Secretary of Labor President of Vietnam Chief of Staff of the United States Army Chief of Naval Operations President of the Parliament of Catalonia Chairman of the Joint Chiefs of Staff United States Secretary of the Army United States Secretary of Defense United States Secretary of Energy United States Deputy Secretary of Defense Premier of the People's Republic of China United States Secretary of Transportation Librarian of Congress United States Deputy Secretary of State United States Secretary of Veterans Affairs White House Chief of Staff Surgeon General of the United States
38
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action count
action filter_multi_types
action find
entity Secretary of State for Transport
relation appointed by
type legislature
type authority organ
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?o ) WHERE { { ?z property:appointed_by ?n . ?z rdf:type ontology:occupation . ?n rdf:type ontology:authority_organ } UNION { ?z property:appointed_by ?n . ?n rdf:type ontology:legislature . ?z rdf:type ontology:occupation } } GROUP BY ?z } . FILTER ( ?o > ?e ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Secretary_of_State_for_Transport property:appointed_by ?i . { { ?i rdf:type ontology:legislature } UNION { ?i rdf:type ontology:authority_organ } } } } }
[]