====== Faction Population (private) ======


===== Preliminaries =====
Races with significant representation in the [[ic:Veolian Commonwealth]]:
<list ?race@unique>
?p is a: population
?p Faction [ref::ic]: Veolian Commonwealth
?p Race [ref]: ?race
</list>
If this contains changes from:
  * Veolian
  * Hemet Veolian
  * Twi'lek
This page needs to be updated in full by adding/removing the changed races to all queries and the above static list.


===== Data =====

==== Racial Segments per world ====
<table>
fields {
  ?world
  ?veolians@sum: Veolians
  ?hemetveolians@sum: Hemet Veolians
  ?twilek@sum: Twi'lek
}

?p1 is a: population
?p1 On [ref]: ?world
?p1 Faction [ref::ic]: Veolian Commonwealth
union {
  {
    ?p1 Race [ref::ic]: Veolian
    ?p1 Number: ?veolians
  }
  {
    ?p1 Race [ref::ic]: Hemet Veolian
    ?p1 Number: ?hemetveolians
  }
  {
    ?p1 Race [ref::ic]: Twi'lek
    ?p1 Number: ?twilek
  }
}
consider {
  ?p1
}
group {
  ?world
}
</table>

==== Racial Segments Total ====
<table>
fields {
  ?veolians@sum: Veolians
  ?hemetveolians@sum: Hemet Veolians
  ?twilek@sum: Twi'lek
}

?p1 is a: population
?p1 Faction [ref::ic]: Veolian Commonwealth
union {
  {
    ?p1 Race [ref::ic]: Veolian
    ?p1 Number: ?veolians
  }
  {
    ?p1 Race [ref::ic]: Hemet Veolian
    ?p1 Number: ?hemetveolians
  }
  {
    ?p1 Race [ref::ic]: Twi'lek
    ?p1 Number: ?twilek
  }
}
consider {
  ?p1
}
group {
}
</table>

==== Hemet Fraction Calculation ====
<table>
fields {
  ?hemetveolians@sum: Hemet Veolians
}

?p1 is a: population
?p1 Faction [ref::ic]: Veolian Commonwealth
?p1 Race [ref::ic]: Hemet Veolian
?p1 Number: ?hemetveolians
consider {
  ?p1
}
group {
}
</table>
Divided by:
<table>
fields {
  ?total@sum
}

?p1 is a: population
?p1 Faction [ref::ic]: Veolian Commonwealth
?p1 Number: ?total
consider {
  ?p1
}
group {
}
</table>
May not be larger than 0.15