Simple Question (Direct)
Simple Question
Q1236274
P1412
Q34770
USER
Which language can Luigi Albertini read ?
(Q1236274,P1412,c(Q34770))
action filter_type
action find
entity Q1236274
relation P1412
type Q34770
['Q1236274', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q1236274 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Luigi Albertini
action filter_type
action find
entity Luigi Albertini
relation languages spoken, written or signed
type language
['Luigi Albertini', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Luigi_Albertini property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q1236274,P1412,c(Q34770))
action filter_type
action find
entity Q1236274
relation P1412
type Q34770
Luigi Albertini can read in [ANSWER]
['Q1236274', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q1236274 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Italian
Luigi Albertini can read in Italian
Italian
action filter_type
action find
entity Luigi Albertini
relation languages spoken, written or signed
type language
['Luigi Albertini', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Luigi_Albertini property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1236274
P21
Q290
USER
Which sex does that person have ?
(Q652,P21,c(Q290))
action filter_type
action find
entity Q1236274
relation P21
type Q290
['Q652', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q1236274 property:P21 ?r . ?r rdf:type ontology:Q290 }
Luigi Albertini
action filter_type
action find
entity Luigi Albertini
relation gender
type sex
['Italian', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Luigi_Albertini property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q652,P21,c(Q290))
action filter_type
action find
entity Q1236274
relation P21
type Q290
That person has a [ANSWER]
['Q652', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q1236274 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Luigi Albertini
relation gender
type sex
['Italian', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Luigi_Albertini property:gender ?r . ?r rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q9056
P364
Q34770 Q21114848 Q2342494
USER
How many languages are considered to be the original language of creation of more number of magazine genres or collectables than Czech ?
(c(Q21114848)|c(Q2342494),P364,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q9056
relation P364
type Q21114848
type Q2342494
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:P364 resource:Q9056 . { { ?v rdf:type ontology:Q2342494 } UNION { ?v rdf:type ontology:Q21114848 } } } } . FILTER ( ?y > ?h ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?d WHERE { ?b rdf:type ?l . VALUES ( ?l ) { ( ontology:Q21114848 ) ( ontology:Q2342494 ) } } GROUP BY ?d } }
Czech
action count
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Czech
relation original language of work
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:original_language_of_work resource:Czech . { { ?v rdf:type ontology:collectable } UNION { ?v rdf:type ontology:magazine_genre } } } } . FILTER ( ?y > ?h ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?d WHERE { ?b rdf:type ?l . VALUES ( ?l ) { ( ontology:magazine_genre ) ( ontology:collectable ) } } GROUP BY ?d } }
[]
language magazine genre collectable
SYSTEM
3
Q1860 Q1321 Q652
(c(Q21114848)|c(Q2342494),P364,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q9056
relation P364
type Q21114848
type Q2342494
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:P364 resource:Q9056 . { { ?v rdf:type ontology:Q2342494 } UNION { ?v rdf:type ontology:Q21114848 } } } } . FILTER ( ?y > ?h ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?d WHERE { ?b rdf:type ?l . VALUES ( ?l ) { ( ontology:Q21114848 ) ( ontology:Q2342494 ) } } GROUP BY ?d } }
English Spanish Italian
3
action count
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Czech
relation original language of work
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:original_language_of_work resource:Czech . { { ?v rdf:type ontology:collectable } UNION { ?v rdf:type ontology:magazine_genre } } } } . FILTER ( ?y > ?h ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?d WHERE { ?b rdf:type ?l . VALUES ( ?l ) { ( ontology:magazine_genre ) ( ontology:collectable ) } } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q33976
P364
Q34770 Q21114848 Q2342494
USER
And also tell me about Sardinian language?
(c(Q21114848)|c(Q2342494),P364,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q33976
relation P364
type Q21114848
type Q2342494
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P364 resource:Q33976 . { VALUES ( ?x ) { ( ontology:Q21114848 ) ( ontology:Q2342494 ) } . ?p rdf:type ?x } } } . FILTER ( ?i > ?v ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?a WHERE { { ?u property:P364 ?a . ?a rdf:type ontology:Q34770 . ?u rdf:type ontology:Q21114848 } UNION { ?u property:P364 ?a . ?u rdf:type ontology:Q2342494 . ?a rdf:type ontology:Q34770 } } GROUP BY ?a } }
Sardinian language
action count
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Sardinian language
relation original language of work
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:original_language_of_work resource:Sardinian_language . { VALUES ( ?x ) { ( ontology:magazine_genre ) ( ontology:collectable ) } . ?p rdf:type ?x } } } . FILTER ( ?i > ?v ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?a WHERE { { ?u property:original_language_of_work ?a . ?a rdf:type ontology:language . ?u rdf:type ontology:magazine_genre } UNION { ?u property:original_language_of_work ?a . ?u rdf:type ontology:collectable . ?a rdf:type ontology:language } } GROUP BY ?a } }
[]
language magazine genre collectable
SYSTEM
17
Q13414913 Q1860 Q35499 Q8785 Q33251 Q18130932 Q1321 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q3110592 Q783605
(c(Q21114848)|c(Q2342494),P364,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q33976
relation P364
type Q21114848
type Q2342494
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P364 resource:Q33976 . { VALUES ( ?x ) { ( ontology:Q21114848 ) ( ontology:Q2342494 ) } . ?p rdf:type ?x } } } . FILTER ( ?i > ?v ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?a WHERE { { ?u property:P364 ?a . ?a rdf:type ontology:Q34770 . ?u rdf:type ontology:Q21114848 } UNION { ?u property:P364 ?a . ?u rdf:type ontology:Q2342494 . ?a rdf:type ontology:Q34770 } } GROUP BY ?a } }
Simplified Chinese English Old Church Slavonic Armenian Church Slavonic Traditional Chinese Spanish Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk written Chinese Written vernacular Chinese
17
action count
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Sardinian language
relation original language of work
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:original_language_of_work resource:Sardinian_language . { VALUES ( ?x ) { ( ontology:magazine_genre ) ( ontology:collectable ) } . ?p rdf:type ?x } } } . FILTER ( ?i > ?v ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?a WHERE { { ?u property:original_language_of_work ?a . ?a rdf:type ontology:language . ?u rdf:type ontology:magazine_genre } UNION { ?u property:original_language_of_work ?a . ?u rdf:type ontology:collectable . ?a rdf:type ontology:language } } GROUP BY ?a } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1236274
P27
Q7275
USER
Which state is the native country of Luigi Albertini ?
(Q1236274,P27,c(Q7275))
action filter_type
action find
entity Q1236274
relation P27
type Q7275
['Q1236274', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q1236274 property:P27 ?p . ?p rdf:type ontology:Q7275 }
Luigi Albertini
action filter_type
action find
entity Luigi Albertini
relation country of citizenship
type state
['Luigi Albertini', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Luigi_Albertini property:country_of_citizenship ?p . ?p rdf:type ontology:state }
[]
state
Q172579
SYSTEM
Kingdom of Italy
Q172579
(Q1236274,P27,c(Q7275))
action filter_type
action find
entity Q1236274
relation P27
type Q7275
The [ANSWER] is the native country of Luigi Albertini
['Q1236274', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?p WHERE { resource:Q1236274 property:P27 ?p . ?p rdf:type ontology:Q7275 }
Kingdom of Italy
The Kingdom of Italy is the native country of Luigi Albertini
Kingdom of Italy
action filter_type
action find
entity Luigi Albertini
relation country of citizenship
type state
['Luigi Albertini', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?p WHERE { resource:Luigi_Albertini property:country_of_citizenship ?p . ?p rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1236274
P734
Q82799
USER
Who is associated with that person ?
(Q172579,P734,c(Q82799))
action filter_type
action find
entity Q1236274
relation P734
type Q82799
['Q172579', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q1236274 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Luigi Albertini
action filter_type
action find
entity Luigi Albertini
relation family name
type name
['Kingdom of Italy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Luigi_Albertini property:family_name ?x . ?x rdf:type ontology:name }
[]
name
Q21494596
SYSTEM
Albertini
Q21494596
(Q172579,P734,c(Q82799))
action filter_type
action find
entity Q1236274
relation P734
type Q82799
[ANSWER] is associated with that person
['Q172579', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q1236274 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Albertini
Albertini is associated with that person
Albertini
action filter_type
action find
entity Luigi Albertini
relation family name
type name
['Kingdom of Italy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Luigi_Albertini property:family_name ?x . ?x rdf:type ontology:name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q201038
P194
Q11204 Q1752346 Q7275
USER
How many states have greater number of legislatures and assemblies as their legislative body than Roman Kingdom ?
(c(Q7275),P194,c(Q11204)|c(Q1752346))
action count
action greater
action union
action find_tuple_counts
relation P194
type Q7275
type Q11204
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_multi_types
action find
entity Q201038
relation P194
type Q11204
type Q1752346
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?z WHERE { VALUES ( ?v ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?w rdf:type ?v } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { { ?f rdf:type ontology:Q1752346 } UNION { ?f rdf:type ontology:Q11204 } } . resource:Q201038 property:P194 ?f } } . FILTER ( ?o > ?x ) }
Roman Kingdom
action count
action greater
action union
action find_tuple_counts
relation legislative body
type state
type legislature
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_multi_types
action find
entity Roman Kingdom
relation legislative body
type legislature
type assembly
[{'concept': 'state'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?z WHERE { VALUES ( ?v ) { ( ontology:legislature ) ( ontology:assembly ) } . ?w rdf:type ?v } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { { ?f rdf:type ontology:assembly } UNION { ?f rdf:type ontology:legislature } } . resource:Roman_Kingdom property:legislative_body ?f } } . FILTER ( ?o > ?x ) }
[]
legislature assembly state
SYSTEM
66
Q241748 Q774783 Q105092 Q70802 Q842931 Q152115 Q121932 Q7318 Q18285930 Q179876 Q207162 Q25279 Q174193 Q233263 Q330988 Q27306 Q533558 Q1044536 Q21203 Q131964 Q215530 Q488521 Q161885 Q328818 Q2638486 Q171150 Q1789596 Q203493 Q147909 Q980 Q58202 Q150981 Q518101 Q16410 Q1062422 Q15864 Q844250 Q303421 Q2396442 Q178038 Q386496 Q71092 Q217230 Q170072 Q146328 Q58296 Q371334 Q156038 Q824489 Q7314513 Q1140152 Q615902 Q1077630 Q491559 Q154195 Q368986 Q285658 Q156020 Q497777 Q12548 Q7314469 Q26273 Q1054184 Q487687 Q161036 Q41304
(c(Q7275),P194,c(Q11204)|c(Q1752346))
action count
action greater
action union
action find_tuple_counts
relation P194
type Q7275
type Q11204
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_multi_types
action find
entity Q201038
relation P194
type Q11204
type Q1752346
[ANSWER]
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?z WHERE { VALUES ( ?v ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?w rdf:type ?v } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { { ?f rdf:type ontology:Q1752346 } UNION { ?f rdf:type ontology:Q11204 } } . resource:Q201038 property:P194 ?f } } . FILTER ( ?o > ?x ) }
Kingdom of Serbia Sovereign Principality of the United Netherlands Kingdom of Mercia French Third Republic East Pakistan Duchy of Warsaw People's Republic of Bulgaria Nazi Germany German Empire of 1848/1849 Kingdom of England Bourbon Restoration Curaçao United Kingdom of Great Britain and Ireland Second Republic of South Korea Democratic Kampuchea Kingdom of Prussia Kingdom of Croatia-Slavonia Spain under the Restoration Aruba Austrian Empire Kingdom of Ireland Fourth Republic of South Korea Kingdom of Great Britain Kingdom of Kent Kingdom of Cambodia Kingdom of Hungary Croatia in personal union with Hungary Kingdom of Romania Kingdom of Bulgaria Bavaria July Monarchy North German Confederation First Republic of Austria People's Republic of Hungary Konbaung Dynasty United Kingdom of the Netherlands Lordship of Ireland Kingdom of Galicia Kingdom of Galicia and Lodomeria Second Spanish Republic Kingdom of Montenegro Second French Empire Empire of Brazil Dutch Republic Commonwealth of the Philippines French Republic Second Mexican Empire Duchy of Courland and Semigallia Estado Novo Republic of South Carolina Irish Republic Kingdom of Finland Septinsular Republic First Republic of South Korea Kingdom of Bavaria Republic of Mississippi First Mexican Empire State of the Teutonic Order First Spanish Republic Holy Roman Empire Republic of Georgia Sint Maarten Khmer Republic Third Republic of South Korea Free State of Prussia Weimar Republic
66
action count
action greater
action union
action find_tuple_counts
relation legislative body
type state
type legislature
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_multi_types
action find
entity Roman Kingdom
relation legislative body
type legislature
type assembly
[{'concept': 'state'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?z WHERE { VALUES ( ?v ) { ( ontology:legislature ) ( ontology:assembly ) } . ?w rdf:type ?v } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { { ?f rdf:type ontology:assembly } UNION { ?f rdf:type ontology:legislature } } . resource:Roman_Kingdom property:legislative_body ?f } } . FILTER ( ?o > ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q172579
P17
Q35798
USER
Which executive branches are located in Kingdom of Italy ?
(c(Q35798),P17,Q172579)
action filter_type
action find_reverse
entity Q172579
relation P17
type Q35798
[{'concept': 'Q35798'}, 'P17', 'Q172579']
SELECT DISTINCT ?j WHERE { ?j property:P17 resource:Q172579 . ?j rdf:type ontology:Q35798 }
Kingdom of Italy
action filter_type
action find_reverse
entity Kingdom of Italy
relation country
type executive branch
[{'concept': 'executive branch'}, 'country', 'Kingdom of Italy']
SELECT DISTINCT ?j WHERE { ?j property:country resource:Kingdom_of_Italy . ?j rdf:type ontology:executive_branch }
[]
executive branch
Q2649128 Q3773834 Q3773944
SYSTEM
De Gasperi I Cabinet, Depretis II Cabinet, Saracco Cabinet
Q3773861 Q3773929 Q3773849 Q3773865 Q3773908 Q3773909 Q3773906 Q3773907 Q3773841 Q3773840 Q3773847 Q3773799 Q3773926 Q3773927 Q16561520 Q3773800 Q3773881 Q3773803 Q2649128 Q3773867 Q21235723 Q3773894 Q3773895 Q3773866 Q3773890 Q3773891 Q3773869 Q3773838 Q3773839 Q3773959 Q3773958 Q3773868 Q3773832 Q3773807 Q3773836 Q3773953 Q3773952 Q3773977 Q3773815 Q3773913 Q3773915 Q3773793 Q3773930 Q3773889 Q3773855 Q3773979 Q3773978 Q3773806 Q3773808 Q3773827 Q3773826 Q3773860 Q3112309 Q3773886 Q3773794 Q3773801 Q3773880 Q3773834 Q3773980 Q3773981 Q3773942 Q3773824 Q3773940 Q3773835 Q3773944
(c(Q35798),P17,Q172579)
action filter_type
action find_reverse
entity Q172579
relation P17
type Q35798
[ANSWERS] are located in Kingdom of Italy
[{'concept': 'Q35798'}, 'P17', 'Q172579']
SELECT DISTINCT ?j WHERE { ?j property:P17 resource:Q172579 . ?j rdf:type ontology:Q35798 }
Fortis II Cabinet Ricasoli I Cabinet Facta II Cabinet Giolitti I Cabinet Orlando Cabinet Parri Cabinet Nitti I Cabinet Nitti II Cabinet Depretis VIII Cabinet Depretis VI Cabinet Facta I Cabinet Bonomi II Cabinet Rattazzi I Cabinet Rattazzi II Cabinet Crispi IV Cabinet Bonomi I Cabinet Lanza Cabinet Boselli Cabinet De Gasperi I Cabinet Giolitti III Cabinet La Marmora III Cabinet Minghetti I Cabinet Minghetti II Cabinet Giolitti II Cabinet Menabrea II Cabinet Menabrea III Cabinet Giolitti V Cabinet Depretis V Cabinet Depretis VII Cabinet Zanardelli Cabinet Tittoni Cabinet Giolitti IV Cabinet Depretis I Cabinet Cairoli II Cabinet Depretis IV Cabinet Sonnino II Cabinet Sonnino I Cabinet di Rudinì I Cabinet Cavour IV Cabinet Pelloux I Cabinet Pelloux II Cabinet Badoglio I Cabinet Ricasoli II Cabinet Menabrea I Cabinet Farini Cabinet di Rudinì III Cabinet di Rudinì II Cabinet Cairoli I Cabinet Cairoli III Cabinet Crispi III Cabinet Crispi II Cabinet Fortis I Cabinet Mussolini Cabinet Luzzatti Cabinet Badoglio II Cabinet Bonomi III Cabinet La Marmora II Cabinet Depretis II Cabinet di Rudinì IV Cabinet di Rudinì V Cabinet Salandra II Cabinet Crispi I Cabinet Salandra I Cabinet Depretis III Cabinet Saracco Cabinet
De Gasperi I Cabinet, Depretis II Cabinet and Saracco Cabinet are located in Kingdom of Italy
De Gasperi I Cabinet Depretis II Cabinet Saracco Cabinet
action filter_type
action find_reverse
entity Kingdom of Italy
relation country
type executive branch
[{'concept': 'executive branch'}, 'country', 'Kingdom of Italy']
SELECT DISTINCT ?j WHERE { ?j property:country resource:Kingdom_of_Italy . ?j rdf:type ontology:executive_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q172579
P551
Q502895
USER
Which people live in Kingdom of Italy ?
(c(Q502895),P551,Q172579)
action filter_type
action find_reverse
entity Q172579
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q172579']
SELECT DISTINCT ?r WHERE { ?r property:P551 resource:Q172579 . ?r rdf:type ontology:Q502895 }
Kingdom of Italy
action filter_type
action find_reverse
entity Kingdom of Italy
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Kingdom of Italy']
SELECT DISTINCT ?r WHERE { ?r property:residence resource:Kingdom_of_Italy . ?r rdf:type ontology:common_name }
[]
common name
Q55433 Q214665 Q114063
SYSTEM
Michelangelo Antonioni, Nino Rota, Ermanno Olmi
Q214665 Q912206 Q106940 Q114063 Q1009918 Q106907 Q3771707 Q1010090 Q1006997 Q1004595 Q1040798 Q55433
(c(Q502895),P551,Q172579)
action filter_type
action find_reverse
entity Q172579
relation P551
type Q502895
[ANSWERS] live in Kingdom of Italy
[{'concept': 'Q502895'}, 'P551', 'Q172579']
SELECT DISTINCT ?r WHERE { ?r property:P551 resource:Q172579 . ?r rdf:type ontology:Q502895 }
Nino Rota Marcello Marchesi Alida Valli Ermanno Olmi Brunello Rondi Giulietta Masina Giusi Raspani Dandolo Giorgio Simonelli Carlo Di Palma Fabio Carpi Rossano Brazzi Michelangelo Antonioni
Michelangelo Antonioni, Nino Rota and Ermanno Olmi live in Kingdom of Italy
Michelangelo Antonioni Nino Rota Ermanno Olmi
action filter_type
action find_reverse
entity Kingdom of Italy
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Kingdom of Italy']
SELECT DISTINCT ?r WHERE { ?r property:residence resource:Kingdom_of_Italy . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q55433
P166
Q618779
USER
Which awards were received by that person ?
(Q55433,P166,c(Q618779))
action filter_type
action find
entity Q55433
relation P166
type Q618779
['Q55433', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q55433 property:P166 ?c . ?c rdf:type ontology:Q618779 }
Michelangelo Antonioni
action filter_type
action find
entity Michelangelo Antonioni
relation award received
type award
['Michelangelo Antonioni', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Michelangelo_Antonioni property:award_received ?c . ?c rdf:type ontology:award }
[]
award
Clarification for simple ques.
Q55433
SYSTEM
Did you mean Michelangelo Antonioni ?
Q55433 Q214665 Q114063
(Q55433,P166,c(Q618779)) (Q214665,P166,c(Q618779)) (Q114063,P166,c(Q618779))
[ANSWER]
['Q55433', 'P166', {'concept': 'Q618779'}] ['Q214665', 'P166', {'concept': 'Q618779'}] ['Q114063', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q55433 property:P166 ?c . ?c rdf:type ontology:Q618779 }
Michelangelo Antonioni Nino Rota Ermanno Olmi
Did you mean Michelangelo Antonioni ?
Michelangelo Antonioni
['Michelangelo Antonioni', 'award received', {'concept': 'award'}] ['Nino Rota', 'award received', {'concept': 'award'}] ['Ermanno Olmi', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Michelangelo_Antonioni property:award_received ?c . ?c rdf:type ontology:award }
[]
Simple Question (Coreferenced)
USER
Yes
(Q55433,P166,c(Q618779))
['Q55433', 'P166', {'concept': 'Q618779'}]
['Michelangelo Antonioni', 'award received', {'concept': 'award'}]
[]
Q1700510 Q154590
SYSTEM
Golden Leopard, Golden Bear
Q1700510 Q154590
(Q55433,P166,c(Q618779))
action filter_type
action find
entity Q55433
relation P166
type Q618779
The [ANSWERS] were received by that person
['Q55433', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q55433 property:P166 ?c . ?c rdf:type ontology:Q618779 }
Golden Leopard Golden Bear
The Golden Leopard and Golden Bear were received by that person
Golden Leopard Golden Bear
action filter_type
action find
entity Michelangelo Antonioni
relation award received
type award
['Michelangelo Antonioni', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Michelangelo_Antonioni property:award_received ?c . ?c rdf:type ontology:award }
[]