Skip to content

Commit 0a99282

Browse files
committed
manually removed 'types' to resolve 'ValueError: Conflicting URIs (https://w3id.org/biolink/bican-biolink-schema, https://w3id.org/linkml/types) for item: string'
1 parent 7754971 commit 0a99282

File tree

1 file changed

+1
-369
lines changed

1 file changed

+1
-369
lines changed

linkml-schema/bican_biolink.yaml

Lines changed: 1 addition & 369 deletions
Original file line numberDiff line numberDiff line change
@@ -445,375 +445,7 @@ subsets:
445445
definition_uri: https://w3id.org/biolink/vocab/Testing
446446
description: TBD
447447
from_schema: https://w3id.org/biolink/biolink-model
448-
types:
449-
chemical formula value:
450-
name: chemical formula value
451-
definition_uri: https://w3id.org/biolink/vocab/ChemicalFormulaValue
452-
description: A chemical formula
453-
notes:
454-
- Should be implemented as a stronger type
455-
from_schema: https://w3id.org/biolink/biolink-model
456-
base: str
457-
uri: xsd:string
458-
iri type:
459-
name: iri type
460-
definition_uri: https://w3id.org/biolink/vocab/IriType
461-
description: An IRI
462-
from_schema: https://w3id.org/biolink/biolink-model
463-
typeof: uriorcurie
464-
base: URIorCURIE
465-
uri: xsd:string
466-
repr: str
467-
label type:
468-
name: label type
469-
definition_uri: https://w3id.org/biolink/vocab/LabelType
470-
description: A string that provides a human-readable name for an entity
471-
from_schema: https://w3id.org/biolink/biolink-model
472-
typeof: string
473-
base: str
474-
uri: xsd:string
475-
predicate type:
476-
name: predicate type
477-
definition_uri: https://w3id.org/biolink/vocab/PredicateType
478-
description: A CURIE from the biolink related_to hierarchy. For example, biolink:related_to,
479-
biolink:causes, biolink:treats.
480-
from_schema: https://w3id.org/biolink/biolink-model
481-
typeof: uriorcurie
482-
base: URIorCURIE
483-
uri: xsd:string
484-
repr: str
485-
narrative text:
486-
name: narrative text
487-
definition_uri: https://w3id.org/biolink/vocab/NarrativeText
488-
description: A string that provides a human-readable description of something
489-
from_schema: https://w3id.org/biolink/biolink-model
490-
typeof: string
491-
base: str
492-
uri: xsd:string
493-
symbol type:
494-
name: symbol type
495-
definition_uri: https://w3id.org/biolink/vocab/SymbolType
496-
from_schema: https://w3id.org/biolink/biolink-model
497-
typeof: string
498-
base: str
499-
uri: xsd:string
500-
frequency value:
501-
name: frequency value
502-
definition_uri: https://w3id.org/biolink/vocab/FrequencyValue
503-
from_schema: https://w3id.org/biolink/biolink-model
504-
typeof: string
505-
base: str
506-
uri: UO:0000105
507-
percentage frequency value:
508-
name: percentage frequency value
509-
definition_uri: https://w3id.org/biolink/vocab/PercentageFrequencyValue
510-
from_schema: https://w3id.org/biolink/biolink-model
511-
typeof: double
512-
base: float
513-
uri: UO:0000187
514-
quotient:
515-
name: quotient
516-
definition_uri: https://w3id.org/biolink/vocab/Quotient
517-
from_schema: https://w3id.org/biolink/biolink-model
518-
aliases:
519-
- ratio
520-
typeof: double
521-
base: float
522-
uri: UO:0010006
523-
unit:
524-
name: unit
525-
id_prefixes:
526-
- UO
527-
definition_uri: https://w3id.org/biolink/vocab/Unit
528-
from_schema: https://w3id.org/biolink/biolink-model
529-
exact_mappings:
530-
- qud:Unit
531-
typeof: string
532-
base: str
533-
uri: UO:0000000
534-
time type:
535-
name: time type
536-
definition_uri: https://w3id.org/biolink/vocab/TimeType
537-
from_schema: https://w3id.org/biolink/biolink-model
538-
typeof: time
539-
base: XSDTime
540-
uri: xsd:string
541-
repr: str
542-
biological sequence:
543-
name: biological sequence
544-
definition_uri: https://w3id.org/biolink/vocab/BiologicalSequence
545-
from_schema: https://w3id.org/biolink/biolink-model
546-
typeof: string
547-
base: str
548-
uri: xsd:string
549-
string:
550-
name: string
551-
definition_uri: https://w3id.org/linkml/String
552-
description: A character string
553-
notes:
554-
- In RDF serializations, a slot with range of string is treated as a literal or
555-
type xsd:string. If you are authoring schemas in LinkML YAML, the type is
556-
referenced with the lower case "string".
557-
from_schema: https://w3id.org/linkml/types
558-
imported_from: linkml:types
559-
exact_mappings:
560-
- schema:Text
561-
base: str
562-
uri: xsd:string
563-
integer:
564-
name: integer
565-
definition_uri: https://w3id.org/linkml/Integer
566-
description: An integer
567-
notes:
568-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
569-
lower case "integer".
570-
from_schema: https://w3id.org/linkml/types
571-
imported_from: linkml:types
572-
exact_mappings:
573-
- schema:Integer
574-
base: int
575-
uri: xsd:integer
576-
boolean:
577-
name: boolean
578-
definition_uri: https://w3id.org/linkml/Boolean
579-
description: A binary (true or false) value
580-
notes:
581-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
582-
lower case "boolean".
583-
from_schema: https://w3id.org/linkml/types
584-
imported_from: linkml:types
585-
exact_mappings:
586-
- schema:Boolean
587-
base: Bool
588-
uri: xsd:boolean
589-
repr: bool
590-
float:
591-
name: float
592-
definition_uri: https://w3id.org/linkml/Float
593-
description: A real number that conforms to the xsd:float specification
594-
notes:
595-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
596-
lower case "float".
597-
from_schema: https://w3id.org/linkml/types
598-
imported_from: linkml:types
599-
exact_mappings:
600-
- schema:Float
601-
base: float
602-
uri: xsd:float
603-
double:
604-
name: double
605-
definition_uri: https://w3id.org/linkml/Double
606-
description: A real number that conforms to the xsd:double specification
607-
notes:
608-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
609-
lower case "double".
610-
from_schema: https://w3id.org/linkml/types
611-
imported_from: linkml:types
612-
close_mappings:
613-
- schema:Float
614-
base: float
615-
uri: xsd:double
616-
decimal:
617-
name: decimal
618-
definition_uri: https://w3id.org/linkml/Decimal
619-
description: A real number with arbitrary precision that conforms to the xsd:decimal
620-
specification
621-
notes:
622-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
623-
lower case "decimal".
624-
from_schema: https://w3id.org/linkml/types
625-
imported_from: linkml:types
626-
broad_mappings:
627-
- schema:Number
628-
base: Decimal
629-
uri: xsd:decimal
630-
time:
631-
name: time
632-
definition_uri: https://w3id.org/linkml/Time
633-
description: A time object represents a (local) time of day, independent of any
634-
particular day
635-
notes:
636-
- URI is dateTime because OWL reasoners do not work with straight date or time
637-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
638-
lower case "time".
639-
from_schema: https://w3id.org/linkml/types
640-
imported_from: linkml:types
641-
exact_mappings:
642-
- schema:Time
643-
base: XSDTime
644-
uri: xsd:time
645-
repr: str
646-
date:
647-
name: date
648-
definition_uri: https://w3id.org/linkml/Date
649-
description: a date (year, month and day) in an idealized calendar
650-
notes:
651-
- URI is dateTime because OWL reasoners don't work with straight date or time
652-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
653-
lower case "date".
654-
from_schema: https://w3id.org/linkml/types
655-
imported_from: linkml:types
656-
exact_mappings:
657-
- schema:Date
658-
base: XSDDate
659-
uri: xsd:date
660-
repr: str
661-
datetime:
662-
name: datetime
663-
definition_uri: https://w3id.org/linkml/Datetime
664-
description: The combination of a date and time
665-
notes:
666-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
667-
lower case "datetime".
668-
from_schema: https://w3id.org/linkml/types
669-
imported_from: linkml:types
670-
exact_mappings:
671-
- schema:DateTime
672-
base: XSDDateTime
673-
uri: xsd:dateTime
674-
repr: str
675-
date_or_datetime:
676-
name: date_or_datetime
677-
definition_uri: https://w3id.org/linkml/DateOrDatetime
678-
description: Either a date or a datetime
679-
notes:
680-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
681-
lower case "date_or_datetime".
682-
from_schema: https://w3id.org/linkml/types
683-
imported_from: linkml:types
684-
base: str
685-
uri: linkml:DateOrDatetime
686-
repr: str
687-
uriorcurie:
688-
name: uriorcurie
689-
definition_uri: https://w3id.org/linkml/Uriorcurie
690-
description: a URI or a CURIE
691-
notes:
692-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
693-
lower case "uriorcurie".
694-
from_schema: https://w3id.org/linkml/types
695-
imported_from: linkml:types
696-
base: URIorCURIE
697-
uri: xsd:anyURI
698-
repr: str
699-
curie:
700-
name: curie
701-
definition_uri: https://w3id.org/linkml/Curie
702-
conforms_to: https://www.w3.org/TR/curie/
703-
description: a compact URI
704-
notes:
705-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
706-
lower case "curie".
707-
comments:
708-
- in RDF serializations this MUST be expanded to a URI
709-
- in non-RDF serializations MAY be serialized as the compact representation
710-
from_schema: https://w3id.org/linkml/types
711-
imported_from: linkml:types
712-
base: Curie
713-
uri: xsd:string
714-
repr: str
715-
uri:
716-
name: uri
717-
definition_uri: https://w3id.org/linkml/Uri
718-
conforms_to: https://www.ietf.org/rfc/rfc3987.txt
719-
description: a complete URI
720-
notes:
721-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
722-
lower case "uri".
723-
comments:
724-
- in RDF serializations a slot with range of uri is treated as a literal or type
725-
xsd:anyURI unless it is an identifier or a reference to an identifier, in which
726-
case it is translated directly to a node
727-
from_schema: https://w3id.org/linkml/types
728-
imported_from: linkml:types
729-
close_mappings:
730-
- schema:URL
731-
base: URI
732-
uri: xsd:anyURI
733-
repr: str
734-
ncname:
735-
name: ncname
736-
definition_uri: https://w3id.org/linkml/Ncname
737-
description: Prefix part of CURIE
738-
notes:
739-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
740-
lower case "ncname".
741-
from_schema: https://w3id.org/linkml/types
742-
imported_from: linkml:types
743-
base: NCName
744-
uri: xsd:string
745-
repr: str
746-
objectidentifier:
747-
name: objectidentifier
748-
definition_uri: https://w3id.org/linkml/Objectidentifier
749-
description: A URI or CURIE that represents an object in the model.
750-
notes:
751-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
752-
lower case "objectidentifier".
753-
comments:
754-
- Used for inheritance and type checking
755-
from_schema: https://w3id.org/linkml/types
756-
imported_from: linkml:types
757-
base: ElementIdentifier
758-
uri: shex:iri
759-
repr: str
760-
nodeidentifier:
761-
name: nodeidentifier
762-
definition_uri: https://w3id.org/linkml/Nodeidentifier
763-
description: A URI, CURIE or BNODE that represents a node in a model.
764-
notes:
765-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
766-
lower case "nodeidentifier".
767-
from_schema: https://w3id.org/linkml/types
768-
imported_from: linkml:types
769-
base: NodeIdentifier
770-
uri: shex:nonLiteral
771-
repr: str
772-
jsonpointer:
773-
name: jsonpointer
774-
definition_uri: https://w3id.org/linkml/Jsonpointer
775-
conforms_to: https://datatracker.ietf.org/doc/html/rfc6901
776-
description: A string encoding a JSON Pointer. The value of the string MUST conform
777-
to JSON Point syntax and SHOULD dereference to a valid object within the current
778-
instance document when encoded in tree form.
779-
notes:
780-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
781-
lower case "jsonpointer".
782-
from_schema: https://w3id.org/linkml/types
783-
imported_from: linkml:types
784-
base: str
785-
uri: xsd:string
786-
repr: str
787-
jsonpath:
788-
name: jsonpath
789-
definition_uri: https://w3id.org/linkml/Jsonpath
790-
conforms_to: https://www.ietf.org/archive/id/draft-goessner-dispatch-jsonpath-00.html
791-
description: A string encoding a JSON Path. The value of the string MUST conform
792-
to JSON Point syntax and SHOULD dereference to zero or more valid objects within
793-
the current instance document when encoded in tree form.
794-
notes:
795-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
796-
lower case "jsonpath".
797-
from_schema: https://w3id.org/linkml/types
798-
imported_from: linkml:types
799-
base: str
800-
uri: xsd:string
801-
repr: str
802-
sparqlpath:
803-
name: sparqlpath
804-
definition_uri: https://w3id.org/linkml/Sparqlpath
805-
conforms_to: https://www.w3.org/TR/sparql11-query/#propertypaths
806-
description: A string encoding a SPARQL Property Path. The value of the string
807-
MUST conform to SPARQL syntax and SHOULD dereference to zero or more valid objects
808-
within the current instance document when encoded as RDF.
809-
notes:
810-
- If you are authoring schemas in LinkML YAML, the type is referenced with the
811-
lower case "sparqlpath".
812-
from_schema: https://w3id.org/linkml/types
813-
imported_from: linkml:types
814-
base: str
815-
uri: xsd:string
816-
repr: str
448+
817449
slots:
818450
node property:
819451
name: node property

0 commit comments

Comments
 (0)