vania-janet/multiturn-rag-retrieval-data huggingface dataset:
employedBy Exists between two entities when one pays the other for certain work or services; monetary reward must be involved. In many circumstances, marking this relation requires world knowledge. 
 foundedOn Exists between an Organization or URL and the Date or Time on which it was founded. 
 founderOf Exists between a Person and a Facility, Organization, or URL that they founded. 
 locatedAt Exists between an entity and its location. 
 managerOf Exists between a Person and another entity such as a Person or Organization that he or she manages as his or her job. 
 memberOf Exists between an entity, such as a Person or Organization, and another entity to which he, she, or it belongs. 
 ownerOf Exists between an entity, such as a Person or Organization, and an entity that he, she, or it owns. The owner does not need to have permanent ownership of the entity for the relation to exist. 
 parentOf Exists between a Person and their children or stepchildren. 
 partner Exists between two Organizations that are engaged in economic cooperation. 
 partOf Exists between a smaller and a larger entity of the same type or related types in which the second entity subsumes the first. If the entities are both events, the first must occur within the time span of the second for the relation to be recognized. 
 partOfMany Exists between smaller and larger entities of the same type or related types in which the second entity, which must be plural, includes the first, which can be singular or plural. 
 populationOf Exists between a place and the number of people located there, or an organization and the number of members or employees it has. 
 measureOf This relation indicates the quantity of an entity or measure (height, weight, etc) of an entity. 
 relative Exists between two Persons who are relatives. To identify parents, children, siblings, and spouses, use the parentOf, siblingOf, and spouseOf relations. 
 residesIn Exists between a Person and a place where they live or previously lived. 
 shareholdersOf Exists between a Person or Organization, and an Organization of which the first entity is a shareholder. 
 siblingOf Exists between a Person and their sibling or stepsibling. 
 spokespersonFor Exists between a Person and an Facility, Organization, or Person that he or she represents. 
 spouseOf Exists between two Persons that are spouses.
To prevent this, the GPL assures that patents cannot be used to render the program non-free.The precise terms and conditions for copying, distribution and modification follow.TERMS AND CONDITIONS<-- </section "id="section-GPL-V3" "> --><-- <section "id="section-en-notice-def" "> --> 0. Definitions "This License" refers to version 3 of the GNU General Public License."Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks."The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations.To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work.A "covered work" means either the unmodified Program or a work based on the Program.To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License.
{"firefox": { <br>"name": "Firefox", <br>"pref_url": "about:config" <br>}} STRING JSON org.json.JSONObject {"firefox":{"name":"Firefox","pref_url":"about:config"}} 
 men: <br>- John Smith <br>- Bill Jones <br>women: <br>- Mary Smith <br>- Susan Williams STRING YAML java.lang.String `"men:<br><br><br><br> * John Smith<br> * Bill Jones\women:<br> * Mary Smith<br> * Susan Williams"`<br><br><br> 





 Feature flag usage example 

const feature = useFeature('json-feature');
feature.getFeatureDataType(); // STRING
feature.getFeatureDataFormat(); // JSON

// Example (traversing the returned JSON)
let result = feature.getCurrentValue(entityId, entityAttributes);
console.log(result.key) // prints the value of the key

const feature = useFeature('yaml-feature');
feature.getFeatureDataType(); // STRING
feature.getFeatureDataFormat(); // YAML
feature.getCurrentValue(entityId, entityAttributes); // returns the stringified yaml (check above table)





 Property usage example 

const property = useProperty('json-property');
property.getPropertyDataType(); // STRING
property.getPropertyDataFormat(); // JSON

