<commit_before>﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Web;
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using LinkedData.Concepts;
using LinkedData.DataManagers;
using LinkedData.Formatters;
using LinkedData.Installers;
using LinkedData.Website.App_Start;
using Sitecore.ApplicationCenter.Applications;
using VDS.RDF.Storage;

[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(LinkedDataInstaller), "Start")]

namespace LinkedData.Website.App_Start
{
    public static class LinkedDataInstaller
    {
        public static void Start()
        {
            var container = new WindsorContainer();

            //container.Register(Component.For<IQueryableStorage>().ImplementedBy<SesameHttpProtocolVersion6Connector>().LifestyleSingleton()
            //    .DependsOn(Dependency.OnValue("baseUri", "http://localhost:8080/openrdf-sesame/"), Dependency.OnValue("storeID", "in-mem-sesame")));

            container.Register(Component.For<IQueryableStorage>().ImplementedBy<InMemoryManager>().LifestyleSingleton());

            var concepts = new List<BaseConcept>();

            concepts.Add(new SitecoreTemplateConcept() { SubjectTemplateName = "league", ConceptUri = new Uri("http://football.com/league-to-team"), ObjectTemplateName = "team" });
            concepts.Add(new SitecoreTemplateConcept() { SubjectTemplateName = "team", ConceptUri = new Uri("http://football.com/team-to-player"), ObjectTemplateName = "player" });
   
            container.Register(Component.For<IConceptProvider>().Instance(new SitecoreConceptProvider(concepts)).LifestyleSingleton());

            container.Install(new LinkedDataInstallerSitecore());
        }
    }
}<commit_msg>now pointing to triple store on AWS<commit_after>﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Web;
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using LinkedData.Concepts;
using LinkedData.DataManagers;
using LinkedData.Formatters;
using LinkedData.Installers;
using LinkedData.Website.App_Start;
using Sitecore.ApplicationCenter.Applications;
using VDS.RDF.Storage;

[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(LinkedDataInstaller), "Start")]

namespace LinkedData.Website.App_Start
{
    public static class LinkedDataInstaller
    {
        public static void Start()
        {
            var container = new WindsorContainer();

            container.Register(Component.For<IQueryableStorage>().ImplementedBy<SesameHttpProtocolVersion6Connector>().LifestyleSingleton()
                .DependsOn(Dependency.OnValue("baseUri", "http://192.168.3.11:8080/openrdf-sesame"), Dependency.OnValue("storeID", "in-mem-sesame")));

           // container.Register(Component.For<IQueryableStorage>().ImplementedBy<InMemoryManager>().LifestyleSingleton());

            var concepts = new List<BaseConcept>();

            concepts.Add(new SitecoreTemplateConcept() { SubjectTemplateName = "league", ConceptUri = new Uri("http://football.com/league-to-team"), ObjectTemplateName = "team" });
            concepts.Add(new SitecoreTemplateConcept() { SubjectTemplateName = "team", ConceptUri = new Uri("http://football.com/team-to-player"), ObjectTemplateName = "player" });
   
            container.Register(Component.For<IConceptProvider>().Instance(new SitecoreConceptProvider(concepts)).LifestyleSingleton());

            container.Install(new LinkedDataInstallerSitecore());
        }
    }
}
{'fraction_non_alphanumeric': 0.12040700960994913, 'fraction_numerical': 0.005370265686828717, 'mean_word_length': 4.555729984301413, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '3132967', 'n_tokens_mistral': 1002, 'n_tokens_neox': 950, 'n_words': 160}