Simple Question (Direct)
Simple Question
Q5577857
P27
Q15617994
USER
Which administrative territory is Gustav Björkman an inhabitant of ?
(Q5577857,P27,c(Q15617994))
action filter_type
action find
entity Q5577857
relation P27
type Q15617994
['Q5577857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q5577857 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Gustav Björkman
action filter_type
action find
entity Gustav Björkman
relation country of citizenship
type designation for an administrative territorial entity
['Gustav Björkman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Gustav_Björkman property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q5577857,P27,c(Q15617994))
action filter_type
action find
entity Q5577857
relation P27
type Q15617994
[ANSWER] is Gustav Björkman an inhabitant of
['Q5577857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q5577857 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Sweden
Sweden is Gustav Björkman an inhabitant of
Sweden
action filter_type
action find
entity Gustav Björkman
relation country of citizenship
type designation for an administrative territorial entity
['Gustav Björkman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Gustav_Björkman property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5577857
P734
Q82799
USER
Who is associated with that person ?
(Q34,P734,c(Q82799))
action filter_type
action find
entity Q5577857
relation P734
type Q82799
['Q34', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q5577857 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Gustav Björkman
action filter_type
action find
entity Gustav Björkman
relation family name
type name
['Sweden', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Gustav_Björkman property:family_name ?w . ?w rdf:type ontology:name }
[]
name
Q21449532
SYSTEM
Björkman
Q21449532
(Q34,P734,c(Q82799))
action filter_type
action find
entity Q5577857
relation P734
type Q82799
[ANSWER] is associated with that person
['Q34', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q5577857 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Björkman
Björkman is associated with that person
Björkman
action filter_type
action find
entity Gustav Björkman
relation family name
type name
['Sweden', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Gustav_Björkman property:family_name ?w . ?w rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q25164
P407
Q34770 Q82799
USER
Which languages are the languages of work for more number of names than Nynorsk ?
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q25164
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:P407 ?o . ?o rdf:type ontology:Q34770 . ?q rdf:type ontology:Q82799 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Q25164 property:P407 ?a . ?a rdf:type ontology:Q34770 } } . FILTER ( ?w > ?x ) }
Nynorsk
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Nynorsk
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:language_of_work_or_name ?o . ?o rdf:type ontology:language . ?q rdf:type ontology:name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Nynorsk property:language_of_work_or_name ?a . ?a rdf:type ontology:language } } . FILTER ( ?w > ?x ) }
[]
language name
Q1860 Q397 Q9056
SYSTEM
English, Latin, Czech
Q1860 Q8785 Q1321 Q397 Q9056 Q8752 Q652 Q35505 Q56982 Q35308
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q25164
relation P407
type Q34770
[ANSWERS] are the languages of work for more number of names than Nynorsk
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:P407 ?o . ?o rdf:type ontology:Q34770 . ?q rdf:type ontology:Q82799 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Q25164 property:P407 ?a . ?a rdf:type ontology:Q34770 } } . FILTER ( ?w > ?x ) }
English Armenian Spanish Latin Czech Basque Italian Old Norse language Judaeo-Portuguese Old Irish
English, Latin and Czech are the languages of work for more number of names than Nynorsk
English Latin Czech
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Nynorsk
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:language_of_work_or_name ?o . ?o rdf:type ontology:language . ?q rdf:type ontology:name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Nynorsk property:language_of_work_or_name ?a . ?a rdf:type ontology:language } } . FILTER ( ?w > ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q132659
P407
Q34770 Q82799
USER
And what about Egyptian hieroglyphs?
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q132659
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:P407 ?p . ?p rdf:type ontology:Q34770 . ?l rdf:type ontology:Q82799 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q132659 property:P407 ?a . ?a rdf:type ontology:Q34770 } } . FILTER ( ?i > ?w ) }
Egyptian hieroglyphs
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Egyptian hieroglyphs
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:language_of_work_or_name ?p . ?p rdf:type ontology:language . ?l rdf:type ontology:name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Egyptian_hieroglyphs property:language_of_work_or_name ?a . ?a rdf:type ontology:language } } . FILTER ( ?i > ?w ) }
[]
language name
Q1860 Q397 Q9056
SYSTEM
English, Latin, Czech
Q1860 Q8785 Q1321 Q397 Q9056 Q8752 Q652 Q35505 Q56982 Q35308
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q132659
relation P407
type Q34770
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:P407 ?p . ?p rdf:type ontology:Q34770 . ?l rdf:type ontology:Q82799 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q132659 property:P407 ?a . ?a rdf:type ontology:Q34770 } } . FILTER ( ?i > ?w ) }
English Armenian Spanish Latin Czech Basque Italian Old Norse language Judaeo-Portuguese Old Irish
English Latin Czech
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Egyptian hieroglyphs
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:language_of_work_or_name ?p . ?p rdf:type ontology:language . ?l rdf:type ontology:name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Egyptian_hieroglyphs property:language_of_work_or_name ?a . ?a rdf:type ontology:language } } . FILTER ( ?i > ?w ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4597082 Q9056
P361 P136
Q5962346
USER
Which classification schemes are Czech a portion of or do 20/20 belong to ?
OR((Q9056,P361,c(Q5962346)), (Q4597082,P136,c(Q5962346)))
action filter_type
action union
action find
entity Q9056
relation P361
action find
entity Q4597082
relation P136
type Q5962346
{'OR': [['Q9056', 'P361', {'concept': 'Q5962346'}], ['Q4597082', 'P136', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q4597082 property:P136 ?h } UNION { resource:Q9056 property:P361 ?h } } . ?h rdf:type ontology:Q5962346 }
20/20 Czech
action filter_type
action union
action find
entity Czech
relation part of
action find
entity 20/20
relation genre
type classification scheme
{'OR': [['Czech', 'part of', {'concept': 'classification scheme'}], ['20/20', 'genre', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?h WHERE { { { resource:20/20 property:genre ?h } UNION { resource:Czech property:part_of ?h } } . ?h rdf:type ontology:classification_scheme }
[]
classification scheme
Q7603925 Q145852
SYSTEM
television documentary, West Slavic languages
Q7603925 Q145852
OR((Q9056,P361,c(Q5962346)), (Q4597082,P136,c(Q5962346)))
action filter_type
action union
action find
entity Q9056
relation P361
action find
entity Q4597082
relation P136
type Q5962346
[ANSWERS] are Czech a portion of or do 20/20 belong to
{'OR': [['Q9056', 'P361', {'concept': 'Q5962346'}], ['Q4597082', 'P136', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q4597082 property:P136 ?h } UNION { resource:Q9056 property:P361 ?h } } . ?h rdf:type ontology:Q5962346 }
television documentary West Slavic languages
Television documentary and West Slavic languages are Czech a portion of or do 20/20 belong to
television documentary West Slavic languages
action filter_type
action union
action find
entity Czech
relation part of
action find
entity 20/20
relation genre
type classification scheme
{'OR': [['Czech', 'part of', {'concept': 'classification scheme'}], ['20/20', 'genre', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?h WHERE { { { resource:20/20 property:genre ?h } UNION { resource:Czech property:part_of ?h } } . ?h rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P176
Q4830453 Q43229 Q5962346
USER
Which classification schemes were produced by exactly 1 business enterprises and organizations ?
(c(Q5962346),P176,c(Q4830453)|c(Q43229))
action equal
action union
action find_tuple_counts
relation P176
type Q5962346
type Q4830453
action find_tuple_counts
relation P176
type Q5962346
type Q43229
value 1
[{'concept': 'Q5962346'}, 'P176', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?f ) WHERE { { ?n property:P176 ?q . ?n rdf:type ontology:Q5962346 . ?q rdf:type ontology:Q4830453 } UNION { ?n property:P176 ?q . ?n rdf:type ontology:Q5962346 . ?q rdf:type ontology:Q43229 } } GROUP BY ?n } . FILTER ( ?f = 1 ) }
action equal
action union
action find_tuple_counts
relation manufacturer
type classification scheme
type business enterprise
action find_tuple_counts
relation manufacturer
type classification scheme
type organization
value 1
[{'concept': 'classification scheme'}, 'manufacturer', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?f ) WHERE { { ?n property:manufacturer ?q . ?n rdf:type ontology:classification_scheme . ?q rdf:type ontology:business_enterprise } UNION { ?n property:manufacturer ?q . ?n rdf:type ontology:classification_scheme . ?q rdf:type ontology:organization } } GROUP BY ?n } . FILTER ( ?f = 1 ) }
[]
business enterprise organization classification scheme
Q640482 Q1141901 Q1968562
SYSTEM
Borei-class submarine, Gotland-class submarine, Delta III-class submarine
Q4310117 Q2714941 Q1075135 Q3792937 Q2657561 Q633556 Q7862873 Q861626 Q6424119 Q1626579 Q624804 Q1530956 Q1491613 Q7918762 Q640482 Q19735220 Q1136699 Q1224797 Q4001382 Q6995590 Q15240025 Q7860857 Q2599168 Q1661540 Q4785927 Q5068938 Q2994200 Q969480 Q628759 Q15631817 Q3021196 Q925594 Q6158319 Q337990 Q580314 Q1203377 Q373977 Q2366375 Q3496128 Q2455100 Q921222 Q2638670 Q647854 Q528109 Q1378687 Q13360812 Q643854 Q938245 Q321093 Q19734842 Q7862874 Q4789677 Q5234874 Q2975771 Q3679320 Q699842 Q1516486 Q1144934 Q2892685 Q1141901 Q5631890 Q2443866 Q3679481 Q835312 Q1089274 Q3679523 Q3442947 Q19735154 Q6980321 Q913332 Q2062612 Q7632661 Q1207283 Q2993149 Q2117340 Q3442929 Q4172473 Q819452 Q4367164 Q482835 Q736723 Q3545010 Q389149 Q796474 Q1476763 Q2257275 Q2449695 Q719824 Q10599228 Q2481447 Q11706017 Q4367179 Q4367178 Q2140361 Q914213 Q1086999 Q5306791 Q4367170 Q1968562 Q55520 Q167991 Q1363244 Q1046757 Q385242 Q611047 Q1152494 Q5569474 Q5551294 Q3792815 Q4670007 Q3679466 Q5035812 Q5551292 Q5551291 Q301329 Q1185553 Q584865 Q5009407 Q2558183 Q494403 Q1194834 Q967977 Q477419 Q842423 Q11706010 Q3792787 Q11295226 Q694684 Q4649708 Q2118043 Q1279940 Q1968997 Q6405680 Q1800152 Q596164 Q3793315 Q4267279 Q4789611 Q264912 Q808804 Q6424030 Q732680 Q2975986 Q5306773 Q686973 Q621854 Q1061181 Q820105 Q3508746 Q180719 Q15378718 Q1194312 Q2590674 Q2975856 Q1541289 Q869092 Q698417 Q2165906 Q19735064 Q1109767 Q378777 Q1078065 Q2914356 Q5288990 Q2307521 Q1626183 Q2976020 Q2976023 Q7083233 Q3087816 Q278397 Q19735183 Q7862861 Q553917 Q1719789 Q1661538 Q2455127 Q19735216 Q1661534 Q1462910 Q10669459 Q1754293 Q2257235 Q121982 Q4310421 Q5847242 Q17054854 Q7905814 Q1366715 Q765764
(c(Q5962346),P176,c(Q4830453)|c(Q43229))
action equal
action union
action find_tuple_counts
relation P176
type Q5962346
type Q4830453
action find_tuple_counts
relation P176
type Q5962346
type Q43229
value 1
[ANSWERS] were produced by exactly 1 business enterprises and organizations
[{'concept': 'Q5962346'}, 'P176', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?f ) WHERE { { ?n property:P176 ?q . ?n rdf:type ontology:Q5962346 . ?q rdf:type ontology:Q4830453 } UNION { ?n property:P176 ?q . ?n rdf:type ontology:Q5962346 . ?q rdf:type ontology:Q43229 } } GROUP BY ?n } . FILTER ( ?f = 1 ) }
United States F-class submarine Tench-class submarine Arihant-class submarine Sailfish-class submarine British C-class submarine Virginia-class submarine U-27-class submarine Seawolf-class submarine Type 3 submergence transport vehicle Japanese submarine I-351 Chang Bogo-class submarine United States S-class submarine Gal-class submarine Vela-class submarine Borei-class submarine Type 209PN submarine Tang-class submarine Sturgeon-class submarine German Type U 151 submarine Neptun-class submarine Hayashio-class submarine Type A submarine Valiant-class submarine Ha-1-class submarine Archer-class submarine Challenger-class submarine Dekabrist-class submarine Churchill-class submarine Trafalgar-class submarine German Type UE I submarine Nautilus class submarine Swiftsure-class submarine Japanese Type 1 submarine Juliett class submarine United States N-class submarine Type 094 submarine Holland-class submarine British Porpoise-class submarine Shishumar-class submarine Draken-class submarine Skate-class submarine Kalev-class submarine Type 205 submarine Hotel-class submarine Type B submarine Delfinen II class submarine Salmon-class submarine Vanguard-class submarine Hecht Type 209-1100 submarine U-3-class submarine Argonaute-class submarine United States Barracuda-class submarine British B-class submarine Glauco-class submarine Balao-class submarine Walrus-class submarine Gato-class submarine Amur-class submarine Gotland-class submarine Cachalot-class submarine Norwegian A-class submarine Acciaio-class submarine German Type Mittel U submarine Perla-class submarine Flutto-class submarine United States K-class submarine Type 209-1300 submarine Natsushio-class submarine S-80-class submarine S1000 class submarines Dreadnought-class submarine British M-class submarine Holland 602 type submarine Södermanland-class submarine United States L-class submarine Echo I class submarine German Type X submarine Junsen type submarine Type 209 submarine Benjamin Franklin-class submarine United States C-class submarine Ohio-class submarine U-50-class submarine Permit class submarine British D-class submarine Type C1 Japanese submarine James Madison-class submarine Neptun class submarine British A-class submarine U-101-class submarine Hajen-class submarine Una-class submarine Sauro-class submarine Ula-class submarine United States E-class submarine United States B-class submarine Ro-60-class submarine Delta III-class submarine Kilo-class submarine German Type VII submarine Redoutable-class submarine Dolphin-class submarine Yūshio-class submarine Barbel-class submarine Scorpène-class submarine United States H-class submarine Type U 93 Tambor-class submarine Abtao-class submarine Consul class submersible Capitan O'Brien-class submarine German Type U 87 submarine German Type U 81 submarine Mackerel-class submarine Type 093 submarine Resolution class submarine CC-class submarine German Type XVII submarine Type 214 submarine Rubis-class submarine United States Porpoise-class submarine Type 202 submarine Foxtrot-class submarine U-48-class submarine Sargo-class submarine Kalvari-class submarine German Type II submarine AA-1-class submarine Skipjack-class submarine India-class submarine TR-1700-class submarine Type D submarine Lafayette-class submarine Ethan Allen-class submarine Tridente-class submarine Matchanu-class submarine Argo-class submarine November-class submarine French Barracuda-class submarine Ro-11-class submarine British R-class submarine British S-class submarine United States R-class submarine Type 206 submarine German Type I submarine Triomphant-class submarine SM U-63 Heroj-class submarine Minerve-class submarine Type 218 submarine Harushio-class submarine British E-class submarine Explorer-class submarine Västergötland-class submarine Kaidai-class submarine German Type XIV submarine Toti-class submarine Type 209-1200 submarine Collins-class submarine Adua-class submarine Lada-class submarine O 2-class submarine Dolgorae-class submarine Losos-class submarine Ro-100-class submarine British V-class submarine British W-class submarine U-52-class submarine German Type U 31 submarine Sōryū-class submarine Type 209-1400 submarine U-10-class submarine Type 201 submarine German UD-class submarine Ha-3-class submarine Näcken-class submarine Type 209-1500 submarine Ha-7-class submarine Amphion-class submarine Sjölejonet-class submarine Upholder/Victoria-class submarine German Type UB I submarine Astute-class submarine United States D-class submarine T-1-class submarine Heroine-class submarine V-boat Type 091 submarine Kobben-class submarine
Borei-class submarine, Gotland-class submarine and Delta III-class submarine were produced by exactly 1 business enterprises and organizations
Borei-class submarine Gotland-class submarine Delta III-class submarine
action equal
action union
action find_tuple_counts
relation manufacturer
type classification scheme
type business enterprise
action find_tuple_counts
relation manufacturer
type classification scheme
type organization
value 1
[{'concept': 'classification scheme'}, 'manufacturer', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?f ) WHERE { { ?n property:manufacturer ?q . ?n rdf:type ontology:classification_scheme . ?q rdf:type ontology:business_enterprise } UNION { ?n property:manufacturer ?q . ?n rdf:type ontology:classification_scheme . ?q rdf:type ontology:organization } } GROUP BY ?n } . FILTER ( ?f = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q166142 Q2342494
USER
How many administrative territories are atmost 34 applications or collectables set in ?
(c(Q166142)|c(Q2342494),P840,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 34
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?d WHERE { { ?z property:P840 ?d . ?d rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q166142 } UNION { ?z property:P840 ?d . ?d rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q2342494 } } GROUP BY ?d } . FILTER ( ?u <= 34 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 34
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?d WHERE { { ?z property:narrative_location ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:application } UNION { ?z property:narrative_location ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:collectable } } GROUP BY ?d } . FILTER ( ?u <= 34 ) }
[]
designation for an administrative territorial entity application collectable
SYSTEM
146
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q55 Q1948 Q145 Q262 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q258 Q1979 Q45 Q43 Q790 Q796 Q794 Q889 Q884 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q32 Q31 Q37 Q36 Q34 Q928 Q39 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q869 Q6247
(c(Q166142)|c(Q2342494),P840,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 34
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?d WHERE { { ?z property:P840 ?d . ?d rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q166142 } UNION { ?z property:P840 ?d . ?d rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q2342494 } } GROUP BY ?d } . FILTER ( ?u <= 34 ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime Netherlands Manitoba United Kingdom Algeria Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia South Africa Prince Edward Island Portugal Turkey Haiti Iraq Iran Afghanistan South Korea Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Luxembourg Belgium Lithuania Poland Sweden Philippines Switzerland Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Thailand Mantua
146
action count
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 34
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?d WHERE { { ?z property:narrative_location ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:application } UNION { ?z property:narrative_location ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:collectable } } GROUP BY ?d } . FILTER ( ?u <= 34 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1141901
P495
Q15617994
USER
How many administrative territories are the origin of Gotland-class submarine ?
(Q1141901,P495,c(Q15617994))
action count
action filter_type
action find
entity Q1141901
relation P495
type Q15617994
['Q1141901', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q1141901 property:P495 ?k . ?k rdf:type ontology:Q15617994 }
Gotland-class submarine
action count
action filter_type
action find
entity Gotland-class submarine
relation country of origin
type designation for an administrative territorial entity
['Gotland-class submarine', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Gotland-class_submarine property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q34
(Q1141901,P495,c(Q15617994))
action count
action filter_type
action find
entity Q1141901
relation P495
type Q15617994
[ANSWER]
['Q1141901', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q1141901 property:P495 ?k . ?k rdf:type ontology:Q15617994 }
Sweden
1
action count
action filter_type
action find
entity Gotland-class submarine
relation country of origin
type designation for an administrative territorial entity
['Gotland-class submarine', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Gotland-class_submarine property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]