relweave-4b-base / schema.json
chrullis's picture
relweave-4b-base: generator and pair-head adapters, head, schema, model card
3eb3c2c verified
Raw History Blame Contribute Delete
12.5 kB
{
"name": "business",
"entities": {
"Person": {
"description": "A human being.",
"properties": {},
"title": "Person",
"type": "object"
},
"Org": {
"description": "A company, institution, family acting as owner, or other organised body; publications, imprints and brands are Orgs.",
"properties": {},
"title": "Org",
"type": "object"
},
"Object": {
"description": "A physical thing: vehicle, vessel, building, artwork.",
"properties": {
"kind": {
"title": "Kind",
"type": "string"
}
},
"required": [
"kind"
],
"title": "Object",
"type": "object"
},
"Place": {
"description": "A country, region, city or other location.",
"properties": {},
"title": "Place",
"type": "object"
},
"Coordinate": {
"description": "A numeric map coordinate.",
"properties": {
"lat": {
"title": "Lat",
"type": "string"
},
"lon": {
"title": "Lon",
"type": "string"
}
},
"required": [
"lat",
"lon"
],
"title": "Coordinate",
"type": "object"
},
"Event": {
"description": "Something that happened at a time: a sale, meeting, election, ceremony.",
"properties": {
"kind": {
"title": "Kind",
"type": "string"
}
},
"required": [
"kind"
],
"title": "Event",
"type": "object"
}
},
"relations": {
"EMPLOYED_BY": {
"description": "Person works for Org in a non-executive role",
"properties": {
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Role"
},
"start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Start"
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End"
}
},
"title": "EmployedBy",
"type": "object",
"sources": [
"Person"
],
"targets": [
"Org"
],
"symmetric": false
},
"EXECUTIVE_OF": {
"description": "Person holds an executive title at Org (CEO, CFO, managing director) or chairs its board or supervisory board (title chairman, vice chairman, honorary chairman)",
"properties": {
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Title"
},
"start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Start"
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End"
}
},
"title": "ExecutiveOf",
"type": "object",
"sources": [
"Person"
],
"targets": [
"Org"
],
"symmetric": false
},
"BOARD_MEMBER_OF": {
"description": "Person sits on the board of Org as a member; a board chair is EXECUTIVE_OF instead",
"properties": {
"start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Start"
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End"
}
},
"title": "BoardMemberOf",
"type": "object",
"sources": [
"Person"
],
"targets": [
"Org"
],
"symmetric": false
},
"MEMBER_OF": {
"description": "Person is a member of Org (club, party, association)",
"properties": {
"start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Start"
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End"
}
},
"title": "MemberOf",
"type": "object",
"sources": [
"Person"
],
"targets": [
"Org"
],
"symmetric": false
},
"FAMILY_OF": {
"description": "Family tie; kind is what the target is to the source: spouse, parent, child or sibling",
"properties": {
"kind": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Kind"
}
},
"title": "FamilyOf",
"type": "object",
"sources": [
"Person"
],
"targets": [
"Person"
],
"symmetric": true
},
"ASSOCIATE_OF": {
"description": "Persons described as associates, partners or close contacts",
"properties": {},
"title": "AssociateOf",
"type": "object",
"sources": [
"Person"
],
"targets": [
"Person"
],
"symmetric": true
},
"MET_WITH": {
"description": "Two persons met in person",
"properties": {
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
}
},
"title": "MetWith",
"type": "object",
"sources": [
"Person"
],
"targets": [
"Person"
],
"symmetric": true
},
"COMMUNICATED_WITH": {
"description": "Two persons communicated (call, email, message, letter)",
"properties": {
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
},
"channel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Channel"
}
},
"title": "CommunicatedWith",
"type": "object",
"sources": [
"Person"
],
"targets": [
"Person"
],
"symmetric": true
},
"LOCATED_IN": {
"description": "Source is or was resident or situated in the Place (dated if the text says when), or a Place lies within another; not a birthplace, not a market; an Org that is based in a Place is HEADQUARTERED_IN",
"properties": {
"start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Start"
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End"
}
},
"title": "LocatedIn",
"type": "object",
"sources": [
"Object",
"Org",
"Person",
"Place"
],
"targets": [
"Place"
],
"symmetric": false
},
"BORN_IN": {
"description": "Person was born in the Place",
"properties": {
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
}
},
"title": "BornIn",
"type": "object",
"sources": [
"Person"
],
"targets": [
"Place"
],
"symmetric": false
},
"OPERATES_IN": {
"description": "Org has operations, offices, plants, stores or sales in the Place",
"properties": {
"start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Start"
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End"
}
},
"title": "OperatesIn",
"type": "object",
"sources": [
"Org"
],
"targets": [
"Place"
],
"symmetric": false
},
"HEADQUARTERED_IN": {
"description": "Org has its headquarters in, or is based in, the Place",
"properties": {},
"title": "HeadquarteredIn",
"type": "object",
"sources": [
"Org"
],
"targets": [
"Place"
],
"symmetric": false
},
"FOUNDED": {
"description": "Person or Org founded or co-founded the Org; when Orgs merge to form a new Org, each merging Org FOUNDED it",
"properties": {
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
}
},
"title": "Founded",
"type": "object",
"sources": [
"Org",
"Person"
],
"targets": [
"Org"
],
"symmetric": false
},
"OWNS_STAKE_IN": {
"description": "Person or Org owns shares in, a stake in, or controls through ownership the Org; share is the stated fraction",
"properties": {
"share": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Share"
},
"start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Start"
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End"
}
},
"title": "OwnsStakeIn",
"type": "object",
"sources": [
"Org",
"Person"
],
"targets": [
"Org"
],
"symmetric": false
},
"SUBSIDIARY_OF": {
"description": "Source Org is a subsidiary, division or brand of the target Org; publications, magazines, newspapers, imprints and product brands are Orgs linked this way, never Objects; in a chain of owners, link only to the nearest parent the text states",
"properties": {
"start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Start"
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End"
}
},
"title": "SubsidiaryOf",
"type": "object",
"sources": [
"Org"
],
"targets": [
"Org"
],
"symmetric": false
},
"ACQUIRED": {
"description": "Person or Org bought or took over the target Org; only when the text names the buyer",
"properties": {
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Date"
}
},
"title": "Acquired",
"type": "object",
"sources": [
"Org",
"Person"
],
"targets": [
"Org"
],
"symmetric": false
},
"HAS_COORDINATE": {
"description": "Place has the stated numeric coordinate",
"properties": {},
"title": "HasCoordinate",
"type": "object",
"sources": [
"Place"
],
"targets": [
"Coordinate"
],
"symmetric": false
},
"OWNS_OBJECT": {
"description": "Person or Org owns the Object (a physical thing: vehicle, vessel, building, artwork); brands and publications are Orgs",
"properties": {
"start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Start"
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End"
}
},
"title": "OwnsObject",
"type": "object",
"sources": [
"Org",
"Person"
],
"targets": [
"Object"
],
"symmetric": false
},
"TRANSFERRED_OBJECT": {
"description": "The Event transferred the Object (sale, delivery, seizure)",
"properties": {},
"title": "TransferredObject",
"type": "object",
"sources": [
"Event"
],
"targets": [
"Object"
],
"symmetric": false
},
"PARTICIPATED_IN": {
"description": "Person or Org took part in the Event; role is buyer, seller, host, attendee",
"properties": {
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Role"
}
},
"title": "ParticipatedIn",
"type": "object",
"sources": [
"Org",
"Person"
],
"targets": [
"Event"
],
"symmetric": false
},
"HELD_AT": {
"description": "The Event took place at the Place",
"properties": {},
"title": "HeldAt",
"type": "object",
"sources": [
"Event"
],
"targets": [
"Place"
],
"symmetric": false
}
}
}