// Example (traversing the returned JSON)
let result = property.getCurrentValue(entityId, entityAttributes);
console.log(result.key) // prints the value of the key
The type system does not use entity sub-types or roles, nor mention types or classes.



 Entity types Guidelines Examples 

 ACCIDENT_OUTCOME A consequence of an accident. Applies to both humans (e.g., death) and cars (e.g., dented). Can include "towed" and "air bag deployment" as indicators of severity of damage, and "transported to hospital" (but not funeral home) as indicators of severity of injury. Can include negation. "[casualty]", "[injury]", "sustained [total loss]", "[no injuries]", "[towed] due to [disabling damage]", [not towed], "air bag did [not deploy]" (air bag itself has to be PART_OF_CAR, related by sufferedFrom to this ACCIDENT_OUTCOME), and indications of severity. 
 CONDITION Weather or road conditions; an aspect of the scene that could affect likelihood of accident and could change from day to day but is not about the car or driver. <br> <br>Can be driver error or mechanical failure, and must appear to be problematic. Should exclude STRUCTURE. "dry", "rainy", "construction", "heavy traffic", "daylight", but not "grassy" or "intoxicated". <br> <br>"flat tire", "overcorrected" (as in steering), "asleep", "intoxicated", "[failed to negotiate]CONDITION a [curve]STRUCTURE", "[departed] the lane" or shoulder, but not "attempting to pass" unless this phrase is accompanied by "without enough room" or something similar, nor "departing the road", which is an INCIDENT. 
 INCIDENT An actual mention of a collision, or a car motion that is unambiguously inappropriate and likely destructive, such as going off-road, or some other damaging incident, like a car fire. <br> <br>Do not co-reference non-identical motions to each other, such as "impacted", "pushed rearward" and "came to final rest", even if they are closely associated.
* .datetime_link: See [Date and time mentions](https://cloud.ibm.com/docs/assistant?topic=assistant-system-entitiessystem-entities-sys-date-time).
* .day: Helper method that returns the day in the date.
* .day_of_week: Returns the day of the week in the date as a lowercase string.
* .festival: Recognizes locale-specific holiday names and can return the date of the upcoming holiday, such as Thanksgiving, Christmas, and Halloween. Use all lowercase letters if you need to specify a holiday name, in a condition for example (@sys-date.festival == 'thanksgiving'). For more information about recognized holidays, see [Festivals](https://cloud.ibm.com/docs/assistant?topic=assistant-sys-date-festivals).
* .granularity: Recognizes time frame mentions. Options are day, weekend, week, fortnight, month, quarter, and year.
* .interpretation: The object that is returned by your assistant which contains new fields that increase the precision of the system entity classifier. You can omit interpretation from the expression that you use to refer to its fields. For example, you can access the value of the festival field in the interpretation object by using the shorhand syntax <? @sys-date.festival ?>.
* .literal: Exact phrase in input that is interpreted to be the date.
* .location: Index element values of the first and last letters in the text string for the phrase that is interpreted to be a date.
* .month: Helper method that returns the month in the date.
* .range_link: If present, indicates that the user's input contains a date range. The start and end index values of the string that includes the date range are saved as part of the link name. Additional information is provided, including the role that each @sys-date plays in the range relationship. For example, the start date has a role type of date_from and the end date has a role type of date_to.
":"drive"},"d13":{"operates":{"qubits":[13]},"purpose":"drive","type":"drive"},"d14":{"operates":{"qubits":[14]},"purpose":"drive","type":"drive"},"d15":{"operates":{"qubits":[15]},"purpose":"drive","type":"drive"},"d16":{"operates":{"qubits":[16]},"purpose":"drive","type":"drive"},"d17":{"operates":{"qubits":[17]},"purpose":"drive","type":"drive"},"d18":{"operates":{"qubits":[18]},"purpose":"drive","type":"drive"},"d19":{"operates":{"qubits":[19]},"purpose":"drive","type":"drive"},"d2":{"operates":{"qubits":[2]},"purpose":"drive","type":"drive"},"d20":{"operates":{"qubits":[20]},"purpose":"drive","type":"drive"},"d21":{"operates":{"qubits":[21]},"purpose":"drive","type":"drive"},"d22":{"operates":{"qubits":[22]},"purpose":"drive","type":"drive"},"d23":{"operates":{"qubits
In this case, returns the approximate percentile array of column col at the indicated percentage array.
: Example of an SQL function usage fragment

> SELECT percentile_approx(10.0, array(0.5, 0.4, 0.1), 100)
: Result value

[10.0,10.0,10.0]
: Example of an SQL function usage fragment

> SELECT percentile_approx(10.0, 0.5, 100)
: Result value

10.0





 pi 

pi()
: Returns pi.
: Example of an SQL function usage fragment

> SELECT pi()
: Result value

3.141592653589793





 pmod 

pmod(expr1, expr2)
: Returns the positive value of expr1 mod expr2.
: Example of an SQL function usage fragment

> SELECT pmod(10, 3)
: Result value

1
: Example of an SQL function usage fragment

> SELECT pmod(-10, 3)
: Result value

2





 posexplode 

posexplode(expr)
: Separates the elements of array expr into multiple rows with positions, or the elements of map expr into multiple rows and columns with positions.
: Example of an SQL function usage fragment

> SELECT posexplode(array(10,20))
: Result value

0 10 1 20





 posexplode_outer 

posexplode_outer(expr)
: Separates the elements of array expr into multiple rows with positions, or the elements of map expr into multiple rows and columns with positions.
: Example of an SQL function usage fragment

> SELECT posexplode_outer(array(10,20))
0 10
1 20





 position 

position(substr, str[, pos])
: Returns the position of the first occurrence of substr in str after position pos. The indicated pos and return value are 1-based.
: Example of an SQL function usage fragment
"href": "https://uko.us-south.hs-crypto.cloud.ibm.com:9549/api/v4/vaults/5295ad47-2ce9-43c3-b9e7-e5a9482c362b"
},
"id": "4411f1ae-62cc-484e-9910-65d2e8f258bb",
"version": 0,
"name": "AZURE-EXAMPLE-TEMPLATE",
"key": {
"size": "2048",
"algorithm": "rsa",
"activation_date": "P5Y1M1W2D",
"expiration_date": "P1Y2M1W4D",
"state": "active"
},
"description": "AZURE key description",
"created_at": "2022-03-09T11:00:40Z",
"updated_at": "2022-03-09T11:00:40Z",
"created_by": "IBMid-1308197YB4",
"updated_by": "IBMid-1308197YB4",
"keystores":
{
"group": "Production",
"type": "azure_key_vault"
}
],
"href": "https://uko.us-south.hs-crypto.cloud.ibm.com:9549/api/v4/templates/4411f1ae-62cc-484e-9910-65d2e8f258bb"
}
]
}







 ibmcloud hpcs uko key-template-create 

