Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions docs/api/rels/1/activityCarriedOutByAgent.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,23 @@ See the related [model documentation](/model/base/#events-and-activities /model/

From the record for the National Gallery of Art, the record for the Manet exhibition activity would be in the response


### Details

* Class Given: Agent
* Returns Class: Activity
* Relationship: carriedOutBy


### SPARQL
```
SELECT DISTINCT ?activity WHERE {
BIND (<%current%>AS ?group)
. ?activity crm:P14_carried_out_by ?group .
}
```

```sparql
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>

SELECT DISTINCT ?activity
WHERE {
{
?activity crm:P14_carried_out_by $current .
} UNION {
$current crm:P14i_performed ?activity .
}
}
```
15 changes: 11 additions & 4 deletions docs/api/rels/1/activityCausedByActivity.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,23 @@ See the related [model documentation]()

From the record for a fire that damaged a statue, the record for the conservation activity to repair the statue would be in the response


### Details

* Class Given: Event,Activity
* Returns Class: Event,Activity
* Relationship:


### SPARQL
```

```sparql
PREFIX sci: <http://www.ics.forth.gr/isl/CRMsci/>

SELECT DISTINCT ?activity
WHERE {
{
?activity sci:O13i_is_triggered_by $current .
} UNION {
$current sci:O13_triggers ?activity .
}
}
```

15 changes: 11 additions & 4 deletions docs/api/rels/1/activityClassifiedAsConcept.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,23 @@ See the related [model documentation](/model/base/#types-and-classifications)

From the record for the concept of Exhibitions, the record for "Manet and Modern Beauty" would be in the response


### Details

* Class Given: Concept
* Returns Class: Temporal
* Relationship: classifiedAs


### SPARQL
```

```sparql
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>

SELECT DISTINCT ?activity
WHERE {
{
?activity crm:P2_has_type $current .
} UNION {
$current crm:P2i_is_type_of ?activity .
}
}
```

15 changes: 11 additions & 4 deletions docs/api/rels/1/activityPartOfActivity.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,23 @@ See the related [model documentation](/model/base/#parts)

From the record for the Bronze Age, the record for the Middle Bronze Age would be in the response


### Details

* Class Given: Temporal
* Returns Class: Temporal
* Relationship:


### SPARQL
```

```sparql
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>

SELECT DISTINCT ?activity
WHERE {
{
?activity crm:P9_consists_of $current .
} UNION {
$current crm:P9i_forms_part_of ?activity .
}
}
```

18 changes: 12 additions & 6 deletions docs/api/rels/1/activityParticipantAgent.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,23 @@ See the related [model documentation]()

From the record for Tristan Tzara, the record for Cabaret Voltaire would be in the response.


### Details

* Class Given: Agent
* Returns Class: Event, Activity
* Relationship: participant


### SPARQL
```
SELECT DISTINCT ?activity WHERE {
?activity crm:P11_had_participant <%current%>. }
```

```sparql
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>

SELECT DISTINCT ?activity
WHERE {
{
?activity crm:P11_had_participant $current .
} UNION {
$current crm:P11i_participated_in ?activity .
}
}
```
15 changes: 11 additions & 4 deletions docs/api/rels/1/activityTookPlaceAtPlace.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,23 @@ See the related [model documentation](/model/base/#events-and-activities)

From the record for New Haven, the record for the exhibition activity Life, Liberty and the Pursuit of Happiness would be in the response


### Details

* Class Given: Place
* Returns Class: Event, Activity
* Relationship: tookPlaceAt


### SPARQL
```

```sparql
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>

SELECT DISTINCT ?activity
WHERE {
{
?activity crm:P7_took_place_at $current .
} UNION {
$current crm:P7i_witnessed ?activity .
}
}
```

15 changes: 11 additions & 4 deletions docs/api/rels/1/activityUsedObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,23 @@ See the related [model documentation]()

From the record for the Night Watch, the record for the conservation work on the painting would be in the response


### Details

* Class Given: HumanMadeObject
* Returns Class: Activity
* Relationship: used


### SPARQL
```

```sparql
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>

SELECT DISTINCT ?activity
WHERE {
{
?activity crm:P31_has_modified $current .
} UNION {
$current crm:P31i_was_modified_by ?activity .
}
}
```

15 changes: 11 additions & 4 deletions docs/api/rels/1/activityUsedSet.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,23 @@ See the related [model documentation](/model/exhibition/#exhibition-activity)

From the record for the set of objects shown in an exhibition, the record for the exhibition's activity would be in the response


### Details

* Class Given: Set
* Returns Class: Activity
* Relationship: used


### SPARQL
```

```sparql
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>

SELECT DISTINCT ?activity
WHERE {
{
?activity crm:P16_used_specific_object $current .
} UNION {
$current crm:P16i_was_used_for ?activity .
}
}
```

14 changes: 11 additions & 3 deletions docs/api/rels/1/activityUsedWork.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,17 @@ See the related [model documentation]()
* Returns Class: Activity
* Relationship: used


### SPARQL
```

```sparql
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>

SELECT DISTINCT ?activity
WHERE {
{
?activity crm:P15_was_influenced_by $current .
} UNION {
$current crm:P15i_influenced ?activity .
}
}
```

20 changes: 16 additions & 4 deletions docs/api/rels/1/agentActiveAtPlace.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,28 @@ See the related [model documentation](/model/actor/#active-dates)

From the record for Harlem, New York, the record for A.Philip Randolph would be in the response


### Details

* Class Given: Place
* Returns Class: Agent
* Relationship: activeAt


### SPARQL
```

```sparql
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>

SELECT DISTINCT ?agent
WHERE {
{
$current crm:P7i_witnessed ?activity .
} UNION {
?activity crm:P7_took_place_at $current .
}
{
?activity crm:P14_carried_out_by ?agent .
} UNION {
?agent crm:P14i_perfomed ?activity .
}
}
```

20 changes: 16 additions & 4 deletions docs/api/rels/1/agentBornOrFormedAtPlace.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,28 @@ See the related [model documentation](/model/actor/#birth-and-death-formation-an

From the record for Harlem, New York, the record for Ayize Jama-Everett would be in the response


### Details

* Class Given: Place
* Returns Class: Agent
* Relationship: born / formed


### SPARQL
```

```sparql
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>

SELECT DISTINCT ?agent
WHERE {
{
?agent crm:P98i_was_born|crm:P95i_was_formed_by ?activity .
} UNION {
?activity crm:P98_brought_into_life|crm:P95_has_formed ?agent .
}
{
?activity crm:P7_took_place_at $current .
} UNION {
$current crm:P7i_witnessed ?activity .
}
}
```

15 changes: 11 additions & 4 deletions docs/api/rels/1/agentClassifiedAsConcept.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,23 @@ See the related [model documentation](/model/base/#types-and-classifications)

From the record for the concept of the Dutch nationality, the record for Rembrandt would be in the response


### Details

* Class Given: Concept
* Returns Class: Agent
* Relationship: classifiedAs


### SPARQL
```

```sparql
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>

SELECT DISTINCT ?agent
WHERE {
{
?agent crm:P2_has_type $current .
} UNION {
$current crm:P2i_is_type_of ?agent .
}
}
```

20 changes: 16 additions & 4 deletions docs/api/rels/1/agentDiedOrDissolvedAtPlace.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,28 @@ See the related [model documentation](/model/actor/#birth-and-death-formation-an

From the record for Harlem, New York, the record for Howard Johnson-1941-2021 would be in the response


### Details

* Class Given: Place
* Returns Class: Agent
* Relationship: died / dissolved


### SPARQL
```

```sparql
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>

SELECT DISTINCT ?agent
WHERE {
{
?agent crm:P100i_died_in|crm:P95i_was_formed_by ?activity .
} UNION {
?activity crm:P100_was_death_of|crm:P99_dissolved ?agent .
}
{
?activity crm:P7_took_place_at $current .
} UNION {
$current crm:P7i_witnessed ?activity .
}
}
```

Loading