<commit_before><?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/lfm">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
			xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:terms="http://purl.org/dc/terms/"
			xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:ov="http://open.vocab.org/terms/"
			xmlns:event="http://purl.org/NET/c4dm/event.owl#" xmlns:mo="http://purl.org/ontology/mo/"
			xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
			xmlns:time="http://www.w3.org/2006/time#" xmlns:gn="http://www.geonames.org/ontology#"
			xmlns:rooms="http://vocab.deri.ie/rooms#" xmlns:v="http://www.w3.org/2006/vcard/ns#">

			<xsl:for-each select="events/event">
				<rdf:Description rdf:about="{url}">
					<rdf:type rdf:resource="http://purl.org/ontology/mo/Performance" />
					<rdfs:label>
						<xsl:value-of select="title" />
					</rdfs:label>
					<xsl:for-each select="artists/artist">
						<foaf:hasAgent>http://www.last.fm/music/<xsl:value-of select="." /></foaf:hasAgent>
					</xsl:for-each>

					<event:place>http://www.last.fm/venue/<xsl:value-of select="venue/id"></xsl:value-of></event:place>
					<event:time><xsl:value-of select="startDate" /></event:time>
				</rdf:Description>
			</xsl:for-each>
			<xsl:for-each select="events/event/venue">
				<rdf:Description rdf:about="http://www.last.fm/venue/{id}">
					<v:organisation-name>
						<xsl:value-of select="name"></xsl:value-of>
					</v:organisation-name>
					<geo:lat>
						<xsl:value-of select="location/geo:point/geo:lat" />
					</geo:lat>

					<geo:long>
						<xsl:value-of select="location/geo:point/geo:long" />
					</geo:long>

					<v:country-name>
						<xsl:value-of select="location/country" />
					</v:country-name>

					<v:locality>
						<xsl:value-of select="location/city" />
					</v:locality>
<commit_msg>Corrected Events.xsl to use references instead of literals.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/lfm">
		<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
			xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:terms="http://purl.org/dc/terms/"
			xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:ov="http://open.vocab.org/terms/"
			xmlns:event="http://purl.org/NET/c4dm/event.owl#" xmlns:mo="http://purl.org/ontology/mo/"
			xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
			xmlns:time="http://www.w3.org/2006/time#" xmlns:gn="http://www.geonames.org/ontology#"
			xmlns:rooms="http://vocab.deri.ie/rooms#" xmlns:v="http://www.w3.org/2006/vcard/ns#">

			<xsl:for-each select="events/event">
				<rdf:Description rdf:about="{url}">
					<rdf:type rdf:resource="http://purl.org/ontology/mo/Performance" />
					<rdfs:label>
						<xsl:value-of select="title" />
					</rdfs:label>
					<xsl:for-each select="artists/artist">
						<foaf:hasAgent rdf:resource="http://www.last.fm/music/{.}"/>
					</xsl:for-each>

					<event:place rdf:resource="http://www.last.fm/venue/{venue/id}"/>
					<event:time><xsl:value-of select="startDate" /></event:time>
				</rdf:Description>
			</xsl:for-each>
			<xsl:for-each select="events/event/venue">
				<rdf:Description rdf:about="http://www.last.fm/venue/{id}">
					<v:organisation-name>
						<xsl:value-of select="name"></xsl:value-of>
					</v:organisation-name>
					<geo:lat>
						<xsl:value-of select="location/geo:point/geo:lat" />
					</geo:lat>

					<geo:long>
						<xsl:value-of select="location/geo:point/geo:long" />
					</geo:long>

					<v:country-name>
						<xsl:value-of select="location/country" />
					</v:country-name>

					<v:locality>
						<xsl:value-of select="location/city" />
					</v:locality>

{'fraction_non_alphanumeric': 0.23043589089982155, 'fraction_numerical': 0.028039765485597758, 'mean_word_length': 3.5734265734265733, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 2, '>': 82, 'https://': 0, 'lorem ipsum': 0, 'www.': 22, 'xml': 32}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6181191', 'n_tokens_mistral': 1969, 'n_tokens_neox': 1568, 'n_words': 144}