Simple Question (Direct)
Simple Question
Q1826152
P106
Q12737077
USER
What are the professions of Jan Frederik Helmers ?
(Q1826152,P106,c(Q12737077))
action filter_type
action find
entity Q1826152
relation P106
type Q12737077
['Q1826152', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1826152 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Jan Frederik Helmers
action filter_type
action find
entity Jan Frederik Helmers
relation occupation
type occupation
['Jan Frederik Helmers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Jan_Frederik_Helmers property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q49757 Q36180
SYSTEM
poet, writer
Q49757 Q36180
(Q1826152,P106,c(Q12737077))
action filter_type
action find
entity Q1826152
relation P106
type Q12737077
The professions of Jan Frederik Helmers are the [ANSWERS]
['Q1826152', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1826152 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
poet writer
The professions of Jan Frederik Helmers are the poet and writer
poet writer
action filter_type
action find
entity Jan Frederik Helmers
relation occupation
type occupation
['Jan Frederik Helmers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Jan_Frederik_Helmers property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q49757
P425
Q1792379
USER
Which art genre has that one as the associated field of occupation ?
(Q49757,P425,c(Q1792379))
action filter_type
action find
entity Q49757
relation P425
type Q1792379
['Q49757', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?q WHERE { resource:Q49757 property:P425 ?q . ?q rdf:type ontology:Q1792379 }
poet
action filter_type
action find
entity poet
relation field of this occupation
type art genre
['poet', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?q WHERE { resource:poet property:field_of_this_occupation ?q . ?q rdf:type ontology:art_genre }
[]
art genre
Clarification for simple ques.
Q49757
SYSTEM
Did you mean poet ?
Q49757 Q36180
(Q49757,P425,c(Q1792379)) (Q36180,P425,c(Q1792379))
[ANSWER]
['Q49757', 'P425', {'concept': 'Q1792379'}] ['Q36180', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?q WHERE { resource:Q49757 property:P425 ?q . ?q rdf:type ontology:Q1792379 }
poet writer
Did you mean poet ?
poet
['poet', 'field of this occupation', {'concept': 'art genre'}] ['writer', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?q WHERE { resource:poet property:field_of_this_occupation ?q . ?q rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
USER
Yes
(Q49757,P425,c(Q1792379))
['Q49757', 'P425', {'concept': 'Q1792379'}]
['poet', 'field of this occupation', {'concept': 'art genre'}]
[]
Q482
SYSTEM
poetry
Q482
(Q49757,P425,c(Q1792379))
action filter_type
action find
entity Q49757
relation P425
type Q1792379
Is [ANSWER] has that one as the associated field of occupation
['Q49757', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?q WHERE { resource:Q49757 property:P425 ?q . ?q rdf:type ontology:Q1792379 }
poetry
Is poetry has that one as the associated field of occupation
poetry
action filter_type
action find
entity poet
relation field of this occupation
type art genre
['poet', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?q WHERE { resource:poet property:field_of_this_occupation ?q . ?q rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36180
P921
Q571 Q838948
USER
How many books and works of art are writer a main subject of ?
(c(Q571),P921,Q36180) (c(Q838948),P921,Q36180)
action count
action union
action filter_type
action find_reverse
entity Q36180
relation P921
type Q571
action filter_type
action find_reverse
entity Q36180
relation P921
type Q838948
[{'concept': 'Q571'}, 'P921', 'Q36180'] [{'concept': 'Q838948'}, 'P921', 'Q36180']
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { VALUES ( ?r ) { ( ontology:Q571 ) ( ontology:Q838948 ) } . ?h rdf:type ?r }
writer
action count
action union
action filter_type
action find_reverse
entity writer
relation main subject
type book
action filter_type
action find_reverse
entity writer
relation main subject
type work of art
[{'concept': 'book'}, 'main subject', 'writer'] [{'concept': 'work of art'}, 'main subject', 'writer']
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { VALUES ( ?r ) { ( ontology:book ) ( ontology:work_of_art ) } . ?h rdf:type ?r }
[]
book work of art
SYSTEM
1 books and 1 works of art
Q15291012 Q7847743
(c(Q571),P921,Q36180) (c(Q838948),P921,Q36180)
action count
action union
action filter_type
action find_reverse
entity Q36180
relation P921
type Q571
action filter_type
action find_reverse
entity Q36180
relation P921
type Q838948
[ANSWER]
[{'concept': 'Q571'}, 'P921', 'Q36180'] [{'concept': 'Q838948'}, 'P921', 'Q36180']
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { VALUES ( ?r ) { ( ontology:Q571 ) ( ontology:Q838948 ) } . ?h rdf:type ?r }
Writers and Radio Trumbo
1 books and 1 works of art
action count
action union
action filter_type
action find_reverse
entity writer
relation main subject
type book
action filter_type
action find_reverse
entity writer
relation main subject
type work of art
[{'concept': 'book'}, 'main subject', 'writer'] [{'concept': 'work of art'}, 'main subject', 'writer']
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { VALUES ( ?r ) { ( ontology:book ) ( ontology:work_of_art ) } . ?h rdf:type ?r }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P748
Q701632 Q895526 Q12737077
USER
Which occupations were appointed by max number of municipal councils or authority organs ?
(c(Q12737077),P748,c(Q701632)|c(Q895526))
action argmax
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q895526
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?u ) { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?c ) WHERE { { ?i property:P748 ?k . ?k rdf:type ontology:Q701632 . ?i rdf:type ontology:Q12737077 } UNION { ?i property:P748 ?k . ?i rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q895526 } } GROUP BY ?i } } . { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?q ) WHERE { ?l rdf:type ?s . VALUES ( ?s ) { ( ontology:Q701632 ) ( ontology:Q895526 ) } } GROUP BY ?h } . FILTER ( ?q = ?u ) }
action argmax
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type authority organ
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?u ) { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?c ) WHERE { { ?i property:appointed_by ?k . ?k rdf:type ontology:municipal_council . ?i rdf:type ontology:occupation } UNION { ?i property:appointed_by ?k . ?i rdf:type ontology:occupation . ?k rdf:type ontology:authority_organ } } GROUP BY ?i } } . { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?q ) WHERE { ?l rdf:type ?s . VALUES ( ?s ) { ( ontology:municipal_council ) ( ontology:authority_organ ) } } GROUP BY ?h } . FILTER ( ?q = ?u ) }
[]
municipal council authority organ occupation
Q25863345 Q967750 Q20748656
SYSTEM
Secretary of State for International Trade, United States Secretary of Labor, municipal executive of Zoetermeer
Q20748656 Q20890913 Q2666591 Q1072417 Q21371106 Q2287650 Q5333410 Q21013169 Q261746 Q1029955 Q642859 Q967762 Q20872382 Q20872273 Q20891385 Q940135 Q2305968 Q21384866 Q7444340 Q20194364 Q2419581 Q25863345 Q21383592 Q2747647 Q13645132 Q636207 Q2003296 Q967750 Q20859388 Q20867550 Q20872296 Q783785 Q1072415 Q1763459 Q1591470 Q735015 Q1029968 Q2297543 Q967737 Q20872339 Q26209358 Q6542448 Q2301213 Q20992515 Q26721218 Q1658460 Q786242 Q1434880
(c(Q12737077),P748,c(Q701632)|c(Q895526))
action argmax
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q895526
[ANSWERS] were appointed by max number of municipal councils or authority organs
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?u ) { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?c ) WHERE { { ?i property:P748 ?k . ?k rdf:type ontology:Q701632 . ?i rdf:type ontology:Q12737077 } UNION { ?i property:P748 ?k . ?i rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q895526 } } GROUP BY ?i } } . { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?q ) WHERE { ?l rdf:type ?s . VALUES ( ?s ) { ( ontology:Q701632 ) ( ontology:Q895526 ) } } GROUP BY ?h } . FILTER ( ?q = ?u ) }
municipal executive of Zoetermeer municipal executive of Eindhoven Chair of the Federal Reserve Chief of Staff of the United States Air Force municipal executive of Amersfoort United States Secretary of the Interior Economic Secretary to the Treasury municipal executive of The Hague United States Secretary of the Air Force United States Secretary of Agriculture United States Secretary of Homeland Security United States Secretary of Education municipal executive of Coevorden municipal executive of Boxmeer municipal executive of Deventer United States Secretary of the Navy United States Secretary of Health and Human Services municipal executive of Rotterdam Secretary of State for Dominion Affairs municipal executive of Amsterdam United States Secretary of Housing and Urban Development Secretary of State for International Trade municipal executive of Haarlem Secretary of State for Defence Lord Mayor of Dublin United States Attorney General United States Secretary of Commerce United States Secretary of Labor municipal executive of Mierlo municipal executive of Gorinchem municipal executive of Almere Chief of Staff of the United States Army Chief of Naval Operations 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 United States Secretary of Transportation municipal executive of Woerden municipal executive of Warffum Librarian of Congress United States Deputy Secretary of State municipal executive of Utrecht municipal executive of Almere United States Secretary of Veterans Affairs White House Chief of Staff Surgeon General of the United States
Secretary of State for International Trade, United States Secretary of Labor and municipal executive of Zoetermeer were appointed by max number of municipal councils or authority organs
Secretary of State for International Trade United States Secretary of Labor municipal executive of Zoetermeer
action argmax
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type authority organ
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?u ) { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?c ) WHERE { { ?i property:appointed_by ?k . ?k rdf:type ontology:municipal_council . ?i rdf:type ontology:occupation } UNION { ?i property:appointed_by ?k . ?i rdf:type ontology:occupation . ?k rdf:type ontology:authority_organ } } GROUP BY ?i } } . { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?q ) WHERE { ?l rdf:type ?s . VALUES ( ?s ) { ( ontology:municipal_council ) ( ontology:authority_organ ) } } GROUP BY ?h } . FILTER ( ?q = ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q380092
P417
Q502895 Q12737077
USER
How many people are the patron saint of greater number of occupations than Francis Borgia, 4th Duke of Gandía ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q380092
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:P417 ?h . ?h rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q380092 property:P417 ?e . ?e rdf:type ontology:Q502895 } } . FILTER ( ?t > ?c ) }
Francis Borgia, 4th Duke of Gandía
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Francis Borgia, 4th Duke of Gandía
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:patron_saint ?h . ?h rdf:type ontology:common_name . ?i rdf:type ontology:occupation } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Francis_Borgia,_4th_Duke_of_Gandía property:patron_saint ?e . ?e rdf:type ontology:common_name } } . FILTER ( ?t > ?c ) }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q380092
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:P417 ?h . ?h rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Q380092 property:P417 ?e . ?e rdf:type ontology:Q502895 } } . FILTER ( ?t > ?c ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Francis Borgia, 4th Duke of Gandía
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:patron_saint ?h . ?h rdf:type ontology:common_name . ?i rdf:type ontology:occupation } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { resource:Francis_Borgia,_4th_Duke_of_Gandía property:patron_saint ?e . ?e rdf:type ontology:common_name } } . FILTER ( ?t > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1976199
P417
Q502895 Q12737077
USER
And how about Gaudentius of Novara?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1976199
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P417 ?k . ?k rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { ?y rdf:type ontology:Q502895 . resource:Q1976199 property:P417 ?y } } . FILTER ( ?u > ?w ) }
Gaudentius of Novara
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Gaudentius of Novara
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:patron_saint ?k . ?k rdf:type ontology:common_name . ?d rdf:type ontology:occupation } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { ?y rdf:type ontology:common_name . resource:Gaudentius_of_Novara property:patron_saint ?y } } . FILTER ( ?u > ?w ) }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1976199
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P417 ?k . ?k rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { ?y rdf:type ontology:Q502895 . resource:Q1976199 property:P417 ?y } } . FILTER ( ?u > ?w ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Gaudentius of Novara
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:patron_saint ?k . ?k rdf:type ontology:common_name . ?d rdf:type ontology:occupation } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { ?y rdf:type ontology:common_name . resource:Gaudentius_of_Novara property:patron_saint ?y } } . FILTER ( ?u > ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q967750 Q2995121
P1001
Q15617994
USER
How many administrative territories belong to jurisdiction of United States Secretary of Labor or Constitution Act ?
(Q967750,P1001,c(Q15617994)) (Q2995121,P1001,c(Q15617994))
action count
action union
action filter_type
action find
entity Q967750
relation P1001
type Q15617994
action filter_type
action find
entity Q2995121
relation P1001
type Q15617994
['Q967750', 'P1001', {'concept': 'Q15617994'}] ['Q2995121', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { resource:Q967750 property:P1001 ?b . ?b rdf:type ontology:Q15617994 } UNION { resource:Q2995121 property:P1001 ?b . ?b rdf:type ontology:Q15617994 } }
United States Secretary of Labor Constitution Act
action count
action union
action filter_type
action find
entity United States Secretary of Labor
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Constitution Act
relation applies to jurisdiction
type designation for an administrative territorial entity
['United States Secretary of Labor', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Constitution Act', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { resource:United_States_Secretary_of_Labor property:applies_to_jurisdiction ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Constitution_Act property:applies_to_jurisdiction ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q30 Q1974
(Q967750,P1001,c(Q15617994)) (Q2995121,P1001,c(Q15617994))
action count
action union
action filter_type
action find
entity Q967750
relation P1001
type Q15617994
action filter_type
action find
entity Q2995121
relation P1001
type Q15617994
[ANSWER]
['Q967750', 'P1001', {'concept': 'Q15617994'}] ['Q2995121', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { resource:Q967750 property:P1001 ?b . ?b rdf:type ontology:Q15617994 } UNION { resource:Q2995121 property:P1001 ?b . ?b rdf:type ontology:Q15617994 } }
United States of America British Columbia
2
action count
action union
action filter_type
action find
entity United States Secretary of Labor
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Constitution Act
relation applies to jurisdiction
type designation for an administrative territorial entity
['United States Secretary of Labor', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Constitution Act', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { resource:United_States_Secretary_of_Labor property:applies_to_jurisdiction ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Constitution_Act property:applies_to_jurisdiction ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q967750
P39
Q502895
USER
Who were responsible for occupying the position of that occupation ?
action filter_type
action find_reverse
entity Q967750
relation P39
type Q502895
SELECT DISTINCT ?q WHERE { ?q property:P39 resource:Q967750 . ?q rdf:type ontology:Q502895 }
United States Secretary of Labor
action filter_type
action find_reverse
entity United States Secretary of Labor
relation position held
type common name
SELECT DISTINCT ?q WHERE { ?q property:position_held resource:United_States_Secretary_of_Labor . ?q rdf:type ontology:common_name }
[]
common name
Q239571 Q50610 Q718828
SYSTEM
Elizabeth Dole, Hilda Solis, Robert Reich
Q239571 Q433650 Q723828 Q263322 Q456907 Q292340 Q50610 Q718828 Q456483 Q284635 Q7793121
action filter_type
action find_reverse
entity Q967750
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of that occupation
SELECT DISTINCT ?q WHERE { ?q property:P39 resource:Q967750 . ?q rdf:type ontology:Q502895 }
Elizabeth Dole Ann McLaughlin Korologos William Bauchop Wilson Elaine Chao James P. Mitchell Alexis Herman Hilda Solis Robert Reich William Usery Maurice J. Tobin Thomas Perez
Elizabeth Dole, Hilda Solis and Robert Reich were responsible for occupying the position of that occupation
Elizabeth Dole Hilda Solis Robert Reich
action filter_type
action find_reverse
entity United States Secretary of Labor
relation position held
type common name
SELECT DISTINCT ?q WHERE { ?q property:position_held resource:United_States_Secretary_of_Labor . ?q rdf:type ontology:common_name }
[]