queries.graphql 2.43 KB
Newer Older
1
query searchObjects($searchTerm: String, $catalogIds: [Int], $bbox: [String], $periodTerm: String, $entityTypes: [RelatedType]) {
2
    entitiesMultiFilter(searchString: $searchTerm, catalogIds: $catalogIds, coordinates: $bbox, period: $periodTerm,
3
        entityTypes: $entityTypes) {
4
5
6
7
8
9
        identifier
        name
        spatial {
            identifier
            name
            coordinates
10
            polygon
11
12
13
14
15
16
17
18
19
20
21
22
23
24
        }
        dating
        datingSpan
        onDating
        datingSets {
            datingText
            datingItems
            datingSpan
            periodIds
        }
        temporal {
            title
            identifier
            types
25
26
            begin
            end
27
28
29
30
31
32
33
            senses(typeOfSense: political) {
                title
                identifier
                begin
                end
            }
        }
34
35
36
        type
        categoryOfDepicted
        materialOfDepicted
37
38
39
40
41
42
43
44
45
46
47
    }
}

query searchObjectContext($arachneId: ID!) {
    entity(id: $arachneId) {
        identifier
        name
        spatial {
            identifier
            name
            coordinates
48
            polygon
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
        }
        dating
        datingSpan
        onDating
        datingSets {
            datingText
            datingItems
            datingSpan
            periodIds
        }
        temporal {
            title
            begin
            end
        }
64
        related(types: [Einzelobjekte, Bauwerke, Bilder]) {
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
            identifier
            name
            type
            spatial {
                identifier
                name
                coordinates
            }
        }
    }
}

query searchArchaeoSites($searchTerm: String, $bbox: [String]) {
    archaeologicalSites(searchString: $searchTerm, coordinates: $bbox) {
        identifier
        name
        coordinates
82
        polygon
83
84
85
86
87
88
89
90
91
92
93
94
95
        types
        locatedIn {
            identifier
            name
        }
    }
}

query byRegion($searchTerm: String, $idOfRegion: ID!) {
    sitesByRegion(searchString: $searchTerm, id: $idOfRegion) {
        identifier
        name
        coordinates
96
        polygon
97
98
99
100
101
102
103
104
105
106
107
108
109
        types
        locatedIn {
            identifier
            name
        }
    }
}

query searchArchaeoSiteContext($searchTerm: String, $bbox: [String]) {
    place {
        identifier
        name
        coordinates
110
        polygon
111
112
113
114
115
116
117
        types
        locatedIn {
            identifier
            name
        }
    }
}