tnt
-
-
anyone got a good idea for the 'magnitude' data type?
-
Do you mean in terms of which unit to assign?
-
ya, i think 'tonnes of tnt' is standard maybe?, but there isnt a freebase data unit type for that.
-
I've created a new Energy unit, "Ton of TNT" that you can use. (I added kiloton and megaton of TNT for good measure.)
One other thing is that, in order to assign a unit, you'll have to change the expected type from floating point range to a plain old float, or create a new range CVT so that you can assign the units to the float properties. (Because the float range type is generic, units can't be assigned to properties it has.)
-
@spencermountain - you are correct, an explosive charge is measured in 'tonnes of TNT' or 'kilogram of TNT' with regards to blast effect on structures - for example see Table 2.2 on Page 69 of http://books.google.co.uk/books?id=g-L1O4YszQgC.
@jeff - could 'Kilogram of TNT' be added?
-
Since I had already started with the "ton" nomenclature, I added milliton and microton of TNT, which correspond to kilogram and gram respectively.
-
alright!
while we're at it, how bout a megawatt datatype for powerplant?
hey, in one sentence or less, (joke) are freebases datatypes 'semantic? does killoton understand its 1000 times ton?or does each programmer do that stuff adhoc?
cheers guys. thanks.
-
Gotcher megawatt right here.
Now, whether Freebase's types understand anything or not is an open question. As far as we know, the graph hasn't achieved full sapience yet, but it could just be playing dumb.
If you look at the megawatt type, though, you can see that it has a property "Power in Watts" which can be used to do conversions between units that measure the same dimension (power, energy, length, etc.). There's nothing in Freebase to do this for you at the moment, but the structure is there if anyone wants to make use of it.
-