forked from benj-moreau/ods-ld-mappings
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (39 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
mappings:
awayTeam:
predicateobjects:
- [a, 'http://dbpedia.org/ontology/SportsTeam']
- [a, 'http://dbpedia.org/ontology/Organisation']
- [a, 'http://schema.org/SportsTeam']
- ['http://www.w3.org/2000/01/rdf-schema#label', $(away_team)]
source: dataset-source
subject: https://data.opendatasoft.com/ld/resources/resultats-ligue-1@public/SoccerTeam/$(away_team)/
homeTeam:
predicateobjects:
- [a, 'http://dbpedia.org/ontology/SportsTeam']
- [a, 'http://dbpedia.org/ontology/Organisation']
- [a, 'http://schema.org/SportsTeam']
- ['http://www.w3.org/2000/01/rdf-schema#label', $(home_team)]
source: dataset-source
subject: https://data.opendatasoft.com/ld/resources/resultats-ligue-1@public/SoccerTeam/$(home_team)/
match:
predicateobjects:
- [a, 'https://www.bbc.co.uk/ontologies/sport#terms_Match']
- ['https://www.bbc.co.uk/ontologies/sport#terms_home_goal', $(home_goal), 'http://www.w3.org/2001/XMLSchema#integer']
- ['https://www.bbc.co.uk/ontologies/sport#terms_away_goal', $(away_goal), 'http://www.w3.org/2001/XMLSchema#integer']
- ['http://www.w3.org/2000/01/rdf-schema#label', $(home_team)-$(away_team)-$(start_date)-day$(name)]
- ['https://www.bbc.co.uk/ontologies/sport#terms_awayCompetitor', awayTeam]
- ['https://www.bbc.co.uk/ontologies/sport#terms_homeCopetitor', homeTeam]
- ['https://www.bbc.co.uk/ontologies/sport#terms_isMatchOf', round]
source: dataset-source
subject: https://data.opendatasoft.com/ld/resources/resultats-ligue-1@public/SoccerMatch/$(home_team)-$(away_team)-$(start_date)/
round:
predicateobjects:
- [a, 'https://www.bbc.co.uk/ontologies/sport#terms_Round']
- ['http://www.w3.org/2000/01/rdf-schema#label', Ligue1 day $(name) $(start_date)-$(end_date)]
- ['https://www.bbc.co.uk/ontologies/sport#terms_hasMatch', match]
- ['http://dbpedia.org/ontology/startDate', $(start_date), 'http://www.w3.org/2001/XMLSchema#date']
- ['http://dbpedia.org/ontology/endDate', $(end_date), 'http://www.w3.org/2001/XMLSchema#date']
source: dataset-source
subject: https://data.opendatasoft.com/ld/resources/resultats-ligue-1@public/LigueDay/$(name)-$(start_date)/
sources:
dataset-source: [[email protected]~jsonpath, '$.records.[*].fields']