Simple Question (Direct)
Simple Question
Q4261481
P21
Q290
USER
Which sex does Lika MC possess ?
(Q4261481,P21,c(Q290))
action filter_type
action find
entity Q4261481
relation P21
type Q290
['Q4261481', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q4261481 property:P21 ?a . ?a rdf:type ontology:Q290 }
Lika MC
action filter_type
action find
entity Lika MC
relation gender
type sex
['Lika MC', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Lika_MC property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q4261481,P21,c(Q290))
action filter_type
action find
entity Q4261481
relation P21
type Q290
Lika MC possesses a [ANSWER]
['Q4261481', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q4261481 property:P21 ?a . ?a rdf:type ontology:Q290 }
female
Lika MC possesses a female
female
action filter_type
action find
entity Lika MC
relation gender
type sex
['Lika MC', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Lika_MC property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4261481
P106
Q12737077
USER
What are the professions of that person ?
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q4261481
relation P106
type Q12737077
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q4261481 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Lika MC
action filter_type
action find
entity Lika MC
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Lika_MC property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q183945 Q36834 Q177220
SYSTEM
record producer, composer, singer
Q183945 Q36834 Q177220
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q4261481
relation P106
type Q12737077
The professions of that person are the [ANSWERS]
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q4261481 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
record producer composer singer
The professions of that person are the record producer, composer and singer
record producer composer singer
action filter_type
action find
entity Lika MC
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Lika_MC property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4261481
P19
Q7688
USER
Which raion was that person born at ?
(Q183945,P19,c(Q7688)) (Q36834,P19,c(Q7688)) (Q177220,P19,c(Q7688))
action filter_type
action find
entity Q4261481
relation P19
type Q7688
['Q183945', 'P19', {'concept': 'Q7688'}] ['Q36834', 'P19', {'concept': 'Q7688'}] ['Q177220', 'P19', {'concept': 'Q7688'}]
SELECT DISTINCT ?c WHERE { resource:Q4261481 property:P19 ?c . ?c rdf:type ontology:Q7688 }
Lika MC
action filter_type
action find
entity Lika MC
relation place of birth
type raion
['record producer', 'place of birth', {'concept': 'raion'}] ['composer', 'place of birth', {'concept': 'raion'}] ['singer', 'place of birth', {'concept': 'raion'}]
SELECT DISTINCT ?c WHERE { resource:Lika_MC property:place_of_birth ?c . ?c rdf:type ontology:raion }
[]
raion
Q118903
SYSTEM
Vilnius
Q118903
(Q183945,P19,c(Q7688)) (Q36834,P19,c(Q7688)) (Q177220,P19,c(Q7688))
action filter_type
action find
entity Q4261481
relation P19
type Q7688
That person was born in [ANSWER]
['Q183945', 'P19', {'concept': 'Q7688'}] ['Q36834', 'P19', {'concept': 'Q7688'}] ['Q177220', 'P19', {'concept': 'Q7688'}]
SELECT DISTINCT ?c WHERE { resource:Q4261481 property:P19 ?c . ?c rdf:type ontology:Q7688 }
Vilnius
That person was born in Vilnius
Vilnius
action filter_type
action find
entity Lika MC
relation place of birth
type raion
['record producer', 'place of birth', {'concept': 'raion'}] ['composer', 'place of birth', {'concept': 'raion'}] ['singer', 'place of birth', {'concept': 'raion'}]
SELECT DISTINCT ?c WHERE { resource:Lika_MC property:place_of_birth ?c . ?c rdf:type ontology:raion }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4261481
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Lika MC ?
(Q4261481,P27,c(Q15617994))
action filter_type
action find
entity Q4261481
relation P27
type Q15617994
['Q4261481', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q4261481 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Lika MC
action filter_type
action find
entity Lika MC
relation country of citizenship
type designation for an administrative territorial entity
['Lika MC', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Lika_MC property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q4261481,P27,c(Q15617994))
action filter_type
action find
entity Q4261481
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Lika MC
['Q4261481', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q4261481 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Russia
Russia is the country of citizenship of Lika MC
Russia
action filter_type
action find
entity Lika MC
relation country of citizenship
type designation for an administrative territorial entity
['Lika MC', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Lika_MC property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q9298645
Q15617994
USER
And also tell me about Elzear Salemma?
(Q9298645,P27,c(Q15617994))
action filter_type
action find
entity Q9298645
relation P27
type Q15617994
['Q9298645', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q9298645 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Elzear Salemma
action filter_type
action find
entity Elzear Salemma
relation country of citizenship
type designation for an administrative territorial entity
['Elzear Salemma', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Elzear_Salemma property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q733
SYSTEM
Paraguay
Q733
(Q9298645,P27,c(Q15617994))
action filter_type
action find
entity Q9298645
relation P27
type Q15617994
[ANSWER]
['Q9298645', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q9298645 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Paraguay
Paraguay
action filter_type
action find
entity Elzear Salemma
relation country of citizenship
type designation for an administrative territorial entity
['Elzear Salemma', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Elzear_Salemma property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have ambassadorial relations with atleast 105 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 105
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?x ) WHERE { ?b property:P530 ?m . ?b rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?x >= 105 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 105
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?x ) WHERE { ?b property:diplomatic_relation ?m . ?b rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?x >= 105 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 105
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?x ) WHERE { ?b property:P530 ?m . ?b rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?x >= 105 ) }
Germany Australia
2
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 105
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?x ) WHERE { ?b property:diplomatic_relation ?m . ?b rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?x >= 105 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6542448
P748
Q12737077 Q178706 Q12737077
USER
How many occupations are appointed by more number of occupations or institutions than Librarian of Congress ?
(c(Q12737077),P748,c(Q12737077)|c(Q178706))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q6542448
relation P748
type Q12737077
type Q178706
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q6542448 property:P748 ?i . { { ?i rdf:type ontology:Q178706 } UNION { ?i rdf:type ontology:Q12737077 } } } } . FILTER ( ?l > ?g ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?p WHERE { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:Q178706 ) ( ontology:Q12737077 ) } } GROUP BY ?p } }
Librarian of Congress
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity Librarian of Congress
relation appointed by
type occupation
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Librarian_of_Congress property:appointed_by ?i . { { ?i rdf:type ontology:institution } UNION { ?i rdf:type ontology:occupation } } } } . FILTER ( ?l > ?g ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?p WHERE { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:institution ) ( ontology:occupation ) } } GROUP BY ?p } }
[]
occupation institution occupation
SYSTEM
117
Q15934457 Q748607 Q3253692 Q192711 Q6865816 Q6865958 Q3251824 Q737115 Q6578215 Q1146214 Q23906787 Q6866004 Q740126 Q4377222 Q15304810 Q1511951 Q191827 Q1476458 Q15407843 Q20736121 Q19190022 Q3251837 Q6865747 Q1749063 Q24636364 Q14565638 Q251724 Q1161813 Q6572133 Q1006398 Q6865770 Q274948 Q1723031 Q369500 Q13527950 Q3315120 Q6866468 Q313465 Q15971570 Q1430943 Q3556884 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1550276 Q208487 Q4294939 Q6866295 Q4377230 Q7240361 Q5195495 Q27088842 Q2560704 Q3251821 Q3251819 Q4294945 Q3564227 Q6866264 Q6865750 Q7240360 Q16933549 Q18694351 Q45369 Q8882 Q1195049 Q6865853 Q687075 Q3251775 Q1587677 Q839078 Q3251779 Q2911019 Q2430415 Q6866194 Q3251793 Q1192903 Q6865904 Q2741479 Q6123144 Q3401758 Q7240356 Q6865864 Q13527909 Q3315114 Q11895063 Q1469153 Q12270260 Q6865789 Q1195270 Q6865781 Q7013201 Q2505890 Q6865756 Q16009376 Q3251800 Q3259469 Q5097071 Q6865981 Q634291 Q3251807 Q13526082 Q6866016 Q735587 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q6865902 Q738695 Q844587 Q20877172 Q2334076 Q541355 Q702650
(c(Q12737077),P748,c(Q12737077)|c(Q178706))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q6542448
relation P748
type Q12737077
type Q178706
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q6542448 property:P748 ?i . { { ?i rdf:type ontology:Q178706 } UNION { ?i rdf:type ontology:Q12737077 } } } } . FILTER ( ?l > ?g ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?p WHERE { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:Q178706 ) ( ontology:Q12737077 ) } } GROUP BY ?p } }
Minister of Transport Minister of International Trade President of the Treasury Board Prime Minister of India Minister for Education and Skills Minister for Social Protection Minister of Natural Resources Prime Minister of Estonia Premier of Saskatchewan Tánaiste Bishop of Nevers Minister for the Environment, Community and Local Government President of the European Parliament Premier of Nunavut Prime Minister of Romania Prime Minister of South Africa Taoiseach European Commissioner for the Environment Prime Minister of South Korea Bishop of Versailles Prime Minister of Iceland Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Minister for Foreign Affairs of Sweden bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland President of the United Nations General Assembly Governor of İstanbul Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Prime Minister of Japan Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Minister responsible for the Status of Women Minister of External Affairs President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy Premier of Western Australia Prime Minister of Israel Minister of Agriculture Minister of Public Services and Procurement Prime Minister of Greece Premier of Prince Edward Island Minister of Economy and Finance of Peru Director of the Holy See Press Office Premier of Ontario Minister of Transport Minister of Fisheries and Oceans Minister for Finance Auditor General of Canada Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia President of the Generalitat of Catalonia Minister of Communications Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade Prime Minister of Sweden Minister of the Environment Prime Minister of France Prime Minister of Canada Minister of Industry Premier of Quebec Prime Minister of Turkey Minister of Human Resources and Skills Development Minister of Citizenship and Immigration Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Secretary of State of Puerto Rico Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health Premier of Victoria Minister of National Defence Minister of Transport and Communications Prime Minister of Fiji Premier of Yukon Minister for Democratic Reform Prime Minister of Croatia Minister for Defence New York City Fire Commissioner Leader of the Government in the House of Commons Minister for Children and Youth Affairs Prime Minister of Albania Minister of Health Prime Minister of Poland Chief of the Secret Intelligence Service Minister for Transport, Tourism and Sport High Representative of the Union for Foreign Affairs and Security Policy Minister of Veterans Affairs Premier of Queensland Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Prime Minister of Spain bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan
117
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity Librarian of Congress
relation appointed by
type occupation
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Librarian_of_Congress property:appointed_by ?i . { { ?i rdf:type ontology:institution } UNION { ?i rdf:type ontology:occupation } } } } . FILTER ( ?l > ?g ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?p WHERE { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:institution ) ( ontology:occupation ) } } GROUP BY ?p } }
[]