CINXE.COM
nuolet - YSO - Finto
<!DOCTYPE html> <html dir="ltr" lang="fi" prefix="og: https://ogp.me/ns#"> <head> <base href="https://finto.fi/"> <link rel="shortcut icon" href="favicon.ico"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="format-detection" content="telephone=no"> <meta name="generator" content="Skosmos 2.18"> <meta name="title" content="nuolet - YSO - Finto"> <meta property="og:title" content="nuolet - YSO - Finto"> <meta name="description" content="K盲site nuolet sanastossa YSO - Yleinen suomalainen ontologia"> <meta property="og:description" content="K盲site nuolet sanastossa YSO - Yleinen suomalainen ontologia"> <link rel="canonical" href="https://finto.fi/yso/fi/page/p23064"> <meta property="og:url" content="https://finto.fi/yso/fi/page/p23064"> <meta property="og:type" content="website"> <meta property="og:site_name" content="Finto"> <link href="vendor/twbs/bootstrap/dist/css/bootstrap.min.css" media="screen, print" rel="stylesheet" type="text/css"> <link href="vendor/vakata/jstree/dist/themes/default/style.min.css" media="screen, print" rel="stylesheet" type="text/css"> <link href="vendor/davidstutz/bootstrap-multiselect/dist/css/bootstrap-multiselect.min.css" media="screen, print" rel="stylesheet" type="text/css"> <link href="resource/css/fira.css" media="screen, print" rel="stylesheet" type="text/css"> <link href="resource/fontawesome/css/fontawesome.css" media="screen, print" rel="stylesheet" type="text/css"> <link href="resource/fontawesome/css/regular.css" media="screen, print" rel="stylesheet" type="text/css"> <link href="resource/fontawesome/css/solid.css" media="screen, print" rel="stylesheet" type="text/css"> <link href="resource/css/styles.css" media="screen, print" rel="stylesheet" type="text/css"> <link href="resource/css/finto.css" media="screen, print" rel="stylesheet" type="text/css"> <link href="plugins/finna/stylesheet.css" media="screen, print" rel="stylesheet" type="text/css"> <title>nuolet - YSO - Finto</title> </head> <body class="vocab-yso"> <noscript> <strong>Pahoittelut, mutta Skosmos ei toimi kunnolla ilman JavaScript-tukea. Ole hyv盲 ja ota se k盲ytt枚枚n.</strong> </noscript> <a id="skiptocontent" href="yso/fi/page/p23064#maincontent">Hypp盲盲 sis盲lt枚枚n</a> <div class="topbar-container topbar-white"> <div class="topbar topbar-white"> <div id="topbar-service-helper"> <a class="service-fi" href="fi/"><h1 id="service-name">Finto</h1></a> </div> <div id="topbar-language-navigation"> <div id="language"><span class="navigation-font">|</span> <a id="language-sv" class="navigation-font" href="yso/sv/page/p23064"> p氓 svenska</a> <a id="language-en" class="navigation-font" href="yso/en/page/p23064"> in English</a> <a id="language-se" class="navigation-font" href="yso/se/page/p23064"> s谩megillii</a> </div> <div id="navigation"> <a href="fi/" id="navi1" class="navigation-font" > Sanastot </a> <a href="fi/about" id="navi2" class="navigation-font"> Tietoja </a> <a href="yso/fi/feedback" id="navi3" class="navigation-font"> Palaute </a> <span class="skosmos-tooltip-wrapper skosmos-tooltip t-bottom" id="navi4" tabindex="0" data-title="Kun viet kursorin pisteill盲 alleviivatun tekstin kohdalle, saat ominaisuuteen liittyvi盲 ohjeita. 
 
 Voit m盲盲ritt盲盲 hakusanan katkaisun k盲ytt盲m盲ll盲 t盲htimerkki盲. Kokeile esimerkiksi: *el盲imet tai: *patentti*. Jos et k盲yt盲 t盲htimerkki盲 haku tehd盲盲n k盲ytt盲en loppukatkaisua."> <span class="navigation-font">Ohje</span> </span> </div> </div> <!-- top-bar ENDS HERE --> </div> </div> <div class="headerbar"> <div class="header-row"><div class="headerbar-coloured"></div><div class="header-left"> <h1><a href="yso/fi/">YSO - Yleinen suomalainen ontologia</a></h1> </div> <div class="header-float"> <h2 class="sr-only">Hae sanastosta</h2> <div class="search-vocab-text"><p>Sis盲ll枚n kieli</p></div> <form class="navbar-form" role="search" name="text-search" action="yso/fi/search"> <input style="display: none" name="clang" value="fi" id="lang-input"> <div class="input-group"> <div class="input-group-btn"> <label class="sr-only" for="lang-dropdown-toggle">Sis盲ll枚n ja haun kieli</label> <button type="button" class="btn btn-default dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" id="lang-dropdown-toggle">suomi<span class="caret"></span></button> <ul class="dropdown-menu" aria-labelledby="lang-dropdown-toggle"> <li><a class="dropdown-item" href="yso/fi/page/p23064?clang=en" class="lang-button" hreflang="en">englanti</a></li> <li><a class="dropdown-item" href="yso/fi/page/p23064?clang=se" class="lang-button" hreflang="se">pohjoissaame</a></li> <li><a class="dropdown-item" href="yso/fi/page/p23064?clang=sv" class="lang-button" hreflang="sv">ruotsi</a></li> <li><a class="dropdown-item" href="yso/fi/page/p23064" class="lang-button" hreflang="fi">suomi</a></li> <li> <a class="dropdown-item" href="yso/fi/page/p23064?clang=fi&anylang=on" class="lang-button" id="lang-button-all">kaikilla kielill盲</a> <input name="anylang" type="checkbox"> </li> </ul> </div><!-- /btn-group --> <label class="sr-only" for="search-field">Sy枚t盲 haettava termi</label> <input id="search-field" type="text" class="form-control" name="q" value=""> <div class="input-group-btn"> <label class="sr-only" for="search-all-button">Suorita haku</label> <button id="search-all-button" type="submit" class="btn btn-primary">Hae</button> </div> </div> </form> </div> </div> </div> <div class="main-container"> <div id="sidebar"> <div class="sidebar-buttons"> <h2 class="sr-only">Sivupalkin lista: listaa ja selaa k盲sitteit盲 eri kriteerien mukaan</h2> <ul class="nav nav-tabs nav-four-wide"> <h3 class="sr-only">Listaa k盲sitteet aakkosittain</h3> <li id="alpha" class="nav-item"><a class="nav-link" href="yso/fi/index">A-脰</a></li> <h3 class="sr-only">Listaa k盲sitteet hierarkian mukaan</h3> <li id="hierarchy" class="nav-item"> <a class="nav-link active" href="#" id="hier-trigger" >Hierarkia </a> </li> <h3 class="sr-only">Listaa k盲sitteet ja ryhm盲t hierarkian mukaan</h3> <li id="groups" class="nav-item"><a class="nav-link" href="yso/fi/groups">Ryhm盲t</a></li> <h3 class="sr-only">Listaa k盲sitteet uusimpien lis盲ysten tai poistojen mukaan</h3> <li id="changes" class="nav-item"><a class="nav-link" href="yso/fi/new">Uudet ja poistetut</a></li> </ul> </div> <h4 class="sr-only">Listaa k盲sitteet aakkosittain</h4> <div class="sidebar-grey concept-hierarchy"> <div id="alphabetical-menu"> </div> </div> </div> <main id="maincontent" tabindex="-1"> <div class="content"> <div id="content-top"></div> <h2 class="sr-only">K盲sitteen tiedot</h2> <div class="concept-info"> <div class="concept-main"> <div class="row"> <div class="crumb-path"> <a class="propertyvalue bread-crumb expand-crumbs" href="yso/fi/page/p4762">...</a><span class="bread-crumb"> > </span> <a class="propertyvalue hidden-breadcrumb" href="yso/fi/page/p4762">oliot</a><span class="hidden-breadcrumb"> > </span> <a class="propertyvalue bread-crumb" href="yso/fi/page/p1435">fyysiset objektit</a><span class="bread-crumb"> > </span> <a class="propertyvalue bread-crumb" href="yso/fi/page/p207">elottomat objektit</a><span class="bread-crumb"> > </span> <a class="propertyvalue bread-crumb" href="yso/fi/page/p1340">tekniset objektit (fyysiset objektit)</a><span class="bread-crumb"> > </span> <a class="propertyvalue bread-crumb" href="yso/fi/page/p3463">aseet</a><span class="bread-crumb"> > </span> <span class="bread-crumb propertylabel-pink">nuolet</span> </div> </div> <div class="row property prop-preflabel"><div class="property-label property-label-pref"><h3 class="versal"> K盲ytett盲v盲 termi </h3></div><div class="property-value-column"><span class="prefLabel conceptlabel" id="pref-label">nuolet</span> <button type="button" data-bs-toggle="tooltip" data-bs-placement="button" title="Copy to clipboard" class="btn btn-default btn-xs copy-clipboard" for="#pref-label"><span class="fa-regular fa-copy"></span></button></div><div class="col-md-12"><div class="preflabel-spacer"></div></div></div> <div class="row property prop-rdf_type"> <div class="property-label"> <h3 class="versal-bold property-click skosmos-tooltip-wrapper skosmos-tooltip t-top" data-title="Valitun resurssin tyyppi. "> Tyyppi </h3> </div> <div class="property-value-column"><div class="property-value-wrapper"> <ul> <li> <p>Yleisk盲site</p> </li> </ul> </div></div></div> <div class="row property prop-skos_broader"> <div class="property-label"> <h3 class="versal property-click skosmos-tooltip-wrapper skosmos-tooltip t-top" data-title="Merkitykselt盲盲n laajempi k盲site/termi. "> Yl盲k盲site </h3> </div> <div class="property-value-column"><div class="property-value-wrapper"> <ul> <li> <a href="yso/fi/page/p3463"> aseet</a> </li> </ul> </div></div></div> <div class="row property prop-skosmos_memberOf"> <div class="property-label"> <h3 class="versal property-click skosmos-tooltip-wrapper skosmos-tooltip t-top" data-title="Ryhm盲, johon k盲site kuuluu. "> Kuuluu ryhm盲盲n </h3> </div> <div class="property-value-column"><div class="property-value-wrapper"> <ul> <li> <a href="yso/fi/page/p26575"> 67 Sodank盲ynti. Sotatekniikka. Maanpuolustus. Aseet</a> </li> </ul> </div></div></div> <div class="row property prop-other-languages"> <div class="property-label"><h3 class="versal property-click skosmos-tooltip-wrapper skosmos-tooltip t-top" data-title="K盲sitteen termit muilla kielill盲." >Muunkieliset termit</h3></div> <div class="property-value-column"> <div class="property-value-wrapper"> <ul> <li class="row other-languages first-of-language"> <div class="col-6 versal versal-pref"> <a href='yso/fi/page/p23064?clang=en' hreflang='en'>arrows</a> </div> <div class="col-6 versal"><p>englanti</p></div> </li> <li class="row other-languages first-of-language"> <div class="col-6 versal versal-pref"> <a href='yso/fi/page/p23064?clang=se' hreflang='se'>njuolat</a> </div> <div class="col-6 versal"><p>pohjoissaame</p></div> </li> <li class="row other-languages first-of-language"> <div class="col-6 versal versal-pref"> <a href='yso/fi/page/p23064?clang=sv' hreflang='sv'>pilar</a> </div> <div class="col-6 versal"><p>ruotsi</p></div> </li> </ul> </div> </div> </div> <div class="row property prop-uri"> <div class="property-label"><h3 class="versal">URI</h3></div> <div class="property-value-column"> <div class="property-value-wrapper"> <span class="versal uri-input-box" id="uri-input-box">http://www.yso.fi/onto/yso/p23064</span> <button type="button" data-bs-toggle="tooltip" data-bs-placement="button" title="Copy to clipboard" class="btn btn-default btn-xs copy-clipboard" for="#uri-input-box"> <span class="fa-regular fa-copy"></span> </button> </div> </div> </div> <div class="row"> <div class="property-label"><h3 class="versal">Lataa t盲m盲 k盲site:</h3></div> <div class="property-value-column"> <span class="versal concept-download-links"><a href="rest/v1/yso/data?uri=http%3A%2F%2Fwww.yso.fi%2Fonto%2Fyso%2Fp23064&format=application/rdf%2Bxml">RDF/XML</a> <a href="rest/v1/yso/data?uri=http%3A%2F%2Fwww.yso.fi%2Fonto%2Fyso%2Fp23064&format=text/turtle"> TURTLE</a> <a href="rest/v1/yso/data?uri=http%3A%2F%2Fwww.yso.fi%2Fonto%2Fyso%2Fp23064&format=application/ld%2Bjson">JSON-LD</a> </span><span class="versal date-info">Luotu 12.11.2009, viimeksi muokattu 21.9.2023</span> </div> </div> </div> <!-- appendix / concept mapping properties --> <div class="concept-appendix hidden" data-concept-uri="http://www.yso.fi/onto/yso/p23064" data-concept-type="ysometa:Concept" > </div> </div> <template id="property-mappings-template"> {{#each properties}} <div class="row{{#ifDeprecated concept.type 'skosext:DeprecatedConcept'}} deprecated{{/ifDeprecated}} property prop-{{ id }}"> <div class="property-label"><h3 class="versal{{#ifNotInDescription type description}} property-click skosmos-tooltip-wrapper skosmos-tooltip t-top" data-title="{{ description }}{{/ifNotInDescription}}">{{label}}</h3></div> <div class="property-value-column"> {{#each values }} {{! loop through ConceptPropertyValue objects }} {{#if prefLabel }} <div class="row"> <div class="col-5"> <a class="versal" href="{{hrefLink}}">{{#if notation }}<span class="versal">{{ notation }} </span>{{/if}}{{ prefLabel }}</a> {{#ifDifferentLabelLang lang }}<span class="propertyvalue"> ({{ lang }})</span>{{/ifDifferentLabelLang}} </div> {{#if vocabName }} <span class="appendix-vocab-label col-7">{{ vocabName }}</span> {{/if}} </div> {{/if}} {{/each}} </div> </div> {{/each}} </template> <div id="content-bottom"></div> </div> </main> <footer id="footer"></footer> </div> <script> <!-- translations needed in javascript --> var noResultsTranslation = "Ei tuloksia"; var loading_text = "Ladataan sis盲lt枚盲"; var loading_failed_text = "Virhe: Lis盲tulosten haku ep盲onnistui!"; var loading_retry_text = "Yrit盲 uudelleen"; var jstree_loading = "Ladataan ..."; var results_disp = "N盲ytet盲盲n kaikki %d tulosta"; var all_vocabs = "kaikista sanastoista"; var n_selected = "sanastosta"; var missing_value = "Kentt盲 on pakollinen"; var expand_paths = "n盲yt盲 kaikki # polkua"; var expand_propvals = "n盲yt盲 kaikki # arvoa"; var hiertrans = "Hierarkia"; var depr_trans = "K盲yt枚st盲 poistettu k盲site"; var sr_only_translations = { hierarchy_listing: "Hierarkian mukainen lista k盲sitteist盲", groups_listing: "Hierarkian mukainen lista k盲sitteist盲 ja ryhmist盲", }; <!-- variables passed through to javascript --> var lang = "fi"; var content_lang = "fi"; var vocab = "yso"; var uri = "http://www.yso.fi/onto/yso/p23064"; var prefLabels = [{"lang": "fi","label": "nuolet"}]; var uriSpace = "http://www.yso.fi/onto/yso/"; var showNotation = true; var sortByNotation = null; var languageOrder = ["fi","en","se","sv"]; var vocShortName = "YSO"; var explicitLangCodes = false; var pluginParameters = []; </script> <script type="application/ld+json"> {"@context":{"skos":"http://www.w3.org/2004/02/skos/core#","isothes":"http://purl.org/iso25964/skos-thes#","rdfs":"http://www.w3.org/2000/01/rdf-schema#","owl":"http://www.w3.org/2002/07/owl#","dct":"http://purl.org/dc/terms/","dc11":"http://purl.org/dc/elements/1.1/","uri":"@id","type":"@type","lang":"@language","value":"@value","graph":"@graph","label":"rdfs:label","prefLabel":"skos:prefLabel","altLabel":"skos:altLabel","hiddenLabel":"skos:hiddenLabel","broader":"skos:broader","narrower":"skos:narrower","related":"skos:related","inScheme":"skos:inScheme","schema":"http://schema.org/","wd":"http://www.wikidata.org/entity/","wdt":"http://www.wikidata.org/prop/direct/","yso":"http://www.yso.fi/onto/yso/"},"graph":[{"uri":"http://www.yso.fi/onto/yso-meta/Concept","type":"owl:Class","label":[{"lang":"sv","value":"Allm盲nbegrepp"},{"lang":"se","value":"Oktasa拧doaba"},{"lang":"fi","value":"Yleisk盲site"},{"lang":"en","value":"General concept"}]},{"uri":"http://www.yso.fi/onto/yso-meta/singularPrefLabel","label":[{"lang":"sv","value":"f枚redragen term i singular"},{"lang":"se","value":"谩v啪啪uhuvvon tearbma ovttaidlogus"},{"lang":"fi","value":"k盲ytett盲v盲n termin yksikk枚muoto"},{"lang":"en","value":"singular preferred term"}],"rdfs:subPropertyOf":{"uri":"skos:hiddenLabel"}},{"uri":"http://www.yso.fi/onto/yso/","type":["owl:Ontology","skos:ConceptScheme"],"label":[{"lang":"se","value":"YSO - Almmola拧 suopmela拧 ontologiija"},{"lang":"sv","value":"ALLFO - Allm盲n finl盲ndsk ontologi"},{"lang":"fi","value":"YSO - Yleinen suomalainen ontologia"},{"lang":"en","value":"YSO - General Finnish ontology"}]},{"uri":"yso:p23064","type":["http://www.yso.fi/onto/yso-meta/Concept","skos:Concept"],"dct:created":{"type":"http://www.w3.org/2001/XMLSchema#date","value":"2009-11-12"},"dct:modified":{"type":"http://www.w3.org/2001/XMLSchema#date","value":"2023-09-21"},"broader":{"uri":"yso:p3463"},"skos:exactMatch":[{"uri":"http://www.yso.fi/onto/allars/Y38600"},{"uri":"http://www.yso.fi/onto/ysa/Y169231"},{"uri":"http://www.yso.fi/onto/koko/p38601"}],"hiddenLabel":[{"lang":"en","value":"arrow"},{"lang":"fi","value":"nuoli"},{"lang":"sv","value":"pil"},{"lang":"se","value":"njuolla"}],"inScheme":{"uri":"http://www.yso.fi/onto/yso/"},"prefLabel":[{"lang":"fi","value":"nuolet"},{"lang":"en","value":"arrows"},{"lang":"sv","value":"pilar"},{"lang":"se","value":"njuolat"}],"http://www.yso.fi/onto/yso-meta/singularPrefLabel":[{"lang":"sv","value":"pil"},{"lang":"en","value":"arrow"},{"lang":"fi","value":"nuoli"},{"lang":"se","value":"njuolla"}]},{"uri":"yso:p26575","type":["isothes:ConceptGroup","skos:Collection"],"skos:member":{"uri":"yso:p23064"},"prefLabel":[{"lang":"se","value":"67 Soahtan. Soahteteknihkka. Eatnanbealu拧tus. Vearjjut"},{"lang":"sv","value":"67 Krigf枚ring. Krigsteknik. F枚rsvar. Vapen"},{"lang":"fi","value":"67 Sodank盲ynti. Sotatekniikka. Maanpuolustus. Aseet"},{"lang":"en","value":"67 Warfare. Military Technology. Defence. Weapons"}]},{"uri":"yso:p3463","type":["http://www.yso.fi/onto/yso-meta/Concept","skos:Concept"],"narrower":{"uri":"yso:p23064"},"prefLabel":[{"lang":"se","value":"vearjjut"},{"lang":"sv","value":"vapen (redskap)"},{"lang":"fi","value":"aseet"},{"lang":"en","value":"weapons"}]},{"uri":"yso:p40169","http://purl.org/finnonto/schema/skosext#partOf":{"uri":"yso:p23064"}}]} </script> <script src="vendor/components/jquery/jquery.min.js"></script> <script src="vendor/components/handlebars.js/handlebars.min.js"></script> <script src="vendor/vakata/jstree/dist/jstree.min.js"></script> <script src="vendor/twitter/typeahead.js/dist/typeahead.bundle.min.js"></script> <script src="vendor/davidstutz/bootstrap-multiselect/dist/js/bootstrap-multiselect.min.js"></script> <script src="vendor/twbs/bootstrap/dist/js/bootstrap.bundle.js"></script> <script src="vendor/etdsolutions/waypoints/jquery.waypoints.min.js"></script> <script src="vendor/newerton/jquery-mousewheel/jquery.mousewheel.min.js"></script> <script src="vendor/pamelafox/lscache/lscache.min.js"></script> <script src="resource/js/config.js"></script> <script src="resource/js/hierarchy.js"></script> <script src="resource/js/groups.js"></script> <script src="resource/js/scripts.js"></script> <script src="plugins/yse/yse-plugin.js"></script><script src="plugins/finna/widget.js"></script><script src="plugins/finna/node_modules/i18next/i18next.min.js"></script><script src="plugins/suggestions/widget.js?v=3"></script><script src="plugins/suggestions/components.js"></script><script>var pluginCallbacks = ["yseWarning", "newFinnaSearch", "suggestionsWidget"];</script><script src="resource/js/docready.js"></script> <!-- Cookie Consent --> <link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css" /> <script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script> <script> cookieMessage = "Finto.fi-sivusto k盲ytt盲盲 ev盲steit盲 k盲ytt盲j盲n kieliasetusten muistamiseen sek盲 k盲yt枚n tilastointiin. K盲ytt盲m盲ll盲 Finto.fi-sivustoa hyv盲ksyt ev盲steiden k盲yt枚n."; cookieDismiss = "Selv盲!"; cookieLink = "Lue lis盲盲"; cookieHref = "https://www.kiwi.fi/x/2zOOBQ"; window.addEventListener("load", function(){ window.cookieconsent.initialise({ "palette": { "popup": { "background": "#d4edeb", "text": "#333333" }, "button": { "background": "#394554", "text": "#ffffff" } }, "theme": "edgeless", "content": { "message": cookieMessage, "dismiss": cookieDismiss, "link": cookieLink, "href": cookieHref } })}); </script> <!-- End Cookie consent --> <!-- Matomo --> <script> var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="https://tilasto.lib.helsinki.fi/"; _paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setSiteId', '25']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); })(); </script> <!-- End Matomo Code --> <!-- Browser Update --> <script type="text/javascript"> var $buoop = {vs:{i:10,f:-4,o:-4,s:7,c:-4},c:4}; function $buo_f(){ var e = document.createElement("script"); e.src = "//browser-update.org/update.min.js"; document.body.appendChild(e); }; try {document.addEventListener("DOMContentLoaded", $buo_f,false)} catch(e){window.attachEvent("onload", $buo_f)} </script> <!-- End Browser Update --> <!-- YSO concepts with different color --> <script type="text/javascript"> function createConceptObject(conceptUri, conceptData) { var newNode = { text: getLabel(conceptData), label: pickLabel(conceptData), a_attr: getHrefForUri(conceptData.uri), uri: conceptUri, notation: conceptData.notation, parents: conceptData.broader, state: { opened: true }, children: [] }; // adding a css class for separating the yso concepts from the special domain ontology concepts if (vocab !== 'yso' && newNode.uri.indexOf('www.yso.fi/onto/yso/') !== -1) newNode.a_attr['class'] = 'yso-concept'; // setting the flag manually if the concept is known to have narrowers, but they aren't included eg. included topconcepts if(conceptData.hasChildren === true) { newNode.children = true; newNode.state.opened = false; } // if we are at a concept page we want to highlight that node and mark it as to be initially opened. if (newNode.uri === window.uri) { newNode.li_attr = { class: 'jstree-leaf-proper' }; } if (conceptData.narrower) { // filtering out the ones that don't have labels newNode.children = createObjectsFromChildren(conceptData, conceptUri); } return newNode; } function createObjectsFromChildren(conceptData, conceptUri) { var childArray = []; for (var i = 0; i < conceptData.narrower.length; i++) { var childObject = { text: getLabel(conceptData.narrower[i]), label: pickLabel(conceptData.narrower[i]), a_attr: getHrefForUri(conceptData.narrower[i].uri), uri: conceptData.narrower[i].uri, notation: conceptData.narrower[i].notation, parents: conceptUri, state: { opened: true } }; if (vocab !== 'yso' && childObject.uri.indexOf('www.yso.fi/onto/yso/') !== -1) childObject.a_attr['class'] = 'yso-concept'; // if the childConcept hasn't got any children the state is not needed. if (conceptData.narrower[i].hasChildren) { childObject.children = true; childObject.state.opened = false; } if(!childArray[childObject.uri]) childArray.push(childObject); storeUri(childObject); } return childArray; } function vocabRoot(topConcepts) { var topArray = []; for (var i = 0; i < topConcepts.length; i++) { var conceptData = topConcepts[i]; var childObject = { text: getLabel(conceptData), label: pickLabel(conceptData), a_attr : getHrefForUri(conceptData.uri), uri: conceptData.uri, notation: conceptData.notation, state: { opened: false } }; if (vocab !== 'yso' && childObject.uri.indexOf('www.yso.fi/onto/yso/') !== -1) childObject.a_attr['class'] = 'yso-concept'; if (conceptData.hasChildren) childObject.children = true; setNode(childObject); topArray.push(childObject); } return topArray; } function createObjectsFromNarrowers(narrowerResponse) { var childArray = []; for (var i = 0; i < narrowerResponse.narrower.length; i++) { var conceptObject = narrowerResponse.narrower[i]; var childObject = { text: getLabel(conceptObject), label: pickLabel(conceptObject), a_attr: getHrefForUri(conceptObject.uri), uri: conceptObject.uri, notation: conceptObject.notation, parents: narrowerResponse.uri, state: { opened: false, disabled: false, selected: false } }; if (vocab !== 'yso' && childObject.uri.indexOf('www.yso.fi/onto/yso/') !== -1) childObject.a_attr['class'] = 'yso-concept'; childObject.children = conceptObject.hasChildren ? true : false; setNode(childObject); childArray.push(childObject); } return childArray; } </script> <!-- KANTO/finaf tweaks --> <script type="text/javascript"> function finaf_tweak() { $(".prop-rdaa_P50094 li:not(.finaf-adjusted), .prop-rdaa_P50006 li:not(.finaf-adjusted)").each(function(index) { $(this).addClass("finaf-adjusted"); // prevent infinity loop $(this).find('> span').each(function(sIndex) { if (this.textContent.startsWith("Asteri ID:")) { var asteriSpan = $("<span id='finaf-adjusted-" + index + "s" + sIndex + "'>" + this.textContent.substr(11) + "</span>"); $(this).text("Asteri ID: "); var copyObject = $("#uri-input-box + button.copy-clipboard").clone(true); copyObject.attr("for", "#finaf-adjusted-" + index + "s" + sIndex).css("margin-left", "4px"); $(this).after(copyObject).after(asteriSpan); } if (this.textContent.startsWith("Y-tunnus:")) { var yTunnusSpan = $("<span id='finaf-adjusted-" + index + "s" + sIndex + "'>" + this.textContent.substr(10) + "</span>"); $(this).text("Y-tunnus: "); var copyObject = $("#uri-input-box + button.copy-clipboard").clone(true); copyObject.attr("for", "#finaf-adjusted-" + index + "s" + sIndex).css("margin-left", "4px"); $(this).after(copyObject).after(yTunnusSpan); } }); $(this).find('a').each(function(aIndex) { var href = $(this).attr('href'); if (href.startsWith('http:\/\/isni.org/isni/')) { $("<span>ISNI: </span>").insertBefore($(this)); isni = href.replace('http:\/\/isni.org/isni/', ''); $(this).empty(); for (var i = 0; i <= 12; i = i + 4) { $(this).append("<span class='isni-digit-block'>" + isni.substr(i, 4) + "</span>"); } $(this).attr("id", "finaf-adjusted-" + index + "a" + aIndex); var copyObject = $("#uri-input-box + button.copy-clipboard").clone(true); copyObject.attr("for", "#finaf-adjusted-" + index + "a" + aIndex).css("margin-left", "4px"); $(this).after(copyObject); } if (href.startsWith('https:\/\/orcid.org/')) { $('<span class="orcid">ORCID:</span>').insertBefore($(this)); orcid = href.replace('https:\/\/orcid.org/', ''); $(this).text(orcid); $(this).attr("id", "finaf-adjusted-" + index + "a" + aIndex); var copyObject = $("#uri-input-box + button.copy-clipboard").clone(true); copyObject.attr("for", "#finaf-adjusted-" + index + "a" + aIndex).css("margin-left", "4px"); $(this).after(copyObject); } if (href.startsWith('http:\/\/viaf.org/viaf/')) { $('<span>VIAF ID: </span>').insertBefore($(this)); viaf = href.replace('http:\/\/viaf.org/viaf/', ''); $(this).text(viaf); $(this).attr("id", "finaf-adjusted-" + index + "a" + aIndex); var copyObject = $("#uri-input-box + button.copy-clipboard").clone(true); copyObject.attr("for", "#finaf-adjusted-" + index + "a" + aIndex).css("margin-left", "4px"); $(this).after(copyObject); } }); }); } $( document ).ready(function() { if (vocab === "finaf") { finaf_tweak(); // do immediately const mainContentNode = document.getElementById("maincontent"); const observer = new MutationObserver(finaf_tweak); observer.observe(mainContentNode, {childList: true, subtree: true}); } }); </script> <script id="yse-template" type="text/x-handlebars-template"><div class="alert alert-danger"> <h2 class="deprecated-alert">{{warning-text}}</h2> </div> </script><script id="yse-feedback" type="text/x-handlebars-template"><span class="versal-bold">{{notice}}</span> <p class="versal" style="margin-bottom: 20px;">{{{content}}}</p> </script><script id="finna-template" type="text/x-handlebars-template"><div class="concept-widget panel-group" id="finna-widget" role="tablist" aria-multiselectable="true"> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="headingFinna"> <div class="buttons-wrapper"> <button class="accordion-button" {{#if count}} type="button" data-bs-toggle="collapse" {{/if}} data-bs-target="#collapseFinna" aria-expanded="false" aria-controls="collapseWiki"> <span class="count">{{trans 'recordsInFinna' formatString}} {{count}}</span> </button> <div class="btn-group dropup"> <button class="font-only-height btn btn-light btn-xs dropdown-toggle" aria-expanded="false" aria-haspopup="true" data-bs-toggle="dropdown" type="button"><span class="caret"></span>{{typeString}}</button> <ul class="dropdown-menu"> {{#each types}}<li><a class="versal-for-drop-down">{{this}}</a></li>{{/each}} </ul> </div> </div> </div> <div id="collapseFinna" class="panel-collapse collapse{{# if opened}} show{{/if}}" role="tabpanel" aria-labelledby="headingFinna"> <div class="panel-body"> <button type="button" class="btn btn-light btn-disabled">«</button> <div class="row"> {{#each records}} <div class="record"> <div class="image-container"> <a href="https://www.finna.fi/Record/{{id}}" target="_blank"> <table class="img-wrapper"> <tr><td><span class="fa-solid {{iconizer}}"></span><img alt="" src="https://finna.fi{{images.[0]}}&w=126&h=126"></td></tr> </table> </a> </div> <a href="https://www.finna.fi/Record/{{id}}" target="_blank"> <span class="versal versal-bold" {{#if shortTitle}}title="{{title}}"{{/if}}>{{#if shortTitle}}{{shortTitle}}{{else}}{{title}}{{/if}}</span> </a> <span class="versal">{{owner}}</span> {{#if ../showType}}<span class="versal">{{formats.[0].translated}}</span>{{/if}} </div> {{/each}} </div> <button type="button" class="btn btn-light{{#if noMoreResults}} btn-disabled{{/if}}">»</button> </div> <a class="versal-for-finna-search-link" href="{{finnalink}}" target="_blank">{{trans 'resultListingInFinna'}}</a> </div> </div> </div> </script><script id="suggestions-new" type="text/x-handlebars-template"><div> <p> <suggest-new-button lang="{{ lang }}" vocab="{{ vocab }}" /> </p> <!-- <p> <suggest-new-button url="{{ url }}" lang="{{ lang }}" vocab="{{ vocab }}" /> </p>--> </div> </script><script id="suggestions-change" type="text/x-handlebars-template"><div> <p style="margin-top: 10px;"> <suggest-change-button id="testi2" url="{{ url }}" lang="{{ lang }}" vocab="{{ vocab }}" label="{{ label }}" uri="{{ uri }}" /> </p> </div> </script></body> </html>