Simple Question (Direct)
Simple Question
Q11686564
P19
Q1048835
USER
Where was Pablo Niño born ?
(Q11686564,P19,c(Q1048835))
action filter_type
action find
entity Q11686564
relation P19
type Q1048835
['Q11686564', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q11686564 property:P19 ?n . ?n rdf:type ontology:Q1048835 }
Pablo Niño
action filter_type
action find
entity Pablo Niño
relation place of birth
type political territorial entity
['Pablo Niño', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Pablo_Niño property:place_of_birth ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q15907
SYSTEM
Rota
Q15907
(Q11686564,P19,c(Q1048835))
action filter_type
action find
entity Q11686564
relation P19
type Q1048835
Pablo Niño was born in [ANSWER]
['Q11686564', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q11686564 property:P19 ?n . ?n rdf:type ontology:Q1048835 }
Rota
Pablo Niño was born in Rota
Rota
action filter_type
action find
entity Pablo Niño
relation place of birth
type political territorial entity
['Pablo Niño', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Pablo_Niño property:place_of_birth ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11686564
P1412
Q34770
USER
Which language can that person understand ?
(Q15907,P1412,c(Q34770))
action filter_type
action find
entity Q11686564
relation P1412
type Q34770
['Q15907', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q34770 . resource:Q11686564 property:P1412 ?c }
Pablo Niño
action filter_type
action find
entity Pablo Niño
relation languages spoken, written or signed
type language
['Rota', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:language . resource:Pablo_Niño property:languages_spoken,_written_or_signed ?c }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q15907,P1412,c(Q34770))
action filter_type
action find
entity Q11686564
relation P1412
type Q34770
That person can understand in [ANSWER]
['Q15907', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q34770 . resource:Q11686564 property:P1412 ?c }
Spanish
That person can understand in Spanish
Spanish
action filter_type
action find
entity Pablo Niño
relation languages spoken, written or signed
type language
['Rota', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:language . resource:Pablo_Niño property:languages_spoken,_written_or_signed ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15907
P1313
Q12737077
USER
What is the occupation held by Rota ?
(Q15907,P1313,c(Q12737077))
action filter_type
action find
entity Q15907
relation P1313
type Q12737077
['Q15907', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q15907 property:P1313 ?y . ?y rdf:type ontology:Q12737077 }
Rota
action filter_type
action find
entity Rota
relation office held by head of government
type occupation
['Rota', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Rota property:office_held_by_head_of_government ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q26691756
SYSTEM
mayor of Rota
Q26691756
(Q15907,P1313,c(Q12737077))
action filter_type
action find
entity Q15907
relation P1313
type Q12737077
The occupation held by Rota is the [ANSWER]
['Q15907', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q15907 property:P1313 ?y . ?y rdf:type ontology:Q12737077 }
mayor of Rota
The occupation held by Rota is the mayor of Rota
mayor of Rota
action filter_type
action find
entity Rota
relation office held by head of government
type occupation
['Rota', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Rota property:office_held_by_head_of_government ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1983155
Q12737077
USER
And what about Arguisuelas?
(Q1983155,P1313,c(Q12737077))
action filter_type
action find
entity Q1983155
relation P1313
type Q12737077
['Q1983155', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q1983155 property:P1313 ?a . ?a rdf:type ontology:Q12737077 }
Arguisuelas
action filter_type
action find
entity Arguisuelas
relation office held by head of government
type occupation
['Arguisuelas', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Arguisuelas property:office_held_by_head_of_government ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q26697444
SYSTEM
mayor of Arguisuelas
Q26697444
(Q1983155,P1313,c(Q12737077))
action filter_type
action find
entity Q1983155
relation P1313
type Q12737077
[ANSWER]
['Q1983155', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q1983155 property:P1313 ?a . ?a rdf:type ontology:Q12737077 }
mayor of Arguisuelas
mayor of Arguisuelas
action filter_type
action find
entity Arguisuelas
relation office held by head of government
type occupation
['Arguisuelas', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Arguisuelas property:office_held_by_head_of_government ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7411
P361
Q5962346
USER
What is Dutch a component of ?
(Q7411,P361,c(Q5962346))
action filter_type
action find
entity Q7411
relation P361
type Q5962346
['Q7411', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?b WHERE { resource:Q7411 property:P361 ?b . ?b rdf:type ontology:Q5962346 }
Dutch
action filter_type
action find
entity Dutch
relation part of
type classification scheme
['Dutch', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?b WHERE { resource:Dutch property:part_of ?b . ?b rdf:type ontology:classification_scheme }
[]
classification scheme
Q153050
SYSTEM
Low Franconian languages
Q153050
(Q7411,P361,c(Q5962346))
action filter_type
action find
entity Q7411
relation P361
type Q5962346
Dutch a component is of the [ANSWER]
['Q7411', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?b WHERE { resource:Q7411 property:P361 ?b . ?b rdf:type ontology:Q5962346 }
Low Franconian languages
Dutch a component is of the Low Franconian languages
Low Franconian languages
action filter_type
action find
entity Dutch
relation part of
type classification scheme
['Dutch', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?b WHERE { resource:Dutch property:part_of ?b . ?b rdf:type ontology:classification_scheme }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15907
P159
Q781132
USER
Which military branch has its head office location at Rota ?
(c(Q781132),P159,Q15907)
action filter_type
action find_reverse
entity Q15907
relation P159
type Q781132
[{'concept': 'Q781132'}, 'P159', 'Q15907']
SELECT DISTINCT ?x WHERE { ?x property:P159 resource:Q15907 . ?x rdf:type ontology:Q781132 }
Rota
action filter_type
action find_reverse
entity Rota
relation headquarters location
type military branch
[{'concept': 'military branch'}, 'headquarters location', 'Rota']
SELECT DISTINCT ?x WHERE { ?x property:headquarters_location resource:Rota . ?x rdf:type ontology:military_branch }
[]
military branch
Q676404
SYSTEM
Spanish Navy
Q676404
(c(Q781132),P159,Q15907)
action filter_type
action find_reverse
entity Q15907
relation P159
type Q781132
[ANSWER] has its head office location at Rota
[{'concept': 'Q781132'}, 'P159', 'Q15907']
SELECT DISTINCT ?x WHERE { ?x property:P159 resource:Q15907 . ?x rdf:type ontology:Q781132 }
Spanish Navy
Spanish Navy has its head office location at Rota
Spanish Navy
action filter_type
action find_reverse
entity Rota
relation headquarters location
type military branch
[{'concept': 'military branch'}, 'headquarters location', 'Rota']
SELECT DISTINCT ?x WHERE { ?x property:headquarters_location resource:Rota . ?x rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q676404
P137
Q2235308
USER
Which ship types were managed by that military branch ?
(c(Q2235308),P137,Q676404)
action filter_type
action find_reverse
entity Q676404
relation P137
type Q2235308
[{'concept': 'Q2235308'}, 'P137', 'Q676404']
SELECT DISTINCT ?q WHERE { ?q property:P137 resource:Q676404 . ?q rdf:type ontology:Q2235308 }
Spanish Navy
action filter_type
action find_reverse
entity Spanish Navy
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Spanish Navy']
SELECT DISTINCT ?q WHERE { ?q property:operator resource:Spanish_Navy . ?q rdf:type ontology:ship_type }
[]
ship type
Q702128 Q2297279 Q7872357
SYSTEM
Newport-class tank landing ship, USS Cabot, USS O'Hare
Q6134863 Q7873818 Q3621539 Q612004 Q6149242 Q3663277 Q979877 Q7868067 Q7573339 Q7573449 Q2297279 Q7868996 Q7573468 Q7872357 Q6950348 Q3921963 Q3211202 Q2835574 Q3491733 Q944211 Q767915 Q7874799 Q1130988 Q702128 Q2344269 Q8342485 Q683846 Q929484 Q6105201 Q3391637 Q2469765 Q5958797 Q509340 Q2876572 Q7870437 Q250801 Q6120891 Q324200 Q3095042 Q2883993 Q3211195 Q3655111 Q6100876 Q2882519 Q6009227 Q499961 Q5398510 Q6038869 Q3271651 Q608731 Q1409897 Q2917351 Q2661621 Q2568257 Q3544449 Q5502398 Q1145770 Q501355 Q7873335 Q6904523 Q3679435 Q7872930 Q5687491 Q1531015 Q5771312 Q2306307 Q899710 Q17173244 Q3274434 Q2073184 Q3396067 Q8351769 Q3775702 Q5263811 Q3544145 Q428341 Q7872823 Q3302908 Q1373432 Q5691535 Q740267 Q3544606 Q303755 Q1033665 Q7573345 Q3006433 Q11703889 Q9008398 Q7573496 Q5633879 Q7875108 Q1987949 Q7872309 Q264077 Q7875102 Q3735217 Q3010599 Q4040102 Q947325 Q6134849 Q7573398 Q7415277 Q3267907 Q1439929 Q3817433 Q9066797 Q5412397 Q5634189 Q9034326 Q7573481 Q3284102 Q5716352 Q6011826 Q804890 Q922982 Q3741359 Q4040195 Q2031040 Q804889 Q7573374 Q1628709 Q2876132 Q3663176 Q2469026 Q1276040 Q1352725 Q3268482 Q3608092 Q7573400 Q5782495 Q4992888 Q7871197 Q1630259 Q6101757 Q7868755 Q6138862 Q5965787 Q5890318 Q474975 Q7873799 Q3610223 Q7573349 Q7573340 Q1235159 Q2504396 Q7573347 Q7573344 Q4992901 Q3020892 Q6719805 Q11704117 Q525906 Q11344192 Q8964133 Q2565342 Q5771284 Q5771290 Q3726514 Q4993355 Q7573472 Q4993357 Q7871655 Q5671744 Q4392641 Q5837555 Q5874775 Q1674048 Q1858049 Q5703755 Q481311 Q3078669 Q7869531 Q7573359 Q5303297 Q7573354 Q5968615 Q6125103 Q7573353 Q107900 Q953860 Q7867257 Q1572476 Q6464618 Q576450 Q5730112 Q1200558 Q7573467 Q7573399 Q7573465 Q7573464 Q7573462 Q6826108 Q6139147 Q7573469 Q16981538 Q9021627 Q501652 Q3395651 Q9063493 Q7310228 Q1270477 Q4301987 Q6118843 Q2543092 Q7573341 Q8351773 Q950161 Q7573466 Q2664249 Q3502109 Q280212 Q5968706 Q584995 Q7573452 Q7573453 Q2481904 Q439407 Q7867591 Q2621410 Q4027334 Q5771282 Q7650033 Q7875452 Q6117835 Q2975980 Q785937 Q5634209 Q3396922 Q7870014 Q7133570 Q3284401 Q6131234
(c(Q2235308),P137,Q676404)
action filter_type
action find_reverse
entity Q676404
relation P137
type Q2235308
[ANSWERS] were managed by that military branch
[{'concept': 'Q2235308'}, 'P137', 'Q676404']
SELECT DISTINCT ?q WHERE { ?q property:P137 resource:Q676404 . ?q rdf:type ontology:Q2235308 }
Spanish submarine C-1 USS Sandoval Archimede SS Royal William Tornado Alsedo-class destroyer España-class battleship USS Capps Spanish cruiser Alfonso XIII Spanish schooner Virgen de Covadonga USS Cabot USS Dynamic Spanish sloop Jorge Juan USS O'Hare Spanish ship San Agustín Princess Royal Aragon-class cruiser Spanish ship Reina María Luisa Serviola class patrol boat Spanish cruiser Gravina Giralda USS Tom Green County Buque de Acción Marítima Newport-class tank landing ship Peral Submarine SS Castillo de Olite Manila-Acapulco Galleon Giuseppe Garibaldi-class cruiser Relámpago Spanish ship Galicia USS Jarvis Spanish cruiser Velasco Spanish frigate Reina Sofía USS Eugene A. Greene USS Isla de Cuba Álvaro de Bazán class frigate Spanish ironclad Tetuán Almirante Cervera-class cruiser Spanish frigate El Gamo Spanish ship Duque de Tetuán Alfonso XII-class cruiser Spanish cruiser Canarias Rayo (P-42) Spanish destroyer Lepanto Spanish ship Mexicano San Diego Esmeralda (1791) Nautilus San Telmo Spanish cruiser Alfonso XII Real Audaz-class destroyer Infanta Maria Teresa-class armored cruiser Spanish battleship Pelayo USS Bang French ship Censeur Girona Pinta USS Redwing Montañés-class ship of the line Spanish cruiser Isla de Luzon USS Pivot Spanish submarine C-2 Glenlee Furor class Mărăşti-class destroyer Victoria Terrebonne Parish-class tank landing ship Spanish battleship Jaime I Churruca-class destroyer Miguel de Cervantes Spanish cruiser Cristobal Colon Spanish ship Santa Ana Descubierta and Atrevida USS Picuda Spanish frigate Álvaro de Bazán USS Persistent Spanish cruiser Infanta Maria Teresa Reina Regente Spanish submarine C-4 Spanish ship San Juan Nepomuceno USS Ronquil Spanish aircraft carrier Principe de Asturias SPS Cantabria Spanish cruiser Conde del Venadito French ship Algésiras Spanish ship Infanta (1750) Spanish cruiser Infanta Isabel Spanish warship Destructor HMS Princess USS Villalobos G-5 class motor torpedo boat USS Noa São Martinho USS Vigor Evangelista Torricelli Spanish ship Castilla Spanish ship Fenix Spanish destroyer Sánchez Barcáiztegui Spanish submarine C-6 Spanish gunboat Callao San Salvador USS Kraken Spanish cruiser Vizcaya Júpiter-class minelayer Spanish ship Rayo Spanish cruiser Tornado HMS San Antonio Spanish ship Monarca Spanish transport Buenos Aires Spanish destroyer Furor Spanish ship Bahama Meteoro Spanish cruiser Baleares Spanish ironclad Sagunto Spanish frigate Blas de Lezo Spanish ship Princesa Blas de Lezo-class cruiser Baleares-class frigate Spanish frigate Numancia USS Isla de Luzon LCM-1E Velasco-class cruiser USS Converse Galicia class landing platform dock BIO Hesperides Spanish cruiser Navarra Monarca Spanish gunboat General Concha Spanish ship Conde de Regla Spanish ironclad Arapiles USS Leary Santa María-class frigate Spanish ship Real Carlos USS David W. Taylor Spanish frigate Santa María Spanish submarine Tramontana Gálvez Spanish frigate Navarra USS San Marcos Alessandro Poerio Spanish cruiser Don Juan de Austria Spanish cruiser Aragon Spanish ironclad Numancia Princesa de Asturias class cruiser Spanish cruiser Don Antonio de Ulloa Spanish cruiser Almirante Oquendo Spanish ironclad Méndez Núñez Spanish ship Principe de Asturias MV Mar Negro Spanish submarine C-5 Canarias-class cruiser Spanish frigate Méndez Núñez Giralda Spanish battleship España Spanish Aresa-class patrol boat Bustamante-class destroyer Spanish destroyer José Luis Díez Spanish ironclad Vitoria Spanish submarine C-3 Spanish ironclad Zaragoza USS McGowan Chilreu-class ocean patrol vessel Spanish cruiser Reina Cristina Spanish ship America San José Isla de Cuba Nuestra Señora de las Mercedes Argonauta German submarine U-573 Lazaga-class patrol vessel USS Furse Spanish destroyer Terror Spanish monitor Puigcerdá Spanish cruiser Navarra Spanish frigate Victoria Spanish frigate Almirante Juan de Borbón Spanish cruiser Isabel II Santa Maria Spanish ship Juan Sebastián Elcano USS Alvarado Nuestra Señora de Atocha La Princesa Spanish ship Juan Carlos I Blas de Lezo Descubierta-class corvette Spanish ship San Pedro de Alcantara Spanish gunboat Marques del Duero Spanish ship San Ildefonso San Francisco de Asís Spanish ship Reyna Mexicana SPS Patiño Spanish ship Tigre Spanish submarine G-7 Lepanto Niña Spanish cruiser Almirante Cervera Principe Alfonso Reina Victoria Eugenia-class battleship Spanish seaplane carrier Dédalo Spanish ship Montañés Spanish ship San Hermenegildo Spanish cruiser Cristóbal Colón Spanish cruiser Castilla Spanish frigate Cristóbal Colón Spanish ship Neptuno Spanish ship San Miguel Spanish cruiser Emperador Carlos V Segura-class minehunter USS Jallao Spanish frigate Canarias Spanish ship Santísima Trinidad Spanish ship Diligente Spanish ship Conquestador Spanish aircraft carrier Dédalo Spanish cruiser Rapido USS Barnstable County Spanish battleship Alfonso XIII Casa Grande-class dock landing ship Anaga-class ocean patrol ship Sutil USS Wexford County Spanish ship Salvador del Mundo Reina Regente-class protected cruiser Méndez Núñez HMS Santa Dorothea Spanish cruiser Reina Mercedes USS Harlan County Paquete de Maule Spanish destroyer Plutón Spanish destroyer Almirante Ferrándiz
Newport-class tank landing ship, USS Cabot and USS O'Hare were managed by that military branch
Newport-class tank landing ship USS Cabot USS O'Hare
action filter_type
action find_reverse
entity Spanish Navy
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Spanish Navy']
SELECT DISTINCT ?q WHERE { ?q property:operator resource:Spanish_Navy . ?q rdf:type ontology:ship_type }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q21161942
P282
Q8192 Q9779 Q34770
USER
Which languages have writing system as less number of writing systems or alphabets than Serbian written in Cyrillic ?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q21161942
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?s WHERE { VALUES ( ?x ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } . ?g rdf:type ?x } GROUP BY ?s } . FILTER ( ?l < ?t ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q21161942 property:P282 ?w . { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } } } } }
Serbian written in Cyrillic
action less
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Serbian written in Cyrillic
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?s WHERE { VALUES ( ?x ) { ( ontology:alphabet ) ( ontology:writing_system ) } . ?g rdf:type ?x } GROUP BY ?s } . FILTER ( ?l < ?t ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Serbian_written_in_Cyrillic property:writing_system ?w . { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:alphabet ) ( ontology:writing_system ) } } } } }
[]
writing system alphabet language
Q29572 Q1860 Q447117
SYSTEM
Avestan, English, Old Egyptian
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q36741 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q8192)|c(Q9779))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q21161942
relation P282
type Q8192
type Q9779
[ANSWERS] have writing system as less number of writing systems or alphabets than Serbian written in Cyrillic
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?s WHERE { VALUES ( ?x ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } . ?g rdf:type ?x } GROUP BY ?s } . FILTER ( ?l < ?t ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q21161942 property:P282 ?w . { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } } } } }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Polabian Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
Avestan, English and Old Egyptian have writing system as less number of writing systems or alphabets than Serbian written in Cyrillic
Avestan English Old Egyptian
action less
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Serbian written in Cyrillic
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?s WHERE { VALUES ( ?x ) { ( ontology:alphabet ) ( ontology:writing_system ) } . ?g rdf:type ?x } GROUP BY ?s } . FILTER ( ?l < ?t ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Serbian_written_in_Cyrillic property:writing_system ?w . { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:alphabet ) ( ontology:writing_system ) } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1860
P103
Q6619679 Q15619164
USER
How many fictional humanoids and abstract beings speak English as his/her native language ?
(c(Q6619679),P103,Q1860) (c(Q15619164),P103,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P103
type Q6619679
action filter_type
action find_reverse
entity Q1860
relation P103
type Q15619164
[{'concept': 'Q6619679'}, 'P103', 'Q1860'] [{'concept': 'Q15619164'}, 'P103', 'Q1860']
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { VALUES ( ?l ) { ( ontology:Q6619679 ) ( ontology:Q15619164 ) } . ?q rdf:type ?l }
English
action count
action union
action filter_type
action find_reverse
entity English
relation native language
type fictional humanoid
action filter_type
action find_reverse
entity English
relation native language
type abstract being
[{'concept': 'fictional humanoid'}, 'native language', 'English'] [{'concept': 'abstract being'}, 'native language', 'English']
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { VALUES ( ?l ) { ( ontology:fictional_humanoid ) ( ontology:abstract_being ) } . ?q rdf:type ?l }
[]
fictional humanoid abstract being
SYSTEM
7 fictional humanoids and 1 abstract beings
Q3808548 Q3900793 Q3940108 Q3898780 Q249898 Q1824049 Q2640712 Q3639189
(c(Q6619679),P103,Q1860) (c(Q15619164),P103,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P103
type Q6619679
action filter_type
action find_reverse
entity Q1860
relation P103
type Q15619164
[ANSWER]
[{'concept': 'Q6619679'}, 'P103', 'Q1860'] [{'concept': 'Q15619164'}, 'P103', 'Q1860']
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { VALUES ( ?l ) { ( ontology:Q6619679 ) ( ontology:Q15619164 ) } . ?q rdf:type ?l }
Joan Holloway Pete Campbell Roger Sterling Peggy Olson David Palmer Aki Ross Don Draper Betty Draper
7 fictional humanoids and 1 abstract beings
action count
action union
action filter_type
action find_reverse
entity English
relation native language
type fictional humanoid
action filter_type
action find_reverse
entity English
relation native language
type abstract being
[{'concept': 'fictional humanoid'}, 'native language', 'English'] [{'concept': 'abstract being'}, 'native language', 'English']
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { VALUES ( ?l ) { ( ontology:fictional_humanoid ) ( ontology:abstract_being ) } . ?q rdf:type ?l }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q145
P532
Q15617994 Q2235308
USER
Which administrative territories serves as the ports of registry of greater number of ship types than United Kingdom ?
(c(Q2235308),P532,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P532
type Q15617994
type Q2235308
action count
action filter_type
action find
entity Q145
relation P532
type Q15617994
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?v ) WHERE { ?g rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q2235308 . ?f property:P532 ?g } GROUP BY ?g } . FILTER ( ?v > ?a ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q145 property:P532 ?o . ?o rdf:type ontology:Q15617994 } } }
United Kingdom
action greater
action find_reverse_tuple_counts
relation port of registry
type designation for an administrative territorial entity
type ship type
action count
action filter_type
action find
entity United Kingdom
relation port of registry
type designation for an administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?v ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:ship_type . ?f property:port_of_registry ?g } GROUP BY ?g } . FILTER ( ?v > ?a ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:United_Kingdom property:port_of_registry ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity ship type
Q804 Q490453
SYSTEM
Panama, Eckernförde
Q804 Q490453
(c(Q2235308),P532,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P532
type Q15617994
type Q2235308
action count
action filter_type
action find
entity Q145
relation P532
type Q15617994
[ANSWERS] serve as the ports of registry of greater number of ship types than United Kingdom
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?v ) WHERE { ?g rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q2235308 . ?f property:P532 ?g } GROUP BY ?g } . FILTER ( ?v > ?a ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q145 property:P532 ?o . ?o rdf:type ontology:Q15617994 } } }
Panama Eckernförde
Panama and Eckernförde serve as the ports of registry of greater number of ship types than United Kingdom
Panama Eckernförde
action greater
action find_reverse_tuple_counts
relation port of registry
type designation for an administrative territorial entity
type ship type
action count
action filter_type
action find
entity United Kingdom
relation port of registry
type designation for an administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?v ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:ship_type . ?f property:port_of_registry ?g } GROUP BY ?g } . FILTER ( ?v > ?a ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:United_Kingdom property:port_of_registry ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q490453
P532
Q2235308
USER
Which ship types have that administrative territory as their registry harbour ?
(c(Q2235308),P532,Q490453)
action filter_type
action find_reverse
entity Q490453
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', 'Q490453']
SELECT DISTINCT ?q WHERE { ?q property:P532 resource:Q490453 . ?q rdf:type ontology:Q2235308 }
Eckernförde
action filter_type
action find_reverse
entity Eckernförde
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Eckernförde']
SELECT DISTINCT ?q WHERE { ?q property:port_of_registry resource:Eckernförde . ?q rdf:type ontology:ship_type }
[]
ship type
Clarification for simple ques.
Q804
SYSTEM
Did you mean Panama ?
Q804 Q490453
(c(Q2235308),P532,Q804) (c(Q2235308),P532,Q490453)
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', 'Q804'] [{'concept': 'Q2235308'}, 'P532', 'Q490453']
SELECT DISTINCT ?q WHERE { ?q property:P532 resource:Q490453 . ?q rdf:type ontology:Q2235308 }
Panama Eckernförde
Did you mean Panama ?
Panama
[{'concept': 'ship type'}, 'port of registry', 'Panama'] [{'concept': 'ship type'}, 'port of registry', 'Eckernförde']
SELECT DISTINCT ?q WHERE { ?q property:port_of_registry resource:Eckernförde . ?q rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
USER
No, I meant Eckernförde. Could you tell me the answer for that?
(c(Q2235308),P532,Q490453)
Q490453
[{'concept': 'Q2235308'}, 'P532', 'Q490453']
[{'concept': 'ship type'}, 'port of registry', 'Eckernförde']
[]
Q2017178 Q321512
SYSTEM
Oker, Alster
Q2017178 Q321512
(c(Q2235308),P532,Q490453)
action filter_type
action find_reverse
entity Q490453
relation P532
type Q2235308
[ANSWERS] have that administrative territory as their registry harbour
[{'concept': 'Q2235308'}, 'P532', 'Q490453']
SELECT DISTINCT ?q WHERE { ?q property:P532 resource:Q490453 . ?q rdf:type ontology:Q2235308 }
Oker Alster
Oker and Alster have that administrative territory as their registry harbour
Oker Alster
action filter_type
action find_reverse
entity Eckernförde
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Eckernförde']
SELECT DISTINCT ?q WHERE { ?q property:port_of_registry resource:Eckernförde . ?q rdf:type ontology:ship_type }
[]