OpenKIM Query

Examples
Basic usage Specifying SI units Retrieving multiple keys

A square-bracketed list containing the Test name. The following formats are accepted: ["CC_DDDDDDDDDDDD"], ["TestName__CC_DDDDDDDDDDDD"], ["CC_DDDDDDDDDDDD_VVV"], ["TestName__CC_DDDDDDDDDDDD_VVV"]. Generally, the three digit version extension (VVV) should be omitted so that the latest version of the Test will be queried on. For more on KIM IDs, refer to the Guide to KIM IDs.

Accepted formats are identical to those above and, similar to above, the three digit version extension should generally be omitted.

A square-bracketed, comma-separated list of quoted strings corresponding to standard elemental symbols (case sensitive). Test Results returned will be required to contain each element listed.

A square-bracketed list containing the property name. May be specified as either the short name of a Property Definition, e.g. structure-cubic-crystal-npt, or the full property ID, e.g. ["tag:staff@noreply.openkim.org,2014-04-15:property/structure-cubic-crystal-npt"]. Only the short name should generally be used so that the latest version of the Property Definition is queried on. See here for a current list of Property Definitions.

Ordered array of keys specified as a square-bracketed, comma-separated list of quoted strings. The order of the keys must correspond to the order of the entries in the 'Units' field below.

A square-bracketed, comma-separated list of quoted strings indicating the desired units that the value of each key should be returned in. The order of the entries in this list should correspond to the order of the entries in the 'Keys' field above. Valid strings for units are any of those recognized by the GNU units utility, or the special string "SI". Keys which are unitless must have a value of null (case-sensitive and unquoted).

Examples
Get all jobs that are currently running Get all Test Drivers in the database Get all fcc Al lattice constants and the Model that ran them
Longest running Test name and time Get a 10 line tail of the logs Get the lowest energy crystal structure for each Model using Al

Things you want true, as a dictionary of key value pairs, e.g. {"type": "td"} makes sure that all objects are test drivers.

Things you want back, as a dictionary of booleans, e.g. {"type":1, "path":1} returns just type and path (and '_id')

A mongodb aggregation pipeline. Use $sort, $limit, $skip, and $distinct aggregation pipeline stages instead of entering in their respective fields below if using aggregate(). For more information, check the docs

Database you want, valid options are [obj, data, job, log, agent]

Things you want sorted on, as a string, or a list with direction, e.g. "kimcode" sorts on kimcode, [["kimcode", -1]] gives reverse kimcode

How many you want, an integer, how it stops, leave empty for all

How many you want to skip, relevant if ordered

Things you want distinct, just a key, e.g. "type" would return distinct type fields. Note, this doesn't play well with others.

Reduce result to an array where the columns are ordered by this list i.e. ["meta.kimcode", "crystal-structure.a.source-value"]. Implies flatten.

Whether or not to flatten the keys in the dictionary

Return full database history. By default, only returns latest data

Return only count of number results created by query

Results