Create a new key template. Key templates are used to combine information that is necessary for creating a key. With key templates, you can easily create subsequent keys without specifying any details.
"href": "https://eu-de.iaas.cloud.ibm.com/v1/backup_policies/r138-0521986d-963c-4c18-992d-d6a7a99d115f/plans/r138-2129a79a-5629-4069-bf79-7bb0af3b0bd3",
"id": "r138-2129a79a-5629-4069-bf79-7bb0af3b0bd3",
"name": "my-policy-plan-a",
"resource_type": "backup_policy_plan"
},
{
"href": "https://eu-de.iaas.cloud.ibm.com/v1/backup_policies/r138-0521986d-963c-4c18-992d-d6a7a99d115f/plans/r138-6f4f08ba-e0bb-470f-bbfb-f3a22aebbfa9",
"id": "r138-6f4f08ba-e0bb-470f-bbfb-f3a22aebbfa9",
"name": "my-policy-plan-c",
"resource_type": "backup_policy_plan"
}
],
"resource_group": {
"href": "https://resource-controller.cloud.ibm.com/v2/resource_groups/6edefe513d934fdd872e78ee6a8e73ef",
"id": "6edefe513d934fdd872e78ee6a8e73ef",
"name": "defaults"
},
"resource_type": "backup_policy"
}

The following example uses the policy name and no other options.
named_struct(name1, val1, name2, val2, ...)
: Creates a struct with the indicated field names and values.
: Example of an SQL function usage fragment

> SELECT named_struct("a", 1, "b", 2, "c", 3)
: Result value

{"a":1,"b":2,"c":3}





 nanvl 

nanvl(expr1, expr2)
: Returns expr1 if it's not NaN, or expr2 otherwise.
: Example of an SQL function usage fragment

> SELECT nanvl(cast('NaN' as double), 123)
: Result value

123.0





 negative 

negative(expr)
: Returns the negated value of expr.
: Example of an SQL function usage fragment

> SELECT negative(1)
: Result value

-1





 next_day 

next_day(start_date, day_of_week)
: Returns the first date that is later than start_date and named as indicated.
: Example of an SQL function usage fragment

> SELECT next_day('2015-01-14', 'TU')
: Result value

2015-01-20





 not 

not expr: Logical not.





 now 

now()
: Returns the current timestamp at the start of query evaluation.





 ntile 

ntile(n)
: Divides the rows for each window partition into n buckets that range from 1 to at most n.





 nullif 

