# DescriptiveStatistics:
# n: 10
# min: 28.0
# max: 55.0
# mean: 36.3
# std dev: 9.463966751139115
# median: 32.0

PREFIX class: <http://keiras.cz/rdf/class/>
PREFIX prop: <http://keiras.cz/rdf/prop/>

SELECT *
WHERE{
  SERVICE <http://localhost:3030/mem2> { 
    ?registredPlayerSubject a class:RegisteredSC2Account . 
    ?registredPlayerSubject prop:id ?id . 
  } 
  
  ?member1 prop:id ?id .

  ?team a class:LadderTeams .
  ?team prop:mmr ?mmr .
  ?team prop:teamMembers ?member1, ?member2 .
  FILTER(?member1 != ?member2)
  ?member1 prop:displayName ?name1 .
  ?member2 prop:displayName ?name2 .
}

-------------------------------------------

# DescriptiveStatistics:
# n: 10
# min: 109464.0
# max: 121367.0
# mean: 112915.8
# std dev: 3623.2437216762924
# median: 111970.0

PREFIX class: <http://keiras.cz/rdf/class/>
PREFIX prop: <http://keiras.cz/rdf/prop/>

SELECT *
WHERE{
  SERVICE <http://localhost:3030/mem2> { 
    ?registredPlayerSubject a class:RegisteredSC2Account . 
    ?registredPlayerSubject prop:id ?id . 
  } 
  
  ?team a class:LadderTeams .
  ?team prop:mmr ?mmr .
  ?team prop:teamMembers ?member1, ?member2 .
  FILTER(?member1 != ?member2)
  ?member1 prop:displayName ?name1 .
  ?member1 prop:id ?id .
  ?member2 prop:displayName ?name2 .
}