Simple Question (Direct)
Simple Question
Q3813268
P21
Q290
USER
Which sex does Rafael Pérez y Pérez belong to ?
(Q3813268,P21,c(Q290))
action filter_type
action find
entity Q3813268
relation P21
type Q290
['Q3813268', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q3813268 property:P21 ?i . ?i rdf:type ontology:Q290 }
Rafael Pérez y Pérez
action filter_type
action find
entity Rafael Pérez y Pérez
relation gender
type sex
['Rafael Pérez y Pérez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Rafael_Pérez_y_Pérez property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3813268,P21,c(Q290))
action filter_type
action find
entity Q3813268
relation P21
type Q290
Rafael Pérez y Pérez belongs to the [ANSWER]
['Q3813268', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q3813268 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Rafael Pérez y Pérez belongs to the male
male
action filter_type
action find
entity Rafael Pérez y Pérez
relation gender
type sex
['Rafael Pérez y Pérez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Rafael_Pérez_y_Pérez property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3813268
P1412
Q34770
USER
Which language can Rafael Pérez y Pérez understand ?
(Q3813268,P1412,c(Q34770))
action filter_type
action find
entity Q3813268
relation P1412
type Q34770
['Q3813268', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q3813268 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Rafael Pérez y Pérez
action filter_type
action find
entity Rafael Pérez y Pérez
relation languages spoken, written or signed
type language
['Rafael Pérez y Pérez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Rafael_Pérez_y_Pérez property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q3813268,P1412,c(Q34770))
action filter_type
action find
entity Q3813268
relation P1412
type Q34770
Rafael Pérez y Pérez can understand the [ANSWER]
['Q3813268', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q3813268 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Spanish
Rafael Pérez y Pérez can understand the Spanish
Spanish
action filter_type
action find
entity Rafael Pérez y Pérez
relation languages spoken, written or signed
type language
['Rafael Pérez y Pérez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Rafael_Pérez_y_Pérez property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q1048835 Q7275
USER
Which languages are considered to be the official language of atmost 16 political territories and states ?
(c(Q1048835)|c(Q7275),P37,c(Q34770))
action atmost
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
value 16
[[{'concept': 'Q1048835'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?z WHERE { { ?w property:P37 ?z . ?z rdf:type ontology:Q34770 . ?w rdf:type ontology:Q7275 } UNION { ?w property:P37 ?z . ?z rdf:type ontology:Q34770 . ?w rdf:type ontology:Q1048835 } } GROUP BY ?z } . FILTER ( ?n <= 16 ) }
action atmost
action union
action find_reverse_tuple_counts
relation official language
type language
type political territorial entity
action find_reverse_tuple_counts
relation official language
type language
type state
value 16
[[{'concept': 'political territorial entity'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?z WHERE { { ?w property:official_language ?z . ?z rdf:type ontology:language . ?w rdf:type ontology:state } UNION { ?w property:official_language ?z . ?z rdf:type ontology:language . ?w rdf:type ontology:political_territorial_entity } } GROUP BY ?z } . FILTER ( ?n <= 16 ) }
[]
language political territorial entity state
Q9056 Q33251 Q8752
SYSTEM
Czech, Church Slavonic, Basque
Q9056 Q33251 Q13211 Q3110592 Q36206 Q652 Q8752 Q36880 Q33976 Q35499 Q397 Q35726 Q8785 Q25164
(c(Q1048835)|c(Q7275),P37,c(Q34770))
action atmost
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
value 16
[ANSWERS] are considered to be the official language of atmost 16 political territories and states
[[{'concept': 'Q1048835'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?z WHERE { { ?w property:P37 ?z . ?z rdf:type ontology:Q34770 . ?w rdf:type ontology:Q7275 } UNION { ?w property:P37 ?z . ?z rdf:type ontology:Q34770 . ?w rdf:type ontology:Q1048835 } } GROUP BY ?z } . FILTER ( ?n <= 16 ) }
Czech Church Slavonic Ruthenian written Chinese Lak Italian Basque Bulgar language Sardinian language Old Church Slavonic Latin Etruscan Armenian Nynorsk
Czech, Church Slavonic and Basque are considered to be the official language of atmost 16 political territories and states
Czech Church Slavonic Basque
action atmost
action union
action find_reverse_tuple_counts
relation official language
type language
type political territorial entity
action find_reverse_tuple_counts
relation official language
type language
type state
value 16
[[{'concept': 'political territorial entity'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?z WHERE { { ?w property:official_language ?z . ?z rdf:type ontology:language . ?w rdf:type ontology:state } UNION { ?w property:official_language ?z . ?z rdf:type ontology:language . ?w rdf:type ontology:political_territorial_entity } } GROUP BY ?z } . FILTER ( ?n <= 16 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q378465 Q9056
P361 P289
Q5962346
USER
Which classification schemes are Czech a portion of or do USS Jimmy Carter possess as their vessel class ?
OR((Q9056,P361,c(Q5962346)), (Q378465,P289,c(Q5962346)))
action filter_type
action union
action find
entity Q9056
relation P361
action find
entity Q378465
relation P289
type Q5962346
{'OR': [['Q9056', 'P361', {'concept': 'Q5962346'}], ['Q378465', 'P289', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q5962346 . { { resource:Q9056 property:P361 ?l } UNION { resource:Q378465 property:P289 ?l } } }
USS Jimmy Carter Czech
action filter_type
action union
action find
entity Czech
relation part of
action find
entity USS Jimmy Carter
relation vessel class
type classification scheme
{'OR': [['Czech', 'part of', {'concept': 'classification scheme'}], ['USS Jimmy Carter', 'vessel class', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:classification_scheme . { { resource:Czech property:part_of ?l } UNION { resource:USS_Jimmy_Carter property:vessel_class ?l } } }
[]
classification scheme
Q861626 Q145852
SYSTEM
Seawolf-class submarine, West Slavic languages
Q861626 Q145852
OR((Q9056,P361,c(Q5962346)), (Q378465,P289,c(Q5962346)))
action filter_type
action union
action find
entity Q9056
relation P361
action find
entity Q378465
relation P289
type Q5962346
[ANSWERS] are Czech a portion of or do USS Jimmy Carter possess as their vessel class
{'OR': [['Q9056', 'P361', {'concept': 'Q5962346'}], ['Q378465', 'P289', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q5962346 . { { resource:Q9056 property:P361 ?l } UNION { resource:Q378465 property:P289 ?l } } }
Seawolf-class submarine West Slavic languages
Seawolf-class submarine and West Slavic languages are Czech a portion of or do USS Jimmy Carter possess as their vessel class
Seawolf-class submarine West Slavic languages
action filter_type
action union
action find
entity Czech
relation part of
action find
entity USS Jimmy Carter
relation vessel class
type classification scheme
{'OR': [['Czech', 'part of', {'concept': 'classification scheme'}], ['USS Jimmy Carter', 'vessel class', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:classification_scheme . { { resource:Czech property:part_of ?l } UNION { resource:USS_Jimmy_Carter property:vessel_class ?l } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4384551 Q378465
P289
Q5962346
USER
Which classification schemes are USS Jimmy Carter or USS Needlefish designed with ?
OR((Q378465,P289,c(Q5962346)), (Q4384551,P289,c(Q5962346)))
action filter_type
action union
action find
entity Q378465
relation P289
action find
entity Q4384551
relation P289
type Q5962346
{'OR': [['Q378465', 'P289', {'concept': 'Q5962346'}], ['Q4384551', 'P289', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q378465 property:P289 ?l } UNION { resource:Q4384551 property:P289 ?l } } . ?l rdf:type ontology:Q5962346 }
USS Needlefish USS Jimmy Carter
action filter_type
action union
action find
entity USS Jimmy Carter
relation vessel class
action find
entity USS Needlefish
relation vessel class
type classification scheme
{'OR': [['USS Jimmy Carter', 'vessel class', {'concept': 'classification scheme'}], ['USS Needlefish', 'vessel class', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?l WHERE { { { resource:USS_Jimmy_Carter property:vessel_class ?l } UNION { resource:USS_Needlefish property:vessel_class ?l } } . ?l rdf:type ontology:classification_scheme }
[]
classification scheme
Q699842 Q861626
SYSTEM
Balao-class submarine, Seawolf-class submarine
Q699842 Q861626
OR((Q378465,P289,c(Q5962346)), (Q4384551,P289,c(Q5962346)))
action filter_type
action union
action find
entity Q378465
relation P289
action find
entity Q4384551
relation P289
type Q5962346
USS Jimmy Carter or USS Needlefish are designed for [ANSWERS]
{'OR': [['Q378465', 'P289', {'concept': 'Q5962346'}], ['Q4384551', 'P289', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q378465 property:P289 ?l } UNION { resource:Q4384551 property:P289 ?l } } . ?l rdf:type ontology:Q5962346 }
Balao-class submarine Seawolf-class submarine
USS Jimmy Carter or USS Needlefish are designed for Balao-class submarine and Seawolf-class submarine
Balao-class submarine Seawolf-class submarine
action filter_type
action union
action find
entity USS Jimmy Carter
relation vessel class
action find
entity USS Needlefish
relation vessel class
type classification scheme
{'OR': [['USS Jimmy Carter', 'vessel class', {'concept': 'classification scheme'}], ['USS Needlefish', 'vessel class', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?l WHERE { { { resource:USS_Jimmy_Carter property:vessel_class ?l } UNION { resource:USS_Needlefish property:vessel_class ?l } } . ?l rdf:type ontology:classification_scheme }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q11220 Q699842
P137 P289
Q2235308
USER
Which ship types possesses a vessel class called Balao-class submarine and can be described as service operator of United States Navy ?
AND((c(Q2235308),P289,Q699842), (c(Q2235308),P137,Q11220))
action filter_type
action intersection
action find_reverse
entity Q699842
relation P289
action find_reverse
entity Q11220
relation P137
type Q2235308
{'AND': [[{'concept': 'Q2235308'}, 'P289', 'Q699842'], [{'concept': 'Q2235308'}, 'P137', 'Q11220']]}
SELECT DISTINCT ?l WHERE { ?l property:P289 resource:Q699842 . ?l property:P137 resource:Q11220 . ?l rdf:type ontology:Q2235308 }
United States Navy Balao-class submarine
action filter_type
action intersection
action find_reverse
entity Balao-class submarine
relation vessel class
action find_reverse
entity United States Navy
relation operator
type ship type
{'AND': [[{'concept': 'ship type'}, 'vessel class', 'Balao-class submarine'], [{'concept': 'ship type'}, 'operator', 'United States Navy']]}
SELECT DISTINCT ?l WHERE { ?l property:vessel_class resource:Balao-class_submarine . ?l property:operator resource:United_States_Navy . ?l rdf:type ontology:ship_type }
[]
ship type
Q3268985 Q3269882 Q3267909 Q3544615 Q3268071 Q3544222 Q2567768 Q3544048 Q3544199 Q3544060
SYSTEM
Some of them are USS Chub, USS Razorback, USS Corporal, USS Sea Cat, USS Bumper, USS Burrfish, USS Catfish, USS Blackfin, USS Sabalo, USS Tang
Q4384555 Q4384551 Q46145 Q4384558 Q3544055 Q3267542 Q3544213 Q3544217 Q2548504 Q3544455 Q3544193 Q3544194 Q3544196 Q3544199 Q5920795 Q370291 Q3544014 Q675657 Q2837567 Q1469050 Q6135984 Q3544016 Q4384547 Q1638840 Q3544165 Q2514530 Q3544161 Q548773 Q3544209 Q6132287 Q129707 Q3544207 Q3544048 Q2428283 Q3544202 Q3544445 Q956718 Q3544449 Q1399482 Q3267965 Q3267920 Q3544178 Q3544175 Q3268973 Q6136055 Q3544170 Q3544077 Q3269882 Q1424932 Q3544623 Q3601134 Q3544621 Q1640685 Q1515232 Q3268111 Q4382378 Q3544145 Q3544060 Q3544148 Q2837310 Q3544064 Q1515243 Q3267639 Q280212 Q3544615 Q3544150 Q3544613 Q3268101 Q2567768 Q3544593 Q3268106 Q3267907 Q4384571 Q4384576 Q3267909 Q7874927 Q1817507 Q3544157 Q1640678 Q3544019 Q3544153 Q3268080 Q3544458 Q1638812 Q4388520 Q2395593 Q3544600 Q3268979 Q212049 Q3544606 Q3268075 Q3268071 Q6135928 Q4384568 Q4834624 Q1641047 Q2275017 Q3268093 Q6128786 Q4384501 Q5224391 Q3268097 Q3268965 Q3268963 Q1572469 Q3276874 Q3544598 Q928674 Q3544085 Q3544081 Q3268985 Q3268165 Q6135968 Q4384562 Q3268088 Q3544037 Q3267331 Q3268956 Q6135878 Q3544618 Q3544234 Q3544231 Q5234774 Q2275032 Q123502 Q4384521 Q3544024 Q1638823 Q3544167 Q3544021 Q5236685 Q4384528 Q2789346 Q1479687 Q3544107 Q3267532 Q748554 Q3544222 Q3544188 Q3544229 Q3544181
AND((c(Q2235308),P289,Q699842), (c(Q2235308),P137,Q11220))
action filter_type
action intersection
action find_reverse
entity Q699842
relation P289
action find_reverse
entity Q11220
relation P137
type Q2235308
[ANSWERS] possess a vessel class called Balao-class submarine and can be described as service operator of United States Navy
{'AND': [[{'concept': 'Q2235308'}, 'P289', 'Q699842'], [{'concept': 'Q2235308'}, 'P137', 'Q11220']]}
SELECT DISTINCT ?l WHERE { ?l property:P289 resource:Q699842 . ?l property:P137 resource:Q11220 . ?l rdf:type ontology:Q2235308 }
USS Goldring USS Needlefish USS Sennet USS Dogfish USS Cusk USS Cobbler USS Tilefish USS Sablefish USS Pampanito USS Skate USS Seahorse USS Sterlet USS Sealion USS Sabalo USS Halfbeak USS Capitaine USS Bugara USS Segundo USS Chivo USS Lagarto USS Unicorn USS Dentuda USS Diodon USS Bowfin USS Tiru USS Apogon USS Spot USS Lancetfish USS Loggerhead USS Walrus USS Escolar USS Ling USS Blackfin USS Perch USS Barbero USS Springer USS Sea Poacher USS Bang USS Dragonet USS Cubera USS Sea Fox USS Carp USS Sea Dog USS Blower USS Whiting USS Spikefish USS Hardhead USS Razorback USS Crevalle USS Trepang ARA Santa Fe USS Sea Devil USS Devilfish USS Atule USS Entemedor USS Parche USS Picuda USS Tang USS Barbel USS Lamprey USS Queenfish USS Stickleback USS Macabi USS Jallao USS Sea Cat USS Piranha USS Piper USS Threadfin USS Catfish USS Menhaden USS Mapiro USS Kraken USS Dugong USS Ono USS Corporal USS Tusk USS Icefish USS Kete USS Cabrilla USS Clamagore USS Roncador USS Caiman USS Sea Owl USS Capelin USS Archer-Fish USS Batfish USS Scabbardfish USS Plaice USS Hackleback USS Ronquil USS Boarfish USS Bumper USS Whitefish USS Jawfish BAP Pacocha USS Billfish USS Besugo USS Blueback USS Trumpetfish USS Garrupa USS Eel USS Mero USS Pomfret USS Bergall USS Becuna USS Aspro USS Pipefish USS Shark USS Lionfish USS Carbonero USS Chub USS Greenfish USS Vendace USS Nerka USS Brill USS Blenny USS Bullhead USS Sand Lance USS Turbot USS Pintado USS Sea Robin USS Spadefish USS Ulua USS Lizardfish USS Cochino USS Garlopa USS Charr USS Cisco USS Moray USS Chopper USS Wolffish USS Espada USS Hawkbill USS Balao USS Cabezon USS Guitarro USS Baya USS Burrfish USS Pilotfish USS Redfish USS Manta
USS Chub, USS Razorback, USS Corporal, USS Sea Cat, USS Bumper, USS Burrfish, USS Catfish, USS Blackfin, USS Sabalo and USS Tang possess a vessel class called Balao-class submarine and can be described as service operator of United States Navy
USS Chub USS Razorback USS Corporal USS Sea Cat USS Bumper USS Burrfish USS Catfish USS Blackfin USS Sabalo USS Tang
action filter_type
action intersection
action find_reverse
entity Balao-class submarine
relation vessel class
action find_reverse
entity United States Navy
relation operator
type ship type
{'AND': [[{'concept': 'ship type'}, 'vessel class', 'Balao-class submarine'], [{'concept': 'ship type'}, 'operator', 'United States Navy']]}
SELECT DISTINCT ?l WHERE { ?l property:vessel_class resource:Balao-class_submarine . ?l property:operator resource:United_States_Navy . ?l rdf:type ontology:ship_type }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q149838
P282
Q8192 Q9779 Q34770
USER
How many languages adopt approximately the same number of writing systems and alphabets as the writing system as Old Polish ?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action count
action approx
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 Q149838
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { FILTER ( ?k = ?a ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { ?x rdf:type ?y . VALUES ( ?y ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } . resource:Q149838 property:P282 ?x } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?p WHERE { VALUES ( ?r ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } . ?f rdf:type ?r } GROUP BY ?p } }
Old Polish
action count
action approx
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 Old Polish
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { FILTER ( ?k = ?a ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { ?x rdf:type ?y . VALUES ( ?y ) { ( ontology:writing_system ) ( ontology:alphabet ) } } . resource:Old_Polish property:writing_system ?x } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?p WHERE { VALUES ( ?r ) { ( ontology:alphabet ) ( ontology:writing_system ) } . ?f rdf:type ?r } GROUP BY ?p } }
[]
writing system alphabet language
SYSTEM
49
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 count
action approx
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 Q149838
relation P282
type Q8192
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { FILTER ( ?k = ?a ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { ?x rdf:type ?y . VALUES ( ?y ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } . resource:Q149838 property:P282 ?x } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?p WHERE { VALUES ( ?r ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } . ?f rdf:type ?r } GROUP BY ?p } }
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
49
action count
action approx
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 Old Polish
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { FILTER ( ?k = ?a ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { ?x rdf:type ?y . VALUES ( ?y ) { ( ontology:writing_system ) ( ontology:alphabet ) } } . resource:Old_Polish property:writing_system ?x } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?p WHERE { VALUES ( ?r ) { ( ontology:alphabet ) ( ontology:writing_system ) } . ?f rdf:type ?r } GROUP BY ?p } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q36790
P282
Q8192 Q9779 Q34770
USER
And also tell me about Sumerian?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action count
action approx
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 Q36790
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) ?l WHERE { VALUES ( ?e ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } . ?m rdf:type ?e } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { { ?a rdf:type ontology:Q9779 } UNION { ?a rdf:type ontology:Q8192 } } . resource:Q36790 property:P282 ?a } } . FILTER ( ?x = ?v ) }
Sumerian
action count
action approx
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 Sumerian
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) ?l WHERE { VALUES ( ?e ) { ( ontology:writing_system ) ( ontology:alphabet ) } . ?m rdf:type ?e } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { { ?a rdf:type ontology:alphabet } UNION { ?a rdf:type ontology:writing_system } } . resource:Sumerian property:writing_system ?a } } . FILTER ( ?x = ?v ) }
[]
writing system alphabet language
SYSTEM
49
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 count
action approx
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 Q36790
relation P282
type Q8192
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) ?l WHERE { VALUES ( ?e ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } . ?m rdf:type ?e } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { { ?a rdf:type ontology:Q9779 } UNION { ?a rdf:type ontology:Q8192 } } . resource:Q36790 property:P282 ?a } } . FILTER ( ?x = ?v ) }
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
49
action count
action approx
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 Sumerian
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) ?l WHERE { VALUES ( ?e ) { ( ontology:writing_system ) ( ontology:alphabet ) } . ?m rdf:type ?e } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { { ?a rdf:type ontology:alphabet } UNION { ?a rdf:type ontology:writing_system } } . resource:Sumerian property:writing_system ?a } } . FILTER ( ?x = ?v ) }
[]