nullif(expr1, expr2)
: Returns null if expr1 equals to expr2, or expr1 otherwise.
: Example of an SQL function usage fragment

> SELECT nullif(2, 2)
: Result value

NULL





 nvl 

nvl(expr1, expr2)
: Returns expr2 if expr1 is null, or expr1 otherwise.
: Example of an SQL function usage fragment
Give example_groupAdministrator role for all sample-service resources:

ibmcloud iam access-group-policy-create example_group --roles Administrator --service-name sample-service

Give example_groupEditor role and a custom role Responder for all instances of sample-service in us-south region:

ibmcloud iam access-group-policy-create example_group --roles Editor,Responder --service-name sample-service --region us-south

Give example_groupEditor role for resource key123 of sample-service instance with GUID d161aeea-fd02-40f8-a487-df1998bd69a9 in us-south region:

ibmcloud iam access-group-policy-create example_group --roles Editor --service-name sample-service --service-instance d161aeea-fd02-40f8-a487-df1998bd69a9 --region us-south --resource-type key --resource key123

Give example_groupOperator role for resource group with ID dda27e49d2a1efca58083a01dfde18f6:

ibmcloud iam access-group-policy-create example_group --roles Operator --resource-type resource-group --resource dda27e49d2a1efca58083a01dfde18f6

Give example_groupViewer role for the members of resource group sample-resource-group:

ibmcloud iam access-group-policy-create example_group --roles Viewer --resource-group-name sample-resource-group

Give example_groupViewer role for the members of resource group with ID dda27e49d2a1efca58083a01dfde18f6:

ibmcloud iam access-group-policy-create example_group --roles Viewer --resource-group-id dda27e49d2a1efca58083a01dfde18f6

Give example_groupAdministrator role for all account management services:
Value Type second 
 Segment By IBM Cloud Foundry organization name, IBM Cloud Foundry organization GUID, IBM Cloud Foundry space name, IBM Cloud Foundry space GUID, IBM Cloud Foundry application name, IBM Cloud Foundry application index 







 CPU utilization of the Cloud Foundry application 

Indicates the CPU utilization of a Cloud Foundry application.



Table 3: CPU utilization of the Cloud Foundry application metric metadata

 Metadata Description 

 Metric Name ibm_cloudfoundry_app_cpu_utilization 
 Metric Type gauge 
 Value Type percent 
 Segment By IBM Cloud Foundry organization name, IBM Cloud Foundry organization GUID, IBM Cloud Foundry space name, IBM Cloud Foundry space GUID, IBM Cloud Foundry application name, IBM Cloud Foundry application index 







 Container age of the Cloud Foundry application 

Indicates the container age of the Cloud Foundry application.



Table 4: Container age of the Cloud Foundry application metric metadata

 Metadata Description 

 Metric Name ibm_cloudfoundry_app_container_age 
 Metric Type gauge 
 Value Type second 
 Segment By IBM Cloud Foundry organization name, IBM Cloud Foundry organization GUID, IBM Cloud Foundry space name, IBM Cloud Foundry space GUID, IBM Cloud Foundry application name, IBM Cloud Foundry application index 







 Disk usage of the Cloud Foundry application 

Indicates the disk usage of the Cloud Foundry application.



Table 5: Disk usage of the Cloud Foundry application metric metadata

 Metadata Description 

 Metric Name ibm_cloudfoundry_app_disk_bytes_used 
 Metric Type gauge 
 Value Type bytes 
 Segment By IBM Cloud Foundry organization name, IBM Cloud Foundry organization GUID, IBM Cloud Foundry space name, IBM Cloud Foundry space GUID, IBM Cloud Foundry application name, IBM Cloud Foundry application index 







 Memory usage of the Cloud Foundry application 

Indicates the memory usage of the Cloud Foundry application.



Table 6: Memory usage of the Cloud Foundry application metric metadata

 Metadata Description 

 Metric Name ibm_cloudfoundry_app_memory_bytes_used 
 Metric Type gauge 
 Value Type bytes 
 Segment By IBM Cloud Foundry organization name, IBM Cloud Foundry organization GUID, IBM Cloud Foundry space name, IBM Cloud Foundry space GUID, IBM Cloud Foundry application name, IBM Cloud Foundry application index 







 Total disk size of the Cloud Foundry application 