[
    {
        "_id": {
            "model": "IMD_EAM_Schopf_AlNiCo_B__MO_128037485276_002"
        },
        "name": [
            "fcc"
        ],
        "a": 4.07371810079,
        "energy": 3.06703962294
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_ShimKoKim_2013_AlVH__MO_344724145339_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650822877884,
        "energy": 3.3599999999999453
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Mendelev_Asta_AlMg__MO_658278549784_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.0452705174684525,
        "energy": 3.4106569861254217
    },
    {
        "_id": {
            "model": "EAM_Dynamo_VailheFarkas_1997_CoAl__MO_284963179498_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049696564674377,
        "energy": 3.368458048778834
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_KimKimJung_2017_NiAlTi__MO_478967255435_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650822877884,
        "energy": 3.3599999999999435
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Mishin_Mehl_NiAl__MO_109933561507_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.05152635574341,
        "energy": 3.362177319874178
    },
    {
        "_id": {
            "model": "EMT_Asap_Standard_JacobsenStoltzeNorskov_1996_AlAgAuCuNiPdPt__MO_115316750986_001"
        },
        "name": [
            "fcc"
        ],
        "a": 3.9946166276931763,
        "energy": 3.284861579380612
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Vailhe_Farkas_CoAl__MO_284963179498_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049696534872055,
        "energy": 3.3684580487788196
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_KimJungLee_2015_NiAlCo__MO_876687166519_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650763273239,
        "energy": 3.360000000060122
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_MahataMukhopadhyayAsleZaeem_2022_AlFe__MO_304347095149_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.070949114859104,
        "energy": 3.369123141685119
    },
    {
        "_id": {
            "model": "Morse_Shifted_GirifalcoWeizer_1959LowCutoff_Al__MO_411898953661_003"
        },
        "name": [
            "fcc"
        ],
        "a": 4.061213478446007,
        "energy": 2.7004159783359705
    },
    {
        "_id": {
            "model": "EAM_Dynamo_FarkasCaro_2020_FeNiCrCoAl__MO_820335782779_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.050000405311585,
        "energy": 3.3600000191039014
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_RoyDuttaChakraborti_2021_AlLi__MO_971738391444_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049999997019768,
        "energy": 3.3530000001174125
    },
    {
        "_id": {
            "model": "EAM_Dynamo_LiuLiuBorucki_1999_AlCu__MO_020851069572_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.032073378562927,
        "energy": 3.360006745728038
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_KimKimLee_2009_AlMg__MO_058537087384_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650822877884,
        "energy": 3.3599999999999435
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Mendelev_Kramer_Al__MO_106969701023_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.0452597588300705,
        "energy": 3.410656953718614
    },
    {
        "_id": {
            "model": "EAM_IMD_BrommerGaehler_2006A_AlNiCo__MO_122703700223_003"
        },
        "name": [
            "fcc"
        ],
        "a": 4.128871455788612,
        "energy": 3.714143377621686
    },
    {
        "_id": {
            "model": "Morse_Shifted_GirifalcoWeizer_1959MedCutoff_Al__MO_279544746097_002"
        },
        "name": [
            "fcc"
        ],
        "a": 4.039798453450203,
        "energy": 2.8883410495316464
    },
    {
        "_id": {
            "model": "EAM_Dynamo_AngeloMoodyBaskes_1995_NiAlH__MO_418978237058_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.050000071525574,
        "energy": 3.3599999970724275
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Zhou_Johnson_Al__MO_131650261510_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.050180673599245,
        "energy": 3.5800024715199394
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Ercolessi_Adams_Al__MO_123629422045_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.032081997394562,
        "energy": 3.3600000013133804
    },
    {
        "_id": {
            "model": "Morse_Shifted_GirifalcoWeizer_1959LowCutoff_Al__MO_411898953661_002"
        },
        "name": [
            "fcc"
        ],
        "a": 4.061213478446007,
        "energy": 2.7004159783359705
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_PascuetFernandez_2015_Al__MO_315820974149_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049998879432678,
        "energy": 3.359989957384304
    },
    {
        "_id": {
            "model": "EAM_Dynamo_MendelevSrolovitzAckland_2005_AlFe__MO_577453891941_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.03330186009407,
        "energy": 3.3697054833581523
    },
    {
        "_id": {
            "model": "EAM_Dynamo_LiuOhotnickyAdams_1997_AlMg__MO_559870613549_000"
        },
        "name": [
            "sc"
        ],
        "a": 2.754334442317486,
        "energy": 3.0075484709427807
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_KimKimJung_2016_AlTi__MO_618133763375_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.0446507781744,
        "energy": 3.360000000126025
    },
    {
        "_id": {
            "model": "EAM_Dynamo_MishinFarkasMehl_1999_Al__MO_651801486679_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.050004702806472,
        "energy": 3.3599999882880365
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_JeongParkDo_2018_PdAl__MO_616482358807_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650763273239,
        "energy": 3.360000000060122
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_JeongParkDo_2018_PdAl__MO_616482358807_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650763273239,
        "energy": 3.360000000060122
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_KimJungLee_2015_NiAlCo__MO_876687166519_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650763273239,
        "energy": 3.360000000060122
    },
    {
        "_id": {
            "model": "EMT_Asap_Standard_Jacobsen_Stoltze_Norskov_AlAgAuCuNiPdPt__MO_118428466217_002"
        },
        "name": [
            "fcc"
        ],
        "a": 3.99460828304,
        "energy": 3.28486453408
    },
    {
        "_id": {
            "model": "Sim_LAMMPS_MEAM_PascuetFernandez_2015_Al__SM_811588957187_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049998886883259,
        "energy": 3.359989957384303
    },
    {
        "_id": {
            "model": "EAM_Dynamo_ZhouWadleyJohnson_2001_Al__MO_049243498555_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.081654928624631,
        "energy": 3.579998659929092
    },
    {
        "_id": {
            "model": "EAM_ErcolessiAdams_1994_Al__MO_324507536345_003"
        },
        "name": [
            "fcc"
        ],
        "a": 4.032082714140415,
        "energy": 3.3600000152977927
    },
    {
        "_id": {
            "model": "Morse_Shifted_GirifalcoWeizer_1959HighCutoff_Al__MO_140175748626_003"
        },
        "name": [
            "fcc"
        ],
        "a": 4.032988503575325,
        "energy": 2.9234155308791516
    },
    {
        "_id": {
            "model": "EAM_QuinticHermiteSpline_Ercolessi_Adams_Al__MO_781138671863_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.032082438468933,
        "energy": 3.360000001102193
    },
    {
        "_id": {
            "model": "EAM_Dynamo_ZhouJohnsonWadley_2004_Al__MO_131650261510_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.050180745124819,
        "energy": 3.5800024715199545
    },
    {
        "_id": {
            "model": "Sim_LAMMPS_AGNI_BotuBatraChapman_2017_Al__SM_666183636896_000"
        },
        "name": [
            "fcc"
        ],
        "a": 2.5,
        "energy": -0.0
    },
    {
        "_id": {
            "model": "EAM_IMD_SchopfBrommerFrigan_2012_AlMnPd__MO_878712978062_003"
        },
        "name": [
            "fcc"
        ],
        "a": 4.210700303316116,
        "energy": 3.7262808682696096
    },
    {
        "_id": {
            "model": "EAM_Dynamo_LiuErcolessiAdams_2004_Al__MO_051157671505_000"
        },
        "name": [
            "sc"
        ],
        "a": 2.758455991744995,
        "energy": 3.004347770929883
    },
    {
        "_id": {
            "model": "Morse_Shifted_GirifalcoWeizer_1959MedCutoff_Al__MO_279544746097_003"
        },
        "name": [
            "fcc"
        ],
        "a": 4.039798453450203,
        "energy": 2.8883410495316464
    },
    {
        "_id": {
            "model": "Tersoff_LAMMPS_PlummerRathodSrivastava_2021_TiAlC__MO_992900971352_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.0415970236063,
        "energy": 3.369788724503237
    },
    {
        "_id": {
            "model": "EAM_Dynamo_CaiYe_1996_AlCu__MO_942551040047_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049763545393944,
        "energy": 3.318317222046561
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_KoShimLee_2011_AlH__MO_127847080751_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650807976723,
        "energy": 3.360000000051899
    },
    {
        "_id": {
            "model": "EAM_Dynamo_ZhouJohnsonWadley_2004NISTretabulation_Al__MO_060567868558_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.050199627876282,
        "energy": 3.580002264562824
    },
    {
        "_id": {
            "model": "EAM_CubicNaturalSpline_ErcolessiAdams_1994_Al__MO_800509458712_002"
        },
        "name": [
            "fcc"
        ],
        "a": 4.032082748413087,
        "energy": 3.3600000010860653
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_PascuetFernandez_2015_AlU__MO_596300673917_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049998879432678,
        "energy": 3.359989957384304
    },
    {
        "_id": {
            "model": "Morse_Shifted_GirifalcoWeizer_1959HighCutoff_Al__MO_140175748626_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.032988503575325,
        "energy": 2.9234155308791516
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_PascuetFernandez_2015_Al__MO_315820974149_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049998879432678,
        "energy": 3.359989957384304
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_MahataMukhopadhyayAsleZaeem_2022_AlNi__MO_461927113651_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.0453532338142395,
        "energy": 3.3600391863151584
    },
    {
        "_id": {
            "model": "EAM_Dynamo_WineyKubotaGupta_2010_Al__MO_149316865608_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.024845376610756,
        "energy": 2.6459796171596937
    },
    {
        "_id": {
            "model": "LennardJones612_UniversalShifted__MO_959249795837_002"
        },
        "name": [
            "fcc"
        ],
        "a": 3.328125923871994,
        "energy": 22.482835549674668
    },
    {
        "_id": {
            "model": "Sim_LAMMPS_MEAM_AlmyrasSangiovanniSarakinos_2019_NAlTi__SM_871795249052_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.046999588608742,
        "energy": 3.3569999984214625
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Sturgeon_Laird_Al__MO_120808805541_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.050010249018669,
        "energy": 3.390001932823771
    },
    {
        "_id": {
            "model": "EAM_Dynamo_SturgeonLaird_2000_Al__MO_120808805541_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.050010219216347,
        "energy": 3.3900019328237847
    },
    {
        "_id": {
            "model": "EAM_QuinticClampedSpline_Ercolessi_Adams_Al__MO_450093727396_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.032082855701448,
        "energy": 3.3600000012955156
    },
    {
        "_id": {
            "model": "Morse_Shifted_GirifalcoWeizer_1959HighCutoff_Al__MO_140175748626_002"
        },
        "name": [
            "fcc"
        ],
        "a": 4.032988503575325,
        "energy": 2.9234155308791516
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_DongKimKo_2012_CoAl__MO_099716416216_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650763273239,
        "energy": 3.3600000000601242
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Landa_Wynblatt_AlPb__MO_699137396381_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.0310361087322235,
        "energy": 3.359280122204613
    },
    {
        "_id": {
            "model": "EAM_Dynamo_ZopeMishin_2003_Al__MO_664470114311_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.050000011920929,
        "energy": 3.3600000229052074
    },
    {
        "_id": {
            "model": "EMT_Asap_Standard_JacobsenStoltzeNorskov_1996_AlAgAuCuNiPdPt__MO_115316750986_000"
        },
        "name": [
            "fcc"
        ],
        "a": 3.9946166276931763,
        "energy": 3.284861579380612
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Mishin_2004_NiAl__MO_101214310689_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049999862909317,
        "energy": 3.3600000225848503
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Cai_Ye_AlCu__MO_942551040047_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049763537943363,
        "energy": 3.3183172220465282
    },
    {
        "_id": {
            "model": "EAM_Dynamo_ZopeMishin_2003_TiAl__MO_117656786760_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049999445676804,
        "energy": 3.3600000285926517
    },
    {
        "_id": {
            "model": "EMT_Asap_Standard_JacobsenStoltzeNorskov_1996_Al__MO_623376124862_001"
        },
        "name": [
            "fcc"
        ],
        "a": 3.9946083426475525,
        "energy": 3.2848645340827995
    },
    {
        "_id": {
            "model": "Sim_LAMMPS_ADP_StarikovGordeevLysogorskiy_2020_SiAuAl__SM_113843830602_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.025435209274292,
        "energy": 3.3810053392251644
    },
    {
        "_id": {
            "model": "LJ_ElliottAkerson_2015_Universal__MO_959249795837_003"
        },
        "name": [
            "fcc"
        ],
        "a": 3.3281259313225746,
        "energy": 22.482835549674917
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_SunRamachandranWick_2018_TiAl__MO_022920256108_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049985826015472,
        "energy": 3.3531363525825277
    },
    {
        "_id": {
            "model": "Pair_Morse_Shifted_GirifalcoWeizer_LowCutoff_Al__MO_411898953661_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.06121344119,
        "energy": 2.70041597834
    },
    {
        "_id": {
            "model": "Sim_LAMMPS_MEAM_JelinekGrohHorstemeyer_2012_AlSiMgCuFe__SM_656517352485_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049999177455902,
        "energy": 3.3530000141821517
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Angelo_Moody_NiAlH__MO_418978237058_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.050000071525574,
        "energy": 3.3599999970724252
    },
    {
        "_id": {
            "model": "Sim_LAMMPS_MEAM_PascuetFernandez_2015_AlU__SM_721930391003_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049998886883259,
        "energy": 3.359989957384303
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_DickelBaskesAslam_2018_MgAlZn__MO_093637366498_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049999006092548,
        "energy": 3.3600000038713524
    },
    {
        "_id": {
            "model": "EAM_Dynamo_ErcolessiAdams_1994_Al__MO_123629422045_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.032082033157349,
        "energy": 3.3600000013133817
    },
    {
        "_id": {
            "model": "Tersoff_LAMMPS_PlummerTucker_2019_TiAlC__MO_736419017411_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.0415970236063,
        "energy": 3.369788724503237
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Mendelev_Srolovitz_AlFe__MO_577453891941_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.03330186009407,
        "energy": 3.3697054833581515
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_KimSeolJi_2017_PtAl__MO_793141037706_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650807976723,
        "energy": 3.3600000002925636
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_SunRamachandranWick_2018_TiAl__MO_022920256108_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049985826015472,
        "energy": 3.3531363525825277
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_KoShimLee_2011_AlH__MO_127847080751_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650807976723,
        "energy": 3.360000000051899
    },
    {
        "_id": {
            "model": "EAM_QuinticClampedSpline_ErcolessiAdams_1994_Al__MO_450093727396_002"
        },
        "name": [
            "fcc"
        ],
        "a": 4.032082897424699,
        "energy": 3.360000001295532
    },
    {
        "_id": {
            "model": "EAM_QuinticHermiteSpline_ErcolessiAdams_1994_Al__MO_781138671863_002"
        },
        "name": [
            "fcc"
        ],
        "a": 4.032082462310791,
        "energy": 3.360000001102206
    },
    {
        "_id": {
            "model": "EMT_Asap_Standard_JacobsenStoltzeNorskov_1996_Al__MO_623376124862_000"
        },
        "name": [
            "fcc"
        ],
        "a": 3.9946083649992943,
        "energy": 3.284864534082796
    },
    {
        "_id": {
            "model": "IMD_EAM_Schopf_AlNiCo_A__MO_122703700223_002"
        },
        "name": [
            "fcc"
        ],
        "a": 4.12887147069,
        "energy": 3.71414337762
    },
    {
        "_id": {
            "model": "Sim_LAMMPS_SMTBQ_SallesPolitanoAmzallag_2016_Al__SM_404097633924_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.047059677541256,
        "energy": 3.3338616572808855
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_DickelBaskesAslam_2018_MgAlZn__MO_093637366498_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049999006092548,
        "energy": 3.3600000038713524
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_LeeLee_2010_FeAl__MO_332211522050_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.0419338792562485,
        "energy": 3.370175222834754
    },
    {
        "_id": {
            "model": "IMD_EAM_Schopf_AlMnPd__MO_878712978062_002"
        },
        "name": [
            "fcc"
        ],
        "a": 4.210700288414955,
        "energy": 3.7262808682696087
    },
    {
        "_id": {
            "model": "EAM_Dynamo_PunMishin_2009_NiAl__MO_751354403791_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.050000071525574,
        "energy": 3.359999987850669
    },
    {
        "_id": {
            "model": "EAM_Dynamo_JacobsenNorskovPuska_1987_Al__MO_411692133366_000"
        },
        "name": [
            "fcc"
        ],
        "a": 3.987558597326279,
        "energy": 3.3876387950194466
    },
    {
        "_id": {
            "model": "EAM_Dynamo_PunYamakovMishin_2013_AlCo__MO_678952612413_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.05000014603138,
        "energy": 3.3599999884847236
    },
    {
        "_id": {
            "model": "EAM_Dynamo_LiuAdams_1998_AlMg__MO_019873715786_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.03203821182251,
        "energy": 3.359966018318317
    },
    {
        "_id": {
            "model": "EAM_Dynamo_LandaWynblattSiegel_2000_AlPb__MO_699137396381_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.0310361087322235,
        "energy": 3.359280122204629
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_AlmyrasSangiovanniSarakinos_2019_NAlTi__MO_958395190627_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.046999558806419,
        "energy": 3.356999998421461
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_CostaAgrenClavaguera_2007_AlNi__MO_131642768288_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.0446507781744,
        "energy": 3.360000000126025
    },
    {
        "_id": {
            "model": "Sim_LAMMPS_ADP_ApostolMishin_2011_AlCu__SM_667696763561_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049994587898254,
        "energy": 3.359999890995761
    },
    {
        "_id": {
            "model": "EAM_Dynamo_MendelevFangYe_2015_AlSm__MO_338600200739_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.040926471352577,
        "energy": 3.905148801237338
    },
    {
        "_id": {
            "model": "EAM_Dynamo_MishinMehlPapaconstantopoulos_2002_NiAl__MO_109933561507_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.051526293158533,
        "energy": 3.362177319874193
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_LeeShimBaskes_2003_Al__MO_353977746962_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650763273239,
        "energy": 3.3600000000601242
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_PascuetFernandez_2015_AlU__MO_596300673917_001"
        },
        "name": [
            "bcc"
        ],
        "a": 3.2707779854536057,
        "energy": 3.2013296410748104
    },
    {
        "_id": {
            "model": "EAM_Dynamo_MendelevAstaRahman_2009_AlMg__MO_658278549784_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.045270472764969,
        "energy": 3.410656986125466
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_JelinekGrohHorstemeyer_2012_AlSiMgCuFe__MO_262519520678_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049999177455902,
        "energy": 3.353000014182156
    },
    {
        "_id": {
            "model": "EAM_Dynamo_MendelevKramerBecker_2008_Al__MO_106969701023_005"
        },
        "name": [
            "fcc"
        ],
        "a": 4.045259781181812,
        "energy": 3.4106569537186253
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_KimSeolJi_2017_PtAl__MO_793141037706_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650807976723,
        "energy": 3.3600000002925636
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Winey_Kubota_Al__MO_149316865608_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.0248453840613365,
        "energy": 2.6459796171596817
    },
    {
        "_id": {
            "model": "Sim_LAMMPS_SMTBQ_SallesPolitanoAmzallag_2016_AlO__SM_853967355976_000"
        },
        "name": [
            "diamond"
        ],
        "a": 26.375,
        "energy": -0.0
    },
    {
        "_id": {
            "model": "Glue_Ercolessi_Adams_Al__MO_324507536345_001"
        },
        "name": [
            "bcc"
        ],
        "a": 3.14747718722,
        "energy": 3.30701591023
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_CostaAgrenClavaguera_2007_AlNi__MO_131642768288_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.0446507781744,
        "energy": 3.360000000126025
    },
    {
        "_id": {
            "model": "Morse_Shifted_GirifalcoWeizer_1959LowCutoff_Al__MO_411898953661_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.061213478446007,
        "energy": 2.7004159783359705
    },
    {
        "_id": {
            "model": "Morse_Shifted_GirifalcoWeizer_1959MedCutoff_Al__MO_279544746097_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.039798453450203,
        "energy": 2.8883410495316464
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_DongKimKo_2012_CoAl__MO_099716416216_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650763273239,
        "energy": 3.3600000000601242
    },
    {
        "_id": {
            "model": "EAM_Dynamo_PurjaPun_Mishin_NiAl__MO_751354403791_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049999982118607,
        "energy": 3.359999987850658
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Zhakhovsky_2009_Al__MO_519613893196_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.031999975442886,
        "energy": 3.36069424418623
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_ShimKoKim_2013_AlVH__MO_344724145339_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650822877884,
        "energy": 3.3599999999999453
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Mishin_Farkas_Al__MO_651801486679_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.050004640221596,
        "energy": 3.3599999881837963
    },
    {
        "_id": {
            "model": "EAM_Dynamo_SongMendelev_2021_AlSm__MO_722733117926_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044527357816695,
        "energy": 3.3118383538599687
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Zope_Mishin_Al__MO_664470114311_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049999952316284,
        "energy": 3.360000022905202
    },
    {
        "_id": {
            "model": "Pair_Morse_Shifted_GirifalcoWeizer_MedCutoff_Al__MO_279544746097_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.03979843855,
        "energy": 2.88834104953
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_KimKimLee_2009_AlMg__MO_058537087384_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650822877884,
        "energy": 3.3599999999999435
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Mishin_NiAl__MO_101214310689_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049999862909317,
        "energy": 3.360000022584845
    },
    {
        "_id": {
            "model": "EAM_CubicNaturalSpline_Ercolessi_Adams_Al__MO_800509458712_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.032082796096803,
        "energy": 3.3600000010860356
    },
    {
        "_id": {
            "model": "EAM_ErcolessiAdams_1994_Al__MO_324507536345_002"
        },
        "name": [
            "fcc"
        ],
        "a": 4.032082714140415,
        "energy": 3.3600000152977927
    },
    {
        "_id": {
            "model": "EAM_Dynamo_SchopfBrommerFrigan_2012_AlMnPd__MO_137572817842_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.210718545317654,
        "energy": 3.7262812087216193
    },
    {
        "_id": {
            "model": "Sim_LAMMPS_BOP_ZhouWardFoster_2016_AlCu__SM_566399258279_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049493372440338,
        "energy": 6.721968470944043
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_AlmyrasSangiovanniSarakinos_2019_NAlTi__MO_958395190627_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.046999558806419,
        "energy": 3.356999998421461
    },
    {
        "_id": {
            "model": "EAM_Dynamo_Zope_Mishin_TiAl__MO_117656786760_004"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049999415874481,
        "energy": 3.3600000285926397
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_JelinekGrohHorstemeyer_2012_AlSiMgCuFe__MO_262519520678_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.049999177455902,
        "energy": 3.353000014182156
    },
    {
        "_id": {
            "model": "MEAM_2NN_Fe_to_Ga__MO_145522277939_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.04465017319,
        "energy": 3.36
    },
    {
        "_id": {
            "model": "EAM_Dynamo_PunYamakovMishin_2013_NiAlCo__MO_826591359508_000"
        },
        "name": [
            "fcc"
        ],
        "a": 4.05000014603138,
        "energy": 3.3599999884847236
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_KimKimJung_2017_NiAlTi__MO_478967255435_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.044650822877884,
        "energy": 3.3599999999999435
    },
    {
        "_id": {
            "model": "Pair_Morse_Shifted_GirifalcoWeizer_HighCutoff_Al__MO_140175748626_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.032988458871841,
        "energy": 2.923415530879129
    },
    {
        "_id": {
            "model": "MEAM_LAMMPS_KimKimJung_2016_AlTi__MO_618133763375_001"
        },
        "name": [
            "fcc"
        ],
        "a": 4.0446507781744,
        "energy": 3.360000000126025
    },
    {
        "_id": {
            "model": "EAM_Dynamo_FarkasJones_1996_NbTiAl__MO_042691367780_000"
        },
        "name": [
            "fcc"
        ],
        "a": 3.8693370074033737,
        "energy": 3.2063481150638338
    },
    {
        "_id": {
            "model": "EAM_IMD_BrommerGaehler_2006B_AlNiCo__MO_128037485276_003"
        },
        "name": [
            "fcc"
        ],
        "a": 4.0737181305885315,
        "energy": 3.2101350368647172
    }
]

Query Link

https://query.openkim.org/raw?database=data&aggregate=%5B%7B%27%24match%27+%3A+%0D%0A++++++++%7B%27%24and%27%3A+%5B%0D%0A++++++++++++%7B%27property-id%27%3A+%27tag%3Astaff%40noreply.openkim.org%2C2014-04-15%3Aproperty%2Fcohesive-potential-energy-cubic-crystal%27%7D%2C%0D%0A++++++++++++%7B%27species.source-value%27%3A+%27Al%27%7D%2C%0D%0A++++++++++++%7B%27meta.type%27%3A+%27tr%27%7D%5D%7D%7D%2C%0D%0A%7B%27%24project%27%3A+%7B%27meta.subject.kimcode%27%3A+1%2C%0D%0A++++++++++++%27short-name.source-value%27%3A+1%2C+%0D%0A++++++++++++%27a.source-value%27%3A+1%2C%0D%0A++++++++++++%27cohesive-potential-energy.source-value%27%3A+1%7D%7D%2C%0D%0A%7B%27%24sort%27%3A+%7B%27meta.subject.kimcode%27%3A+1%2C+%27cohesive-potential-energy.source-value%27%3A+-1%7D+%7D%2C%0D%0A%7B%27%24group%27%3A+%7B%27_id%27%3A+%7B%27model%27%3A+%27%24meta.subject.kimcode%27%7D%2C%0D%0A++++++++++++%27name%27%3A+%7B%27%24first%27%3A+%27%24short-name.source-value%27%7D%2C%0D%0A++++++++++++%27a%27%3A+%7B%27%24first%27%3A+%27%24a.source-value%27%7D%2C%0D%0A++++++++++++%27energy%27%3A+%7B%27%24first%27%3A+%27%24cohesive-potential-energy.source-value%27%7D%0D%0A++++++++%7D%0D%0A++++%7D%0D%0A%5D

Curl

curl --data-urlencode 'database=data' --data-urlencode 'aggregate=%5B%7B%27%24match%27+%3A+%0D%0A++++++++%7B%27%24and%27%3A+%5B%0D%0A++++++++++++%7B%27property-id%27%3A+%27tag%3Astaff%40noreply.openkim.org%2C2014-04-15%3Aproperty%2Fcohesive-potential-energy-cubic-crystal%27%7D%2C%0D%0A++++++++++++%7B%27species.source-value%27%3A+%27Al%27%7D%2C%0D%0A++++++++++++%7B%27meta.type%27%3A+%27tr%27%7D%5D%7D%7D%2C%0D%0A%7B%27%24project%27%3A+%7B%27meta.subject.kimcode%27%3A+1%2C%0D%0A++++++++++++%27short-name.source-value%27%3A+1%2C+%0D%0A++++++++++++%27a.source-value%27%3A+1%2C%0D%0A++++++++++++%27cohesive-potential-energy.source-value%27%3A+1%7D%7D%2C%0D%0A%7B%27%24sort%27%3A+%7B%27meta.subject.kimcode%27%3A+1%2C+%27cohesive-potential-energy.source-value%27%3A+-1%7D+%7D%2C%0D%0A%7B%27%24group%27%3A+%7B%27_id%27%3A+%7B%27model%27%3A+%27%24meta.subject.kimcode%27%7D%2C%0D%0A++++++++++++%27name%27%3A+%7B%27%24first%27%3A+%27%24short-name.source-value%27%7D%2C%0D%0A++++++++++++%27a%27%3A+%7B%27%24first%27%3A+%27%24a.source-value%27%7D%2C%0D%0A++++++++++++%27energy%27%3A+%7B%27%24first%27%3A+%27%24cohesive-potential-energy.source-value%27%7D%0D%0A++++++++%7D%0D%0A++++%7D%0D%0A%5D' https://query.openkim.org/api

GET

https://query.openkim.org/api?database=data&aggregate=%5B%7B%27%24match%27+%3A+%0D%0A++++++++%7B%27%24and%27%3A+%5B%0D%0A++++++++++++%7B%27property-id%27%3A+%27tag%3Astaff%40noreply.openkim.org%2C2014-04-15%3Aproperty%2Fcohesive-potential-energy-cubic-crystal%27%7D%2C%0D%0A++++++++++++%7B%27species.source-value%27%3A+%27Al%27%7D%2C%0D%0A++++++++++++%7B%27meta.type%27%3A+%27tr%27%7D%5D%7D%7D%2C%0D%0A%7B%27%24project%27%3A+%7B%27meta.subject.kimcode%27%3A+1%2C%0D%0A++++++++++++%27short-name.source-value%27%3A+1%2C+%0D%0A++++++++++++%27a.source-value%27%3A+1%2C%0D%0A++++++++++++%27cohesive-potential-energy.source-value%27%3A+1%7D%7D%2C%0D%0A%7B%27%24sort%27%3A+%7B%27meta.subject.kimcode%27%3A+1%2C+%27cohesive-potential-energy.source-value%27%3A+-1%7D+%7D%2C%0D%0A%7B%27%24group%27%3A+%7B%27_id%27%3A+%7B%27model%27%3A+%27%24meta.subject.kimcode%27%7D%2C%0D%0A++++++++++++%27name%27%3A+%7B%27%24first%27%3A+%27%24short-name.source-value%27%7D%2C%0D%0A++++++++++++%27a%27%3A+%7B%27%24first%27%3A+%27%24a.source-value%27%7D%2C%0D%0A++++++++++++%27energy%27%3A+%7B%27%24first%27%3A+%27%24cohesive-potential-energy.source-value%27%7D%0D%0A++++++++%7D%0D%0A++++%7D%0D%0A%5D

Python

result = requests.post("https://query.openkim.org/api",data={'database': 'data', 'aggregate': '[{"$match" : \r\n        {"$and": [\r\n            {"property-id": "tag:staff@noreply.openkim.org,2014-04-15:property/cohesive-potential-energy-cubic-crystal"},\r\n            {"species.source-value": "Al"},\r\n            {"meta.type": "tr"}]}},\r\n{"$project": {"meta.subject.kimcode": 1,\r\n            "short-name.source-value": 1, \r\n            "a.source-value": 1,\r\n            "cohesive-potential-energy.source-value": 1}},\r\n{"$sort": {"meta.subject.kimcode": 1, "cohesive-potential-energy.source-value": -1} },\r\n{"$group": {"_id": {"model": "$meta.subject.kimcode"},\r\n            "name": {"$first": "$short-name.source-value"},\r\n            "a": {"$first": "$a.source-value"},\r\n            "energy": {"$first": "$cohesive-potential-energy.source-value"}\r\n        }\r\n    }\r\n]'}).json()

d3

d3.json('https://query.openkim.org/api?database=data&aggregate=%5B%7B%27%24match%27+%3A+%0D%0A++++++++%7B%27%24and%27%3A+%5B%0D%0A++++++++++++%7B%27property-id%27%3A+%27tag%3Astaff%40noreply.openkim.org%2C2014-04-15%3Aproperty%2Fcohesive-potential-energy-cubic-crystal%27%7D%2C%0D%0A++++++++++++%7B%27species.source-value%27%3A+%27Al%27%7D%2C%0D%0A++++++++++++%7B%27meta.type%27%3A+%27tr%27%7D%5D%7D%7D%2C%0D%0A%7B%27%24project%27%3A+%7B%27meta.subject.kimcode%27%3A+1%2C%0D%0A++++++++++++%27short-name.source-value%27%3A+1%2C+%0D%0A++++++++++++%27a.source-value%27%3A+1%2C%0D%0A++++++++++++%27cohesive-potential-energy.source-value%27%3A+1%7D%7D%2C%0D%0A%7B%27%24sort%27%3A+%7B%27meta.subject.kimcode%27%3A+1%2C+%27cohesive-potential-energy.source-value%27%3A+-1%7D+%7D%2C%0D%0A%7B%27%24group%27%3A+%7B%27_id%27%3A+%7B%27model%27%3A+%27%24meta.subject.kimcode%27%7D%2C%0D%0A++++++++++++%27name%27%3A+%7B%27%24first%27%3A+%27%24short-name.source-value%27%7D%2C%0D%0A++++++++++++%27a%27%3A+%7B%27%24first%27%3A+%27%24a.source-value%27%7D%2C%0D%0A++++++++++++%27energy%27%3A+%7B%27%24first%27%3A+%27%24cohesive-potential-energy.source-value%27%7D%0D%0A++++++++%7D%0D%0A++++%7D%0D%0A%5D')

jQuery

$.post("https://query.openkim.org/api",{"database": "data", "aggregate": "[{\"$match\" : \r\n        {\"$and\": [\r\n            {\"property-id\": \"tag:staff@noreply.openkim.org,2014-04-15:property/cohesive-potential-energy-cubic-crystal\"},\r\n            {\"species.source-value\": \"Al\"},\r\n            {\"meta.type\": \"tr\"}]}},\r\n{\"$project\": {\"meta.subject.kimcode\": 1,\r\n            \"short-name.source-value\": 1, \r\n            \"a.source-value\": 1,\r\n            \"cohesive-potential-energy.source-value\": 1}},\r\n{\"$sort\": {\"meta.subject.kimcode\": 1, \"cohesive-potential-energy.source-value\": -1} },\r\n{\"$group\": {\"_id\": {\"model\": \"$meta.subject.kimcode\"},\r\n            \"name\": {\"$first\": \"$short-name.source-value\"},\r\n            \"a\": {\"$first\": \"$a.source-value\"},\r\n            \"energy\": {\"$first\": \"$cohesive-potential-energy.source-value\"}\r\n        }\r\n    }\r\n]"});

pipeline.stdin.tpl

@< query({"database": "data", "aggregate": [{"$match": {"$and": [{"property-id": "tag:staff@noreply.openkim.org,2014-04-15:property/cohesive-potential-energy-cubic-crystal"}, {"species.source-value": "Al"}, {"meta.type": "tr"}]}}, {"$project": {"meta.subject.kimcode": 1, "short-name.source-value": 1, "a.source-value": 1, "cohesive-potential-energy.source-value": 1}}, {"$sort": {"meta.subject.kimcode": 1, "cohesive-potential-energy.source-value": -1}}, {"$group": {"_id": {"model": "$meta.subject.kimcode"}, "name": {"$first": "$short-name.source-value"}, "a": {"$first": "$a.source-value"}, "energy": {"$first": "$cohesive-potential-energy.source-value"}}}]}) >@