–

NDLSH (National Diet Library Subject Headings) トピックマップ

As a bridge between Information processing and Knowledge processing
    tolog query    Home     
同義語
alter label
件名標目および同義語
SH + alter label
NDC9コード
NDC9 code
NDLCコード
NDLC code
BT-NT 階層
BT-NT hierarchy
五十音順 (件名標目)
0 1 2 3 4 5 6 7 8 9
a b c d e f g h i j k l m n o p q r s t u v w x y z
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

 
 
     tolog query
    Query:
  
     Show trace
 

 
The following is sample queries of the topic map.

****************************************************************
          インスタンストピックの問合せ                          
****************************************************************

-----   すべてのトピック型のすべてのインスタンスを問合せ   ---

instance-of($INSTANCE, $TOPIC)?


-----   "標目" トピック型のすべてのインスタンスを問合せ   ---

using psi1 for i"http://www.h-gis.org/psi/ndlsh/"
instance-of($HEADING, psi1:heading)
order by $HEADING?


*************************************************************
         USE-UF 関係を問合せ   
*************************************************************

using psi1 for i"http://www.h-gis.org/psi/ndlsh/"
psi1:prior($USE : psi1:use, $UF : psi1:uf)
order by $USE, $UF?


*************************************************************
          "BT-NT" 関係にある標目を問合せ
*************************************************************

using psi1 for i"http://www.h-gis.org/psi/ndlsh/"
psi1:superclass-subclass($BT : psi1:superclass, $NT : psi1:subclass)
order by $BT, $NT?


*************************************************************
          2階層の "BT-NT" の関係にある標目を問合せ
*************************************************************

using psi1 for i"http://www.h-gis.org/psi/ndlsh/"
psi1:superclass-subclass($GRAND-PARENT : psi1:superclass, $PARENT : psi1:subclass),
psi1:superclass-subclass($PARENT : psi1:superclass, $SON : psi1:subclass)
order by $GRAND-PARENT, $PARENT, $SON?


*************************************************************
          "アイスランド詩" の2階層上位にある標目を問合せ
*************************************************************

using psi1 for i"http://id.ndl.go.jp/auth/ndlsh/"

import "grand-parent-child.tl" as gpgc1

gpgc1:grand-parent-child($GRAND-PARENT, psi1:00560124)
order by $GRAND-PARENT?


*************************************************************
          "BT-NT" かつ NT の "RT" の関係にある標目を問合せ
*************************************************************

using psi1 for i"http://www.h-gis.org/psi/ndlsh/"
psi1:superclass-subclass($PARENT : psi1:superclass, $SON : psi1:subclass),
psi1:relate($SON : psi1:rt, $RELATE : psi1:rt)
order by $PARENT, $SON, $RELATE?


*************************************************************
          "BT" も NT" も持たない標目を問合せ
*************************************************************

using psi1 for i"http://www.h-gis.org/psi/ndlsh/"
select $TOPIC from
instance-of($TOPIC, psi1:heading),
not(psi1:superclass-subclass($SUPER : psi1:superclass, $TOPIC : psi1:subclass)),
not(psi1:superclass-subclass($TOPIC : psi1:superclass, $SUB : psi1:subclass))
order by $TOPIC?


*************************************************************
          "BT" も NT" も "RT" も持たない標目を問合せ
*************************************************************

using psi1 for i"http://www.h-gis.org/psi/ndlsh/"
select $TOPIC from
instance-of($TOPIC, psi1:heading),
not(psi1:superclass-subclass($SUPER : psi1:superclass, $TOPIC : psi1:subclass)),
not(psi1:superclass-subclass($TOPIC : psi1:superclass, $SUB : psi1:subclass)),
not(psi1:relate($TOPIC : psi1:rt, $RELATE : psi1:rt))
order by $TOPIC?



Powered by Ontopia    
Knowledge Synergy Inc.