Indicates the total disk size of the Cloud Foundry application.



Table 7: Total disk size of the Cloud Foundry application metric metadata
curl -X POST --location --header "Authorization: Bearer {iam_token}" --header "Accept: application/json" --header "Content-Type: application/json" --data '{ "description": "this is an example of rule", "resources": [ { "attributes": { "name": "accountId", "value": "12ab34cd56ef78ab90cd12ef34ab56cd" }, { "name": "serviceName", "value": "kms" } ] } ], "contexts": [ { "attributes": { "name": "networkZoneId", "value": "65810ac762004f22ac19f8f8edf70a34" } ] } ], "enforcement_mode": "enabled" }' "{base_url}/v1/rules"

RuleContextAttribute ruleContextAttributeModel = new RuleContextAttribute.Builder()
.name("networkZoneId")
.value(zoneID)
.build();
RuleContext ruleContextModel = new RuleContext.Builder()
.attributes(java.util.Arrays.asList(ruleContextAttributeModel))
.build();
ResourceAttribute resourceAttributeModelAccountID = new ResourceAttribute.Builder()
.name("accountId")
.value(accountID)
.build();
ResourceAttribute resourceAttributeModelServiceName = new ResourceAttribute.Builder()
.name("serviceName")
.value(serviceName)
.build();
ResourceTagAttribute resourceTagAttributeModel = new ResourceTagAttribute.Builder()
.name("tagName")
.value("tagValue")
.build();
Resource resourceModel = new Resource.Builder()
curl -X PUT --location --header "Authorization: Bearer {iam_token}" --header "Accept: application/json" --header "If-Match: {if_match}" --header "Content-Type: application/json" --data '{ "description": "this is an example of rule", "resources": [ { "attributes": { "name": "accountId", "value": "12ab34cd56ef78ab90cd12ef34ab56cd" }, { "name": "serviceName", "value": "kms" } ] } ], "contexts": [ { "attributes": { "name": "networkZoneId", "value": "76921bd873115033bd2a0909fe081b45" } ] } ], "enforcement_mode": "disabled" }' "{base_url}/v1/rules/{rule_id}"

RuleContextAttribute ruleContextAttributeModel = new RuleContextAttribute.Builder()
.name("networkZoneId")
.value("76921bd873115033bd2a0909fe081b45")
.build();
RuleContext ruleContextModel = new RuleContext.Builder()
.attributes(new java.util.ArrayList<RuleContextAttribute>(java.util.Arrays.asList(ruleContextAttributeModel)))
.build();
ResourceAttribute resourceAttributeModel = new ResourceAttribute.Builder()
.name("accountId")
.value("12ab34cd56ef78ab90cd12ef34ab56cd")
.build();
Resource resourceModel = new Resource.Builder()
.attributes(new java.util.ArrayList<ResourceAttribute>(java.util.Arrays.asList(resourceAttributeModel)))
Example 3 

Another use case lists the first 12 key versions for a key set on a monthly rotation for the past year.

 create a root key
$ ibmcloud kp key create my-root-key

Creating key: 'my-root-key', in instance: '390086ac-76fa-4094-8cf3-c0829bd69526'...
OK
Key ID Key Name
807eb0a6-cc10-4bfe-8331-41a6f712c4ea my-root-key

 rotate the root key
$ ibmcloud kp key rotate 807eb0a6-cc10-4bfe-8331-41a6f712c4ea

Rotating root key...
OK

 Inspect the versions
$ ibmcloud kp key versions 807eb0a6-cc10-4bfe-8331-41a6f712c4ea -n 12 -o json
{
"metadata": {
"collectionType": "application/vnd.ibm.kms.key.version+json",
"collectionTotal": 12
},
"resources": [
{
"id": "21562e93-8882-420e-90a7-912c70023373",
"creationDate": "2021-07-08T17:02:10Z"
},
{
"id": "390086ac-76fa-4094-8cf3-c0829bd69526",
"creationDate": "2021-08-08T17:02:40Z"
},...10x]
]
}

Show more





 Example 4 

Another use case lists the second 12 key versions for a key set on a monthly rotation for the past two years.

ibmcloud kp key versions $KEY_ID_OR_ALIAS -n 12 -s 12

 create a root key
$ ibmcloud kp key create my-root-key