Simple Question (Direct)
Simple Question
Q375477
P106
Q12737077
USER
What are the professions of Ion Ivanovici ?
(Q375477,P106,c(Q12737077))
action filter_type
action find
entity Q375477
relation P106
type Q12737077
['Q375477', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q375477 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Ion Ivanovici
action filter_type
action find
entity Ion Ivanovici
relation occupation
type occupation
['Ion Ivanovici', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Ion_Ivanovici property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q158852 Q36834
SYSTEM
conductor, composer
Q158852 Q36834
(Q375477,P106,c(Q12737077))
action filter_type
action find
entity Q375477
relation P106
type Q12737077
The professions of Ion Ivanovici are [ANSWERS]
['Q375477', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q375477 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
conductor composer
The professions of Ion Ivanovici are conductor and composer
conductor composer
action filter_type
action find
entity Ion Ivanovici
relation occupation
type occupation
['Ion Ivanovici', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Ion_Ivanovici property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q375477
P21
Q290
USER
Which sex does Ion Ivanovici possess ?
(Q375477,P21,c(Q290))
action filter_type
action find
entity Q375477
relation P21
type Q290
['Q375477', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q375477 property:P21 ?k . ?k rdf:type ontology:Q290 }
Ion Ivanovici
action filter_type
action find
entity Ion Ivanovici
relation gender
type sex
['Ion Ivanovici', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Ion_Ivanovici property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q375477,P21,c(Q290))
action filter_type
action find
entity Q375477
relation P21
type Q290
Ion Ivanovici possesses un [ANSWER]
['Q375477', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q375477 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Ion Ivanovici possesses un male
male
action filter_type
action find
entity Ion Ivanovici
relation gender
type sex
['Ion Ivanovici', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Ion_Ivanovici property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3809731
Q290
USER
And how about Johnny Lombardi?
(Q3809731,P21,c(Q290))
action filter_type
action find
entity Q3809731
relation P21
type Q290
['Q3809731', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3809731 property:P21 ?s . ?s rdf:type ontology:Q290 }
Johnny Lombardi
action filter_type
action find
entity Johnny Lombardi
relation gender
type sex
['Johnny Lombardi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Johnny_Lombardi property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3809731,P21,c(Q290))
action filter_type
action find
entity Q3809731
relation P21
type Q290
[ANSWER]
['Q3809731', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3809731 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Johnny Lombardi
relation gender
type sex
['Johnny Lombardi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Johnny_Lombardi property:gender ?s . ?s rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1044136
P748
Q12737077 Q701632 Q12737077
USER
How many occupations did more number of occupations or municipal councils appoint than president of Tajikistan ?
(c(Q12737077),P748,c(Q12737077)|c(Q701632))
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 Q701632
action count
action filter_multi_types
action find
entity Q1044136
relation P748
type Q12737077
type Q701632
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?n ) WHERE { { ?w property:P748 ?c . ?w rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q12737077 } UNION { ?w property:P748 ?c . ?c rdf:type ontology:Q701632 . ?w rdf:type ontology:Q12737077 } } GROUP BY ?w } . FILTER ( ?n > ?v ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { { ?t rdf:type ontology:Q12737077 } UNION { ?t rdf:type ontology:Q701632 } } . resource:Q1044136 property:P748 ?t } } }
president of Tajikistan
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 municipal council
action count
action filter_multi_types
action find
entity president of Tajikistan
relation appointed by
type occupation
type municipal council
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?n ) WHERE { { ?w property:appointed_by ?c . ?w rdf:type ontology:occupation . ?c rdf:type ontology:occupation } UNION { ?w property:appointed_by ?c . ?c rdf:type ontology:municipal_council . ?w rdf:type ontology:occupation } } GROUP BY ?w } . FILTER ( ?n > ?v ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { { ?t rdf:type ontology:occupation } UNION { ?t rdf:type ontology:municipal_council } } . resource:president_of_Tajikistan property:appointed_by ?t } } }
[]
occupation municipal council occupation
SYSTEM
128
Q15934457 Q748607 Q3253692 Q192711 Q20748656 Q6865816 Q20890913 Q6865958 Q3251824 Q21371106 Q737115 Q6578215 Q1146214 Q21013169 Q23906787 Q6866004 Q4377222 Q15304810 Q1511951 Q191827 Q1476458 Q15407843 Q20736121 Q19190022 Q3251837 Q6865747 Q20872382 Q1749063 Q20872273 Q24636364 Q14565638 Q251724 Q20891385 Q6572133 Q1006398 Q6865770 Q274948 Q21384866 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q6866468 Q313465 Q15971570 Q1430943 Q3556884 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1550276 Q208487 Q4294939 Q21383592 Q6866295 Q4377230 Q7240361 Q5195495 Q27088842 Q2560704 Q3251821 Q3251819 Q4294945 Q3564227 Q6866264 Q6865750 Q7240360 Q16933549 Q18694351 Q20859388 Q45369 Q1195049 Q6865853 Q20867550 Q687075 Q3251775 Q1587677 Q20872296 Q839078 Q3251779 Q2911019 Q2430415 Q6866194 Q3251793 Q1192903 Q6865904 Q2741479 Q6123144 Q3401758 Q7240356 Q6865864 Q13527909 Q3315114 Q11895063 Q1469153 Q12270260 Q6865789 Q1195270 Q6865781 Q7013201 Q2505890 Q6865756 Q20872339 Q16009376 Q3251800 Q3259469 Q26209358 Q5097071 Q6865981 Q20992515 Q3251807 Q13526082 Q6866016 Q1790154 Q6866422 Q3251818 Q6866427 Q26721218 Q6865902 Q738695 Q844587 Q20877172 Q2334076 Q541355 Q702650
(c(Q12737077),P748,c(Q12737077)|c(Q701632))
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 Q701632
action count
action filter_multi_types
action find
entity Q1044136
relation P748
type Q12737077
type Q701632
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?n ) WHERE { { ?w property:P748 ?c . ?w rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q12737077 } UNION { ?w property:P748 ?c . ?c rdf:type ontology:Q701632 . ?w rdf:type ontology:Q12737077 } } GROUP BY ?w } . FILTER ( ?n > ?v ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { { ?t rdf:type ontology:Q12737077 } UNION { ?t rdf:type ontology:Q701632 } } . resource:Q1044136 property:P748 ?t } } }
Minister of Transport Minister of International Trade President of the Treasury Board Prime Minister of India municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven Minister for Social Protection Minister of Natural Resources municipal executive of Amersfoort Prime Minister of Estonia Premier of Saskatchewan Tánaiste municipal executive of The Hague Bishop of Nevers Minister for the Environment, Community and Local Government 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 municipal executive of Coevorden Minister for Foreign Affairs of Sweden municipal executive of Boxmeer bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland municipal executive of Deventer Governor of İstanbul Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Prime Minister of Japan municipal executive of Rotterdam Prime Minister of Portugal municipal executive of Amsterdam 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 municipal executive of Haarlem 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 municipal executive of Mierlo Prime Minister of Slovakia Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem Prime Minister of Sweden Minister of the Environment Prime Minister of France municipal executive of Almere 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 municipal executive of Woerden Prime Minister of Albania Minister of Health Prime Minister of Poland municipal executive of Warffum Chief of the Secret Intelligence Service Minister for Transport, Tourism and Sport municipal executive of Utrecht Minister of Veterans Affairs Premier of Queensland Minister for the purposes of the Atlantic Canada Opportunities Agency Act Chief Minister of Delhi Minister of Western Economic Diversification Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere 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
128
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 municipal council
action count
action filter_multi_types
action find
entity president of Tajikistan
relation appointed by
type occupation
type municipal council
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?n ) WHERE { { ?w property:appointed_by ?c . ?w rdf:type ontology:occupation . ?c rdf:type ontology:occupation } UNION { ?w property:appointed_by ?c . ?c rdf:type ontology:municipal_council . ?w rdf:type ontology:occupation } } GROUP BY ?w } . FILTER ( ?n > ?v ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { { ?t rdf:type ontology:occupation } UNION { ?t rdf:type ontology:municipal_council } } . resource:president_of_Tajikistan property:appointed_by ?t } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P101
Q502895
USER
Which people have specialisation in composer ?
(c(Q502895),P101,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q36834']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P101 resource:Q36834 }
composer
action filter_type
action find_reverse
entity composer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'composer']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:field_of_work resource:composer }
[]
common name
Q18171888 Q554775
SYSTEM
Kim André Arnesen, Frans Bak
Q18171888 Q554775
(c(Q502895),P101,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P101
type Q502895
[ANSWERS] have specialisation in composer
[{'concept': 'Q502895'}, 'P101', 'Q36834']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P101 resource:Q36834 }
Kim André Arnesen Frans Bak
Kim André Arnesen and Frans Bak have specialisation in composer
Kim André Arnesen Frans Bak
action filter_type
action find_reverse
entity composer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'composer']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:field_of_work resource:composer }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18171888 Q554775
P101
Q12737077
USER
What are the fields of work of Kim André Arnesen and Frans Bak ?
(Q18171888,P101,c(Q12737077)) (Q554775,P101,c(Q12737077))
action union
action filter_type
action find
entity Q18171888
relation P101
type Q12737077
action filter_type
action find
entity Q554775
relation P101
type Q12737077
['Q18171888', 'P101', {'concept': 'Q12737077'}] ['Q554775', 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?m ) { ( resource:Q18171888 ) ( resource:Q554775 ) } . ?m property:P101 ?c }
Kim André Arnesen Frans Bak
action union
action filter_type
action find
entity Kim André Arnesen
relation field of work
type occupation
action filter_type
action find
entity Frans Bak
relation field of work
type occupation
['Kim André Arnesen', 'field of work', {'concept': 'occupation'}] ['Frans Bak', 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?m ) { ( resource:Kim_André_Arnesen ) ( resource:Frans_Bak ) } . ?m property:field_of_work ?c }
[]
occupation
Q36834 Q36834 Q3922505
SYSTEM
music producer for 3rd, composer for 1st, 2nd
Q3922505 Q36834 Q639669 Q36834 Q158852
(Q18171888,P101,c(Q12737077)) (Q554775,P101,c(Q12737077))
action union
action filter_type
action find
entity Q18171888
relation P101
type Q12737077
action filter_type
action find
entity Q554775
relation P101
type Q12737077
[ANSWERS]
['Q18171888', 'P101', {'concept': 'Q12737077'}] ['Q554775', 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?m ) { ( resource:Q18171888 ) ( resource:Q554775 ) } . ?m property:P101 ?c }
music producer composer musician composer conductor
The fields of work of Kim André Arnesen and Frans Bak are the composer, composer and music producer
composer composer music producer
action union
action filter_type
action find
entity Kim André Arnesen
relation field of work
type occupation
action filter_type
action find
entity Frans Bak
relation field of work
type occupation
['Kim André Arnesen', 'field of work', {'concept': 'occupation'}] ['Frans Bak', 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?m ) { ( resource:Kim_André_Arnesen ) ( resource:Frans_Bak ) } . ?m property:field_of_work ?c }
[]
Clarification
Simple Question|Single Entity|Indirect
Q36834
P425
Q12737077
USER
Which occupation does that one belong to ?
(c(Q12737077),P425,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q36834']
SELECT DISTINCT ?h WHERE { ?h property:P425 resource:Q36834 . ?h rdf:type ontology:Q12737077 }
composer
action filter_type
action find_reverse
entity composer
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'composer']
SELECT DISTINCT ?h WHERE { ?h property:field_of_this_occupation resource:composer . ?h rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q36834
SYSTEM
Did you mean composer ?
Q36834 Q36834 Q3922505
(c(Q12737077),P425,Q36834) (c(Q12737077),P425,Q36834) (c(Q12737077),P425,Q3922505)
[ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q36834'] [{'concept': 'Q12737077'}, 'P425', 'Q36834'] [{'concept': 'Q12737077'}, 'P425', 'Q3922505']
SELECT DISTINCT ?h WHERE { ?h property:P425 resource:Q36834 . ?h rdf:type ontology:Q12737077 }
composer composer music producer
Did you mean composer ?
composer
[{'concept': 'occupation'}, 'field of this occupation', 'composer'] [{'concept': 'occupation'}, 'field of this occupation', 'composer'] [{'concept': 'occupation'}, 'field of this occupation', 'music producer']
SELECT DISTINCT ?h WHERE { ?h property:field_of_this_occupation resource:composer . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q12737077),P425,Q36834)
[{'concept': 'Q12737077'}, 'P425', 'Q36834']
[{'concept': 'occupation'}, 'field of this occupation', 'composer']
[]
Q2936875
SYSTEM
Cantore al liuto
Q2936875
(c(Q12737077),P425,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P425
type Q12737077
That one belongs to [ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q36834']
SELECT DISTINCT ?h WHERE { ?h property:P425 resource:Q36834 . ?h rdf:type ontology:Q12737077 }
Cantore al liuto
That one belongs to Cantore al liuto
Cantore al liuto
action filter_type
action find_reverse
entity composer
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'composer']
SELECT DISTINCT ?h WHERE { ?h property:field_of_this_occupation resource:composer . ?h rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P425
Q1914636 Q12737077
USER
How many activities or occupations have that occupation as the associated fields of occupation ?
(Q2936875,P425,c(Q1914636)) (Q2936875,P425,c(Q12737077)) (Q2936875,P425,c(Q1914636)) (Q2936875,P425,c(Q12737077))
action count
action union
action filter_type
action find
entity Q2936875
relation P425
type Q1914636
action filter_type
action find
entity Q2936875
relation P425
type Q12737077
['Q2936875', 'P425', {'concept': 'Q1914636'}] ['Q2936875', 'P425', {'concept': 'Q12737077'}] ['Q2936875', 'P425', {'concept': 'Q1914636'}] ['Q2936875', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { ?w rdf:type ontology:Q12737077 . resource:Q2936875 property:P425 ?w } UNION { resource:Q2936875 property:P425 ?w . ?w rdf:type ontology:Q1914636 } }
action count
action union
action filter_type
action find
entity Cantore al liuto
relation field of this occupation
type activity
action filter_type
action find
entity Cantore al liuto
relation field of this occupation
type occupation
['Cantore al liuto', 'field of this occupation', {'concept': 'activity'}] ['Cantore al liuto', 'field of this occupation', {'concept': 'occupation'}] ['Cantore al liuto', 'field of this occupation', {'concept': 'activity'}] ['Cantore al liuto', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { ?w rdf:type ontology:occupation . resource:Cantore_al_liuto property:field_of_this_occupation ?w } UNION { resource:Cantore_al_liuto property:field_of_this_occupation ?w . ?w rdf:type ontology:activity } }
[]
activity occupation
SYSTEM
2
Q638 Q36834
(Q2936875,P425,c(Q1914636)) (Q2936875,P425,c(Q12737077)) (Q2936875,P425,c(Q1914636)) (Q2936875,P425,c(Q12737077))
action count
action union
action filter_type
action find
entity Q2936875
relation P425
type Q1914636
action filter_type
action find
entity Q2936875
relation P425
type Q12737077
[ANSWER]
['Q2936875', 'P425', {'concept': 'Q1914636'}] ['Q2936875', 'P425', {'concept': 'Q12737077'}] ['Q2936875', 'P425', {'concept': 'Q1914636'}] ['Q2936875', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { ?w rdf:type ontology:Q12737077 . resource:Q2936875 property:P425 ?w } UNION { resource:Q2936875 property:P425 ?w . ?w rdf:type ontology:Q1914636 } }
music composer
2
action count
action union
action filter_type
action find
entity Cantore al liuto
relation field of this occupation
type activity
action filter_type
action find
entity Cantore al liuto
relation field of this occupation
type occupation
['Cantore al liuto', 'field of this occupation', {'concept': 'activity'}] ['Cantore al liuto', 'field of this occupation', {'concept': 'occupation'}] ['Cantore al liuto', 'field of this occupation', {'concept': 'activity'}] ['Cantore al liuto', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { ?w rdf:type ontology:occupation . resource:Cantore_al_liuto property:field_of_this_occupation ?w } UNION { resource:Cantore_al_liuto property:field_of_this_occupation ?w . ?w rdf:type ontology:activity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18171888
P19
Q56061
USER
Which administrative territory is the birthplace of Kim André Arnesen ?
(Q18171888,P19,c(Q56061))
action filter_type
action find
entity Q18171888
relation P19
type Q56061
['Q18171888', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q18171888 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Kim André Arnesen
action filter_type
action find
entity Kim André Arnesen
relation place of birth
type administrative territorial entity
['Kim André Arnesen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Kim_André_Arnesen property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25804
SYSTEM
Trondheim
Q25804
(Q18171888,P19,c(Q56061))
action filter_type
action find
entity Q18171888
relation P19
type Q56061
[ANSWER] is the birthplace of Kim André Arnesen
['Q18171888', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q18171888 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Trondheim
Trondheim is the birthplace of Kim André Arnesen
Trondheim
action filter_type
action find
entity Kim André Arnesen
relation place of birth
type administrative territorial entity
['Kim André Arnesen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Kim_André_Arnesen property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]